libxkbcommon/test
Peter Hutterer afb26e7df9 Add libxkbregistry to query available RMLVO
This library is the replacement for clients parsing evdev.xml directly.
Instead, they should use the API here so that in the future we may even
be able to swap evdev.xml for a more suitable data format.

The library parses through evdev.xml (using libxml2) and - if requested -
through evdev.extras.xml as well. The merge approach is optimised for
the default case where we have a system-installed rules XML and another file in
$XDG_CONFIG_DIR that adds a few entries.  We load the system file first, then
append any custom ones to that. It's not possible to overwrite the MLVO list
provided by the system files - if you want to do that, get the change upstream.

XML validation is handled through the DTD itself which means we only need to
check for a nonempty name, everything else the DTD validation should complain
about.

The logging system is effectively identical to xkbcommon.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2020-07-06 15:15:20 +10:00
..
data test/data: ensure files are checked out with LF, not CRLF 2019-12-28 15:59:47 +02:00
.gitignore test: add a tool to test-compile all LVO combinations from xkeyboard-config 2018-08-21 11:30:45 +10:00
atom.c test/atom: use correct format specifier for size_t 2019-12-28 14:13:52 +02:00
buffercomp.c build: include config.h manually 2019-12-27 13:09:11 +02:00
common.c test: drop some now-obsolete functions 2020-06-25 10:32:08 +10:00
compose.c Open files in binary mode 2019-12-28 13:49:40 +02:00
context.c MSVC: Use <io.h> as an alternative for <unistd.h> 2019-12-28 16:12:15 +02:00
evdev-scancodes.h test: make most tests portable by copying linux/input.h locally 2014-09-06 11:29:15 +03:00
filecomp.c build: include config.h manually 2019-12-27 13:09:11 +02:00
keymap.c keymap: don't forget about fallback mappings in xkb_keymap_key_get_mods_for_level() 2020-04-18 22:23:06 +03:00
keyseq.c build: include config.h manually 2019-12-27 13:09:11 +02:00
keysym.c Support translation Unicode codepoints to keysyms 2020-02-24 09:54:09 +02:00
log.c Only add GCC diagnostic pragmas when compiler is GCC compatible 2019-12-27 15:20:25 +02:00
registry.c Add libxkbregistry to query available RMLVO 2020-07-06 15:15:20 +10:00
rules-file-includes.c build: include config.h manually 2019-12-27 13:09:11 +02:00
rules-file.c build: include config.h manually 2019-12-27 13:09:11 +02:00
rulescomp.c build: include config.h manually 2019-12-27 13:09:11 +02:00
state.c build: include config.h manually 2019-12-27 13:09:11 +02:00
stringcomp.c build: include config.h manually 2019-12-27 13:09:11 +02:00
symbols-leak-test.bash travis: improve configuration and add macOS 2019-07-25 14:34:17 +03:00
test.h test: drop some now-obsolete functions 2020-06-25 10:32:08 +10:00
utf8.c build: include config.h manually 2019-12-27 13:09:11 +02:00
utils.c utils: add streq_null() for streq that allows NULL values 2020-07-06 15:15:20 +10:00
x11.c build: include config.h manually 2019-12-27 13:09:11 +02:00
x11comp.c build: include config.h manually 2019-12-27 13:09:11 +02:00
xkeyboard-config-test.py.in test: fix the xkeyboard-config test for the prefixed tool name 2020-07-01 08:19:40 +10:00