aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add changes file for Qt 5.11.3v5.11.3Antti Kokko2018-11-261-0/+26
| | | | | | | | | | | | | | | | | + 4a92afe75bfb7886ecb1b3282b05b2985c39fe3c Disable layout mirroring for virtual keyboard + 30479f9771e60938dc0f6e325e3b16fb52663796 Fix possible crash in PlatformInputContext::update + d781f8a6b867980e03ef42b792404285ea9a799e Partially revert 30479f9771e60938dc0f6e325e3b16fb52663796 + c40e19e8012788522806f25589d7c41d93d423b4 Attempt to stabilise inputpanel auto test + 6d429be4d77841218d89f5e563593fb39812395d tests: Backport test_wclAutoCommitWordSetting from 5.12 + 50d1d95af5cb271285abb4375e63ca28cbadd77a tests: Verify current item in selectionListSelectCurrentItem + 8b3a4d6f305955171a595ad93460346c58df51d7 Fix word candidate list auto hiding + 3f152060b4072cb9aea5ca98d956b22a25c25697 Doc: Use correct image in virtual keyboard layout docs + abbc5a8ecc6a66c87d90a0f7acf15451c3808c1b Do show module license on all help pages + c7a94110987672308ed04b40fd8ed207d1c8d93b Be more restrictive about which information is included in logging + eb9e095722e1d953d3bf17bad73f528ac9061488 Bump version Change-Id: Ie07395f6ee02d8f1f18370e18ba22c017f34ad2f Reviewed-by: Andy Shaw <andy.shaw@qt.io>
* Bump versionOswald Buddenhagen2018-11-081-1/+1
| | | | Change-Id: I039262439281a04e6a90af46dcf7241e6c3baa2d
* Be more restrictive about which information is included in loggingMitch Curtis2018-10-262-3/+15
| | | | | | | | | | - Introduce SENSITIVE_DEBUG flag that should be explicitly enabled in order to have certain information included in logging output. - Replace qWarning() with qCWarning() where appropriate. Change-Id: I6386f9cb3ce375101f3c42f407d4af380f1ff75e Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
* Do show module license on all help pagesKai Koehne2018-09-271-0/+1
| | | | | | | | | | | | | | | | | | | | Qt Virtual Keyboard has a different main license than most other Qt modules, which is easy to miss. We do show the license on the module landing page and in the 'All modules' overview page, but if you directly open an example or a class page you can still miss this. This change adds the main license description to the header shared by all pages of the module; we (mis)use the buildversion variable for that, which was so far unused. Right now qdoc does not 'linkify' the entry. It could add a generic link to the landing page though, where the license is also described. Task-number: QTBUG-70354 Change-Id: I5f271b1bcba6992abfd1ad7e213fc5f2a93a0d25 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* Doc: Use correct image in virtual keyboard layout docsPaul Wicking2018-09-241-1/+1
| | | | | | Task-number: QTBUG-70602 Change-Id: I04a7015b6ee41dd9676f8b5859399e9758e7de1f Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Fix word candidate list auto hidingJarkko Koivikko2018-09-241-0/+2
| | | | | | | | | | | | | | Stop auto hide timer when the word candidate list is not empty. Constantly failing CI bot revealed this error: agent:2018/09/24 07:50:50 build.go:193: FAIL! : inputpanel::tst_plugin::test_zhuyinInputMethod(row 17) 'Expected wordCandidateView to have a currentItem, but it's null. Its property values at the time of failure are: x=0 y=-9.478976 width=400 height=13 count=0 flicking=false moving=false visible=false' returned FALSE. () Task-number: QTBUG-62518 Task-number: QTBUG-61279 Task-number: QTQAINFRA-2226 Change-Id: I775aa834da9809008a34fc760e994610ad6e95a8 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* tests: Verify current item in selectionListSelectCurrentItemJarkko Koivikko2018-09-241-0/+11
| | | | | | | | | | For investigating flaky tests. Task-number: QTBUG-62518 Task-number: QTBUG-61279 Task-number: QTQAINFRA-2226 Change-Id: I447f8e4a332b60df617c834fc3ccbf4e3f6a47ce Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* tests: Backport test_wclAutoCommitWordSetting from 5.12Jarkko Koivikko2018-09-242-8/+10
| | | | | | | | | | Fixes flaky test. Task-number: QTBUG-62518 Task-number: QTBUG-61279 Task-number: QTQAINFRA-2226 Change-Id: I55208710ed4b9699fde6643438b23148cb7c7240 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Merge remote-tracking branch 'origin/5.11.2' into 5.11Qt Forward Merge Bot2018-09-091-0/+25
|\ | | | | | | Change-Id: Ia9a57398cb6d06da54083b56461d7f1dc9d59705
| * Add changes file for Qt 5.11.2v5.11.2Antti Kokko2018-08-291-0/+25
| | | | | | | | | | Change-Id: Id140d489fd499be509411ed7231a31bba5a11fa2 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
* | Attempt to stabilise inputpanel auto testMitch Curtis2018-09-051-0/+8
| | | | | | | | | | | | | | | | | | | | The last patch showed that there was no focus window when InputContext::sendKeyClick() was called, so try to raise and activate the window at the start of each test to see if it helps. Task-number: QTBUG-62518 Change-Id: I48a66109d18e941e16e177d0c6ec76517846bc9d Reviewed-by: Andy Shaw <andy.shaw@qt.io>
* | Partially revert 30479f9771e60938dc0f6e325e3b16fb52663796Andy Shaw2018-09-051-9/+11
| | | | | | | | | | | | | | | | | | | | With the 30479f9771e60938dc0f6e325e3b16fb52663796 patch applied it would mean that the keyboard would not show up in desktop mode. Therefore the patch is partially reverted to still have the original crash fix without introducing a new bug. Change-Id: I1a0c84eef0a592990ccd7ff754069ad150dc7a69 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Fix possible crash in PlatformInputContext::updateJarkko Koivikko2018-08-291-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | Under some condition, QPlatformInputContext::update is called before our (QML) input context is created. This will result in crash if desktop integration is also enabled, since null pointer check is missing. [ChangeLog] Fixed possible crash in PlatformInputContext::update. Task-number: QTBUG-67595 Change-Id: I19c78dbf19cf3c2a72193c2e2a60f46995c1f6ad Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Disable layout mirroring for virtual keyboardJarkko Koivikko2018-08-282-0/+6
|/ | | | | | | | | | | When layout mirroring is enabled for an application using virtual keyboard, the keyboard layout is also mirrored. This change disables layout mirroring for virtual keyboard. Task-number: QTBUG-70041 Change-Id: I097ae7fe907a463ef53e5f39f357c61d57bbb9c0 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
* Fix duplicated selection handle on desktop integrationJarkko Koivikko2018-08-271-1/+1
| | | | | | | | | | | | | SelectionControl on the InputPanel was not disabled when using desktop integration. This caused duplicated handles to appear on screen. This change disables the SelectionControl when desktop integration is used. Task-number: QTBUG-60321 Change-Id: Icf7cab4bdeacade16bbe2b1eb2078baceb955d5e Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
* Doc: improve integration documentation, especially regarding WaylandMitch Curtis2018-08-233-12/+47
| | | | | | Change-Id: Id27ebb78001ff060d67917e9ac69f75682a885ac Reviewed-by: Johan Helsing <johan.helsing@qt.io> Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* Print the focus window when InputContext::sendKeyClick() failsMitch Curtis2018-08-171-2/+3
| | | | | | | | | | So far I've been unable to reproduce the flakiness with a Windows CI VM, so let's add some extra context to the warning message that is printed before the test (sometimes) fails. Task-number: QTBUG-62518 Change-Id: Idebaadb93fe2f38a94a9f096bc044b28171afafd Reviewed-by: Liang Qi <liang.qi@qt.io>
* Add changes file for Qt 5.9.6Antti Kokko2018-07-311-0/+24
| | | | | | | Change-Id: Ied2f789d95aa0cd64e431348f31889622c133196 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> (cherry picked from commit 3fd388fe385ba7941a77e6a27c9b1e0e57f07198) Reviewed-by: Antti Kokko <antti.kokko@qt.io>
* Add changes file for Qt 5.9.5Antti Kokko2018-07-311-0/+24
| | | | | | | Change-Id: I97c1bd55a2cb6e38fc13c98cb03955b3f7cd5c7a Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> (cherry picked from commit 0c52fc067c1b88d7b54703e8790a7f9be10920f1) Reviewed-by: Antti Kokko <antti.kokko@qt.io>
* Bump versionOswald Buddenhagen2018-07-301-1/+1
| | | | Change-Id: Id5ea68ecd8d04bff9999e5a868bdd19a990c08ea
* Migrate VirtualKeyboardSettings to QRegularExpressionSamuel Gaist2018-07-161-3/+4
| | | | | | | | | This patch updates the VirtualKeyboardSettings class to use QRegularExpression in place of QRegExp which is to be considered deprecated. Change-Id: Ib7cecc0070f86b63793e3f3876a44710a0ecc394 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Migrate HunspellBuildSuggestionsTask to QRegularExpressionSamuel Gaist2018-07-161-2/+2
| | | | | | | | | This patch updates the HunspellBuildSuggestionsTask class to use QRegularExpression in place of QRegExp which is to be considered deprecated. Change-Id: I6db18a46b380a27fff0970baec2809192555a984 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Improve Handwriting Recognition documentationMitch Curtis2018-07-024-1/+96
| | | | | | | | | | - Provide an overview of handwriting recognition support - Add a GIF - List languages supported by each engine Task-number: QTBUG-68624 Change-Id: I26af8b8984fabd74855d067bd9818f6db0136cec Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Merge remote-tracking branch 'origin/5.11.1' into 5.11Qt Forward Merge Bot2018-06-191-0/+25
|\ | | | | | | Change-Id: Id1ba5165f10ee59044ede0d5130ac8e9d510ef17
| * Add changes file for Qt 5.11.1v5.11.1Antti Kokko2018-06-091-0/+25
|/ | | | | Change-Id: I341f24ed18cbe3167ec0e811e3f95acfe5c7fc95 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Bump versionOswald Buddenhagen2018-05-311-1/+1
| | | | Change-Id: Id75b43ea0a587dc4ed9aaab36fbcd5b471e0e270
* Use FDL license for all .qdoc filesKai Koehne2018-05-237-77/+63
| | | | | Change-Id: Ie2e07a5ec8f7ef4a7728db7c458319e75cda41ee Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Fix encoding of path environment variablesJarkko Koivikko2018-05-235-8/+8
| | | | | | | | | | | | | | | | | | | | | | This change modifies encoding of the following environment variables: - QT_VIRTUALKEYBOARD_HUNSPELL_DATA_PATH - QT_VIRTUALKEYBOARD_PINYIN_DICTIONARY - QT_VIRTUALKEYBOARD_CANGJIE_DICTIONARY - QT_VIRTUALKEYBOARD_ZHUYIN_DICTIONARY - QT_VIRTUALKEYBOARD_PHRASE_DICTIONARY - QT_VIRTUALKEYBOARD_LAYOUT_PATH - LIPI_ROOT - LIPI_LIB Previously they were read using qgetenv and latin1 encoding. Now they are read using qEnvironmentVariable, which handles the encoding properly. [ChangeLog] Fixed encoding of path environment variables. Task-number: QTBUG-62328 Change-Id: I8e32c111a498d3b57259fe6dd96290545f10030a Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Fix anchor warning in default stylesJarkko Koivikko2018-05-232-32/+53
| | | | | | | | | | | | | | Fixes warnings like: qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:136:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling. [ChangeLog] Fixed qml anchor warnings from default styles Task-number: QTBUG-67677 Change-Id: I9d079dc02e9530431020c19ac3a5db9cee6f76a1 (cherry picked from commit 7e8a17f8af88b3434f9d5763dd528a29ec40bf8c) Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
* Skip crashing test on offscreen platformSami Nurmenniemi2018-05-231-0/+4
| | | | | | | | | | | Test currently crashes often on QEMU so it needs to be skipped until root cause is found. Blacklisting is not enough since it does not capture crashes. Task-number: QTBUG-68349 Change-Id: I72aaeae3cc338fc59fea43ee766eea3762a1eaa6 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Merge remote-tracking branch 'origin/5.11.0' into 5.11Qt Forward Merge Bot2018-05-0941-36/+275
|\ | | | | | | Change-Id: Ia0e4b381f1d1a64fe923c6f4a466cdf9ab52d1e9
| * Add changes file for Qt 5.11.0v5.11.0-rc2v5.11.0-rc1v5.11.0Antti Kokko2018-04-251-0/+37
| | | | | | | | | | Change-Id: I76632644e2b1c2eea26473b256480f3aaba6a2b6 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
| * Doc: add screenshots of all layoutsMitch Curtis2018-04-2240-36/+238
|/ | | | | | | | | | Add a new "Qt Virtual Keyboard Layouts" page that lists all languages along with screenshots of each one. Task-number: QTBUG-67645 Change-Id: Ibb15924cec841f43c7205951fb80c9d7e13362c1 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Doc: fix a couple of issues with the build documentationMitch Curtis2018-04-181-4/+2
| | | | | | Change-Id: Ic81beeb940e5595f9f54695a28eb3cb25e19a052 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* OpenWnnInputMethodPrivate::displayCandidates(): Add parentheses to ↵Friedemann Kleint2018-04-171-2/+1
| | | | | | | | | | | | | | assignment in condition Fix clang-cl warning: openwnninputmethod.cpp:312: using the result of an assignment as a condition without parentheses [-Wparentheses] Drop unneeded braces on that occasion. Task-number: QTBUG-63512 Change-Id: Ie9137bedf07d6728282be554fb21893246ae1e96 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Build all languages (layouts) by defaultMitch Curtis2018-04-163-9/+25
| | | | | | | | | | | | | | | | Previously we were only building all languages when the module was built with a developer build of Qt and for auto tests. However, since users have to build the example themselves (since we don't provide example binaries), they will only see en_GB by default. This change makes it so that the user will have access to all available languages by default. Users that don't want or need all languages for their application can specify individual languages with e.g. CONFIG+=lang-es_ES. Change-Id: I643ab6c7a1f01426a3ef86a886a4a4dd10ad00f6 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* pinyin: move time include to userdict.hMitch Curtis2018-04-162-4/+2
| | | | | | | | | | | | | There was a build error on QNX: share/../include/userdict.h:130:20: error: field 'load_time' has incomplete type 'ime_pinyin::timeval' share/../include/userdict.h:130:12: note: forward declaration of 'struct ime_pinyin::timeval' Change-Id: Id7fc041d7f935fcca72b87b0bfcfd34afa4d8070 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Fix full screen edit mode with word candidate list always visiblev5.11.0-beta4Jarkko Koivikko2018-04-051-1/+1
| | | | | | | | | | | | | | Full screen mode covers the entire screen when enabled. However, if also VirtualKeyboardSettings.wordCandidateList.alwaysVisible is true, the word candidate area was subtracted from the full screen mode area. This change fixes the issue, and does not subtract the area in this case. [ChangeLog] Fix full screen edit mode with word candidate list always visible. Task-number: QTBUG-67510 Change-Id: I816ccdb22be01e2f86fccacc6ba946ea202815ae Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Fix emitting keyboardRectangleJarkko Koivikko2018-04-042-9/+16
| | | | | | | | | | | keyboardRectangle was not correct because the binding was in the wrong place. This change moves the binding to InputPanel, which then can map the keyboard location to itself, or to root item. Change-Id: I471df13d5381ec9b0e1b80369590bc608d17ae91 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* basic example: ensure AutoScroller scrolls correctly when first openedMitch Curtis2018-04-043-55/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | In AutoScroller.qml, the following line target: inputItem && !Qt.inputMethod.animating ? Qt.inputMethod : null prevents onKeyboardRectangleChanged from getting executed. Even though Qt.inputMethod.animating is updated before the rectangle is updated, the handler still doesn't get emitted. Since the VKB only emits keyboardRectangleChanged when the input method is not animating (see the binding in Keyboard.qml), we can safely remove that check. That just leaves one more issue: clicking in an input field, then clicking outside of it (on the MouseArea) to hide the keyboard, then clicking back in a lower text field will not cause AutoScroller to scroll. In this case, onInputItemChanged is called, but the if checks (mentioned at the top of the description of the bug report) use the full height of the flickable before it's reduced to account for the keyboard. Subtracting the height of the keyboardRectangle from the flickable's height didn't work, so that issue needs to be fixed separately. Task-number: QTBUG-66294 Change-Id: I3733bb6be05443748eb873d76daee428be9687e8 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Revert "Revert "Compile QML files ahead of time in resources""v5.11.0-beta3Simon Hausmann2018-04-011-0/+1
| | | | | | | | | QTBUG-66675 is fixed now. This reverts commit 7db26902b36e3417a96586f98278b63afc0b0ad4. Change-Id: Ifc02a9ba4ce4fcb0dd7ecf9e48fab42e332648a5 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* FullScreenMode: Send return key without modifiersv5.11.0-beta2Andy Shaw2018-03-092-1/+15
| | | | | | | | | | | When the return key is sent to a multiple line text field it can be interpreted differently if the Shift modifier is included. This makes sense for a hard keyboard as you can use it to enter in a new line versus a new paragraph. For the virtual keyboard however, it is best to just send it as a plain return so it handles it correctly. Change-Id: I995504d7ab6961fd8baf016d2d68be4b659d1e19 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Doc: Resolve all documentation warningsTopi Reinio2018-03-075-18/+62
| | | | | | | | | | | QDoc in Qt 5.11 uses Clang to parse the C++ source for documentation. for this, Clang needs a module header which is not available for Qt Virtual Keyboard - construct a custom one for documentation builds and fix all remaining documentation warnings; \fn command syntax and one linking issue. Change-Id: I1e9b2170aca98782e9d6a758e84c9d17449cb25c Reviewed-by: Martin Smith <martin.smith@qt.io>
* Use Qt Quick Controls 2 in the basic exampleMitch Curtis2018-03-0611-265/+75
| | | | | | | | | | | | | - Replace custom text input types with corresponding Qt Quick Controls 2 types. - Replace custom scrollbar with ScrollBar from Qt Quick Controls 2. - Only build the basic example if Qt Quick Controls 2 is available. - Update the documentation and its screenshot. Change-Id: Ib2559595d4a589bb228450bc08be5ab6fbc69b91 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* Revert "Compile QML files ahead of time in resources"Simon Hausmann2018-03-061-1/+0
| | | | | | | | | This reverts commit 5f80f66d3b5878bba021d4ac67e35388bfe84fdb, as it caused QTBUG-66675 and blocks the module. Let's re-apply this when the bug in declarative is fixed. Change-Id: Ice2dc9b9e7c8fd85d59fc0dfc324e4574c9140fd Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Merge remote-tracking branch 'origin/5.9' into 5.11v5.11.0-beta1Liang Qi2018-02-181-0/+2
|\ | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: Ic33e523570bd1e7801fa9515b907bed912ba53ba
| * Add jsc, qmlc files to .gitignoreMitch Curtis2018-02-051-0/+2
| | | | | | | | | | Change-Id: Ifab743c1e965dd92c6c174296f310f39f87e8bac Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
| * Bump versionOswald Buddenhagen2018-02-021-1/+1
| | | | | | | | Change-Id: Ia418138b02dc1e33f5d365dbd2363b3933b315ef
* | Compile QML files ahead of time in resourcesSimon Hausmann2018-02-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | With the QtQuickCompiler compatibility in place in qtdeclarative, we can by default compile all qml files ahead of time, embed the cache files into resources and avoid shipping the original sources. This simplifies distribution and reduces the size of the overall package, ~1.6 MB for libqtvirtualkeyboardplugin.so on Linux x86-64. Change-Id: Ic3c20f43dfac6e601389b581033dcaf6f7015443 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Merge "Merge remote-tracking branch 'origin/5.10.1' into 5.11" into ↵v5.11.0-alpha1Liang Qi2018-02-141-0/+26
|\ \ | | | | | | | | | refs/staging/5.11