diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2020-05-12 14:09:50 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2020-07-06 15:15:20 +1000 |
commit | afb26e7df9090a0b765eb294b6efff448f763b6f (patch) | |
tree | ed8820db131fde2f5190333e0776aced657629d7 /src/context-priv.c | |
parent | fe8861338242762da6a3245a106042266280714c (diff) | |
download | libxkbcommon-afb26e7df9090a0b765eb294b6efff448f763b6f.tar.gz libxkbcommon-afb26e7df9090a0b765eb294b6efff448f763b6f.tar.bz2 libxkbcommon-afb26e7df9090a0b765eb294b6efff448f763b6f.zip |
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>
Diffstat (limited to 'src/context-priv.c')
0 files changed, 0 insertions, 0 deletions