platform/upstream/kbd.git
7 years agoImported Upstream version 2.0.4 90/154690/1 upstream/2.0.4
DongHun Kwak [Wed, 11 Oct 2017 05:36:29 +0000 (14:36 +0900)]
Imported Upstream version 2.0.4

Change-Id: I8d719f902c48d5afe0b5cf0d4f5d4df334c9c6e9
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 2.0.4_rc1 89/154689/1 upstream/2.0.4_rc1
DongHun Kwak [Wed, 11 Oct 2017 05:36:11 +0000 (14:36 +0900)]
Imported Upstream version 2.0.4_rc1

Change-Id: Ic1132623db170cfd7d0a891f101c5efcaeab15ea
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 2.0.3 88/154688/1
DongHun Kwak [Wed, 11 Oct 2017 05:35:41 +0000 (14:35 +0900)]
Imported Upstream version 2.0.3

Change-Id: If9406202f2179332bcbc88fc4d6093a0d48dedaa
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 2.0.3_rc1 87/154687/1
DongHun Kwak [Wed, 11 Oct 2017 05:34:59 +0000 (14:34 +0900)]
Imported Upstream version 2.0.3_rc1

Change-Id: I5047d2dc046f49261a482ccd5603c2cfd7b30786
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
10 years agoSet 2.0.2 version 2.0.2
Alexey Gladkov [Mon, 7 Jul 2014 22:20:06 +0000 (02:20 +0400)]
Set 2.0.2 version

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
10 years agoSet 2.0.2-rc2 version
Alexey Gladkov [Thu, 3 Jul 2014 22:29:04 +0000 (02:29 +0400)]
Set 2.0.2-rc2 version

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
10 years agopo: Update translations (from translationproject.org)
Alexey Gladkov [Thu, 3 Jul 2014 22:11:11 +0000 (02:11 +0400)]
po: Update translations (from translationproject.org)

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
10 years agoAdded Latvian keymap
Dāvis [Mon, 30 Jun 2014 17:15:07 +0000 (20:15 +0300)]
Added Latvian keymap

10 years agoAdd license block
Alexey Gladkov [Thu, 3 Jul 2014 21:49:41 +0000 (01:49 +0400)]
Add license block

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
10 years agoAdd pancyrillic font
Alexey Gladkov [Thu, 3 Jul 2014 21:48:59 +0000 (01:48 +0400)]
Add pancyrillic font

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
10 years agoAdd functions to check diacr/func existance
Alexey Gladkov [Thu, 26 Jun 2014 14:39:46 +0000 (18:39 +0400)]
Add functions to check diacr/func existance

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
10 years agoChange API for working with list of functions
Alexey Gladkov [Thu, 26 Jun 2014 13:37:22 +0000 (17:37 +0400)]
Change API for working with list of functions

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
10 years agoChange the API for working with the diacritical table
Alexey Gladkov [Wed, 25 Jun 2014 20:48:47 +0000 (00:48 +0400)]
Change the API for working with the diacritical table

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
10 years agoAdd function to obtain items from the diacritical table
Alexey Gladkov [Tue, 24 Jun 2014 23:41:46 +0000 (03:41 +0400)]
Add function to obtain items from the diacritical table

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
10 years agoChange lk_add_diacr declaration
Alexey Gladkov [Sun, 22 Jun 2014 20:08:13 +0000 (00:08 +0400)]
Change lk_add_diacr declaration

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
10 years agoAdd information about the total number of elements
Alexey Gladkov [Sat, 21 Jun 2014 22:50:46 +0000 (02:50 +0400)]
Add information about the total number of elements

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
10 years agoHide syms array
Alexey Gladkov [Sun, 15 Jun 2014 23:08:05 +0000 (03:08 +0400)]
Hide syms array

