Daniel Stone
ef88c7efab
Rename xkb_desc to xkb_keymap
...
struct xkb_desc was just a hangover from the old XkbDescRec, which isn't
a very descriptive name.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
2012-04-09 13:47:23 +01:00
Daniel Stone
9b14e0c311
Tests: Release context on failure to build keymap
...
No practical effect since they exit(1) regardless, but it keeps valgrind
happy.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
2012-03-29 17:38:44 +01:00
Daniel Stone
034ffce664
Use xkb_contexts in keymap compilation
...
Primarily for the include path, but also for the logging in future.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
2012-03-27 17:22:35 +01:00
Ran Benita
d3908b631c
Define our own None atom value
...
Since we define our own xkb_atom_t type, it makes sense not to use the
X11/X.h None value. This way we can also remove a lot of X11 includes.
Signed-off-by: Ran Benita <ran234@gmail.com>
2012-03-27 14:16:11 +01:00
Ran Benita
0480f427ad
Remove useless stuff from utils
...
Signed-off-by: Ran Benita <ran234@gmail.com>
[daniels: fixed conflicts from strcasecmp, added includes to make
filecomp build again]
2012-03-27 14:09:27 +01:00
Ran Benita
d22b8dbbd0
Move utils.{c,h} to be used by the entire project
...
This is a first step for making consistent use of utils.h also outside
of xkbcomp/ .
Signed-off-by: Ran Benita <ran234@gmail.com>
2012-03-27 13:59:51 +01:00
Daniel Stone
d039622a65
Rename keymap allocation API
...
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
2012-03-22 17:39:12 +00:00
Daniel Stone
3077e97e7c
tests: Free returned XKB map
...
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
2012-02-15 16:38:17 +00:00
Daniel Stone
ead9d0cb62
Move include path from X11/extensions/ to xkbcommon/
...
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
2012-02-15 16:24:50 +00:00
Kristian Høgsberg
a84c08795e
Use flex for generating the scanner, add support for parsing from strings
...
Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
2010-10-20 14:03:53 -04:00
Kristian Høgsberg
3f0034a990
Rename public entry points to lowercase and underscore
2010-07-02 12:20:59 -04:00
Kristian Høgsberg
5669e1a82d
Compile with -fvisibility=hidden when possible
2010-07-02 12:20:59 -04:00
Kristian Høgsberg
9f6026867a
Pull in enough structs and defines from XKBstr.h to only need XKB.h
...
We want to move away from sharing implementation structs and let libX11
and libxkbcommon use each their own set of structs.
2010-07-02 12:20:54 -04:00
Kristian Høgsberg
d95b289367
Make XkbcInitAtoms() call optional
2010-06-30 17:13:21 -04:00
Daniel Stone
2c4a045aca
Allow external atom databases
...
Allow people to plug in an external atom database (e.g. the X server's),
so we don't have to migrate our own atoms over later. We are a bit
over-keen on atoms at the moment, so it does pollute the atom database a
bit though.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
2010-06-22 15:57:16 +01:00
Dan Nicholson
c728d91bde
Program and files for testing CompileKeymapFromFile
...
A few simple test cases for verifying the operation of parsing a keymap
file and compiling a keyboard description from it.
2009-04-10 12:33:31 -07:00