-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update bundled libxkbcommon version to 0.4.0
This release comes with important bug fixes. Also we can now remove the workaround code which was needed for libxkbcommon 0.2.0. Task-number: QTBUG-31712 Task-number: QTBUG-33732 Task-number: QTBUG-34056 Change-Id: I57caf7f803b9a01a15541a5ad82e464de3b8abbb Reviewed-by: Oswald Buddenhagen <[email protected]> Reviewed-by: Lars Knoll <[email protected]>
- Loading branch information
Gatis Paeglis
authored and
The Qt Project
committed
Mar 19, 2014
1 parent
c6b555d
commit b19b080
Showing
55 changed files
with
11,428 additions
and
9,368 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
libxkbcommon 0.4.0 | ||
================== | ||
|
||
- Add a new add-on library, xkbcommon-x11, to support creating keymaps | ||
with the XKB X11 protocol, by querying the X server directly. | ||
See the xkbcommon/xkbcommon-x11.h header file for more details. | ||
This library requires libxcb-xkb >= 1.10, and is enabled by default. | ||
It can be disabled with the --disable-x11 configure switch. | ||
Distributions are encouraged to split the necessary files for this | ||
library (libxkbcommon-x11.so, xkbcommon-x11.pc, xkbcommon/xkbcommon-x11.h) | ||
to a separate package, such that the main package does not depend on | ||
X11 libraries. | ||
|
||
- Fix the keysym <-> name lookup table to not require huge amounts of | ||
relocations. | ||
|
||
- Fix a bug in the keysym <-> name lookup, whereby lookup might fail in | ||
some rare cases. | ||
|
||
- Reduce memory usage during keymap compilation. | ||
|
||
- New API: | ||
New keysyms from xproto 7.0.25 (German T3 layout keysyms). | ||
XKB_MOD_NAME_NUM for the usual NumLock modifier. | ||
xkb_x11_* types and functions, XKB_X11_* constants. | ||
|
||
|
||
libxkbcommon 0.3.2 | ||
================== | ||
|
||
- Log messages from the library now look like "xkbcommon: ERROR" by | ||
default, instead of xkbcomp-like "Error: ". | ||
|
||
- Apply capitalization transformation on keysyms in | ||
xkb_keysym_get_one_sym(), to match the behavior specified in the XKB | ||
specification: | ||
http://www.x.org/releases/current/doc/kbproto/xkbproto.html#Interpreting_the_Lock_Modifier | ||
|
||
- Support byacc for generating the parser, in addition to Bison. | ||
|
||
- New API: | ||
XKB_KEY_XF86AudioMicMute keysym from xproto 7.0.24. | ||
XKB_KEYSYM_NO_FLAGS | ||
XKB_CONTEXT_NO_FLAGS | ||
XKB_MAP_COMPILE_NO_FLAGS | ||
|
||
- Bug fixes. | ||
|
||
|
||
libxkbcommon 0.3.1 | ||
================== | ||
|
||
- Replace the flex scanner with a hand-written one. flex is no longer | ||
a build requirement. | ||
|
||
- New API: | ||
xkb_keymap_min_keycode() | ||
xkb_keymap_max_keycode() | ||
xkb_keymap_key_for_each() | ||
|
||
|
||
libxkbcommon 0.3.0 | ||
================== | ||
|
||
- Allow passing NULL to *_unref() functions; do nothing instead of | ||
crashing. | ||
|
||
- The functions xkb_keymap_num_levels_for_key() and | ||
xkb_keymap_get_syms_by_level() now allow out-of-range values for the | ||
'layout' parameter. The functions now wrap the value around the number | ||
of layouts instead of failing. | ||
|
||
- The function xkb_keysym_get_name() now types unicode keysyms in | ||
uppercase and 0-padding, to match the format used by XKeysymToString(). | ||
|
||
- Building Linux-specific tests is no longer attempted on non-Linux | ||
environments. | ||
|
||
- The function xkb_keymap_new_from_names() now accepts a NULL value for | ||
the 'names' parameter, instead of failing. This is equivalent to passing | ||
a 'struct xkb_rule_names' with all fields set to NULL. | ||
|
||
- New API: | ||
xkb_keymap_new_from_buffer() | ||
|
||
- Bug fixes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,27 +25,17 @@ API | |
|
||
While xkbcommon's API is somewhat derived from the classic XKB API as found | ||
in <X11/extensions/XKB.h> and friends, it has been substantially reworked to | ||
expose fewer internal details to clients. The only supported API is available | ||
in <xkbcommon/xkbcommon.h>. Any definition not in this header (including | ||
accessing internal structures through the old macros previously available) | ||
should be regarded as an implementation detail and is liable to change at any | ||
time. | ||
expose fewer internal details to clients. The supported API is available | ||
in the <xkbcommon/xkbcommon-*.h> files. Additional support is provided for | ||
X11 (XCB) clients, in the xkbcommon-x11 library, <xkbcommon/xkbcommon-x11.h>. | ||
|
||
During its early development, xkbcommon does not promise API or ABI stability. | ||
Regardless, we will attempt to not break ABI during a minor release series, | ||
so applications written against 0.1.0 should be completely compatible with | ||
0.1.3, but not necessarily with 0.2.0. However, new symbols may be introduced | ||
in any release. Thus, anyone packaging xkbcommon should make sure any package | ||
depending on it depends on a release greater than or equal to the version it | ||
was built against (or earlier, if it doesn't use any newly-introduced | ||
symbols), but less than the next major release. | ||
|
||
xkbcommon 1.x will offer full API and ABI stability for its lifetime, with a | ||
soname of libxkbcommon.so.1. Any ABI breaks will wait until xkbcommon 2.0, | ||
which will be libxkbcommon.so.2. | ||
|
||
The xkbcomp command-line tool has also been removed, although this will | ||
likely reappear in a later release. | ||
The xkbcommon API and ABI are stable. We will attempt to not break ABI during | ||
a minor release series, so applications written against 0.1.0 should be | ||
completely compatible with 0.5.3, but not necessarily with 1.0.0. However, new | ||
symbols may be introduced in any release. Thus, anyone packaging xkbcommon | ||
should make sure any package depending on it depends on a release greater than | ||
or equal to the version it was built against (or earlier, if it doesn't use | ||
any newly-introduced symbols), but less than the next major release. | ||
|
||
|
||
Relation to X11 | ||
|
@@ -101,19 +91,24 @@ Development | |
An extremely rudimentary homepage can be found at: | ||
http://xkbcommon.org | ||
|
||
xkbcommon is maintained in git at freedesktop.org: | ||
git://anongit.freedesktop.org/git/libxkbcommon | ||
xkbcommon is maintained in git at github.com: | ||
https://github.com/xkbcommon/libxkbcommon | ||
|
||
Patches are always welcome, and may be sent to either [email protected], | ||
or [email protected]. Bugs are tracked in Bugzilla at: | ||
http://bugs.freedesktop.org | ||
or [email protected]. | ||
|
||
Bugs are tracked in Bugzilla at: | ||
https://bugs.freedesktop.org/describecomponents.cgi?product=libxkbcommon | ||
Or in github at: | ||
https://github.com/xkbcommon/libxkbcommon/issues | ||
|
||
The maintainer is Daniel Stone, who can be reached at: | ||
The maintainers are Daniel Stone and Ran Benita, who can be reached at: | ||
<[email protected]> | ||
<[email protected]> | ||
|
||
|
||
Credits | ||
======= | ||
|
||
Many thanks are due to Dan Nicholson for his heroic work in getting xkbcommon | ||
off the ground initially, as well as to Ran Benita for subsequent development. | ||
off the ground initially. |
Oops, something went wrong.