libxkbcommon/test
Ran Benita 9de067aad4 compat: ignore "group" (compatibility) statements
Group compatibility statements are like the following:
    group 3 = AltGr;
This currently results in:
    keymap->groups[2].mask = <real mod mapped from AltGr vmod>
And we don't do any thing with this value later. The reason it exists in
XKB is to support non-XKB clients (i.e. XKB support disabled entirely in
the server), which do not know the concept of "group", and use some
modifier to distinguish between the first and second keyboard layouts
(usually with the AltGr key). We don't care about all of that, so we can
forget about it.

One artifact of this removal is that xkb_map_num_groups no longer
works, because it counted through keymap->groups (this wasn't entirely
correct BTW). Instead we add a new num_groups member to the keymap,
which just hold the maximum among the xkb_key's num_groups. This also
means we don't have to compute anything just to get the number of
groups.

Signed-off-by: Ran Benita <ran234@gmail.com>
2012-09-01 10:59:47 +03:00
..
data compat: ignore "group" (compatibility) statements 2012-09-01 10:59:47 +03:00
.gitignore Fix warning 2012-08-09 01:55:30 +03:00
common.c Add xkb_log_level enum rather than using syslog 2012-08-08 16:23:31 +02:00
context.c test: Add extremely rudimentary include path test 2012-08-08 16:23:30 +02:00
filecomp.c test: Minimise includes 2012-08-08 16:23:30 +02:00
interactive.c test: Use test_compile_*() in interactive 2012-08-08 13:30:24 +02:00
keyseq.c keyseq: use our own keysyms 2012-08-07 11:09:42 +03:00
keysym.c test: Minimise includes 2012-08-08 16:23:30 +02:00
log.c Add xkb_log_level enum rather than using syslog 2012-08-08 16:23:31 +02:00
rules-file.c Organize xkbcomp/ header files 2012-09-01 10:58:10 +03:00
rulescomp.c rulescomp: remove bad failtests 2012-09-01 10:58:10 +03:00
state.c Add xkb_map_mod_mask_remove_consumed 2012-08-08 16:23:31 +02:00
stringcomp.c test/stringcomp: Perform full round-trip test 2012-08-08 16:23:30 +02:00
test.h utils: add/replace string equality macros 2012-07-27 00:27:24 +03:00