1. 21 Aug, 2017 - 2 commits
  2. 18 Aug, 2017 - 1 commit
    • Jarkko Koivikko's avatar
      Fix QML warning propagated from BaseKey in a specific use case · 5eae254a
      Jarkko Koivikko authored
      
      If the Key.alternativeKeys are assigned like:
      
      Key {
          alternativeKeys: condition ? "abc" : "def"
      }
      
      it will cause the following QML warning from BaseKey:
      
      [...]/BaseKey.qml:82:32: Unable to assign [undefined] to QString
      
      It seems to be caused by the order in which the dependent
      properties effectiveAlternativeKeysHighlightIndex and
      effectiveAlternativeKeys are updated.
      
      This change fixes the issue by adding the effectiveAlternativeKeys
      as condition for the property assignment.
      
      Change-Id: I0225a95a60920201161c7d8c084667c57c1c29d4
      Reviewed-by: default avatarMitch Curtis <mitch.curtis@qt.io>
      5eae254a
  3. 16 Aug, 2017 - 3 commits
  4. 15 Aug, 2017 - 2 commits
  5. 09 Aug, 2017 - 2 commits
  6. 07 Aug, 2017 - 8 commits
  7. 04 Aug, 2017 - 7 commits
    • Jarkko Koivikko's avatar
      Fix rendering of high and low acute accent keys in Zhuyin keyboard · c3c2a9cd
      Jarkko Koivikko authored
      
      The MODIFIER LETTER ACUTE ACCENT and MODIFIER LETTER GRAVE ACCENT were
      not rendered correctly on the keyboard layout. Fix it by defining
      regular accent characters in the displayText property.
      
      After adding the displayText, it was noticed that the character preview
      is not using the BaseKey::displayText for rendering. So fix it too.
      
      Change-Id: If4889729a33a31d6adaf149ca4d263a2004abe7e
      Reviewed-by: default avatarMitch Curtis <mitch.curtis@qt.io>
      c3c2a9cd
    • Jarkko Koivikko's avatar
      tests: Allow input sequence to be in any case format · 251ba40d
      Jarkko Koivikko authored
      
      Currently the text input sequence for the automatic test was
      expected to be in lowercase.
      
      This change modifies this behavior and allows the input sequence
      to be in any case format.
      
      Change-Id: Ic8230d586a290ab481bf1183a204d10a4b37fa7d
      Reviewed-by: default avatarMitch Curtis <mitch.curtis@qt.io>
      251ba40d
    • Jarkko Koivikko's avatar
      Change default Key::key to uppercase · b431f478
      Jarkko Koivikko authored
      
      If a Key does not provide Key::key value, the default value is
      derived from the first letter of Key::text. However, the key
      should always be in uppercase. This change forces the default
      key in uppercase.
      
      [ChangeLog] Ensure the default value of Key.key property is
      uppercase.
      
      Change-Id: Ie1879e0f0e5020bdfc0f916d537dbf9cb2f6cb51
      Reviewed-by: default avatarMitch Curtis <mitch.curtis@qt.io>
      b431f478
    • Jarkko Koivikko's avatar
      Add new features to InputModeKey · eb292cdd
      Jarkko Koivikko authored
      
      New property InputModeKey::inputModes:
      
          This property allows to define a custom list of input modes to
          toggle. If the list contains an invalid input modes (the ones
          not included in the available input modes) they are automatically
          disabled. The default list contains all the available input modes.
      
      New property InputModeKey::inputModeCount:
      
          This read-only property reflects the actual number of input modes
          the user can cycle through this key.
      
      Change-Id: I6be118565dc3d799074aa4159f1b0eec802ce591
      Reviewed-by: default avatarMitch Curtis <mitch.curtis@qt.io>
      eb292cdd
    • Jarkko Koivikko's avatar
      Prefer current input mode when switching between handwriting mode · a0b84f2f
      Jarkko Koivikko authored
      
      If a keyboard layout provides multiple choices for input modes
      (e.g. latin and cyrillic), prefer the current choice when switching
      to handwriting layout and back.
      
      Also, use the same mechanism to avoid binding loop when switching
      input mode with InputModeKey contained in a KeyboardLayoutLoader
      where the layout depends on the input mode.
      
      Change-Id: If7adae92db39f3b1e49ec362679e6b6ae7f32fa4
      Reviewed-by: default avatarMitch Curtis <mitch.curtis@qt.io>
      a0b84f2f
    • Jarkko Koivikko's avatar
      Fix alignment of key caption if smallText is enabled · d3543cad
      Jarkko Koivikko authored
      
      Key caption is aligned differently when smallText is enabled.
      This is not an issue if smallText is enabled for all keys,
      but if enabled for individual keys the rendering will look bad.
      
      Change-Id: I6d75dd1c012d79cdb2883b1f99988c6ba6aabe40
      Reviewed-by: default avatarMitch Curtis <mitch.curtis@qt.io>
      d3543cad
    • Jarkko Koivikko's avatar
      t9write: Fix regression introduced in the T9 Write CJK integration · b4f4cfff
      Jarkko Koivikko authored
      
      The T9 Write CJK integration added a new internal function
      T9WriteInputMethodPrivate::setContext() used for updating T9 Write
      session settings for different layout scenarios (e.g. full screen
      mode vs regular layout).
      
      However, this function calls finishRecognition() so it breaks the
      input when switching between full screen mode and regular layout.
      
      Fix this regression by preserving input between context changes.
      
      Change-Id: I3ac269247466d34729c9b49c43425af069af69ea
      Reviewed-by: default avatarMitch Curtis <mitch.curtis@qt.io>
      b4f4cfff
  8. 02 Aug, 2017 - 1 commit
  9. 31 Jul, 2017 - 2 commits
  10. 27 Jul, 2017 - 1 commit
  11. 26 Jul, 2017 - 2 commits
    • Simon Hausmann's avatar
      Merge remote-tracking branch 'origin/5.9' into dev · 14cc4db3
      Simon Hausmann authored
       Conflicts:
      	.qmake.conf
      	tests/auto/inputpanel/BLACKLIST
      
      Change-Id: Iab123586edb652a8ce14d89736aa13dc3c6203e6
      14cc4db3
    • Friedemann Kleint's avatar
      styles.qrc: Remove qmldir · a11fd7e4
      Friedemann Kleint authored
      
      If a plugin is used, the qmldir file must be located next to
      the plugin in the file system. By it being included in the .qrc
      file it was deployed twice, once in the file system and once
      in the virtual resource file system. A recent change in declarative
      ended up doing an implicit import on that virtual directory and
      thus uncovered this bug of the qmldir file being present in a (virtual)
      directory where it doesn't belong.
      
      qml_module.prf takes care of deploying the qmldir.
      
      Task-number: QTBUG-62138
      Change-Id: I7693b5656cb593454e2d777fe179e6f889d6dbdf
      Reviewed-by: default avatarSimon Hausmann <simon.hausmann@qt.io>
      a11fd7e4
  12. 25 Jul, 2017 - 1 commit
    • Jarkko Koivikko's avatar
      3rdparty/openwnn: Fix and optimize the engine due to QStringLiteral · 27eb4f56
      Jarkko Koivikko authored
      
      QStringLiteral is broken in MSVC2015 onwards when used with \uXXXX
      encoded character literals. This was the reason Japanese tests were
      failing - the OpenWNN engine was actually broken and producing
      garbage.
      
      Not only this change eliminates QStringLiteral from openwnn, but also
      reduces runtime memory usage by replacing QMap<QString, QString>.
      
      The new solution is based on simple binary lookup table WnnLookupTable.
      WnnLookupTable data was converted from existing QMap structures using
      WnnLookupTable::create() method, which was left there for future
      reference.
      
      This change also removes the unnecessary QObjectPrivate definitions
      from Romkan* classes.
      
      [ChangeLog][OpenWNN] Fixed and optimized OpenWNN engine (as a workaround
      for QStringLiteral breakage)
      
      Task-number: QTBUG-62133
      Change-Id: I50c9e2f5c363e1314f47d7023685da543ec9a7eb
      Reviewed-by: default avatarhjk <hjk@qt.io>
      Reviewed-by: default avatarMitch Curtis <mitch.curtis@qt.io>
      (cherry picked from commit 0bf1c6ad)
      27eb4f56
  13. 21 Jul, 2017 - 1 commit
  14. 19 Jul, 2017 - 1 commit
    • Sami Nurmenniemi's avatar
      Enable tests for boot2qt · 4e42bcc0
      Sami Nurmenniemi authored
      The tests for boot2qt were disabled with commit
      96c9211b
      
      . The tests can
      be enabled since qtdeclarative now fallbacks to software
      renderer if OpenGL is not supported.
      
      Also blacklisted a test failing because of QTBUG-61279
      
      Change-Id: I56bd5041b1ffbb150cdaab1f76638fd79041af06
      Reviewed-by: default avatarSimon Hausmann <simon.hausmann@qt.io>
      4e42bcc0
  15. 08 Jul, 2017 - 5 commits
  16. 30 Jun, 2017 - 1 commit