1 libxkbcommon 0.7.0 - 2016-11-11
4 - Added support for different "modes" of calculating consumed modifiers.
5 The existing mode, based on the XKB standard, has proven to be
6 unintuitive in various shortcut implementations.
8 A new mode, based on the calculation used by the GTK toolkit, is added.
9 This mode is less eager to declare a modifier as consumed.
11 - Added a new interactive demo program using the Wayland protocol.
12 See the PACKAGING file for the new (optional) test dependencies.
14 - Fixed a compilation error on GNU Hurd.
17 enum xkb_consumed_mode
20 xkb_state_key_get_consumed_mods2
21 xkb_state_mod_index_is_consumed2
24 libxkbcommon 0.6.1 - 2016-04-08
27 - Added LICENSE to distributed files in tarball releases.
29 - Minor typo fix in xkb_keymap_get_as_string() documentation.
32 libxkbcommon 0.6.0 - 2016-03-16
35 - If the XKB_CONFIG_ROOT environment variable is set, it is used as the XKB
36 configuration root instead of the path determined at build time.
38 - Tests and benchmarks now build correctly on OSX.
40 - An XKB keymap provides a name for each key it defines. Traditionally,
41 these names are limited to at most 4 characters, and are thus somewhat
42 obscure, but might still be useful (xkbcommon lifts the 4 character limit).
44 The new functions xkb_keymap_key_get_name() and xkb_keymap_key_by_name()
45 can be used to get the name of a key or find a key by name. Note that
46 a key may have aliases.
48 - Documentation improvements.
51 xkb_keymap_key_by_name()
52 xkb_keymap_key_get_name()
55 libxkbcommon 0.5.0 - 2014-10-18
58 - Added support for Compose/dead keys in a new module (included in
59 libxkbcommon). See the documentation or the
60 xkbcommon/xkbcommon-compose.h header file for more details.
62 - Improved and reordered some sections of the documentation.
64 - The doxygen HTML pages were made nicer to read.
66 - Most tests now run also on non-linux platforms.
68 - A warning is emitted by default about RMLVO values which are not used
69 during keymap compilation, which are most often a user misconfiguration.
70 For example, "terminate:ctrl_alt_backspace" instead of
71 "terminate:ctrl_alt_bksp".
73 - Added symbol versioning for libxkbcommon and libxkbcommon-x11.
74 Note: binaries compiled against this and future versions will not be
75 able to link against the previous versions of the library.
77 - Removed several compatablity symbols from the binary (the API isn't
78 affected). This affects binaries which
80 1. Were compiled against a pre-stable (<0.2.0) version of libxkbcommon, and
81 2. Are linked against the this or later version of libxkbcommon.
83 Such a scenario is likely to fail already.
85 - If Xvfb is not available, the x11comp test is now correctly skipped
88 - Benchmarks were moved to a separate bench/ directory.
90 - Build fixes from OpenBSD.
92 - Fixed a bug where key type entries such as "map[None] = Level2;" were
100 libxkbcommon 0.4.3 - 2014-08-19
103 - Fixed a bug which caused xkb_x11_keymap_new_from_device() to misrepresent
104 modifiers for some keymaps.
106 https://github.com/xkbcommon/libxkbcommon/issues/9
108 - Fixed a bug which caused xkb_x11_keymap_new_from_device() to ignore XKB
111 - Modifiers are now always fully resolved after xkb_state_update_mask().
112 Previously the given state components were used as-is, without
113 considering virtual modifier mappings.
114 Note: this only affects non-standard uses of xkb_state_update_mask().
116 - Added a test for xkbcommon-x11, "x11comp". The test uses the system's
117 Xvfb server and xkbcomp. If they do not exist or fail, the test is
120 - Fixed memory leaks after parse errors in the XKB yacc parser.
121 The fix required changes which are currently incompatible with byacc.
124 libxkbcommon 0.4.2 - 2014-05-15
127 - Fixed a bug where explicitly passing "--enable-x11" to ./configure would
128 in fact disable it (regressed in 0.4.1).
130 - Added @since version annotations to the API documentation for everything
131 introduced after the initial stable release (0.2.0).
133 - Added a section to the documentation about keysym transformations, and
134 clarified which functions perform a given transformation.
136 - XKB files which fail to compile during keymap construction can no longer
137 have any effect on the resulting keymap: changes are only applied when
138 the entire compilation succeeds.
139 Note: this was a minor correctness issue inherited from xkbcomp.
141 - Fix an out-of-bounds array access in src/x11/util.c:adopt_atoms()
143 Note: it seems impossible to trigger in the current code since the input
144 size cannot exceed the required size.
147 libxkbcommon 0.4.1 - 2014-03-27
150 - Converted README to markdown and added a Quick Guide to the
151 documentation, which breezes through the most common parts of
154 - Added two new functions, xkb_state_key_get_utf{8,32}(). They
155 combine the operations of xkb_state_key_get_syms() and
156 xkb_keysym_to_utf{8,32}(), and provide a nicer interface for it
157 (espcially for multiple-keysyms-per-level).
159 - The xkb_state_key_get_utf{8,32}() functions now apply Control
160 transformation: when the Control modifier is active, the string
161 is converted to an appropriate control character.
162 This matches the behavior of libX11's XLookupString(3), and
163 required by the XKB specification:
164 http://www.x.org/releases/current/doc/kbproto/xkbproto.html#Interpreting_the_Control_Modifier
166 https://bugs.freedesktop.org/show_bug.cgi?id=75892
168 - The consumed modifiers for a key are now calculated similarly
169 to libX11. The previous behavior caused a bug where Shift would
170 not cancel an active Caps Lock.
172 - Make xkbcommon-x11 work with the keymap reported by the XQuartz
175 https://bugs.freedesktop.org/show_bug.cgi?id=75798
177 - Reduce memory usage during keymap compilation some more.
180 xkb_state_key_get_consumed_mods()
181 xkb_state_key_get_utf8()
182 xkb_state_key_get_utf32()
185 XKB_MAP_COMPILE_PLACEHOLDER, XKB_MAP_NO_FLAGS
186 use XKB_KEYMAP_NO_FLAGS instead.
191 libxkbcommon 0.4.0 - 2014-02-02
194 - Add a new add-on library, xkbcommon-x11, to support creating keymaps
195 with the XKB X11 protocol, by querying the X server directly.
196 See the xkbcommon/xkbcommon-x11.h header file for more details.
197 This library requires libxcb-xkb >= 1.10, and is enabled by default.
198 It can be disabled with the --disable-x11 configure switch.
199 Distributions are encouraged to split the necessary files for this
200 library (libxkbcommon-x11.so, xkbcommon-x11.pc, xkbcommon/xkbcommon-x11.h)
201 to a separate package, such that the main package does not depend on
204 - Fix the keysym <-> name lookup table to not require huge amounts of
207 - Fix a bug in the keysym <-> name lookup, whereby lookup might fail in
210 - Reduce memory usage during keymap compilation.
213 New keysyms from xproto 7.0.25 (German T3 layout keysyms).
214 XKB_MOD_NAME_NUM for the usual NumLock modifier.
215 xkb_x11_* types and functions, XKB_X11_* constants.
218 libxkbcommon 0.3.2 - 2013-11-22
221 - Log messages from the library now look like "xkbcommon: ERROR" by
222 default, instead of xkbcomp-like "Error: ".
224 - Apply capitalization transformation on keysyms in
225 xkb_keysym_get_one_sym(), to match the behavior specified in the XKB
227 http://www.x.org/releases/current/doc/kbproto/xkbproto.html#Interpreting_the_Lock_Modifier
229 - Support byacc for generating the parser, in addition to Bison.
232 XKB_KEY_XF86AudioMicMute keysym from xproto 7.0.24.
235 XKB_MAP_COMPILE_NO_FLAGS
240 libxkbcommon 0.3.1 - 2013-06-03
243 - Replace the flex scanner with a hand-written one. flex is no longer
247 xkb_keymap_min_keycode()
248 xkb_keymap_max_keycode()
249 xkb_keymap_key_for_each()
252 libxkbcommon 0.3.0 - 2013-04-01
255 - Allow passing NULL to *_unref() functions; do nothing instead of
258 - The functions xkb_keymap_num_levels_for_key() and
259 xkb_keymap_get_syms_by_level() now allow out-of-range values for the
260 'layout' parameter. The functions now wrap the value around the number
261 of layouts instead of failing.
263 - The function xkb_keysym_get_name() now types unicode keysyms in
264 uppercase and 0-padding, to match the format used by XKeysymToString().
266 - Building Linux-specific tests is no longer attempted on non-Linux
269 - The function xkb_keymap_new_from_names() now accepts a NULL value for
270 the 'names' parameter, instead of failing. This is equivalent to passing
271 a 'struct xkb_rule_names' with all fields set to NULL.
274 xkb_keymap_new_from_buffer()