-
c6df60d8
by Ran Benita
at 2020-09-06T22:25:29+03:00
build: remove old pkgconfig templates
In meson these are generated instead.
Signed-off-by: Ran Benita <ran@unusedvar.com>
-
850ba7e6
by Peter Hutterer
at 2020-09-07T11:15:08+10:00
test: fix the xkbcli --version test
Fixes https://github.com/xkbcommon/libxkbcommon/issues/185
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
461d7278
by Ran Benita
at 2020-09-07T11:19:45+03:00
test/data: change quartz.xkb from CRLF to LF
Signed-off-by: Ran Benita <ran@unusedvar.com>
-
1c352199
by Ran Benita
at 2020-09-07T11:36:49+03:00
test/data: sync from xkeyboard-config 2.30
Signed-off-by: Ran Benita <ran@unusedvar.com>
-
534e54f6
by Ran Benita
at 2020-09-07T11:47:34+03:00
test/data: add rule registry files
Signed-off-by: Ran Benita <ran@unusedvar.com>
-
13745014
by Peter Hutterer
at 2020-09-07T22:01:57+03:00
test: include unstd.h in the registry test to cut down the MacOS warnings
mkdtmp, rmdir and unlink are in unstd.h on MacOS. Since including that it
doesn't hurt us on Linux, let's do it without ifdefs.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
db985753
by Ran Benita
at 2020-09-07T22:01:57+03:00
ci: enable xkbregistry on macos job
Signed-off-by: Ran Benita <ran@unusedvar.com>
-
3039d62a
by Peter Hutterer
at 2020-09-07T22:01:57+03:00
registry: mark the rxkb_log function as attribute printf
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
a350222c
by Peter Hutterer
at 2020-09-07T22:01:57+03:00
context: fix a compiler warning
../src/context.c:57:9: warning: variable 'err' is used uninitialized whenever
'if' condition is true [-Wsometimes-uninitialized]
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
d3274752
by Peter Hutterer
at 2020-09-07T22:01:57+03:00
utils: include unistd.h where we have it
MacOS doesn't have eaccess/euidaccess but it does have unistd.h, so let's
include it to silence the R_OK redefinition compiler warnings.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
737030ad
by Ran Benita
at 2020-09-07T22:03:30+03:00
build: move tests to after tools
So tests can refer to stuff set by the tools section.
Signed-off-by: Ran Benita <ran@unusedvar.com>
-
c8f309a2
by Ran Benita
at 2020-09-07T22:06:22+03:00
test/tool-option-parsing: keep isolated by using our own test data
Make it possible to run the test on all machines.
Signed-off-by: Ran Benita <ran@unusedvar.com>
-
c621319e
by Ran Benita
at 2020-09-08T09:45:34+03:00
test/tool-option-parsing: switch from pytest to unittest
For me, installing pytest for libxkbcommon is a bit problematic, so I
end up skipping it which is not great.
Switch to unittest which is built in to Python. It's not as nice as
pytest but good enough in this case.
Note: I was too lazy to switch the plain asserts to unittest
assertions...
Signed-off-by: Ran Benita <ran@unusedvar.com>
-
6178924f
by Ran Benita
at 2020-09-08T09:45:34+03:00
test/tool-option-parsing: skip testing of disabled tools
Signed-off-by: Ran Benita <ran@unusedvar.com>
-
c5565bd0
by Ran Benita
at 2020-09-09T10:11:54+03:00
tools: align `xkbcli how-to-type` output ourselves
Can possibly add a machine-parsable format if desired, but for now just
have it work nicely.
Signed-off-by: Ran Benita <ran@unusedvar.com>
-
69713ce3
by hhb
at 2020-09-11T15:06:23+03:00
parser: fix another format string for int64_t (#191)
-
2c295b10
by Ran Benita
at 2020-09-11T15:07:49+03:00
Bump version to 1.0.1
Signed-off-by: Ran Benita <ran@unusedvar.com>