1. 09 Nov, 2017 - 1 commit
  2. 19 Oct, 2017 - 1 commit
  3. 21 Sep, 2017 - 1 commit
  4. 15 Sep, 2017 - 1 commit
  5. 12 Sep, 2017 - 1 commit
    • Mitch Curtis's avatar
      SelectionListModel: Fix use after free · dfd70f47
      Mitch Curtis authored
      
      Calling InputEngine::setInputMethod(null) did not clear the pointer
      value stored in SelectionListModelPrivate.
      
      Also, in case the input method is destroyed without setting it null,
      prevent use of dangling pointer in selection list model by using
      QPointer.
      
      Task-number: QTBUG-61308
      Change-Id: If340d99a63489c54414497c61cd482e06a21c5ee
      Reviewed-by: default avatarMitch Curtis <mitch.curtis@qt.io>
      dfd70f47
  6. 30 Aug, 2017 - 2 commits
  7. 24 Aug, 2017 - 3 commits
    • Jarkko Koivikko's avatar
      3rdparty/t9write: unpack.py: Fix ordering of unpack rules · f504a96c
      Jarkko Koivikko authored
      
      Specific rules need to be executed in certain order. Wrap the
      UNPACK_RULES to a list, so the order of the rules can be specified.
      
      Change-Id: Ib160a814b49ed25fd0ed85337cfddf80afa0ccd7
      Reviewed-by: default avatarMitch Curtis <mitch.curtis@qt.io>
      f504a96c
    • Jarkko Koivikko's avatar
      Add Hebrew keyboard layout · fe6c501c
      Jarkko Koivikko authored
      
      [ChangeLog] Added Hebrew keyboard layout.
      
      Change-Id: I7779db4e5ac3c5a99937a0d7b7e572db65f0d811
      Reviewed-by: default avatarMitch Curtis <mitch.curtis@qt.io>
      fe6c501c
    • Jarkko Koivikko's avatar
      Clear toggle shift timer when appropriate · dc4e962f
      Jarkko Koivikko authored
      
      The timer in the ShiftHandler is used for detecting double
      click events for shift key. A double click event will trigger
      caps lock if the initial shift state is lower case.
      
      However, the implementation did not handle a case where
      the keyboard layout changes between the first and second
      press. This can be done with multitouch.
      
      The second problem was with the automatic test cases, where
      the test code toggles the shift to see if there is a secondary
      layout triggered by the shift key, e.g. in Arabic and Farsi.
      However, if the keyboard layout does not contain secondary
      layout, rapid shift state change will trigger caps lock
      instead. This issue was identified with certain test case for
      Hebrew layout.
      
      This change fixes the issue by clearing the shift toggle timer
      when the layout changes and in the automatic tests while
      checking for the secondary layout with the shift key.
      
      Also, update test code so that the shift press is simulated
      with mouse. This will ensure the key exists in the layout
      and that the key is enabled.
      
      Change-Id: I2a528f1b82c30e8b8d9746d380b32ee370b38004
      Reviewed-by: default avatarMitch Curtis <mitch.curtis@qt.io>
      dc4e962f
  8. 21 Aug, 2017 - 3 commits
  9. 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
  10. 16 Aug, 2017 - 2 commits
    • Jarkko Koivikko's avatar
      3rdparty/t9write: unpack.py: Allow duplicate file names · d256ad12
      Jarkko Koivikko authored
      
      This change allows the rules with same input file name (but
      with different directory prefix) to co-exist. It works by
      removing the already matched input file from the "zip list".
      However, this only works if the rules are ordered correctly,
      i.e. the most exact ones being first in the list.
      
      Consider the following example:
      
      'data/arabic': [
          '*/Arabic/_databas_le.bin',
      ],
      'data': [
          '*/_databas_le.bin',
      ]
      
      Without this change the later rule will override the
      file entry already copied for 'data/arabic'. But with
      'Arabic/_databas_le.bin' removed from the input list, it
      will not be matched.
      
      Change-Id: Ifd06125d1519c45dba077e50f69769fdb0070351
      Reviewed-by: default avatarMitch Curtis <mitch.curtis@qt.io>
      d256ad12
    • Jarkko Koivikko's avatar
      3rdparty/t9write: Add input directory argument · bc84550e
      Jarkko Koivikko authored
      
      Accept directory as an input argument in addition to zip file.
      
      Change-Id: I2faf446f7636d190941fae0f76e569cb1e7c332e
      Reviewed-by: default avatarMitch Curtis <mitch.curtis@qt.io>
      bc84550e
  11. 15 Aug, 2017 - 1 commit
  12. 09 Aug, 2017 - 2 commits
  13. 07 Aug, 2017 - 8 commits
  14. 04 Aug, 2017 - 6 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
      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
  15. 02 Aug, 2017 - 1 commit
  16. 31 Jul, 2017 - 2 commits
  17. 27 Jul, 2017 - 1 commit
  18. 26 Jul, 2017 - 1 commit
    • 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
  19. 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
  20. 21 Jul, 2017 - 1 commit