libxkbcommon/tools
Ran Benita a17701327e Compose: add iterator API
Allow users to iterate the entries in a compose table. This is useful
for other projects which want programmable access to the sequences,
without having to write their own parser.

- New API:
  - `xkb_compose_table_entry_sequence`;
  - `xkb_compose_table_entry_keysym`;
  - `xkb_compose_table_entry_utf8`;
  - `xkb_compose_table_iterator_new`;
  - `xkb_compose_table_iterator_free`;
  - `xkb_compose_table_iterator_next`.
- Add tests in `test/compose.c`.
- Add benchmark for compose traversal.
- `tools/compose.c`:
  - Print entries instead of just validating them.
  - Add `--file` option.
  - TODO: make this tool part of the xkbcli commands.

Co-authored-by: Pierre Le Marre <dev@wismill.eu>
Co-authored-by: Ran Benita <ran@unusedvar.com>
Signed-off-by: Ran Benita <ran@unusedvar.com>
2023-09-26 09:02:45 +02:00
..
check-messages.c Add xkb-check-messages tool 2023-09-19 08:49:52 +02:00
compile-keymap.c xkbcli: allow compile-keymap without args 2023-07-03 13:53:26 +10:00
compose.c Compose: add iterator API 2023-09-26 09:02:45 +02:00
how-to-type.c tools/how-to-type: add --keysym for how to type a keysym 2021-07-31 22:03:33 +03:00
interactive-evdev.c interactive-evdev: add option to print modmaps 2023-09-18 16:14:12 +02:00
interactive-wayland.c Interactive tools: add options to hide some fields 2023-09-18 16:14:12 +02:00
interactive-x11.c Interactive tools: add options to hide some fields 2023-09-18 16:14:12 +02:00
messages.c Messages: add new messages to registry 2023-09-24 09:09:24 +02:00
messages.c.jinja Add xkb-check-messages tool 2023-09-19 08:49:52 +02:00
messages.h Add xkb-check-messages tool 2023-09-19 08:49:52 +02:00
registry-list.c tools/list: print an empty string for null vendor strings 2021-11-11 08:26:36 +10:00
tools-common.c interactive-evdev: add option to print modmaps 2023-09-18 16:14:12 +02:00
tools-common.h interactive-evdev: add option to print modmaps 2023-09-18 16:14:12 +02:00
xkbcli-compile-keymap.1 tools: convert man pages from man format to mdoc format 2020-08-31 10:02:47 +03:00
xkbcli-how-to-type.1 tools/how-to-type: add --keysym for how to type a keysym 2021-07-31 22:03:33 +03:00
xkbcli-interactive-evdev.1 interactive-evdev: includes options 2023-06-26 09:52:38 +02:00
xkbcli-interactive-wayland.1 tools: convert man pages from man format to mdoc format 2020-08-31 10:02:47 +03:00
xkbcli-interactive-x11.1 tools: convert man pages from man format to mdoc format 2020-08-31 10:02:47 +03:00
xkbcli-list.1 man: mention `xkbcli list` output is meant to be in YAML 1.2 format 2021-11-01 23:56:22 +02:00
xkbcli.1 man: add missing pointer to xkbcli-compile-keymap(1) 2021-03-29 20:59:45 +03:00
xkbcli.c interactive-evdev: switch from epoll(2) to poll(2) 2021-03-28 14:39:03 +03:00