1. 13 Nov, 2014 - 1 commit
    • Eskil Abrahamsen Blomfeldt's avatar
      Invalidate font caches when switching between threads · dd08a22a
      Eskil Abrahamsen Blomfeldt authored
      
      The font caches can only be used from a single thread at a time.
      QFontEngineFT for instance, uses a global static thread storage
      which is accessed on releasing and creating engines, and this
      causes a crash if the font engine is created on one thread and
      released on another.
      
      We use the updatePolish() function to make sure the caches are
      empty before entering updatePaintNode(), and then we invalidate
      the cache again after updatePaintNode() is done.
      
      [ChangeLog][Text] Fixed uncommon crash in text nodes.
      
      Change-Id: I01dbc2ed58aeebd03d77a157c700330334bdb385
      Task-number: QTBUG-38800
      Reviewed-by: default avatarKonstantin Ritt <ritt.ks@gmail.com>
      v5.4.0-rc1
      dd08a22a
  2. 24 Oct, 2014 - 1 commit
  3. 10 Sep, 2014 - 1 commit
  4. 04 Sep, 2014 - 1 commit
  5. 26 Aug, 2014 - 1 commit
  6. 25 Aug, 2014 - 1 commit
  7. 13 Aug, 2014 - 1 commit
    • Lars Knoll's avatar
      Create rectangle nodes in the text editing through the context · fb339b21
      Lars Knoll authored
      
      Unfortunately we can't re-use the QSGSimpleRectNode, as it doesn't provide us
      with virtual methods to move it's creation into the context. But's since it's
      only 20 lines of code anyway, this is still a nice cleanup. And it also allows
      the re-use of any optimizations in the renderer for QSGRectangleNode.
      
      Change-Id: I957777fbbeb0a994a9c257baf3bfe87fce8cc9e8
      Reviewed-by: default avatarLars Knoll <lars.knoll@digia.com>
      fb339b21
  8. 12 Aug, 2014 - 1 commit
  9. 07 Aug, 2014 - 1 commit
  10. 24 Jul, 2014 - 1 commit
    • Aaron McCarthy's avatar
      Fix incorrect acceptableInput value on construction. · b25035e5
      Aaron McCarthy authored
      
      The value for acceptableInput was being calculated every time the
      property value was read. This can lead to situations where the value
      returned from successive property reads is different even though no
      acceptableInputChanged() signal is emitted between the two calls.
      
      This can be seen during QML component construction where emission of
      the changed signal is suppressed until the component completes and the
      value of acceptableInput changes as the other properties are set. If
      the property is read during binding evaluation an intermediate value
      can be seen and the QML engine will not re-read the property until
      after the changed signal is emitted. This doesn't happen until the true
      value of the acceptableInput property is toggled.
      
      Fixed by changing the property getter to returned the precalculated
      value of acceptableInput and ensuring that this value is set when
      correctly.
      
      Change-Id: Id3ba3a34988ff50f590e4f8330b873f390eaa025
      Reviewed-by: default avatarMartin Jones <martin.jones@jollamobile.com>
      b25035e5
  11. 02 Jul, 2014 - 1 commit
  12. 02 Jun, 2014 - 1 commit
  13. 21 May, 2014 - 1 commit
  14. 02 May, 2014 - 1 commit
  15. 24 Apr, 2014 - 1 commit
    • Bernd Weimer's avatar
      Always implement text input "canPaste" property · c2d80204
      Bernd Weimer authored
      
      This is needed for TextField control for instance.
      If QT_NO_CLIPBOARD is defined, canPaste will always return false.
      Fixes dialogs auto test when QT_NO_CLIPBOARD is defined.
      
      [ChangeLog][QtQuick][Platform Specific Changes] Added canPaste
      property to TextInput element also on platforms that don't support
      a clipboard (QT_NO_CLIPBOARD is defined).
      
      Change-Id: Ia85205672ba59c1fce70852458c514b03d332de6
      Reviewed-by: default avatarAlan Alpert <aalpert@blackberry.com>
      c2d80204
  16. 18 Mar, 2014 - 1 commit
  17. 12 Mar, 2014 - 1 commit
    • Risto Avila's avatar
      Makes PasswordMaskDelay configurable through TextInput · 405f1bec
      Risto Avila authored
      
      Adds a new property to TextInput which can be used to override QPlatformTheme::PasswordMaskDelay.
      The new property is TextInput.passwordMaskDelay and takes in delay (ms) which time character
      is shown before masking it. This is only when echoMode is set to TextInput.Password
      
      [ChangeLog][QtQuick][TextInput] Added passwordMaskDelay property
      
      Change-Id: I52812b883db11fdd21b25154887c51df8a44f69c
      Reviewed-by: default avatarJ-P Nurmi <jpnurmi@digia.com>
      405f1bec
  18. 22 Feb, 2014 - 1 commit
  19. 12 Feb, 2014 - 1 commit
  20. 27 Jan, 2014 - 1 commit
  21. 02 Dec, 2013 - 1 commit
  22. 27 Nov, 2013 - 1 commit
    • J-P Nurmi's avatar
      TextInput: call fixup() when appropriate · 956ee62c
      J-P Nurmi authored
      
      [ChangeLog][QtQuick] Fixed TextInput to call fixup() on its validator
      when being accepted or losing focus, and the validator reports that the
      input is in "intermediate" state ie. the input should be fixed up.
      
      Task-number: QTBUG-35128
      Change-Id: I4b15406c584a9647bcf892badfaf6d845868fbf1
      Reviewed-by: default avatarLiang Qi <liang.qi@digia.com>
      956ee62c
  23. 26 Nov, 2013 - 1 commit
  24. 22 Nov, 2013 - 1 commit
  25. 30 Oct, 2013 - 1 commit
    • Gunnar Sletta's avatar
      Use one render loop per QQuickWindow · 906d5c5c
      Gunnar Sletta authored
      
      See the task for the full reasoning behind this patch.
      
      The threaded renderloop has been refactored to have one window per
      thread. This is mostly a simplification of the current code path where
      for loops over multiple windows are turned into if (window).
      
      The QSGContext has been split into two classes, QSGRenderContext
      for which there is one per OpenGLContext.
      
      The rest of the patch is name changes and a couple of cleanups
      in the hopes of simplifying this change.
      
      Task-number: QTBUG-33993
      
      Change-Id: I31c81f9694d7da7474a72333169be38de62613c4
      Reviewed-by: default avatarSean Harmer <sean.harmer@kdab.com>
      906d5c5c
  26. 02 Oct, 2013 - 1 commit
  27. 30 Sep, 2013 - 1 commit
  28. 26 Sep, 2013 - 1 commit
  29. 25 Sep, 2013 - 1 commit
  30. 17 Sep, 2013 - 1 commit
  31. 09 Sep, 2013 - 1 commit
    • Chris Meyer's avatar
      Add support for external drag and drop in Quick items. · 39145921
      Chris Meyer authored
      
      Add dragType enums with values of None, Automatic, Internal (default).
      Setting to Automatic allows startDrag to be called automatically.
      Setting to Internal (default) retains old behavior.
      
      Add mimeData to Drag item to enable external drags.
      
      Call startDrag to start drag manually or change from internal drag to
      external drag. Added events dragStarted and dragFinished that get
      invoked from startDrag.
      
      Mime data must be specified in the mimeData property as
      mime-type / data pairs.
      
      Moved QQuickDrag from qquickmousearea* files to qquickdrag* files to
      reduce header interdependencies that caused linking errors in other
      modules and also to improve code organization.
      
      Allow DropArea to receive and process external data.
      
      Introduced new variable containsDrag to QQuickDropAreaPrivate. This
      replaces mimeData which was previously being used to determine if a
      drop operation was currently occurring. The problem was that mimeData
      was being externally destructed.
      
      Also introduced accessor methods for getting color, html, image, text,
      and urls out of the drop. This facilitates dropping of external data of
      those types onto a DropArea.
      
      Added example quick/externaldraganddrop.
      
      Task-number: QTBUG-27498
      Change-Id: I1420df7c161ea3399e49a23305273e106baa246f
      Reviewed-by: default avatarAlan Alpert (Personal) <416365416c@gmail.com>
      39145921
  32. 08 Sep, 2013 - 1 commit
  33. 07 Sep, 2013 - 1 commit
    • Thiago Macieira's avatar
      Remove variables that aren't being used right now · 25f5d375
      Thiago Macieira authored
      
      Found by ICC.
      
       src/quick/items/qquicktextcontrol.cpp(78): error #2415: variable "fullWidthSelection" of static storage duration was declared but never referenced
       src/quick/items/qquicktextinput.cpp(2696): error #2415: variable "textCursorWidth" of static storage duration was declared but never referenced
       src/quick/items/qquicktextinput.cpp(2697): error #2415: variable "fullWidthSelection" of static storage duration was declared but never referenced
       src/quick/scenegraph/qsgthreadedrenderloop.cpp(164): error #2415: variable "WM_LockAndSync" of static storage duration was declared but never referenced
       src/quick/scenegraph/qsgthreadedrenderloop.cpp(181): error #2415: variable "WM_UpdateLater" of static storage duration was declared but never referenced
      
      Change-Id: I60b5cce79d7be5f909b690f97ffa93ea00d3c044
      Reviewed-by: default avatarAlan Alpert <aalpert@blackberry.com>
      25f5d375
  34. 06 Jun, 2013 - 1 commit
  35. 08 May, 2013 - 1 commit
  36. 06 May, 2013 - 1 commit
  37. 25 Apr, 2013 - 1 commit
  38. 23 Apr, 2013 - 2 commits
  39. 18 Apr, 2013 - 1 commit