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. 23 Oct, 2014 - 1 commit
    • Eskil Abrahamsen Blomfeldt's avatar
      Relayout rich text when width increases · e3c6f397
      Eskil Abrahamsen Blomfeldt authored
      
      In updateSize() we were trying to force relayouts for RichText
      when the width changes by always setting widthExceeded to true.
      But further down in the same function, we overwrote this
      with textWidth() < idealWidth(), which doesn't work, because
      both properties are the wrapped width of the document and
      should only differ if the text cannot be wrapped properly.
      
      The result was that when increasing the width of a Text element,
      we would hit the optimization and skip the relayout.
      
      [ChangeLog][Text] Fixed Text with the RichText format to
      correctly update wrapping when the width of the element grows.
      
      Change-Id: I5fd87052a5ba7e8ee2549be0cfac4adc8ddf8290
      Task-number: QTBUG-33020
      Reviewed-by: default avatarSimon Hausmann <simon.hausmann@digia.com>
      e3c6f397
  3. 25 Aug, 2014 - 1 commit
  4. 08 Aug, 2014 - 1 commit
  5. 24 Jul, 2014 - 1 commit
  6. 11 Jul, 2014 - 1 commit
  7. 02 Jul, 2014 - 1 commit
  8. 07 May, 2014 - 1 commit
  9. 18 Mar, 2014 - 2 commits
  10. 29 Jan, 2014 - 2 commits
  11. 27 Jan, 2014 - 1 commit
  12. 22 Jan, 2014 - 1 commit
  13. 03 Dec, 2013 - 2 commits
  14. 02 Dec, 2013 - 2 commits
  15. 30 Nov, 2013 - 1 commit
  16. 05 Nov, 2013 - 1 commit
  17. 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
  18. 02 Oct, 2013 - 1 commit
  19. 30 Sep, 2013 - 1 commit
  20. 25 Sep, 2013 - 2 commits
  21. 12 Jul, 2013 - 1 commit
  22. 02 Jul, 2013 - 1 commit
    • Erik Verbruggen's avatar
      Fix warning from clang. · adc66d86
      Erik Verbruggen authored
      
      items/qquicktext.cpp:2160:49: warning: '&&' within '||' [-Wlogical-op-parentheses]
                  || vAlign() != QQuickText::AlignTop && heightChanged) {
                  ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
      items/qquicktext.cpp:2160:49: note: place parentheses around the '&&' expression to silence this warning
                  || vAlign() != QQuickText::AlignTop && heightChanged) {
                                                      ^
                     (                                                )
      
      Change-Id: Id4bc18642228e7fad6d674bbcdf623446bb6a00f
      Reviewed-by: default avatarLars Knoll <lars.knoll@digia.com>
      adc66d86
  23. 01 Jul, 2013 - 1 commit
  24. 18 Jun, 2013 - 1 commit
  25. 10 Jun, 2013 - 1 commit
  26. 31 May, 2013 - 1 commit
  27. 17 May, 2013 - 1 commit
  28. 25 Apr, 2013 - 1 commit
  29. 24 Apr, 2013 - 1 commit
  30. 02 Apr, 2013 - 1 commit
  31. 24 Jan, 2013 - 2 commits
  32. 10 Jan, 2013 - 1 commit
  33. 26 Nov, 2012 - 1 commit
  34. 22 Nov, 2012 - 1 commit