Broke backward compatibility: lk_dump_symbols.

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
10 years agoeurlatgr: add U+27E8/U+27E9 for man(1)
Marko Myllynen [Mon, 9 Jun 2014 14:20:48 +0000 (17:20 +0300)]
eurlatgr: add U+27E8/U+27E9 for man(1)

On F20 man pages with URLs are marked with ⟨⟩ instead of <>.

Add some remappable glyphs from the Miscellaneous Mathematical
Symbols-A block while at it in case someone starts using them.

10 years agoProperly pluralize some progress messages.
Benno Schulenberg [Mon, 26 May 2014 20:50:43 +0000 (22:50 +0200)]
Properly pluralize some progress messages.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
10 years agoAdd the handling of plurals to the extraction of translatable strings.
Benno Schulenberg [Mon, 26 May 2014 20:40:29 +0000 (22:40 +0200)]
Add the handling of plurals to the extraction of translatable strings.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
10 years agoAdd a missing word to an error message.
Benno Schulenberg [Mon, 26 May 2014 20:30:09 +0000 (22:30 +0200)]
Add a missing word to an error message.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
10 years agoRemove now redundant fi-latin1 and fi-latin9 maps
Marko Myllynen [Thu, 20 Mar 2014 14:57:31 +0000 (16:57 +0200)]
Remove now redundant fi-latin1 and fi-latin9 maps

The new fi.map supports all the symbols of these keymaps, they are not
meaningful in today's UTF-8 world, and they occasionally cause confusion
even among the more seasoned users so let's just remove them.

10 years agoAdd new fi.map combining fi-latin1 and fi-latin9
Marko Myllynen [Thu, 20 Mar 2014 14:53:36 +0000 (16:53 +0200)]
Add new fi.map combining fi-latin1 and fi-latin9

New fi.map which combines all the symbols from fi-latin1 and fi-latin9.
Also for (virtual) keyboards missing the less/greater/bar key (between
Shift-L and Z) it supports producing bar with Shift+AltGr+i and
less/greater with Shift+AltGr+8/9 (as of does the Finnish X keymap).

10 years agoRemove old and obsolete fi.map
Marko Myllynen [Thu, 20 Mar 2014 14:41:43 +0000 (16:41 +0200)]
Remove old and obsolete fi.map

fi.map does not match current or past keyboard engravings (for example
'ä' produces '}'), some distributions ship it as fi-old.map, there is no
corresponding X keymap, and in general it does not look like a generic
purpose map. Its history is a bit hazy but Linus presumes it might be
based on a custom keymap variant he was using a long time ago.

Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
10 years agolibkeymap: fix kmap on big-endian machines
Aaro Koskinen [Fri, 14 Mar 2014 23:32:56 +0000 (01:32 +0200)]
libkeymap: fix kmap on big-endian machines

Currently "loadkeys" does not work properly (no keys are ever changed)
on big-endian machines (e.g. SPARC and other classic hardware)
due to incorrect typing. The patch fixes this.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
10 years agoeurlatgr: readd accidentally dropped remappings
Marko Myllynen [Mon, 10 Mar 2014 14:37:49 +0000 (16:37 +0200)]
eurlatgr: readd accidentally dropped remappings

651b8c accidentally dropped 4 remappings, add them back.

Add two recent currency symbols U+20BA and U+20BD while at it.

10 years agoeurlatgr: fix U+2191 / U+2192
Marko Myllynen [Fri, 7 Mar 2014 07:29:19 +0000 (09:29 +0200)]
eurlatgr: fix U+2191 / U+2192

U+2191 / U+2192 were swapped, fix them.

10 years agoAdd README.eurlatgr
Marko Myllynen [Fri, 7 Mar 2014 07:22:10 +0000 (09:22 +0200)]
Add README.eurlatgr

10 years agoeurlatgr - new Linux console font
Alexey Gladkov [Tue, 18 Feb 2014 08:02:50 +0000 (12:02 +0400)]
eurlatgr - new Linux console font

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
10 years agolibkeymap: include stdarg.h where used
Mike Frysinger [Mon, 6 Jan 2014 15:27:56 +0000 (10:27 -0500)]
libkeymap: include stdarg.h where used

