Tag 'xkbcommon-0.4.1' created by Ran Benita <ran...@gmail.com> at 2014-03-27 19:01 +0000
Release xkbcommon-0.4.1 Changes since xkbcommon-0.4.0: Jasper St. Pierre (1): state: Add xkb_state_key_get_consumed_mods Ran Benita (93): build: some fixes in configure.ac Use secure_getenv when available x11: add missing #ifdef __cplusplus to header test: don't print control characters in interactive tests x11: add explicit cast in mods conversion x11: add #actions == #syms check state: use the XKB_MOD_MASK constant scanner: avoid strlen in keyword lookup, we know the len action: check range of MovePtr X,Y values action: Use ResolveInteger for PtrBtn.count, not ResolveButton ast: make symsMapIndex unsigned darray: cleanup action: change xkb_pointer_button_action::button to uint8_t parser: fix unrecognized keysym handling symbols: reduce some loop iterators scope Fix sign-compare warnings test/state: fix tautological test darray: use unsigned int instead of size_t for array size ast: use more suitable types in a few ast nodes build: add -Wextra warnings Partially revert "ast: pack the ParseCommon struct" Define likely()/unlikely() macros scanner-utils: add some likely/unlikely annotations action: fix printing of underflowed value in error message action: fix misleading cast Use unsigned int for saving darray_size return value Use (1u << idx) instead of (1 << idx) where appropriate state: optimize xkb_state_led_update_all() keysym: fix types in bin_search x11: make msb_pos return unsigned x11: fix truncation of xkb controls mask off the wire x11: make some #defines unsigned x11: make sure not to use compat header api: deprecate XKB_MAP_COMPILE_PLACEHOLDER, and use KEYMAP instead of MAP rules: get rid of struct location scanner: make line and column unsigned keysym: use safe keysym comparison function Remove m4/.gitkeep x11: add 0 < ctrls->numGroups <= 4 assertion state: check wrap_group_into_range() return value doc: move some file comments into txt files in doc/ types: steal types when merging if possible compat: steal interps and leds when merging if possible symbols: steal keys and modmaps when merging if possible keymap: reduce padding in struct xkb_sym_interpret x11: don't trust keycode before testing its range ast: remove unneeded 'ctx' param to XkbFileCreate context: fix wrong VARIANT instead of LAYOUT getenv rules: include the path in failed-to-map error message rules: print full path in error messages context: add xkb_context_sanitize_rule_names() test/rmlvo-to-kccgst: use default RMLVO values in translation rules: always %-expand kccgst values scanner: sort out scanner logging functions build: fix configure test for yacc Move src/xkbcomp/scanner-utils.h to src/ build: fix libtest AM_CLFLAGS typo build: small fixes and formatting of Makefile.am vmod: bring back support for direct vmod -> real mod mapping darray: fix indentation action: simplify Check* functions ast: cast to ParseCommon explictly instead of using ->common action: fix missing support for "affect" field action: move array_ndx errors into the Check functions action: add missing array_ndx checks action: don't pass a keymap where a ctx is sufficient expr: simplify ExprResolveButton keymap-dump: unbreak some complex lines keymap-dump: don't print "affect=lock" in PtrLock keymap-dump: add missing support for NoLock and NoUnlock flags action: fix SwitchScreen "same" field handling keymap: change action flag NO_ACCEL -> ACCEL action: add a common CheckBooleanFlag function action: unify SetLatch and Lock handler functions symbols: fix possible use of uninitialized value symbols: cleanup SetSymbolsField symbols, keycodes: fix int return type when bool is intended doc: add comments about update_key() and get_syms() order interactive-x11: beef up select_events a bit doc: remove possibly confusing comment doc: extend xkb_rule_names default-value description x11: relax XkbGetNames requirements configure.ac: fix message when X11 support is disabled Add utf8.{c,h} for common UTF-8 util functions state: add xkb_state_key_get_{utf8,utf32}() API functions state: apply control transformation on utf8/utf32 keysym strings doc: add a quick guide to the library Reformat README markdown state: fix consumed modifier calculation build: add docs to EXTRA_DIST build: trim down generated doxygen docs Update NEWS Bump version to 0.4.1 --- Makefile.am | 61 +++-- NEWS | 43 +++ README | 114 ---------- README.md | 109 +++++++++ configure.ac | 49 ++-- doc/Doxyfile.in | 7 doc/keymap-format-text-v1.txt | 359 +++++++++++++++++++++++++++++++ doc/quick-guide.md | 218 +++++++++++++++++++ doc/rules-format.txt | 86 +++++++ m4/ax_gcc_builtin.m4 | 168 ++++++++++++++ src/context-priv.c | 41 ++- src/context.c | 6 src/context.h | 17 - src/darray.h | 250 ++-------------------- src/keymap-priv.c | 16 - src/keymap.c | 33 -- src/keymap.h | 6 src/keysym-utf.c | 48 ---- src/keysym.c | 6 src/scanner-utils.h | 26 +- src/state.c | 308 ++++++++++++++++++++++----- src/text.c | 14 - src/utf8.c | 142 ++++++++++++ src/utf8.h | 36 --- src/utils.h | 22 + src/x11/keymap.c | 73 +++--- src/x11/x11-priv.h | 2 src/xkbcomp/action.c | 427 +++++++++++++++----------------------- src/xkbcomp/ast-build.c | 59 ++--- src/xkbcomp/ast-build.h | 10 src/xkbcomp/ast.h | 10 src/xkbcomp/compat.c | 203 +----------------- src/xkbcomp/expr.c | 12 - src/xkbcomp/keycodes.c | 81 ------- src/xkbcomp/keymap-dump.c | 91 +++----- src/xkbcomp/keymap.c | 8 src/xkbcomp/keywords.c | 5 src/xkbcomp/keywords.gperf | 5 src/xkbcomp/parser-priv.h | 12 - src/xkbcomp/parser.y | 98 ++++---- src/xkbcomp/rules.c | 259 ++++++----------------- src/xkbcomp/scanner.c | 54 +--- src/xkbcomp/symbols.c | 129 +++++------ src/xkbcomp/types.c | 121 ---------- src/xkbcomp/vmod.c | 63 ++++- src/xkbcomp/vmod.h | 3 test/.gitignore | 1 test/atom.c | 2 test/common.c | 20 - test/data/keymaps/stringcomp.data | 8 test/interactive-x11.c | 62 +++-- test/rmlvo-to-kccgst.c | 2 test/state.c | 203 +++++++++++++++++- test/utf8.c | 157 +++++++++++++ test/x11.c | 2 xkbcommon/xkbcommon-compat.h | 4 xkbcommon/xkbcommon-x11.h | 8 xkbcommon/xkbcommon.h | 140 ++++++++++-- 58 files changed, 2740 insertions(+), 1779 deletions(-) --- -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/e1yuph6-0001nn...@moszumanska.debian.org