1. Sep 23, 2012
  2. Aug 03, 2012
  3. Aug 02, 2012
  4. Jul 30, 2012
  5. Jul 27, 2012
  6. Jul 25, 2012
  7. Jul 16, 2012
  8. Jul 04, 2012
  9. Jun 26, 2012
  10. Jun 25, 2012
  11. Jun 22, 2012
    • Andrew den Exter's avatar
      Fix crash when dragging items outside visible area. · 530b773d
      Andrew den Exter authored
      
      If asynchronous item creation finishes while the content area of a
      ListView has been dragged full outside the visible area a full refill
      is triggered which can overwrite the requested index and potentially
      result in a single delegate item being assigned to multiple view items
      and later being doubly released.  Only create the view item object in
      the createItem function to prevent this from happening.
      
      Secondly only reset the visible items if jumping outside the buffer
      range rather than just the fill range to prevent churn when the list
      only contains buffered items.
      
      Task-number: QTBUG-26232
      
      Change-Id: I5bce845898ef5f699f34afc268594ef38e01d6a3
      Reviewed-by: default avatarMartin Jones <martin.jones@nokia.com>
      530b773d
    • Bea Lam's avatar
      Remove properties related to highlight speed · 18fb5506
      Bea Lam authored
      
      ListView should only have duration-type properties (i.e.
      highlightMoveDuration and highlightResizeDuration) as it's unnecessary
      to have both duration and speed properties for the highlight animation.
      (PathView and GridView only have the duration-related properties.)
      
      Change-Id: I1b94599e3e89afe6488ce2a882c2802354a859fe
      Reviewed-by: default avatarMartin Jones <martin.jones@nokia.com>
      18fb5506
  12. Jun 21, 2012
    • Chris Adams's avatar
      Create new documentation structure · 5e33b0f5
      Chris Adams authored
      The documentation currently has no clear separation between Qt QML
      and Qt Quick.  With recent commits like:
      6c8378ea
      and
      ab1e5101
      
      
      the separation between the language definition and implementation,
      provided by Qt QML, and the standard library for the QML language,
      provided by Qt Quick, is clear.
      
      This commit creates a new documentation structure that is more
      navigable and separates concepts into logical categories, with
      clear separation between QtQML and QtQuick.  It also provides a more
      generic QML Application Developer Resources page which contains links
      to information for QML application developers.
      
      Change-Id: Ia807ccfbfd24ffa0e1c7f0a51ed9d2ed3aa6a733
      Reviewed-by: default avatarMartin Jones <martin.jones@nokia.com>
      5e33b0f5
  13. Jun 13, 2012
  14. Jun 12, 2012
    • Martin Jones's avatar
      Set a non-zero default cacheBuffer. · 86cbb555
      Martin Jones authored
      
      The likelihood of constant framerate when flicking is considerably
      improved by having a cacheBuffer.  Since there is only a minimal cost
      in having a modest cacheBuffer, it is better to have a more optimal
      default value - 320 seems a good starting point.
      
      Change-Id: Id3c8a153821573b5b08c6fbd80d34152908d358d
      Reviewed-by: default avatarBea Lam <bea.lam@nokia.com>
      86cbb555
  15. Jun 08, 2012
    • Martin Jones's avatar
      Performance should always be better with cacheBuffer · 762b4d90
      Martin Jones authored
      
      Setting a cacheBuffer introduced more work for the scenegraph due to
      cached delegates' visibility being toggled.  Changing visibility is
      expensive as it is proagated to all children.  Introduce a cheap
      method of hiding a branch instead.
      
      Also avoid initiating incubation in the same frame as a completed
      creation.
      
      Change-Id: I573bcf37f441f96a7502d445be50ef4301f217d5
      Reviewed-by: default avatarBea Lam <bea.lam@nokia.com>
      762b4d90
  16. Jun 06, 2012
    • Bea Lam's avatar
      Don't emit moving and flicking signals unnecessarily · c37c4215
      Bea Lam authored
      
      The moving and flicking signals should only be emitted once when
      the view has been moved/flicked both vertically and horizontally. (This
      was already done correctly for the dragging signals.)
      
      Also changes QQuickFlickable::flick() to return bool instead of void.
      Subclasses no longer emit the flicking signals but call
      flickingStarted() instead.
      
      Also splits the tst_qquickflickable::movingAndDragging() test up into
      several tests.
      
      Change-Id: Ie527568a9702049dd0bcda18c2eb3e43d8938a18
      Reviewed-by: default avatarMartin Jones <martin.jones@nokia.com>
      c37c4215
    • Jerome Pasion's avatar
      Doc: Grouped Qt Quick types into several groups · ca6d49e6
      Jerome Pasion authored
      
      -created new groups and converted some overviews into group pages
      -edited type documentation and added \ingroup
      -articles still need title fixes and link fixes
      
      Groups:
      qtquick-visual-types
      qtquick-item-graphics
      qtquick-shaders
      qtquick-canvas
      qtquick-text
      qtquick-text-validator
      qtquick-interaction
      qtquick-positioners
      qtquick-transformations
      qtquick-states
      qtquick-animation-define
      qtquick-animation-properties
      qtquick-animation-control
      qtquick-animation-modifiers
      qtquick-images-sprites
      qtquick-images
      qtquick-models
      qtquick-containers
      qtquick-views
      qtquick-paths
      qtquick-utility
      
      Task: QTBUG-25685
      
      Change-Id: I81d4df3320bf5daad5cabb5e42408013fb24f464
      Reviewed-by: default avatarBea Lam <bea.lam@nokia.com>
      Reviewed-by: default avatarAlan Alpert <alan.alpert@nokia.com>
      ca6d49e6
  17. May 31, 2012
    • Bea Lam's avatar
      Fix doc snippets paths and parsing errors · 4c671c04
      Bea Lam authored
      
      qtqml.qdocconf and qtquick.qdocconf now refer to the correct
      snippets and source directories.
      
      Snippet paths in .qdoc and .cpp files have been updated to refer to
      the new shortened path references, e.g. \snippet qml/file.cpp instead of
      \snippet doc/src/snippets/qml/file.cpp.
      
      This also deletes snippets from src/qml/doc/snippets that belonged under
      src/quick/doc/snippets (and were already duplicated there anyway) and
      restores some snippet files that shouldn't have been deleted.
      
      Also fixes some inline snippets to use \code .. \endcode instead of
      \qml .. \endqml as they contained javascript or partial QML
      snippets that were causing parsing errors from qdoc.
      
      There are still snippet errors arising from qmlintro.qdoc as the
      qmlintro snippets directory that it refers to cannot be located.
      
      There are also two references to a removed snippet identifier in
      examples/qml/cppextensions/plugins/plugin.cpp that need to be fixed
      in conjunction with the related docs in a later commit as the relevant
      code has changed and the docs are now invalid.
      
      Task-number: QTBUG-25721
      
      Change-Id: I50c665245a74c140470c58a32546591d187dfe4b
      Reviewed-by: default avatarChris Adams <christopher.adams@nokia.com>
      4c671c04
  18. May 28, 2012
  19. May 24, 2012
  20. May 08, 2012
  21. May 01, 2012
  22. Apr 17, 2012
  23. Apr 13, 2012
  24. Mar 28, 2012
  25. Mar 19, 2012
  26. Mar 13, 2012
  27. Mar 10, 2012
  28. Mar 09, 2012
    • Bea Lam's avatar
      Avoid using QQuickViewItem as base class · 78356f60
      Bea Lam authored
      
      This patch renames it to QQuickItemViewTransitionableItem, and
      FxViewItem and PositionedItem now create instances of this instead of
      subclassing it, to reduce the memory used when transitions are not
      required.
      
      Change-Id: Ie050cda5a121bff9542c7ba7356f6eacf37d241a
      Reviewed-by: default avatarAlan Alpert <alan.alpert@nokia.com>
      78356f60
  29. Mar 07, 2012
    • Martin Jones's avatar
      ListView can freeze if flicked beyond its bounds. · b1a30188
      Martin Jones authored
      
      If the delegate's size changes in componentComplete and all
      items are flicked out of view, an incorrect jump calculation
      in addVisibleItems() resulted in a new delegate being created
      in the wrong position, and retriggering the jump calculation,
      which resulted in a new delegate being created in the wrong
      position, and retriggering the jump...
      
      Also fixed currentItem visibility.
      
      Change-Id: Iad5f211c4fc5eed9c009d51a0ce3b58181a7b36e
      Reviewed-by: default avatarBea Lam <bea.lam@nokia.com>
      b1a30188
  30. Feb 29, 2012
  31. Feb 28, 2012
    • Bea Lam's avatar
      Separate view transition functionality into new file · 328c100a
      Bea Lam authored
      
      Move most of the view transition functionality from qquickitemview*
      into qquickitemviewtransition*.
      
      - Move QQuickViewTransitionAttached
      - Move QQuickItemViewTransitionManager, rename to QQuickItemViewTransitionJob
      - Move FxViewItem transition-specific features into new QQuickViewItem
      - Move transition-specific functions like transitionNextReposition() and
        canTransition() into QQuickItemViewTransitioner which holds all the
        transition objects now
      
      Also mention in docs that there's no defined order for choosing between
      multiple matching displaced transitions.
      
      Change-Id: I8701c0d40d2af152c5d432a4c8de646854c76ea2
      Reviewed-by: default avatarMartin Jones <martin.jones@nokia.com>
      328c100a
  32. Feb 27, 2012
  33. Feb 24, 2012