Some of these headers use va_list but don't include stdarg.h for it.

Reported-by: Anthony Basile <blueness@gentoo.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
10 years agodocs: Add header for libkeymap
Alexey Gladkov [Mon, 6 Jan 2014 00:42:42 +0000 (04:42 +0400)]
docs: Add header for libkeymap

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
10 years agoAdd functions to convert ksyms
Alexey Gladkov [Sat, 4 Jan 2014 06:55:55 +0000 (10:55 +0400)]
Add functions to convert ksyms

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
10 years agoAdd functions to get the total number of elements
Alexey Gladkov [Thu, 2 Jan 2014 22:24:36 +0000 (02:24 +0400)]
Add functions to get the total number of elements

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
10 years agoFix runtime warinings
Alexey Gladkov [Thu, 2 Jan 2014 22:11:13 +0000 (02:11 +0400)]
Fix runtime warinings

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
10 years agoAdd lk_fpopen
Alexey Gladkov [Sat, 14 Dec 2013 10:15:45 +0000 (14:15 +0400)]
Add lk_fpopen

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
10 years agovlock: introduce short delays after non-fatal PAM errors
Dmitry V. Levin [Sun, 24 Nov 2013 21:48:36 +0000 (01:48 +0400)]
vlock: introduce short delays after non-fatal PAM errors

Add a short delay after PAM errors like PAM_AUTH_ERR that are likely
to be non-fatal, so that in case when they are fatal, there would be
a delay between continuous attempts that are doomed to fail.

For example, fatal PAM configuration errors like unreadable
/etc/pam.d/vlock file usually result to immediate PAM_AUTH_ERR,
the same error as returned by more likely authentication error
due to incorrect password.

10 years agovlock: rename ERROR_TIMEOUT macro to LONG_DELAY
Dmitry V. Levin [Sun, 24 Nov 2013 21:48:24 +0000 (01:48 +0400)]
vlock: rename ERROR_TIMEOUT macro to LONG_DELAY

The name ERROR_TIMEOUT is somewhat misleading: PAM errors may vary,
and some may require longer delays than others.  Since ERROR_TIMEOUT
means longer delay, rename it to LONG_DELAY.

10 years agovlock: implement PAM account and password management
Dmitry V. Levin [Sun, 24 Nov 2013 21:48:12 +0000 (01:48 +0400)]
vlock: implement PAM account and password management

There seems to be a tradition for lockers to implement PAM account and
password management (account validation, changing expired passwords,
refreshing credentials) like login programs do.

Note that vlock may or may not need extra credentials to do account
and password management depending on the authentication scheme in use.

For example, in case of the tcb password shadowing scheme implemented
by pam_tcb, to authenticate the user, vlock should be installed as a
SGID-chkpwd executable to access tcb_chkpwd helper (which in turn is
usually installed as a more privileged SGID-shadow executable).  To
perform account and password management, vlock should be installed as
a SGID-shadow executable itself (like passwd utility with the tcb
password shadowing scheme).

In case of the traditional password shadowing scheme implemented by
pam_unix, vlock needs no extra privileges to authenticate the user
(because of no restrictions to access unix_chkpwd helper), but should
be installed as a SUID-root executable to perform account and password
management (like passwd utility with the traditional password
shadowing scheme).

Fixes RH#913311.

