summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative
Commit message (Collapse)AuthorAgeFilesLines
* Ensure ListView contentHeight is set to a valid size.Martin Jones2010-12-132-0/+57
| | | | | | | | | If the view height is 0 no items will be created so the contentHeight can not be estimated. The currentItem is usually created, so it is possible to use that to estimate. Task-number: QTBUG-16037 Reviewed-by: Bea Lam
* PathView: removing the currentIndex could make it invalid.Martin Jones2010-12-101-0/+4
| | | | | | | | Removing the currentIndex could result in currentIndex being > than the number of items in the model. Task-number: QTBUG-15926 Reviewed-by: Michael Brasser
* Merge qtsoftware:qt/qt.git#4.7 into qtsoftware:qt/qt-qml.git#4.7Joona Petrell2010-12-092-0/+135
|\ | | | | | | | | Conflicts: src/s60installs/eabi/QtGuiu.def
| * Don't emit activeFocusChanged() unless the active focus actually changedTor Arne Vestbø2010-12-072-0/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We would previously call subFocusItemChanged(0) on the item as part of clearing the subfocus, even if the item in question would recieve a new subfocus item as part of setting the new subfocus. This resulted in the declarative item emitting activeFocusChanged(false) and then activeFocusChanged(true), which was affecting any animation or state bound to the activeFocus property of the item. We now stop clearing the subfocus when encountering an item that we know will get subfocus during the set-subfocus pass. We then set subfocus all the way to the root item, since the subfocus item itself might change. The effect of this is that the declarative item will only get one call to subFocusItemChanged(), passing the new subfocus item, instead of two. This means the declarative item can keep track of wherther ot not it had a subfocus item previously, and only emit activeFocusChanged() when the active focus goes from true to false or false to true. Task-number: QTBUG-15615 Reviewed-by: Yoann Lopes <yoann.lopes@nokia.com>
* | highlightFollowsCurrentItem: false was not always honoredMartin Jones2010-12-094-9/+23
| | | | | | | | | | | | | | | | In some cases ListView and GridView would position the highlight despite highlightFollowsCurrentItem: false being specified. Task-number: QTBUG-15972 Reviewed-by: Michael Brasser
* | ListView: Fix calculation of currentItem position when out of view.Martin Jones2010-12-082-1/+94
|/ | | | | | | | The calculation of position of currentItem when it is out of the visible area was bogus. Task-number: QTBUG-15525 Reviewed-by: Bea Lam
* Update visual tests for the recent qmlviewer changeAlan Alpert2010-12-0331-1113/+1113
| | | | | | | Changing the minimum size of the viewer changes the size of some of the visual test outputs which were really small. Task-number: QTBUG-14792
* Do not use openGL on Mac OS X for QML visual testsAlan Alpert2010-12-031-0/+6
| | | | | | It appears to lead to sporadic crashes in the CI system. Task-number: QTBUG-14792
* Update QML visual testsAlan Alpert2010-12-0359-1892/+2838
| | | | | | | Reintroducing text tests to X11, and updating a few tests where the behaviour of the items has subtly changed (and it was deemed acceptable) Task-number: QTBUG-14792
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2010-12-011-35/+35
|\ | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1: fix line endings
| * fix line endingsRobert Loehning2010-12-011-35/+35
| |
* | ListView header is not visible initially.Martin Jones2010-12-012-18/+82
|/ | | | | | | | | If the header size was not set explicitly, but determined implicitly from Text height, the view was not positioned so that the header was visible when first shown. Task-number: QTBUG-15599 Reviewed-by: Bea Lam
* Ensure header is considered when positioning content with snapping.Martin Jones2010-11-303-1/+63
| | | | | | | | | When snapping is enabled the header was ignored and content would be aligned with the first item rather than the header, when at the top of the view. Task-number: QTBUG-15710 Reviewed-by: Bea Lam
* Correct ownership semantics for QObject derived typesAaron Kennedy2010-11-301-0/+37
| | | | Task-number: QTBUG-15697
* Correctly handle CppOwnership even when a QDeclarativeData doesn't existAaron Kennedy2010-11-301-0/+46
| | | | Task-number: QTBUG-15695
* Fix Browser.qml warningsJoona Petrell2010-11-301-0/+12
| | | | | Task-number: QTBUG-15720 Reviewed-by: Martin Jones
* Don't draw null pixmap in QDeclarativeImage paint functionJoona Petrell2010-11-301-0/+30
| | | | | Task-number: QTBUG-15690 Reviewed-by: Martin Jones
* Remove expect-fails from passing testsAaron Kennedy2010-11-301-2/+0
|
* Improve consistency in handling of aliases, bindings and value typesAaron Kennedy2010-11-2924-2/+706
| | | | Task-number: QTBUG-13719
* Slightly improved tst_qmlvisual outputAlan Alpert2010-11-261-3/+4
|
* More detail when the process crashes in tst_qmlvisual.Alan Alpert2010-11-261-2/+3
|
* Update qml visual tests for mac.Yann Bodson2010-11-2547-699/+4512
|
* Fixup visual tests on MacAlan Alpert2010-11-251-1/+7
| | | | Disable sub-pixel antialiasing and skip text on 10.5
* Update visual testsAlan Alpert2010-11-252-3/+3
| | | | Just a frame here or there, probably warranted.
* Flickable and MouseArea were too eager to take/keep mouse grab.Martin Jones2010-11-2413-0/+5108
| | | | | | | | | This meant that they would sometimes act upon a drag immediately, rather than waiting for a nested area to take the grab. This resulted in a short jump before future events were handled by the nested item. Task-number: QTBUG-15568 Reviewed-by: Bea Lam
* Allow javascript date and regexp objects in WorkerScript messagesBea Lam2010-11-241-0/+5
| | | | | Task-number: QTBUG-14666 Reviewed-by: Aaron Kennedy
* Avoid lockup in ListView when animating delegates.Martin Jones2010-11-242-0/+52
| | | | | | | | | | Animating delegates results in the content height changing, which may result in fixup being called if at the ends of the view, which may in turn cause refill to be called, which will change the content height, which repeats. Prevent this recusion from happening. Task-number: QTBUG-14821 Reviewed-by: Bea Lam
* Fix asynchronous reload call in test, broken by previous submitDamian Jansen2010-11-241-0/+3
| | | | Task-number: QTBUG-15493
* Ensure WebView press delay timer is cancelled when grab is taken.Martin Jones2010-11-2315-0/+6121
| | | | | | | | | Flickable steals the grab, but the timer was not stopped and the keepGrab flag is set and the mouse grabbed. This means that the WebView now has the grab and subsequent clicks on another element are ignored. Task-number: QTBUG-15529 Reviewed-by: Joona Petrell
* Update qml visual tests on mac.Yann Bodson2010-11-22102-5131/+7199
| | | | Task-number: QTBUG-14792
* Move qmlvisualaids to another repoAlan Alpert2010-11-199-391/+0
| | | | | | | Moved to a personal repo, since its fate is a little uncertain so it shouldn't draw this much attention. Task-number: QTBUG-14792
* Initial commit of qmlvisualaidsAlan Alpert2010-11-199-0/+391
| | | | | | | | A tool to make it easier to do the platform visual updating. Needs to be streamlined at least a little in order to make it feasible to stay up to date. Task-number: QTBUG-14792
* Add a test on QWSAlan Alpert2010-11-182-3/+5
| | | | | | Without a single test, it fails anyways. Task-number: QTBUG-14792
* Fine-tune the tests being run on the CI system.Alan Alpert2010-11-181-36/+10
| | | | | | | We don't want to bother running tests on QWS, or text tests on X11 until they update the ubuntu version. Task-number: QTBUG-14792
* Standardize selection color in visual testAlan Alpert2010-11-1814-528/+530
| | | | Task-number: QTBUG-14792
* Remove pointSize from visual testsAlan Alpert2010-11-173-2/+2
| | | | | | Too unstable Task-number: QTBUG-14792
* Update visuals for X11Alan Alpert2010-11-1741-1404/+1404
| | | | | | | | Text visual tests may be dependant on the specific version of libfreetype. Comparison images have been regenerated with the specific version that the test machines use. Task-number: QTBUG-14792
* Remove some excess pngsAlan Alpert2010-11-1615-0/+0
| | | | | | These are no longer used by these tests Task-number: QTBUG-14792
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Alan Alpert2010-11-162-1/+25
|\
| * VisualDataModel::count should be 0 until a valid delegate is set.Martin Jones2010-11-161-0/+24
| | | | | | | | | | | | | | There are no visual items if there is no delegate. Task-number: QTBUG-14781 Reviewed-by: Robert Griebl
| * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2010-11-151-1/+1
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1: (23 commits) compile with quintptr instead of intptr_t Enable OpenGL scissors test Remove -fno-omit-frame-pointer and -fno-optimize-sibling-calls in mkspecs, add -Wno-psabi Fix for E32User-CBASE 46 Panic when using CActiveSchedulerWait QNAM HTTP: Ignore double content-length headers Don't pack Harfbuzz structs, this causes unaligned access crashes. qmake vcxproj generator: fix description of custom build tools Fix for KERN-EXEC 0 caused by QNetworkAccessManager::get Minor adjustments to merge-request 915 Implement brush transformations for directfb. Add FreeBSD's certificate bundle to the certificates list. SSL internals: upon error, read all errors from OpenSSL Added an example for QTest::touchEvent to the documentation. Push and pop the thread-default context for the current thread Fix compilation by s/intptr_t/quintptr/ qmake vcxproj generator: fix description of custom build tools Minor adjustments to merge-request 915 Implement brush transformations for directfb. Add FreeBSD's certificate bundle to the certificates list. SSL internals: upon error, read all errors from OpenSSL ...
| | * compile with quintptr instead of intptr_tThiago Macieira2010-11-151-1/+1
| | |
* | | Update qml visual testsAlan Alpert2010-11-16358-11891/+8848
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added guidelines for size, and shrunk tests that exceeded them. Also updated the visuals for all text tests now that antialiasing is off Also some other minor cleanups. Also had to update the visuals for all tests, due to the bug in generating the test scripts being fixed (all need to be remade). Task-number: QTBUG-14792
* | | Turn off font antialiasing during tests.Alan Alpert2010-11-165-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Font antialiasing varies from machine to machine, and so is too unstable Also switching to a monospaced font in visual tests to attempt to pre-empt another possible source of instability. This commit also slightly increases verbosity of test failure messages to be more useful in the CI system Task-number: QTBUG-14792
* | | Shrink size of a visual testAlan Alpert2010-11-163-110/+110
|/ / | | | | | | Task-number: QTBUG-14792
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Alan Alpert2010-11-152-0/+62
|\ \
| * | ListView: items with size < 1.0 were layed out incorrectly.Martin Jones2010-11-152-0/+62
| | | | | | | | | | | | | | | | | | | | | | | | If the size of an item was less than one its endPosition() was less than its position(), which caused incorrect layout (overlapping items). Task-number: QTBUG-15242 Reviewed-by: Yann Bodson
* | | Update all qmlvisual testsAlan Alpert2010-11-15128-1052/+1052
| | | | | | | | | | | | | | | | | | | | | Previous commit means that the snapshots are in different frames. All tests must be updated. Task-number: QTBUG-14792
* | | Stabilize visual test focusscope/test3.qmlAlan Alpert2010-11-156-273/+272
|/ / | | | | | | | | | | Colored rects are better than text. At least here. Task-number: QTBUG-14792
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Alan Alpert2010-11-152-2/+2
|\ \