libxkbcommon/include/xkbcommon
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
..
xkbcommon-compat.h Move include files to include/ subdirectory 2021-04-27 10:10:26 +03:00
xkbcommon-compose.h Compose: add iterator API 2023-09-26 09:02:45 +02:00
xkbcommon-keysyms.h Improve the doc of the XKB keymap text format, V1 (#321) 2023-04-30 22:30:36 +03:00
xkbcommon-names.h Move include files to include/ subdirectory 2021-04-27 10:10:26 +03:00
xkbcommon-x11.h Move include files to include/ subdirectory 2021-04-27 10:10:26 +03:00
xkbcommon.h Improve the documentation of keysyms in xkbcommon.h 2023-07-14 09:22:24 +02:00
xkbregistry.h context: add XKB_CONTEXT_NO_SECURE_GETENV flag (#312) 2022-12-16 10:26:25 +02:00