11 years agoSet 2.0.1 version
Alexey Gladkov [Fri, 1 Nov 2013 13:01:19 +0000 (17:01 +0400)]
Set 2.0.1 version

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agocontrib: Add utility to remove all kernel keymaps
Alexey Gladkov [Fri, 1 Nov 2013 12:40:03 +0000 (16:40 +0400)]
contrib: Add utility to remove all kernel keymaps

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoDisable arch-specific test for now
Alexey Gladkov [Fri, 1 Nov 2013 12:34:44 +0000 (16:34 +0400)]
Disable arch-specific test for now

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoRename bepo keymaps
Alexey Gladkov [Thu, 10 Oct 2013 07:10:29 +0000 (11:10 +0400)]
Rename bepo keymaps

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoparser: Merge fullline and singleline rule
Alexey Gladkov [Mon, 7 Oct 2013 14:11:45 +0000 (18:11 +0400)]
parser: Merge fullline and singleline rule

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoFix alt_is_meta regression
Alexey Gladkov [Mon, 7 Oct 2013 13:48:57 +0000 (17:48 +0400)]
Fix alt_is_meta regression

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoSet 2.0.0 version
Alexey Gladkov [Sun, 18 Aug 2013 19:21:27 +0000 (23:21 +0400)]
Set 2.0.0 version

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoMerge branch 'libkeymap'
Alexey Gladkov [Tue, 13 Aug 2013 13:46:22 +0000 (17:46 +0400)]
Merge branch 'libkeymap'

11 years agoAdd bepo keyboard layout
Alexey Gladkov [Tue, 30 Jul 2013 12:42:40 +0000 (16:42 +0400)]
Add bepo keyboard layout

It's Dvorak-like French-optimized keyboard layout.
See http://www.clavier-dvorak.org/

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoMove lk_ctx content to private part of library
Alexey Gladkov [Wed, 24 Jul 2013 14:28:13 +0000 (18:28 +0400)]
Move lk_ctx content to private part of library

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoAdd getter and setter for parser flags
Alexey Gladkov [Wed, 24 Jul 2013 09:32:41 +0000 (13:32 +0400)]
Add getter and setter for parser flags

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoRename *_exist to *_exists
Alexey Gladkov [Tue, 23 Jul 2013 10:21:12 +0000 (14:21 +0400)]
Rename *_exist to *_exists

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoFix libkeymap.pc installation
Alexey Gladkov [Mon, 22 Jul 2013 13:04:08 +0000 (17:04 +0400)]
Fix libkeymap.pc installation

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoAdd generation of documentation using doxygen
Alexey Gladkov [Fri, 19 Jul 2013 13:26:33 +0000 (17:26 +0400)]
Add generation of documentation using doxygen

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoAdd wrapper to initialize array
Alexey Gladkov [Wed, 19 Jun 2013 22:55:26 +0000 (02:55 +0400)]
Add wrapper to initialize array

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoFix distcheck
Alexey Gladkov [Wed, 19 Jun 2013 20:52:01 +0000 (00:52 +0400)]
Fix distcheck

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoAdd pkgconfig file
Alexey Gladkov [Wed, 19 Jun 2013 18:40:54 +0000 (22:40 +0400)]
Add pkgconfig file

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoCreate lk_table_shape flag
Alexey Gladkov [Tue, 18 Jun 2013 19:11:33 +0000 (23:11 +0400)]
Create lk_table_shape flag

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoRename struct keymap to lk_ctx
Alexey Gladkov [Tue, 18 Jun 2013 17:32:51 +0000 (21:32 +0400)]
Rename struct keymap to lk_ctx

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoRewrite func_table to dynamic array
Alexey Gladkov [Sat, 15 Jun 2013 16:42:52 +0000 (20:42 +0400)]
Rewrite func_table to dynamic array

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoRewrite accent_table to dynamic array
Alexey Gladkov [Fri, 7 Jun 2013 06:15:40 +0000 (10:15 +0400)]
Rewrite accent_table to dynamic array

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoNew it.map
Emanuele Tomasi [Thu, 30 May 2013 11:05:47 +0000 (15:05 +0400)]
New it.map

Hi Alexey,
attached a patch for it.map. I have added almost all symbols and I
have corrected some bugs.

