Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| 03f5d36b | 2016-04-08 10:28:36 | Bump version to 0.6.1 Our most minor release yet. Signed-off-by: Daniel Stone <daniels@collabora.com> | ||
| bea54b1f | 2016-03-31 16:42:41 | Add LICENSE to distributed files Signed-off-by: Daniel Stone <daniels@collabora.com> | ||
| b91584a8 | 2016-03-26 01:53:18 | doc: update reference to compat symbol to its new name Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 3fee46a2 | 2016-03-16 10:18:15 | Bump version to 0.6.0 Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 4c24f7fa | 2016-03-15 20:42:21 | test: assert/ignore some warn_unused_result's Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 02628607 | 2016-03-15 20:38:16 | Merge pull request #33 from bluetech/travis-enable-x11 travis: remove --disable-x11 | ||
| ba3e6ce7 | 2016-03-15 19:44:48 | travis: remove --disable-x11 Looks like the CI machines can use Ubuntu 14.04, which has libxcb 1.10, which is new enough. Lets see if it works. Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 02e8b26c | 2016-03-15 19:53:45 | Merge pull request #32 from fooishbar/master doc: Fix Doxygen include for srcdir != builddir | ||
| b04344ff | 2016-03-15 11:30:57 | travis: Enable documentation build Make sure Doxygen is installed before we build. Signed-off-by: Daniel Stone <daniels@collabora.com> | ||
| a2974d5f | 2016-03-15 11:20:35 | doc: Fix Doxygen include for srcdir != builddir Instead of giving Doxygen a series of absolute paths to the source files and a relative path to the output directory, run it from the source directory with purely relative paths to the source files, and give it an absolute path to the build directory. This fixes the parsing of README.md with a separate build directory, since the relative includes for doc/quick-guide.md and doc/compat.md don't resolve otherwise. Doxygen's INCLUDE_PATH turns out not to fix this either, since that's just a set of paths to open and parse, rather than an analogue to cpp's -I. Signed-off-by: Daniel Stone <daniels@collabora.com> | ||
| d627549c | 2016-03-13 23:38:40 | Update NEWS Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 919b97a8 | 2016-03-13 23:33:18 | NEWS: add some spacing Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 914e84e0 | 2016-03-13 23:09:21 | build: don't run test/x11comp in make check for now For some reason, the dumped keymap started repeating the two key types FOUR_LEVEL_PLUS_LOCK and FOUR_LEVEL_KEYPAD. I need to investigate, but let's disable it for now until I do (the problem would likely not be in the xkbcommon - at most in the test itself). Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 37ee8e65 | 2016-03-13 22:56:48 | test/x11comp: fix memory leak Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| fa1b4543 | 2016-03-13 20:56:58 | test: add a test that all symbol version file is updated It is easy to forget to update these files when adding new symbols. Stolen with slight changes from libinput (commit by Marek Chalupa): https://cgit.freedesktop.org/wayland/libinput/commit/?id=a9f216ab47ea2f643f20ed741b741a2b5766eba3 Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 1c6d21b4 | 2016-03-13 20:42:39 | Add symbol versions forgotten in 0ce17ef3ea3722c1cfe7af3 Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 712b39ac | 2016-03-13 21:32:28 | build: make it easier to add non-built (e.g. script) tests Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 763e2b7e | 2016-03-13 20:24:44 | src/utils: check if fileno() failed in map_file fileno() can fail, if called on e.g. fmemopen() FILEs which are not backed by a file descriptor. This functions uses mmap to map the entire file to memory, so using such FILEs will not work. (There is actually no change of behavior here, since the following fstat would have already failed with EBADF. But lets make it clear.) Another possibility is to fall back to the !HAVE_MMAP case; but it sounds like a better idea to leave it to the programmer to use the new_from_string/new_from_buffer functions instead, instead of doing double allocation behind their back. Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 39082082 | 2016-02-28 00:33:19 | keymap: share LevelsSameSyms() The function is generic enough. Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| c8a25645 | 2016-02-28 00:02:05 | state: factor out get_entry_for_mods() Will be useful later. Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 9f5139b5 | 2016-02-27 19:43:07 | state: factor out entry_is_active() check Makes the code slightly cleaner and I plan to use the function in another place. Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| c991a7df | 2016-01-20 23:30:21 | build: fix distcheck File was renamed in 4266402. Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| e8f04f22 | 2016-01-20 23:08:08 | doc: add environment variables index Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 4aa50c9d | 2016-01-20 22:48:10 | doc: some notes about key names and aliases Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 0ce17ef3 | 2016-01-20 11:40:43 | keymap: add xkb_keymap_key_by_name(), xkb_keymap_key_get_name(), tests xkb_keymap_key_by_name() allows finding a keycode from a given keyname and is useful for generating keyboard events to use in regression tests during CI xkb_keymap_key_get_name() is the inverse of xkb_keymap_key_by_name() Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com> [ran: some stylistic tweaks + another test case] Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 7f3bb167 | 2015-11-23 00:07:15 | doc/keymap-format-text-v1: add title and intro Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| cf337875 | 2015-11-21 23:17:55 | doc/quick-guide: small improvements Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 42664023 | 2015-11-21 23:12:18 | doc/keymap-format-text-v1: convert to markdown Make it more readable for random browsing. Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 88919535 | 2015-11-21 22:39:38 | doc/keymap-format-text-v1: update info on preserve Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 2cca0289 | 2015-11-19 00:44:27 | src/utils: change map_file to not take const string argument map_file() uses PROT_READ, so const seems fitting; however unmap_file calls munmap/free, which do not take const, so an UNCONSTIFY is needed. To avoid the UNCONSTIFY hack, which is likely undefined behavior or some such, just remove the const. Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| c7e2e6d7 | 2015-10-26 21:57:39 | keymap: fix outdated comment See 725ae134d434bab6c999121d55dbc3582c4acb65. Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 7bb425c1 | 2015-09-08 09:22:20 | doc/Doxyfile: explicitly set HTML_TIMESTAMP = NO YES was the default in older version. Having a timestamp hurts reproducible builds, and serves no purpose, so remove it. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=789071 Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 7a15c0ef | 2015-09-08 09:21:32 | doc/Doxyfile: only keep non-default values Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 8c0d6c79 | 2015-09-08 09:17:16 | doc/Doxyfile: sync with latest version Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 13d23259 | 2015-09-07 14:45:09 | state: reduce scope of fake action Also rename to "dummy" as I think it is a nicer name. Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 6ee50326 | 2015-08-28 14:20:20 | Merge pull request #27 from nuko8/osx_test_progs Modifications to make 'make check' test complete for Mac OS X | ||
| 3c12d671 | 2015-08-24 13:33:32 | bench: Modify benchmarks for a wider range of platforms - Add the new files bench.c and bench.h to implement a timer module. - Implement the module with clock_gettime(), mach_absolute_time(), or gettimeofday(), depending on a given platform. - Replace the time measurement code of the benchmark programs with the functions of the module. | ||
| 91a19905 | 2015-08-24 13:44:20 | test/x11comp: Fix contention between X11 and Xvfb on Mac OS X - Abandon use of -displayfd. - Have x11comp itself look for an unused X11 display number instead. | ||
| 74f85d05 | 2015-08-23 23:02:10 | test/x11comp: remove duplicate FOUR_LEVEL_KEYPAD from test keymap The `test/data/keymaps/host.xkb` file contains a duplicate definition of this type. On my computer (linux, xkbcomp 1.3.0, xserver 1.17.2), the test passes as is, but if I remove the duplicate definition, the roundtrip brings it back and the test fails. I can also reproduce it without relation to the test, by loading `test/data/keymaps/host.xkb` (without the duplicate) using xkbcomp -I $(pwd)/test/data/keymaps/host.xkb $DISPLAY and downloading it again using xkbcomp $DISPLAY out.xkb the duplicate is added. On Mac OS X however, the duplicate is removed (correctly), so the test fails there. xkbcommon itself, which was forked from xkbcomp, doesn't have this bug; in fact, doing ./test/print-compiled-keymap -k keymaps/host.xkb removes the duplicate if it is present. This is (probably) a regression in xkbcomp or xserver compared to the versions used in Mac OS X. Since getting a patch for any of these two is hopeless from my experience, I did not try to investigate further. I am not sure why, but if I also add a `PC_SUPER_LEVEL2` type, the duplicate of `FOUR_LEVEL_KEYPAD` doesn't show up. Hopefully the test will work on all platforms now. https://github.com/xkbcommon/libxkbcommon/issues/26 Reported-by: @nuko8 Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| bdf68803 | 2015-08-23 22:22:11 | test/x11comp: small simplifications xkbcomp doesn't need the search-path argument, since we pass an absolute path. Keep the plain -I which clears the search path just to be sure. Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| afbe21a2 | 2015-07-20 11:46:15 | Merge pull request #25 from mvo5/master Add XKB_CONFIG_ROOT environment | ||
| 7ea129fb | 2015-07-17 20:59:52 | Add XKB_CONFIG_ROOT environment The XKB_CONFIG_ROOT environment allows overrding the build time DFLT_XKB_CONFIG_ROOT path. | ||
| 257e38c8 | 2015-07-17 23:26:20 | build: don't fail if linker version scripts are not supported Some platforms (such as OSX) do not support version scripts. In these platforms the symbols will not be versioned, but it is OK to omit them. https://github.com/xkbcommon/libxkbcommon/issues/24 | ||
| 8e1fed6c | 2015-03-24 16:40:29 | compose: correctly parse modifier syntax As described in: http://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=ddf3b09bb262d01b56fbaade421ac85b0e60a69f Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| c8c41c01 | 2015-03-10 12:20:01 | rename to LICENSE GitHub uses 'LICENSE' to scrape for repository license information, cf. https://github.com/blog/1964-open-source-license-usage-on-github-com Rename to make it a bit easier for it. | ||
| b0450847 | 2015-02-19 17:03:06 | doc: some editorial changes to compose documentation Use nicer Markdown syntax, `surround` some words, fix some typos. Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 74482de6 | 2015-02-03 20:50:52 | test/common: print keycode in decimal not hex Keycodes are usually written in decimal, so hex is hard to compare. Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| ca58937d | 2014-10-24 23:40:24 | configure.ac: also print ${datarootdir} in summary It goes something like: ${XLOCALEDIR} -> ${datarootdir}/locale/X11 -> ${prefix}/share/locale/X11 -> /usr/share/locale/X11 But AC_MSG_RESULT only performs one substitution. Instead of starting to expand this stuff manually, just print datarootdir so all the pieces are there. Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| dc275a28 | 2014-10-24 23:06:07 | PACKAGING: fix confusing typo Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 508fbcd1 | 2014-10-24 23:03:41 | doc: explain the envvars which affect compose Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 91620179 | 2014-10-23 21:03:13 | keycodes: use correct printf format Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| c03834a1 | 2014-10-23 21:00:20 | Reduce variable scopes Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 5e3615b2 | 2014-10-18 20:04:57 | ast-build: remove log message about allocation failure We don't do so anywhere else, so until we have something comprehensive, let's not so here. Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 4a660d7f | 2014-10-18 19:47:19 | xkbcomp: remove file->topName It is useless. Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 96a29ede | 2014-10-18 19:22:56 | xkbcomp/keymap: remove useless free() Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| c43c3c86 | 2014-10-18 16:41:59 | Bump version to 0.5.0 Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 60104e79 | 2014-10-18 16:35:49 | Update NEWS Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| b92f7924 | 2014-10-18 16:38:13 | Change initial symbol file versions to V_0.5.0 It will be quite confusing to use V_0.4.3 since this was already released without symbol versioning. Hopefully this doesn't cause any trouble for people who are using -git. Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 47bb9fd1 | 2014-10-18 16:37:46 | compose: fill @since TBD Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| aa41d883 | 2014-10-18 16:03:41 | doc/compat.md: add compose incompatibilities Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 413954aa | 2014-10-18 15:51:41 | Add PACKAGING file Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 047d0612 | 2014-10-18 15:07:37 | Makefile.am: add symbol files to EXTRA_DIST Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 0419f6e7 | 2014-10-18 14:50:49 | docs: make html output have a fixed width, hide footer It's hard to read text which stretches indefinitely. The footer is not adding much. Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 6337d789 | 2014-10-18 14:52:54 | README: we also accepts patches through github Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| b05a05ed | 2014-10-18 14:29:37 | README: add notes about Compose support Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 49dc91ce | 2014-10-18 14:12:14 | doc/quick-guide: some improvements Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| bac0c323 | 2014-10-18 13:58:56 | README: remove elaborate details from the intro Point to the "quick guide" instead. Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| ab9cb11c | 2014-10-18 13:53:25 | doc/compat.md: we don't support more groups or mods yet Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 494a8fbf | 2014-10-18 13:50:54 | README: move compatibility notes to their own page Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 2e8ab383 | 2014-10-18 13:44:02 | README: link to online API docs Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| cb461893 | 2014-10-18 13:34:15 | README: move note about xkeyboard-config to its own section Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 8bf1e193 | 2014-10-18 13:31:32 | README: remove section on API stability This was useful when we *weren't* stable. But now that we are this should be obvious. Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| f774f819 | 2014-10-18 13:23:53 | Replace some strncmp's with memcmp Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| a4cc119b | 2014-10-18 12:36:40 | compose/parser: save len in keysym_from_name cache This reduces a lot of strcmp's, and allows to use a faster memcmp. Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| a0d2b029 | 2014-10-17 01:14:57 | test/keyseq: test 'map[None] = Level2;' scenario See previous commit for an explanation. Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 312182ce | 2014-10-16 17:55:46 | test/data: add files for model=applealu_ansi layout=us Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| c6ee6371 | 2014-10-16 17:48:00 | test/data: sync to xkeyboard-config 2.13 (Run ./test/data/sync.sh). Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 30e7445d | 2014-10-17 00:41:05 | state: correctly infer inactive type entries The current test is incorrect, since 'map[None]' is entirely valid. In most cases this doesn't cause any problems, since the default fallback is Level1, and it's almost always 'map[None] = Level1' anyway. But in one case in xkeyboard-config it isn't, in types/numpad(mac): type "KEYPAD" { modifiers = None; map[None] = Level2; level_name[Level2] = "Number"; }; So before checking if no modifiers were mapped, make sure there *were* any modifiers at all. https://bugs.freedesktop.org/show_bug.cgi?id=85092 Reported-by: Gatis Paeglis <gatis.paeglis@digia.com> Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| a4c667ad | 2014-10-17 00:13:48 | symbols: don't warn about conflicting syms if they are the same Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 2e5530ad | 2014-10-16 18:51:51 | parser: bring back warning about includes of files with no default Using the same format as xkbcomp. Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 57ad452b | 2014-10-16 13:11:26 | Merge pull request #14 from jasperla/undefined disable -Wl,--no-undefined on OpenBSD for it doesn't have DT_NEEDED for libc | ||
| dff65c0c | 2014-10-16 11:35:18 | disable -Wl,--no-undefined on OpenBSD for it doesn't have DT_NEEDED for libc | ||
| 1595f2b7 | 2014-10-15 22:38:17 | Merge pull request #13 from jasperla/librt Make librt optional, required for at least OpenBSD | ||
| 3e169c47 | 2014-10-15 21:08:17 | Make librt optional, required for at least OpenBSD | ||
| c42b8646 | 2014-10-14 11:47:25 | test/compose: test include statement Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 3f489730 | 2014-10-14 10:53:38 | test/compose: test modifier syntax Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| c6e63fd7 | 2014-10-14 11:28:17 | compose/parser: fix parsing of multiple modifiers Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| d1c5dd14 | 2014-10-13 18:19:16 | compose/parser: parse (! mods) properly We don't actually do anything with them. But if someone uses them we can at least not choke. Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 3c0c3afa | 2014-10-13 15:47:13 | compose/parser: resolve keysyms in parser instead of scanner It will become context-sensitive. Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 0b99c63c | 2014-10-13 15:05:48 | compose/parser: use parameter as intended Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 8bba4b34 | 2014-10-13 00:16:59 | compose/parser: one more skip_to_eol() Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| a3116f97 | 2014-10-13 18:51:12 | compose/parser: fix segfault when including The keysym cache for the new scanner was not initialized. To avoid such errors also in the future, require passing the priv argument in scanner_init(), instead of initializing it separately. Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 65c355aa | 2014-10-13 14:28:27 | COPYING: add copyright notice from libX11:modules/im/ximcp/imLcPrs.c We have used some portions of it, so add the notice. Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 8a0acf2c | 2014-10-07 23:42:08 | scanner-utils: optimize one-line comments Compose files have a lot of those. Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 8d58e250 | 2014-10-03 00:30:43 | bench/compose: add new benchmark Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 5cefa5c5 | 2014-01-29 13:46:42 | test/interactive-evdev: add compose support To try, do e.g.: sudo ./test/interactive-evdev -l us -v intl -o compose:ralt -d Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 10a7a2bd | 2013-10-27 20:37:27 | test/compose: add new test Some results from the benchmark (compilation of en_US.UTF-8/Compose): $ grep 'model name' /proc/cpuinfo model name : Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz model name : Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz $ uname -a Linux ran 3.16.1-1-ARCH #1 SMP PREEMPT Thu Aug 14 07:40:19 CEST 2014 x86_64 GNU/Linux $ ./test/compose bench compiled 1000 compose tables in 7.776488331s So according to the above benchmark and valgrind --tool=massif, an xkb_compose_table adds an overhead of about ~8ms time and ~130KB resident memory. For contrast, a plain US keymap adds an overhead of ~3ms time and 90KB resident memory. Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| edc98b54 | 2014-09-12 18:44:30 | compose: add xkbcommon-compose - implementation Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 046c802e | 2014-09-12 18:43:58 | compose: add xkbcommon-compose - API xkbcommon-compose is a Compose implementation for xkbcommon. It mostly behaves like libX11's Compose, but the support is somewhat low-level and is not transparent like in libX11. The user must add some supporting code in order to utilize it. The intended audience are users who use xkbcommon but not a full-blown input method. With this they can add Compose support in a straightforward manner, so they have a fairly complete keyboard input for Latin-like languages at least. See the header documentation for details. Signed-off-by: Ran Benita <ran234@gmail.com> | ||
| 29a1a780 | 2014-09-12 18:40:18 | scanner-utils: add priv member For when a user of the scanner wants to pass something along with it. Signed-off-by: Ran Benita <ran234@gmail.com> |