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. 25 Aug, 2014 - 1 commit
  3. 03 Dec, 2013 - 1 commit
  4. 30 Sep, 2013 - 1 commit
  5. 12 Sep, 2013 - 1 commit
  6. 18 Jun, 2013 - 1 commit
  7. 10 Jan, 2013 - 1 commit
  8. 23 Sep, 2012 - 1 commit
  9. 16 Jul, 2012 - 1 commit
  10. 10 Jul, 2012 - 1 commit
  11. 08 Jul, 2012 - 1 commit
    • Andrew den Exter's avatar
      Reduce the number of unnecessary layouts on geometry changes. · 3095493a
      Andrew den Exter authored
      
      Improve checks for geometry changes that don't affect layout, i.e
      width increasing when the previous layout didn't wrap or elide.
      
      Set implicit sizes just once during layout rather than setting the
      implicit width during and the implicit height after to limit the when
      an implicit size change can change geometry.
      
      And if there are multiple layouts of the same text/font combination
      re-use cached layout data as much as possible by guarding against
      unnecessary property changes on the layout, and not creating a new
      layout for calculating the implicit size of truncated text.
      
      Change-Id: Ia05e52e9170e1f5d3364896ab119e00d8a318299
      Reviewed-by: default avatarMichael Brasser <michael.brasser@nokia.com>
      3095493a
  12. 25 Jun, 2012 - 1 commit
  13. 20 Apr, 2012 - 1 commit
  14. 16 Apr, 2012 - 1 commit
  15. 01 Mar, 2012 - 2 commits
  16. 29 Feb, 2012 - 1 commit
  17. 24 Feb, 2012 - 1 commit
  18. 23 Feb, 2012 - 1 commit
  19. 21 Feb, 2012 - 1 commit
  20. 20 Feb, 2012 - 1 commit
  21. 17 Feb, 2012 - 1 commit
  22. 16 Feb, 2012 - 1 commit
  23. 09 Feb, 2012 - 1 commit
    • Andrew den Exter's avatar
      Add linkColor property to Text. · 8550ed69
      Andrew den Exter authored
      
      Allows the color of links in text to be changed from the default blue.
      
      This currently only works with StyledText and the distance field
      rendererer.  It could be made to work with RichText overwriting the
      specified foreground color in all instances or by not setting a default
      color in the html parser.  The former would prevent the color being
      set with CSS or some future means for altering text formats.  The latter
      would break rendering with QPainter.
      
      Task-number: QTBUG-23048
      Change-Id: I98df215cabe8a089f648fd4a6206622b4318fb8f
      Reviewed-by: default avatarMartin Jones <martin.jones@nokia.com>
      8550ed69
  24. 07 Feb, 2012 - 2 commits
  25. 06 Feb, 2012 - 1 commit
  26. 02 Feb, 2012 - 1 commit
  27. 30 Jan, 2012 - 1 commit
  28. 24 Jan, 2012 - 1 commit
  29. 23 Jan, 2012 - 1 commit
  30. 19 Jan, 2012 - 2 commits
  31. 05 Jan, 2012 - 1 commit
  32. 20 Dec, 2011 - 1 commit
  33. 07 Dec, 2011 - 1 commit
  34. 02 Dec, 2011 - 1 commit
    • Kent Hansen's avatar
      Say hello to QtQuick module · 6c8378ea
      Kent Hansen authored
      
      This change moves the QtQuick 2 types and C++ API (including
      SceneGraph) to a new module (AKA library), QtQuick.
      
      99% of this change is moving files from src/declarative to
      src/quick, and from tests/auto/declarative to
      tests/auto/qtquick2.
      
      The loading of QtQuick 2 ("import QtQuick 2.0") is now delegated to
      a plugin, src/imports/qtquick2, just like it's done for QtQuick 1.
      
      All tools, examples, and tests that use QtQuick C++ API have gotten
      "QT += quick" or "QT += quick-private" added to their .pro file.
      
      A few additional internal QtDeclarative classes had to be exported
      (via Q_DECLARATIVE_PRIVATE_EXPORT) since they're needed by the
      QtQuick 2 implementation.
      
      The old header locations (e.g. QtDeclarative/qquickitem.h) will
      still be supported for some time, but will produce compile-time
      warnings. (To avoid the QtQuick implementation using the
      compatibility headers (since QtDeclarative's includepath comes
      first), a few include statements were modified, e.g. from
      "#include <qsgnode.h>" to "#include <QtQuick/qsgnode.h>".)
      
      There's a change in qtbase that automatically adds QtQuick to the
      module list if QtDeclarative is used. Together with the compatibility
      headers, this should help reduce the migration pain for existing
      projects.
      
      In theory, simply getting an existing QtDeclarative-based project
      to compile and link shouldn't require any changes for now -- but
      porting to the new scheme is of course recommended, and will
      eventually become mandatory.
      
      Task-number: QTBUG-22889
      Reviewed-by: default avatarLars Knoll <lars.knoll@nokia.com>
      Change-Id: Ia52be9373172ba2f37e7623231ecb060316c96a7
      Reviewed-by: default avatarKent Hansen <kent.hansen@nokia.com>
      Reviewed-by: default avatarSergio Ahumada <sergio.ahumada@nokia.com>
      6c8378ea
  35. 28 Nov, 2011 - 1 commit
  36. 21 Oct, 2011 - 1 commit
    • Kent Hansen's avatar
      Rename Qt Quick-specific classes to QQuick* · bfb3c424
      Kent Hansen authored
      
      The QSG (SceneGraph) prefix is too generic for
      Qt Quick(2)-specific classes.
      
      All the classes and files in the declarative/items
      directory have been renamed.
      
      In particular, for classes that are currently public,
      the renaming is as follows:
      
      QSGView --> QQuickView
      QSGCanvas --> QQuickCanvas
      QSGItem --> QQuickItem
      QSGPaintedItem --> QQuickPaintedItem
      
      The header files have been renamed accordingly
      (e.g. qsgview.h --> qquickview.h).
      
      Change-Id: Iac937fff81db20bb639486a793c3aeb5230b038c
      Reviewed-by: default avatarKent Hansen <kent.hansen@nokia.com>
      bfb3c424
  37. 11 Oct, 2011 - 1 commit
    • Yann Bodson's avatar
      Improvements to text layouting in QML · 6fcaca37
      Yann Bodson authored
      Allow more control over the text layouting process in QML.
      
      Give access to every text line through a hook, this gives the
      opportunity to position and resize a line as it is being laid out.
      It is then possible to lay out the text in columns or around other
      objects.
      
      Task-number: QTBUG-21367
      Change-Id: I56dc0c1c4b575dc06360c135098024d0324d3656
      Reviewed-on: http://codereview.qt-project.org/5351
      
      
      Reviewed-by: default avatarYann Bodson <yann.bodson@nokia.com>
      Sanity-Review: Yann Bodson <yann.bodson@nokia.com>
      6fcaca37