11 years agolk_dump_bkeymap takes the output stream as argument
Alexey Gladkov [Wed, 29 May 2013 18:57:25 +0000 (22:57 +0400)]
lk_dump_bkeymap takes the output stream as argument

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoRemove static arrays that is used internally for the parser
Alexey Gladkov [Wed, 29 May 2013 10:57:27 +0000 (14:57 +0400)]
Remove static arrays that is used internally for the parser

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoRemove static arrays for keymaps and keys
Alexey Gladkov [Mon, 20 May 2013 13:31:55 +0000 (17:31 +0400)]
Remove static arrays for keymaps and keys

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoFix bug in previous commit
Alexey Gladkov [Thu, 2 May 2013 11:52:48 +0000 (15:52 +0400)]
Fix bug in previous commit

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoRename LKFLAG_* on LK_FLAG_*
Alexey Gladkov [Mon, 29 Apr 2013 20:40:08 +0000 (00:40 +0400)]
Rename LKFLAG_* on LK_FLAG_*

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoReplace prefer_unicode with LKFLAG_PREFER_UNICODE
Alexey Gladkov [Mon, 29 Apr 2013 13:02:49 +0000 (17:02 +0400)]
Replace prefer_unicode with LKFLAG_PREFER_UNICODE

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoReplace variables for keywords with flags
Alexey Gladkov [Mon, 29 Apr 2013 12:24:55 +0000 (16:24 +0400)]
Replace variables for keywords with flags

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoRemove state_ptr variable
Alexey Gladkov [Sat, 27 Apr 2013 22:46:26 +0000 (02:46 +0400)]
Remove state_ptr variable

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoFix keymaps stack processing
Alexey Gladkov [Fri, 26 Apr 2013 12:41:19 +0000 (16:41 +0400)]
Fix keymaps stack processing

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoAdd goals for packaging and publication
Alexey Gladkov [Tue, 23 Apr 2013 19:55:15 +0000 (23:55 +0400)]
Add goals for packaging and publication

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agotests: Fix distcheck
Alexey Gladkov [Tue, 23 Apr 2013 19:33:14 +0000 (23:33 +0400)]
tests: Fix distcheck

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoAdd lk_get_charset function
Alexey Gladkov [Thu, 18 Apr 2013 18:59:55 +0000 (22:59 +0400)]
Add lk_get_charset function

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoRename lk_remove_key to lk_del_key, unify arguments order of lk_*_key functions
Alexey Gladkov [Wed, 17 Apr 2013 14:33:07 +0000 (18:33 +0400)]
Rename lk_remove_key to lk_del_key, unify arguments order of lk_*_key functions

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoAdd functions to setup the logging
Alexey Gladkov [Mon, 15 Apr 2013 12:20:34 +0000 (16:20 +0400)]
Add functions to setup the logging

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoFix memory leak
Alexey Gladkov [Sun, 14 Apr 2013 21:10:02 +0000 (01:10 +0400)]
Fix memory leak

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoFix undefined return value
Alexey Gladkov [Sun, 14 Apr 2013 19:50:53 +0000 (23:50 +0400)]
Fix undefined return value

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoanalyze.l: Fix potential memory leak
Alexey Gladkov [Sun, 14 Apr 2013 19:34:13 +0000 (23:34 +0400)]
analyze.l: Fix potential memory leak

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agokmap: Change indentation
Alexey Gladkov [Thu, 11 Apr 2013 20:52:16 +0000 (00:52 +0400)]
kmap: Change indentation

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoRemove extra argument of lk_add_map
Alexey Gladkov [Thu, 11 Apr 2013 13:11:46 +0000 (17:11 +0400)]
Remove extra argument of lk_add_map

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agotests: Add test for keymaps line
Alexey Gladkov [Tue, 9 Apr 2013 13:11:49 +0000 (17:11 +0400)]
tests: Add test for keymaps line

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agotests: Add lost testcase
Alexey Gladkov [Tue, 9 Apr 2013 10:09:53 +0000 (14:09 +0400)]
tests: Add lost testcase

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agotests: Add tests for dumpkeys functions
Alexey Gladkov [Tue, 9 Apr 2013 10:08:24 +0000 (14:08 +0400)]
tests: Add tests for dumpkeys functions

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agodump: Remove new line from output
Alexey Gladkov [Tue, 9 Apr 2013 10:06:52 +0000 (14:06 +0400)]
dump: Remove new line from output

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoShow all keymap if FULL_TABLE specified
Alexey Gladkov [Tue, 9 Apr 2013 10:06:00 +0000 (14:06 +0400)]
Show all keymap if FULL_TABLE specified

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoUtils use _GNU_SOURCE
Alexey Gladkov [Tue, 9 Apr 2013 09:51:13 +0000 (13:51 +0400)]
Utils use _GNU_SOURCE

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoAdd some tests
Alexey Gladkov [Tue, 2 Apr 2013 11:52:19 +0000 (15:52 +0400)]
Add some tests

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoAdd lk_get_func function
Alexey Gladkov [Tue, 2 Apr 2013 11:48:27 +0000 (15:48 +0400)]
Add lk_get_func function

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoAdd lk_get_key function
Alexey Gladkov [Sat, 30 Mar 2013 14:07:55 +0000 (18:07 +0400)]
Add lk_get_key function

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoDo not use _GNU_SOURCE
Alexey Gladkov [Sat, 23 Mar 2013 17:51:21 +0000 (21:51 +0400)]
Do not use _GNU_SOURCE

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoDrop attr_* defines
Alexey Gladkov [Sat, 23 Mar 2013 17:50:01 +0000 (21:50 +0400)]
Drop attr_* defines

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoRewrite logging
Alexey Gladkov [Sat, 23 Mar 2013 16:44:16 +0000 (20:44 +0400)]
Rewrite logging

