Qt Base (Core, Gui, Widgets, Network, ...)
Go to file
Gatis Paeglis a34e81ab8b platformsupport/input: add xkbcommon utilities lib
xcb/eglfs/wayland - all use XKB keyboard configs and APIs. There
is a lot of duplicated and naturally a diverging code. This patch
adds a helper library to avoid all the mentioned problems and unify
feature set between these platforms.

qlibinputkeyboard:

Added a fixup for 2803cdf758. From
spec: "keysyms, when bound to modifiers, affect the rules [..]",
meaning we can't look at keys in isolation, but have to check if
bounding exists in the keymap. This is done by using
xkb_state_mod_name_is_active() API, but that API has its limitations -
https://github.com/xkbcommon/libxkbcommon/issues/88
I will fix this separately in the LTS (5.12) branch.

We need to read the modifier state before the key action. This
patch fixes a regression introduced by aforementioned patch, which
caused modifiers being reported wrongly in QKeyEvent::modifiers().

qtwayland:

Moved toKeysym(QKeyEvent) from qtwayland repository into this library.
For this and other key mapping functionality wayland was duplicating
the key table. All of that will be removed from qtwayland, and calls
will be replaced to use this lib. Adjusted toKeysym() to fix QTBUG-71301.
Qt keys don't map to ASCII codes, so first we need search in our key
table, instead of mapping from unicode.

lookupStringNoKeysymTransformations():

fixed off-by-one error, where we were including terminating NUL in
QString.

Fixes: QTBUG-71301
Task-number: QTBUG-65503
Change-Id: Idfddea5b34ad620235dc08c0b9e5a0669111821a
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
2019-03-01 14:31:28 +00:00
bin syncqt: Do not clean header directory before "-minimal" run 2018-11-22 14:16:53 +00:00
config.tests x86: Disable AVX support on 64-bit MinGW 2019-02-06 08:11:29 +00:00
dist Merge remote-tracking branch 'origin/5.12' into dev 2019-01-26 08:35:40 +01:00
doc Merge remote-tracking branch 'origin/5.12' into dev 2019-01-26 08:35:40 +01:00
examples Merge remote-tracking branch 'origin/5.12' into 5.13 2019-02-19 01:00:08 +01:00
lib
mkspecs Merge remote-tracking branch 'origin/5.12' into 5.13 2019-02-28 01:00:15 +01:00
qmake Merge remote-tracking branch 'origin/5.12' into 5.13 2019-02-28 01:00:15 +01:00
src platformsupport/input: add xkbcommon utilities lib 2019-03-01 14:31:28 +00:00
tests Merge remote-tracking branch 'origin/5.12' into 5.13 2019-02-28 01:00:15 +01:00
util Adjust chunk-size in TLD-suffix list to placate MSVC 2015 2019-03-01 13:26:46 +00:00
.gitattributes
.gitignore Remove support for qml1 plugins and modules 2018-11-15 19:52:13 +00:00
.qmake.conf Bump version 2019-01-14 09:12:55 +02:00
.tag
INSTALL INSTALL: Remove outdated reference to Windows CE 2019-02-13 13:01:57 +00:00
LICENSE.FDL
LICENSE.GPL2
LICENSE.GPL3
LICENSE.GPL3-EXCEPT
LICENSE.LGPL3
LICENSE.LGPLv3
LICENSE.QT-LICENSE-AGREEMENT-4.0
config_help.txt Add llvm linker detection to configure 2019-02-06 22:11:22 +00:00
configure configure: Treat win32-clang-g++ the same as win32-g++ 2018-10-10 04:10:40 +00:00
configure.bat
configure.json Wasm: enable thread support 2019-02-07 16:13:26 +00:00
configure.pri Add llvm linker detection to configure 2019-02-06 22:11:22 +00:00
header.BSD
header.COMM
header.FDL
header.GPL
header.GPL-EXCEPT
header.LGPL
header.LGPL-NOGPL2
header.LGPL-ONLY
header.LGPL3
header.LGPL3-COMM
header.MIT
qtbase.pro
sync.profile platformsupport/input: add xkbcommon utilities lib 2019-03-01 14:31:28 +00:00