aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/5.14' into 5.15Qt Forward Merge Bot2020-01-181-0/+9
|\ | | | | | | Change-Id: I248564d46971206adc9dcf1567a03e6c6354efe7
| * Fix arrow key navigation when shortcuts are set for arrow keysPeter Varga2020-01-151-0/+9
| | | | | | | | | | | | | | Fixes: QTBUG-81240 Change-Id: I169307295718ed285c525b82194d30c8197e5d95 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | ExtensionLoader: Use a QMultiHashFriedemann Kleint2020-01-033-6/+6
| | | | | | | | | | | | | | | | | | | | | | Fix deprecation warnings: extensionloader.cpp:65:84: warning: ‘QList<ValueType> QHash<K, V>::values(const Key&) const [with Key = QString; T = QJsonObject]’ is deprecated: Use QMultiHash for hashes storing multiple values with the same key. [-Wdeprecated-declarations] extensionloader.cpp:108:44: warning: ‘QHash<K, V>::iterator QHash<K, V>::insertMulti(const Key&, const T&) [with Key = QString; T = QJsonObject]’ is deprecated: Use QMultiHash for hashes storing multiple values with the same key. [-Wdeprecated-declarations] plugin.cpp:82:63: warning: 'QList<T> QHash<K, V>::uniqueKeys() const [with Key = QString; T = QJsonObject]' is deprecated: Use QMultiHash for hashes storing multiple values with the same key. [-Wdeprecated-declarations] Change-Id: I55d3fdd1d46cb61ba7eee3b9f261acf2dfcda7ea Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* | Merge remote-tracking branch 'origin/5.14' into 5.15Qt Forward Merge Bot2019-12-146-2/+22
|\| | | | | | | Change-Id: I015f945db10e4665e18a105ef0b0cd0c3ca4d49f
| * Merge remote-tracking branch 'origin/5.14.0' into 5.14Qt Forward Merge Bot2019-12-135-0/+21
| |\ | | | | | | | | | Change-Id: I41e5655ff707faecd8f6c0d3d5dc17bdd3dad0c7
| | * Fix warnings about Binding's new restoreMode propertyv5.14.0-rc2v5.14.0Mitch Curtis2019-12-055-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The warning is: QML Binding: Not restoring previous value because restoreMode has not been set. This behavior is deprecated. In Qt < 6.0 the default is Binding.RestoreBinding. In Qt >= 6.0 the default is Binding.RestoreBindingOrValue. Fixes: QTBUG-80523 Change-Id: I18721419c2822aa80373d16f7e142e42bafe317c Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
| * | Allow shift toggle with Qt::ImhNoAutoUppercaseSamuli Piippo2019-12-091-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Qt::ImhNoAutoUppercase means that the input method should not try to automatically switch to upper case when a sentence ends. QtVKB was using it also to make shift work as caps lock. Change the behavior so that the shift key affects only the next character. [ChangeLog] Using Qt::ImhNoAutoUppercase hint (used also with password fields) no longer makes shift key function as a caps lock. Change-Id: I231c8d192a67e19f04bc4d3fcf0bc9c676a12830 Task-number: QTBUG-80058 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | | Merge remote-tracking branch 'origin/5.14' into 5.15Qt Forward Merge Bot2019-12-071-0/+3
|\| | | | | | | | | | | Change-Id: Ic443c6a8b7798736618bfbd677dfb20091175355
| * | QtQuick.VirtualKeyboard.Plugins: automatically register latest versionMitch Curtis2019-12-041-0/+3
| |/ | | | | | | | | | | | | | | | | Follow up to 67e497ff407441515761b312599cb4ad6b61adad, and a pre-requisite for bumping all versions in QML import statements. Change-Id: I1f8d788d7c52c979dde2b3fb3141583cece7a286 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Fix warning: TypeError: Cannot read property 'selectByMouse' of nullFrederik Gladhorn2019-12-051-1/+1
| | | | | | | | | | | | | | When the item is undefined, we should not try to access it. Change-Id: I600130c6ed29beb93c9878298b0f1cf51f843d86 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Respect selectByMouse property of inputItem when in fullscreen modeMitch Curtis2019-12-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | Before this patch, there was no way to control selectByMouse behavior for the full screen shadow input item. This patch makes it follow the value of the input item that caused the keyboard to open. Change-Id: Ia22ba275a605340c9d64f60eefd242453ba9769c Fixes: QTBUG-79617 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Merge remote-tracking branch 'origin/5.14' into 5.15Qt Forward Merge Bot2019-11-166-10/+16
|\| | | | | | | Change-Id: Ifda8cf12f90ee58fe18cd5cc610955cb2963e1e0
| * Doc: Fix documentation warningsTopi Reinio2019-11-135-9/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Mark documented member functions of \internal classes also as \internal as QDoc fails to match function documentation to internal classes otherwise. QDoc's QML parser has trouble parsing method arguments that define a default value. Switch to use \e instead of \a for affected argument names. Fixes: QTBUG-79832 Change-Id: I91c177d00d149775bd0825d5a17a0372e76e3895 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
| * Merge remote-tracking branch 'origin/5.13' into 5.14Qt Forward Merge Bot2019-11-121-1/+1
| |\ | | | | | | | | | Change-Id: Ib15c9e15c6de7af881e147ff640aa42b0393c360
| | * Revert "Fix lipitoolkit build on Ubuntu"5.13Jani Heikkinen2019-11-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit b4d8dc1855a6acce3542bc9bd37365fbfc5eefc5. Reason for revert: QTBUG-79849 Change-Id: I661c0485e348a986078743379cd4787f5dab4c2c Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | | Merge remote-tracking branch 'origin/5.14' into 5.15Qt Forward Merge Bot2019-11-091-1/+1
|\| | | | | | | | | | | Change-Id: I4a0e9290a3df988882e57e2ff062381a943ff1eb
| * | Merge remote-tracking branch 'origin/5.13' into 5.14v5.14.0-beta3Qt Forward Merge Bot2019-11-051-1/+1
| |\| | | | | | | | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: I92fd5c3e605d36af7bdf983cd444a919402227f0
| | * Fix lipitoolkit build on UbuntuMitch Curtis2019-11-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -L$$OUT_PWD/../../../../lib points to: /home/mitch/dev/qt5.13-debug/qtvirtualkeyboard/src/plugins/lipi-toolkit/plugin/../../../../lib which expands to: /home/mitch/dev/qt5.13-debug/qtvirtualkeyboard/lib I have no lib folder there. This patch changes the pro file to use QT_HOST_LIBS (/home/mitch/dev/qt5.13-debug/qtbase/lib/) and not OUT_PWD, as OUT_PWD refers to where the Makefile is being created in and not where the libraries are actually being built into. Since the libraries are placed where the module/lib path is, using QT_HOST_LIBS will ensure it is in the same location. Change-Id: I1921b18d9362c49174c5ba6b267fe194a963d91c Reviewed-by: Andy Shaw <andy.shaw@qt.io>
* | | Adapt to new Connections syntaxMitch Curtis2019-10-181-19/+19
| | | | | | | | | | | | | | | Change-Id: I2e0aac224a9731fc9942633c825808cb6ecff0e9 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* | | Merge remote-tracking branch 'origin/5.14' into 5.15Qt Forward Merge Bot2019-10-123-124/+499
|\| | | | | | | | | | | Change-Id: If4d5635696909af171822695954b2f63d62a2af9
| * | Update plugins.qmltypes for 5.14v5.14.0-beta1Kai Koehne2019-09-303-124/+499
| | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-78690 Change-Id: I41834ea8b0a9d72cfc20a70c7d373ecb3b42112c Reviewed-by: Kai Koehne <kai.koehne@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | | Merge remote-tracking branch 'origin/5.14' into 5.15Qt Forward Merge Bot2019-09-281-3/+0
|\| | | | | | | | | | | Change-Id: If55f2ab70492e6e356f761f78a6d0cdcdbe11026
| * | Merge remote-tracking branch 'origin/5.13' into 5.14Qt Forward Merge Bot2019-09-241-3/+0
| |\| | | | | | | | | | Change-Id: I5ae8a627c0b6e0e400f8abcffec267b87b845a27
| | * Remove incorrect QML singleton registrationJarkko Koivikko2019-09-051-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Commit 5260805b162030a6900bacf46d2a55b69075ae09 added an incorrect QML singleton registration which will cause duplicate instances of the singleton with application using inconsistent QtVirtualKeyboard imports. - This registration is also unnecessary and can be removed, since the version number is already registered with the other components. Change-Id: I7ef9688d08ca2ec0a697f7de4159140951f096a7 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | | Merge remote-tracking branch 'origin/5.14' into 5.15Qt Forward Merge Bot2019-09-2110-69/+67
|\| | | | | | | | | | | Change-Id: I0f0a00a8feed75cd380fdbd751ebe73008e6d410
| * | Fix SVG icons in the default stylev5.14.0-alpha1Jarkko Koivikko2019-09-0610-69/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Fixed invalid SVG icons in default style, which no longer work with the latest Qt SVG library. - Fixed by copying the icons from retro style and adapting the colors. Change-Id: I0834082ca4f810625c53be47e3f02334f94346f1 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | | Fix deprecation warnings related to qmlRegisterType()Friedemann Kleint2019-09-051-1/+2
|/ / | | | | | | | | | | | | Use qmlRegisterAnonymousType() instead of qmlRegisterType(), fixing: Change-Id: I589ef1aa43f85fbf80d3b4ba03cd3c0422a7aae5 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* | ZhuyinTable/CangjieTable: mark all functions as noexceptMarc Mutz2019-08-014-22/+22
| | | | | | | | | | | | | | Doesn't change the executable, as -fno-exceptions is in effect. Change-Id: I94fe49cce3f4109247f9b1b6b22eec71cb548585 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | CangjieTable: thoroughly QStringView-enableMarc Mutz2019-08-012-10/+10
| | | | | | | | | | | | | | | | | | Nothing in the implementation of CangjieTable needs QString. This is all very basic parsing. So use QStringView. Now all operations are free of dynamic memory allocations. Change-Id: I353bab484ef6d551e03c7d8bb04e7e1a923f830e Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | CangjieTable: replace a QMap with a QStringViewMarc Mutz2019-08-012-47/+10
| | | | | | | | | | | | | | | | | | | | | | The QMap was statically mapping QChars to consecutive numbers, starting from 1. This is otherwise known as QStringView::indexOf() + 1, so use that. Saves almost 12KiB in text size on optimized Linux AMD64 GCC 9.1 builds. Change-Id: I2e11ab39e073cdf77b2050bccf3e613bf23cf4d1 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | TCInputMethod: replace a QList with a std::arrayMarc Mutz2019-08-011-6/+8
| | | | | | | | | | | | | | | | | | The QList always has size 4, so use a std::array instead. Saves more than 1KiB in text size on optimized Linux AMD64 GCC 9.1 builds. Change-Id: I520ea517a3542514f250668adc10938d2fed4778 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | ZhuyinTable: throughly QStringView-enableMarc Mutz2019-08-014-100/+83
| | | | | | | | | | | | | | | | | | | | | | | | Nothing in the implementation of ZhuyinTable needs QList, or QString. This is all very basic parsing. So use QStringView. Now all operations are free of dynamic memory allocations. Saves ~2.7KiB (0.9%) in text size on optimized AMD64 Linux GCC 9.1 builds. Change-Id: Iefa38980b52ede17a0c11f752653616d1944911a Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Port from QMutex::Recursive to QRecursiveMutexMarc Mutz2019-07-311-7/+6
| | | | | | | | | | | | | | | | Also port from QMutexLocker to std::lock_guard, as the former will not support QRecursiveMutex going forward. Change-Id: I38a2711c64ae149001e780cc57fc95657c33d6d4 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* | Port from implicit QChar(*int*) to explicit onesMarc Mutz2019-07-196-41/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | Found a nice misuse of QChar <=> Qt::Key, which happens to work for '\'', but not for all other keys (e.g. Esc)... I want to note that, yes, I took note of the code's abuse of Qt containers, and no, I _did_ constrain myself; this patch is just fixing implicit *int*->QChar conversions. Change-Id: I3cb43417f3922fdc500783b7e0b8caecc0d3c5f5 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* | Merge remote-tracking branch 'origin/5.13' into devQt Forward Merge Bot2019-07-161-0/+1
|\| | | | | | | Change-Id: I186a6aac5a94ae5e754ed3e4208948ae4a2f6262
| * Doc: Replace example file lists with links to code.qt.ioTopi Reinio2019-07-091-0/+1
| | | | | | | | | | | | Task-number: QTBUG-74391 Change-Id: I55517679621d72c39f483d9422738eb6d381dd6d Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* | Remove usages of deprecated QLatin1LiteralSona Kurazyan2019-06-251-1/+1
| | | | | | | | | | | | | | | | | | Task-number: QTBUG-76491 Change-Id: I6c3e2eb4a517e5c46d22c9b34a687a6c04cd05ac Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
* | Enable virtualkeyboard key events and shiftkey without focusMikko Seppänen2019-06-207-3/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch enables creation of virtual keyboard that functions with all X11 applications, including the ones that do not provide focus information from text input fields. The patch introdudes usage of an environment variable. When this variable is set, virtualkeyboard shift key is enabled and virtualkeyboard is able to send key events without a focus object. [ChangeLog] Added QT_VIRTUAL_KEYBOARD_FORCE_EVENTS_WITHOUT_FOCUS environment variable to allow Qt Virtual Keyboard to send key events and enable Shift key without a focused input object. Change-Id: I89b3cff0f019a12daf6c6b0474b39758ffea7c65 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Merge remote-tracking branch 'origin/5.13' into devQt Forward Merge Bot2019-06-221-1/+1
|\| | | | | | | Change-Id: I99a989a886234815a2b5f495bfbdd62a6dcb7e76
| * Merge remote-tracking branch 'origin/5.13.0' into 5.13Qt Forward Merge Bot2019-06-201-1/+1
| |\ | | | | | | | | | Change-Id: Ibbaca5ceb1ed0532ef49275f785260995c94bf2c
| | * Use correct path to lib dirv5.13.0-rc3v5.13.0-rc2v5.13.0-rc1v5.13.0-beta4v5.13.0Samuli Piippo2019-05-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | -L path was pointing to non-existing directory. Task-number: QTBUG-75802 Change-Id: I9a72c57ef63d8da860c220041c2000ce3f1fefa8 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* | | Convert uses of QTime as a timer to QElapsedTimerEdward Welbourne2019-06-121-4/+4
| | | | | | | | | | | | | | | Change-Id: I59877565c0f82552a04d41f2f3c2a657b5be4fe2 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* | | Merge remote-tracking branch 'origin/5.13' into devQt Forward Merge Bot2019-06-031-0/+2
|\| | | | | | | | | | | Change-Id: I7b34a9c88b4077ab29495fcb4817717a19c0bc40
| * | Merge remote-tracking branch 'origin/5.12' into 5.13Qt Forward Merge Bot2019-05-281-0/+2
| |\ \ | | |/ | |/| | | | Change-Id: I085ea266cb9722e24d8e414b67f55441cd5e9022
| | * myscript: dependency updateYuntaek Rim2019-03-151-0/+2
| | | | | | | | | | | | | | | Change-Id: I58c9b9b13fe137ef3afc578a1962b51f0144be22 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | | Add environment variable for disabling desktop method integrationDmitriy Yatmanov2019-05-133-3/+16
|/ / | | | | | | | | | | | | | | | | | | | | Don't create instance of DesktopInputPanel if variable QT_VIRTUALKEYBOARD_DESKTOP_DISABLE is set. In this case we can use only application integration method without recompiling with CONFIG+=disable-desktop. Change-Id: I935880174b7928a4dd7a4ff9ff21b6f27b5fead6 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Merge remote-tracking branch 'origin/5.12' into 5.13Qt Forward Merge Bot2019-04-253-166/+2
|\| | | | | | | Change-Id: I094e6eccfb39dca21c1d1d1558bb63c9556de601
| * Remove unused TpcError.h file with unspecified licenseDmitry Shachnev2019-04-233-166/+2
| | | | | | | | | | | | Change-Id: I18b7e8d57bda751e49e556222ea5432101e6db44 Reviewed-by: Kai Koehne <kai.koehne@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Automatically register the latest import versionv5.13.0-beta3Kai Koehne2019-04-1211-20/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | This follows what was done in d28c9f6a for Qt Quick Controls 2. The latest import version (e.g. 2.14 in Qt 5.14) will automatically be registered whenever the Qt version is bumped. This avoids needing to wait until a new type is added (or a new revision is added to an existing type) before being able to use the newest Qt Quick version. Change-Id: Ic2b59f50bfae8fed5148eae9596578adb0aadb52 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Merge remote-tracking branch 'origin/5.12' into 5.13v5.13.0-beta2Qt Forward Merge Bot2019-03-271-0/+7
|\| | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: I9736fec7c5a429ade0a8d801a0d4fb8de3ef70c4