A new way of logging is made on the basis of syslog. I looked at libudev
and libkmod in development, so they are quite similar.

Unfortunately the new implementation breaks backward compatibility with
utilities, but i think it is inevitable.

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoChange return code from lk_free
Alexey Gladkov [Thu, 14 Mar 2013 12:29:16 +0000 (16:29 +0400)]
Change return code from lk_free

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoCheck incoming pointer
Alexey Gladkov [Sat, 9 Mar 2013 12:53:25 +0000 (16:53 +0400)]
Check incoming pointer

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agolibkeymap: Do not dump diacr values if lk_dump_keymap called
Alexey Gladkov [Mon, 25 Feb 2013 15:24:51 +0000 (19:24 +0400)]
libkeymap: Do not dump diacr values if lk_dump_keymap called

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agolibkeymap: Add lk_add_diacr function
Alexey Gladkov [Mon, 25 Feb 2013 15:10:15 +0000 (19:10 +0400)]
libkeymap: Add lk_add_diacr function

Add a more general function to add values to the
array without any convertion.

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agolk_free: Free func_table
Alexey Gladkov [Mon, 25 Feb 2013 13:20:01 +0000 (17:20 +0400)]
lk_free: Free func_table

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoBig rename functions and source files
Alexey Gladkov [Sun, 24 Feb 2013 00:40:37 +0000 (04:40 +0400)]
Big rename functions and source files

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agolibkeymap: Fix build warnings
Alexey Gladkov [Fri, 22 Feb 2013 13:26:36 +0000 (17:26 +0400)]
libkeymap: Fix build warnings

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agolibkeymap: Export only lk_* symbols
Alexey Gladkov [Fri, 22 Feb 2013 13:14:25 +0000 (17:14 +0400)]
libkeymap: Export only lk_* symbols

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
11 years agoksyms: All arrays are readonly
Alexey Gladkov [Thu, 21 Feb 2013 11:46:46 +0000 (15:46 +0400)]
ksyms: All arrays are readonly

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>