summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative
Commit message (Collapse)AuthorAgeFilesLines
...
| * Handle enums in method arguments in the same way as QtScriptAaron Kennedy2010-06-252-0/+11
| | | | | | | | | | | | | | QML will now invoke methods with enums as arguments, in the same fashion as QtScript. QTBUG-11313
| * Allow custom parsers to handle attached propertiesAaron Kennedy2010-06-251-1/+0
| | | | | | | | QTBUG-11283
| * Allow components to be created from .pragma library JS filesAaron Kennedy2010-06-253-4/+8
| | | | | | | | QTBUG-11507
| * Fix assertAaron Kennedy2010-06-253-0/+20
| | | | | | | | QTBUG-11600
| * Disallow global object properties as property namesAaron Kennedy2010-06-255-2/+11
| | | | | | | | QTBUG-11605
| * Reading a property that doesn't exist throws a ReferenceError testAaron Kennedy2010-06-252-0/+22
| | | | | | | | QTBUG-11606
* | Test only on X11, not only on Linux (which includes embedded).Warwick Allison2010-06-252-4/+4
|/
* Force font selection (and so ensure visual test passes).Warwick Allison2010-06-2522-4/+14
|
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-06-242-0/+45
|\
| * Prevent value source animations from being registered to start twice.Michael Brasser2010-06-242-0/+45
| | | | | | | | | | If the animation had an explicit "running: true", the animation would be registered with the engine twice, which prevented a proper start.
* | Update tests following QDeclarativeFlickable::viewport() -> contentIem()Martin Jones2010-06-243-214/+214
|/
* Expose the Flickable's internal contentItemMartin Jones2010-06-242-0/+10
| | | | | | | | So that dynamically created items can be parented to the contentItem and be flicked with the rest of the content. Task-number: QTBUG-11674 Reviewed-by: Aaron Kennedy
* Use ugly but reliable bitmaps fonts in test.Warwick Allison2010-06-2420-0/+2
|
* Fix unstable qdeclarativeviewer testsBea Lam2010-06-231-2/+2
|
* Fix and better test Text / TextEdit alignments.Warwick Allison2010-06-2322-0/+204
| | | | | | Various clipping and refresh bugs. Task-number: QTBUG-11492
* Ensure the view is correctly positioned at component complete.Martin Jones2010-06-234-45/+48
| | | | | | If a currentIndex has been specified, ensure the view starts at the correct position immediately, rather than scrolling to it after startup.
* References to undefined variables throws a ReferenceErrorAaron Kennedy2010-06-234-7/+20
| | | | This is consistent with normal JavaScript
* Allow QT_TR_NOOP (as a no-op) in ListModel values.Warwick Allison2010-06-221-3/+7
| | | | Task-number: QTBUG-11403
* Fix testBea Lam2010-06-181-0/+3
|
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integrationQt Continuous Integration System2010-06-175-1/+107
|\ | | | | | | | | | | | | | | | | | | | | * '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: Fix event forwarding in QDeclarativeFlickable. doc: improve Repeater model docs. doc: couple more performance tips. BorderImage is not updated when border values change XmlListModel: Don't lock while doing the slow bit. Auto test for QTBUG-11507 Properly update childrenRect for position changes and shrinking.
| * Auto test for QTBUG-11507Bea Lam2010-06-173-0/+28
| |
| * Properly update childrenRect for position changes and shrinking.Michael Brasser2010-06-172-1/+79
| | | | | | | | Task-number: QTBUG-11465
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2010-06-172-3/+5
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1: doc: Added more DITA output to the XML generator Usefully convert from QtScript object/array to QVariant document QSslSocket::systemCaCertificates() change in changelog Implement QIODevice::peek() using read() + ungetBlock(). Allocate the memory for QtFontSize when count > 1 doc: Added more DITA output to the XML generator Defer allocation of GIF decoding tables/stack. Make sure only started gestures can cause cancellations Updated JavaScriptCore from /home/khansen/dev/qtwebkit-qtscript-integration to javascriptcore-snapshot-16062010 ( 8b2d3443afca194f8ac50a63151dc9d19a150582 ) qmake: Fix CONFIG += exceptions_off with the MSVC project generator. Fix some kind of race condition while using remote commands. Work around ICE in Intel C++ Compiler 11.1.072 Reduce the memory consumption of QtFontStyle
| * Usefully convert from QtScript object/array to QVariantKent Hansen2010-06-172-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For arrays, the conversion would crash if the array was cyclic. Introduce a set that keeps track of which objects are being converted, and return an empty list when a cycle is detected. For other types of objects, the object was previously attempted to be converted to a primitive, which typically meant you would get the string representation ("[object Object]"), since most (practically all) objects can be converted to a string -- not useful at all. Change the conversion so it converts the object to a QVariantMap instead. This was already done for slots that took a QVariantMap as argument, but only one level deep. Make the conversion recursive, using the same mechanism as for arrays to detect cycles. This change also means that you get a meaningful JS object => QVariant => JS object roundtrip. It also aligns the behavior with the Qt WebKit bridge. Update the documentation to describe the new behavior. The 4.7 changelog will also be updated under "important behavioral changes". This change exposed an issue with one of the QML autotests: A JS object was assigned to a QVariant property, which caused it to be converted to a string (rather than a QVariantMap) -- just shows that the previous behavior was unintuitive). Later, this variant property is compared to another object, the intention being to compare the _properties_ of the two objects; but because the variant property contained a string, this would cause the other operand (object) to be converted to a string as well ("[object Object]"), causing a meaningless test pass. Change the test to deserialize both objects using JSON.stringify, and compare the resulting strings, so that actual JS object => QVariant(Map) => JS object roundtrip is tested (the intention). Task-number: QTBUG-3511 Reviewed-by: Olivier Goffart
* | Add test for model data changes.Martin Jones2010-06-172-2/+47
| |
* | Minor demo fixesAlan Alpert2010-06-161-4/+5
| | | | | | | | Found some minor demo issues while testing a TextInput change.
* | Fix autoScroll implementationAlan Alpert2010-06-161-1/+0
|/ | | | | | | | | | | The scrolling should not be calculated inside the paint event, this leads to some incorrect behaviour. It is now calculated separately when needed. Patch actually written by Alexis, and I reviewed it. Task-number: QTBUG-11127 Reviewed-by: Alexis Ménard
* Fix bug with childrenRect resizing on startup.Michael Brasser2010-06-152-0/+40
| | | | | | This also optimizes the implementation. Task-number: QTBUG-11383
* Fix test - sizeHint should not change after initial load. Also useBea Lam2010-06-111-5/+3
| | | | QTRY_COMPARE for some tests.
* Fix qmlviewer test failure on windowsMartin Jones2010-06-111-8/+8
| | | | Attempted to make window size smaller than Windows minimum.
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-06-101-0/+17
|\
| * Improve test stability.Warwick Allison2010-06-101-0/+17
| |
* | Stablize qmlviewer testMartin Jones2010-06-101-13/+14
|/
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-06-091-0/+1
|\
| * Doc improvements: move some example code to snippets, add screenshots,Bea Lam2010-06-091-0/+1
| | | | | | | | other minor doc fixes
* | Fix crash when changing ListView model with highlightRangeMode: ↵Martin Jones2010-06-092-0/+15
|/ | | | | | ListView.StrictlyEnforceRange Task-number: QTBUG-11328
* Fix autotest.Michael Brasser2010-06-091-0/+2
|
* Fix drawing flicker on Qml Viewer startupJoona Petrell2010-06-092-0/+192
| | | | | Task-number: QTBUG-10251 and QTBUG-11156 Reviewed-by: Martin Jones
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-06-08121-160/+365
|\
| * Make declarative autotests compile on Symbian abld build systemJoona Petrell2010-06-08121-160/+365
| | | | | | | | | | Task-number: Reviewed-by: Martin Jones
* | Add test for PropertyChanges with attached properties.Martin Jones2010-06-082-0/+63
|/ | | | Task-number: QTBUG-11283
* Keep reported point/pixel size in sync.Michael Brasser2010-06-071-1/+3
| | | | | | | This allows you to, for example, bind to a Text's font.pixelSize, even if one was never explicitly set. Task-number: QTBUG-11111
* Remove unnecessary CloseSoftwareInputPanel events after TextEdit or ↵Joona Petrell2010-06-072-52/+93
| | | | | | | TextInput has lost focus Task-number: Reviewed-by: Warwick Allison
* Ensure state operations assigned to the default state are triggeredMichael Brasser2010-06-072-0/+42
| | | | | | when returning to that state. Task-number: QTBUG-11228
* Fix regression in input panel autotestsJoona Petrell2010-06-072-2/+12
|
* Revert to Portrait/Landscape terminology for Orientation enum, withBea Lam2010-06-041-10/+10
| | | | | | additional PortraitInverted and LandscapeInverted values. TopUp etc. only indicates rotation which makes it difficult to resize the window according to whether the device is in Portrait or Landscape orientation.
* Improve input panel handling in declarative demos and examplesJoona Petrell2010-06-032-12/+0
| | | | | Task-number: QTBUG-11157 Reviewed-by: Warwick Allison
* Add header and footer to GridViewMartin Jones2010-06-031-0/+13
| | | | | | Also document them for both ListView and GridView Task-number: QTBUG-11191
* QML viewer now supports TopUp, TopDown, RightUp and LeftUp orientationsBea Lam2010-06-022-6/+15
| | | | | | | | instead of Portrait/Landscape. The new orientations are named the same as the orientations in the QtMobility sensors module. Task-number: QTBUG-11106 Reviewed-by: akennedy
* Take into account platform differences in input panel supportJoona Petrell2010-06-022-30/+136
| | | | | Task-number: Reviewed-by: Warwick Allison