summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-08-242-1/+28
|\
| * Fix PathView when setting an empty model that is later filled.Michael Brasser2010-08-242-1/+28
| | | | | | | | | | Task-number: QTBUG-13017 Reviewed-by: Martin Jones
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-08-231-1/+1
|\ \ | |/
| * QDeclarativeDebug: stream all the context, including the internals ones.Olivier Goffart2010-08-201-1/+1
| | | | | | | | | | | | | | Some public context are within the internal context, so we need to stream them to get every objects Reviewed-by: Lasse Holmstedt
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-08-2010-20/+101
|\ \ | |/
| * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into ↵Qt Continuous Integration System2010-08-191-8/+97
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2: Fixes a regression preventing loading images without extensions Made GL pixmap backend respect Qt::NoOpaqueDetection flag.. QTextCodec: fix wodring of a comment QDeclarativeImageProvider: Do not keep the global declarative mutex locked when processing.
| | * QDeclarativeImageProvider: Do not keep the global declarative mutex locked ↵Olivier Goffart2010-08-191-8/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when processing. The point is to be able to process images in a thread. If the mutex is locked, this is useless. Use case is a slow QDeclarativeImageProvider that generates thumbmails from large files. Even with the asynchronous attribute set to true, the gui thread would be blocked by the mutex. By using QSharedPointer, I also fix the leak of the providers (which were not deleted) Reviewed-by: Martin Jones
| * | Fix Image element svg autotestJoona Petrell2010-08-199-12/+4
| |/ | | | | | | | | | | | | | | | | | | Also, reduced some platform-specific test as the test case is not meant to test regression in the painting routines, but that Image's svg support works. Task-number: Reviewed-by: Martin Jones
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-08-191-0/+16
|\ \ | |/
| * Repaint TextInput when password character changes in password modeJoona Petrell2010-08-171-0/+16
| | | | | | | | | | Task-number: QTBUG-12838 Reviewed-by: Martin Jones
* | Make QML tests compile on OpenSolarisMartin Jones2010-08-194-20/+20
|/ | | | Task-number: QTBUG-13003
* Add missing auto test files.Martin Jones2010-08-162-0/+31
|
* Handle QGraphicsWidgets in FlickableMartin Jones2010-08-161-0/+37
| | | | | Task-number: QTBUG-12830 Reviewed-by: Michael Brasser
* More positioners with QGraphicsWidgets fixes.Martin Jones2010-08-161-0/+44
| | | | | Task-number: QTBUG-12416 Reviewed-by: Michael Brasser
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-08-163-0/+85
|\
| * Add autotest that checks that copy and cut don't work when echomode is set ↵Joona Petrell2010-08-131-0/+24
| | | | | | | | | | | | | | to hide text/password mode Task-number: QTBUG-12086 Reviewed-by: Michael Brasser
| * Clear previous animation data for non-triggering animations.Michael Brasser2010-08-132-0/+61
| | | | | | | | | | | | | | We need to clear the data from the last run if the animation doesn't match any of the state actions (or if there are no actions). Task-number: QTBUG-12805
* | emit countChanged where appropriate in RepeaterMartin Jones2010-08-161-0/+3
|/ | | | | Task-number: QTBUG-12905 Reviewed-by: Bea Lam
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2010-08-121-15/+15
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1: Fix some #ifdefs to compile for a specific combination of featuress that was previously unsupported update Russian translations for Qt and tools Updated Slovenian translations for Qt 4.7 doc: The QML Qt element was missing from the documentation. 64-bit versions of PREMUL, BYTE_MUL and INTERPOLATE_PIXEL_256 QXmlStreamReader: avoid unnecessary detaching QSslCertificate: support expiration dates > 2049 Doc: Fixing typo Doc: Fixing bug involving header misplacement in Creator style qdoc: Added list of all members (including inherited) page to QML elements. qdoc: Ensured that text is encoded correctly. qdoc: Fixed non-well-formed markup. Doc: Fixed typo in a shortcut string. Remove useless QString::clear() from QSharedData example snippet. Move note on connectToBus() not actually being able to reconnect to Doc: Added more license information.
| * Merge branch '4.7' of git@scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7Martin Smith2010-08-111-3/+4
| |\
| * | qdoc: Added list of all members (including inherited) page to QML elements.Martin Smith2010-08-111-15/+15
| | |
* | | Only modify pixmap cache reply when protected by a mutexAaron Kennedy2010-08-121-0/+10
| |/ |/| | | | | QTBUG-12729
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integrationQt Continuous Integration System2010-08-111-3/+4
|\ \ | |/ |/| | | | | * '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: Don't destroy ListModel child list nodes.
| * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-08-112-0/+27
| |\
| * | Don't destroy ListModel child list nodes.Martin Jones2010-08-111-3/+4
| | | | | | | | | | | | | | | | | | | | | These are owned by the root and must not be destroyed by child lists. Task-number: QTBUG-12771 Reviewed-by: Bea Lam
* | | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2010-08-101-1/+1
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1: (32 commits) Fix memory leak in QtScript variable object doc: Changed some titles so lists of contents sort better. QSslSocket: fix security vulnerability with wildcard IP addresses doc: Some reorganization of top page topic hierarchy. Mac: Fix crash when using style to draw on other things than widgets Doc: Adding radius support for CSS3 and webkit Correct spelling (UNKOWN -> UNKNOWN) to fix recent test regression add performance comparisons to qregexp benchmark configure: fix error message when calling config.status Fix invalid memory write during recursive timer activation Added comment about calendarPopup in setCalendarWidget function documentation. doc: Fixed some qdoc errors. Correcting spelling mistakes in documentation. Part of fix for QTBUG-11938. CreateFileMapping returns NULL on error , only tested with INVALID_HANDLE_VALUE. XmlListModel doc fixes Mention QML_IMPORT_TRACE in Modules docs Merge sections about when property and default state Explain Flipable example further PathView required some diagonal movement before a drag was initiated. doc: Fixed some qdoc errors. ...
| * | Correct spelling (UNKOWN -> UNKNOWN) to fix recent test regressionBradley T. Hughes2010-08-101-1/+1
| |/ | | | | | | | | | | | | Commit eea84818e98af917d3cf2bf04ea17a416ef9d55e corrected some spelling mistakes, one of which this test was relying on. Reviewed-by: trustme
* | Don't double-add item change listeners.Michael Brasser2010-08-102-0/+27
|/ | | | | | | | When a Repeater was used as the child of an Item binding to childrenRect, the item change listener was being added twice for the items created by the Repeater. Task-number: QTBUG-12722
* Top-level QML item should not have special focus handling.Michael Brasser2010-08-061-1/+1
| | | | | | | | It's the scene itself that acts as a focus scope, not the top-level item. Task-number: QTBUG-12682 Reviewed-by: Aaron Kennedy
* Add missing test file.Michael Brasser2010-08-051-0/+33
|
* Make sure onFocusChanged is correctly emitted for items in a FocusScope.Michael Brasser2010-08-051-0/+56
| | | | | Task-number: QTBUG-12649 Reviewed-by: Martin Jones
* Make SpringAnimation usable inside a transitionmae2010-08-042-0/+43
| | | | | | | | | | | | SpringFollow was turned into SpringAnimation so it could be used inside a Behavior. This patch completes the work and makes it usable inside a transition. This is the documented behavior of SpringAnimation, the patch is essential to make SpringAnimation work consistently. Reviewed-by: Michael Brasser Task-number: QTBUG-12141
* Make it possible to manually set the orientation of QML Viewer on SymbianJoona Petrell2010-08-031-3/+33
| | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-12142 Reviewed-by: Warwick Allison This patch brings ability to switch QML Viewer's orientation between auto-orientation (=follow sensor), portrait and landscape orientations (lock orientation) on Symbian. It provides same orientation options as Qt Creator 2.1's Qt QML Standalone Application creation wizard. Also, menu item rotateOrientation now works on Symbian, but it's hidden when orientation mode is set to auto-orientation. Property runtime.orientation has been switched back to supporting four-way orientation on Symbian, previously it only updated values between portrait and landscape. If your application only supports landscape or portrait modes, just don't react to the inverted orientations. Added orientation example screenorientation under examples/declarative. The patch includes a fix for calculator example, which rotated to wrong direction when switching from portrait to landscape. Also, improved qdeclarativeviewer unit tests. Changes have been tested to work on Windows, Linux and Symbian^3.
* Limit the pixmap cache in space as well as in time.Aaron Kennedy2010-08-032-0/+40
| | | | QTBUG-12590
* Correctly apply PropertyChanges when entering an extended stateMichael Brasser2010-08-022-0/+42
| | | | | | | | directly from the base state. Make sure qmlExecuteDeferred is called on the state being extended. Task-number: QTBUG-12559
* Add moving and flicking properties to PathViewMartin Jones2010-07-298-470/+815
| | | | | | | | | | PathView handles its own mouse interaction, but lacked properties similar to those in Flickable to determine when it is stationary. This made it impossible to start an animation when the view stops moving, for example. Task-number: QTBUG-12497 Reviewed-by: Warwick Allison
* Add test for getting a backtrace in QMLOlivier Goffart2010-07-284-0/+212
|
* Fix test.Michael Brasser2010-07-221-0/+1
|
* Fix TextInput echoMode autotest on LinuxJoona Petrell2010-07-221-0/+4
| | | | | Task-number: Reviewed-by: Michael Brasser
* Fix TextEdit text attribute and text stored in the internal QTextDocument ↵Joona Petrell2010-07-221-0/+34
| | | | | | | having different contents Task-number: QTBUG-12339 Reviewed-by: Martin Jones
* Remove QDeclarativeItem::childrenChanged() signal overloadMartin Jones2010-07-221-0/+5
| | | | | | | Broke signal handlers in QML Task-number: QTBUG-12335 Reviewed-by: Aaron Kennedy
* Allow MouseArea dragging to filter mouse events from descendantsMartin Jones2010-07-221-0/+11
| | | | | | | | This allows dragging a MouseArea that contains a clickable MouseArea, for example. Task-number: QTBUG-12323 Reviewed-by: Michael Brasser
* Rename remaining 'wantsFocus'.Yann Bodson2010-07-212-9/+9
|
* Bounding rect of text was not always calculated correctly.Martin Jones2010-07-212-0/+37
| | | | | | | | The boundingRect depended upon the image cache which may not become valid until after boundingRect is called. Task-number: QTBUG-12291 Reviewed-by: Michael Brasser
* QML focus API updates.Michael Brasser2010-07-2113-159/+154
| | | | | | | | | The wantsFocus property has been renamed to activeFocus, to better reflect its value. Reading and writing the focus property is also now consistent -- this property represents focus within a scope. Other small changes were made to keep things consistent with the new naming. Reviewed-by: Aaron Kennedy
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Warwick Allison2010-07-217-8/+124
|\
| * Only ignore the same target value for a Behavior when it is running.Michael Brasser2010-07-212-0/+44
| | | | | | | | | | | | | | | | | | | | Otherwise a Behavior may mistakenly not be triggered. This situation can arise when the property in question has been manipulated via the property system, followed by a direct function call (which correctly bypasses the Behavior), followed by a another change via the property system. Task-number: QTBUG-12295
| * font.letterSpacing used percentage rather than absolute values.Martin Jones2010-07-213-8/+8
| | | | | | | | | | | | | | ... and percentage is useless. Task-number: QTBUG-12282 Reviewed-by: Warwick Allison
| * Rewinding AnchorChanges should not make target item's implicit width and ↵Joona Petrell2010-07-212-0/+72
| | | | | | | | | | | | | | height explicit Task-number: QTBUG-12273 Reviewed-by: Michael Brasser
* | Ensure redirects (and indeed all reply process) is done in the right thread.Warwick Allison2010-07-211-0/+2
|/ | | | | | | i.e. the thread with the QNAM the original reply was created in. Task-number: QTBUG-12302 Reviewed-by: Aaron Kennedy