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-10-121-0/+25
|\
| * Bug: TextEdit ignores plain text format when pasting textYann Bodson2010-10-121-0/+25
| | | | | | | | | | Task-number: QTBUG-14003 Reviewed-by: Michael Brasser
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-10-127-1/+86
|\ \ | |/
| * Fix autotest on windowsAaron Kennedy2010-10-111-1/+6
| |
| * Test for absent qmldirAaron Kennedy2010-10-112-0/+3
| | | | | | | | Task-number: QTBUG-13051
| * Allow objectName to be used in QML bindingsAaron Kennedy2010-10-112-0/+27
| | | | | | | | Task-number: QTBUG-13999
| * Don't give focus to a FocusScope that has had focus explicitly cleared.Michael Brasser2010-10-112-0/+50
| | | | | | | | | | | | | | If focus was explicitly cleared on a non-visible FocusScope, and then it was made visible, it would incorrectly grab focus. Task-number: QTBUG-13380
* | Update sections if model content changes.Martin Jones2010-10-121-0/+11
|/ | | | | | | | We didn't handle the section property changing, e.g. due to asynchronous model. Task-number: QT-4093 Reviewed-by: Aaron Kennedy
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-10-0813-5/+117
|\
| * Allow aliases to value type propertiesAaron Kennedy2010-10-0812-3/+85
| | | | | | | | Task-number: QTBUG-14254
| * Image.sourceSize is incorrect after changing Image.sourceYann Bodson2010-10-081-2/+32
| | | | | | | | Task-number: QTBUG-14303
* | Ensure GridView header is visible at the top of the view.Martin Jones2010-10-082-0/+67
|/ | | | | | | | The view was scrolled to the top of the first item, rather than the top of the header. Task-number: QTBUG-13906 Reviewed-by: Michael Brasser
* Test for QTBUG-13685Martin Jones2010-10-082-0/+13
| | | | Task-number: QTBUG-13685
* Check plugin and QML file case on Mac and WindowsAaron Kennedy2010-10-0812-1/+159
| | | | | | | | | This test should prevent the case where a QML app that is developed on a case insensitive filesystem (like on Mac or Windows) and then run on a case sensitive filesystem (like on Linux) fails to find module plugins, imports and QML files. Task-number: QTBUG-13517
* Add test for QTBUG-14279Martin Jones2010-10-082-0/+7
| | | | Task-number: QTBUG-14279
* emit currentSectionChanged when section changes in ListView.Martin Jones2010-10-081-0/+6
| | | | | Task-number: QTBUG-13981 Reviewed-by: Michael Brasser
* Don't allow multiple values to be assigned to a singular propertyAaron Kennedy2010-10-086-1/+23
| | | | Task-number: QTBUG-14005
* Connect property alias change signals on useAaron Kennedy2010-10-071-1/+0
| | | | Task-number: QTBUG-14089
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-10-071-1/+1
|\
| * Update import statement.Michael Brasser2010-10-061-1/+1
| |
* | Fix setting PathView offset when all visible items are removed.Martin Jones2010-10-071-1/+10
|/ | | | | | | | If we remove all items then we don't have a valid firstIndex with which to anchor item positions, so just use offset. Task-number: QTBUG-14199 Reviewed-by: Michael Brasser
* AutotestAaron Kennedy2010-10-062-0/+31
| | | | Task-number: QTBUG-14089
* Ensure PathView updates positions when path changes.Michael Brasser2010-10-062-0/+36
| | | | | | | | Fixes regression caused by optimization added in commit 35a51442ed21f58c06b21293eeb56e843251ee82. Task-number: QTBUG-14239 Reviewed-by: Martin Jones
* Create Loader components in correct contextAaron Kennedy2010-10-063-0/+37
| | | | Task-number: QTBUG-13481
* Document and test paintedWidth and paintedHeight properties of ImageYann Bodson2010-10-051-0/+41
| | | | Task-number: QTBUG-14197
* Improve test coverage for declarative module.Michael Brasser2010-10-048-2/+75
| | | | Add additional autotests, and remove unreachable functions.
* Add autotest for reserved words in QML.Michael Brasser2010-10-041-0/+76
|
* Prevent crash in XmlListModel when appending an empty role.Michael Brasser2010-10-042-0/+18
|
* Qt.openUrlExternally should resolve relative URLs.Michael Brasser2010-10-014-0/+51
| | | | Reviewed-by: Aaron Kennedy
* QDeclarativeDebug: Make autotests more robustKai Koehne2010-09-302-13/+10
| | | | | | | Always flush sockets after sending data, and make autotests more robust by using busy wait. Reviewed-by: Christiaan Janssen
* QDeclarativeDebugClient: Make sure status is consistentKai Koehne2010-09-302-1/+7
| | | | | | | | | When statusChanged() is called during handsake state() was not the same as the argument passed. Fix this by setting gotHello = true _before_ notifying the clients. Reviewed-by: Christiaan Janssen Task-number: QTBUG-14087
* Revert "QDeclarativeDebugService: Add bc autotest" to get changes through ↵Joona Petrell2010-09-303-95/+2
| | | | | | staging. This reverts commit 31dcf2b4028b1f76301fc69fccff0a9474a0a135.
* Autotest that new "import Qt 4.7"s aren't added accidentallyAaron Kennedy2010-09-291-0/+57
| | | | Task-number: QTBUG-13799
* Replace "import Qt 4.7" with "import QtQuick 1.0"Aaron Kennedy2010-09-291-1/+1
| | | | Task-number: QTBUG-13799
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Aaron Kennedy2010-09-292-0/+25
|\
| * Fix crash when trying to append a null transform to QDeclarativeItem.Michael Brasser2010-09-282-0/+25
| | | | | | | | Task-number: QTBUG-13893
* | Add test for Qt 4.7 moduleAaron Kennedy2010-09-295-1/+183
| | | | | | | | | | Task-number: QTBUG-13799 Reviewed-by: Martin Jones
* | Replace all occurances of "Qt 4.7" with "QtQuick 1.0"Aaron Kennedy2010-09-29719-1016/+1016
|/ | | | | Task-number: QTBUG-13799 Reviewed-by: Martin Jones
* If a type is registered under several names, share the attached property objectAaron Kennedy2010-09-283-0/+28
| | | | Task-number: QTBUG-13799
* QDeclarativeDebugService: Add bc autotestKai Koehne2010-09-283-2/+95
| | | | | | Although it's a private header we use qdeclarativedebugservice_p.h in creator / qmljsdebugger library. Working with a copy of the header in the autotest hopefully catches some bc breakages.
* Make QmlDebug protocol more robustKai Koehne2010-09-285-69/+58
| | | | | | | | | | | | | | | | | | | | | | The protocol so far was client->server only. That is, there was no sane way for a client to check whether a plugin on the server (service) was available or not. E.g. calling Client::setEnabled(true) 'succeeded', without a check whether there is actually a service to talk to. The new protocol replaces this shortcoming by a service discovery mechanism: Both client & service announce their available plugins at handshake time, and later on if there are changes. The status is reflected in Client::status() and Service::Status() , which are either NotConnected - no network connection, or not registered properly Unavailable - TCP/IP connection works, but no plugin with the same name on the other side Enabled - You can connect to plugin on other side The status changes happen automatically (no setEnabled() anymore). Furthermore a version ID was added to the handshake, so that we can extend the protocol further in the future :)
* More declarative autotests.Michael Brasser2010-09-249-1/+109
|
* Various declarative autotest additions.Michael Brasser2010-09-238-0/+95
|
* Fix ListModel::set() so the implementation and docs areBea Lam2010-09-231-1/+1
| | | | | consistent. If index == count() the item should be appended. Also, this should happen regardless of whether the list is empty.
* Properly cleanup in QDeclarativeModulePlugin test.Michael Brasser2010-09-231-0/+1
|
* Mitigate private header problems in QtCreator by adding semi-private APIKai Koehne2010-09-222-0/+89
| | | | | | | | | | Add a semi-private API to get QScriptEngine for a QDeclarativeEngine. So far the qmljsdebugger lib in QtCreator accessed the script engine via QDeclarativeEnginePrivate. Replace this by a minimal API that is still in a private header, where we nevertheless can make some BC checks/guarantees. Aaron Kennedy agreed with the idea. Task-number: QTCREATORBUG-2179
* Mitigate private header problems in QtCreator by adding semi-private APIKai Koehne2010-09-223-0/+98
| | | | | | | | | | Add a semi-private API to get QScriptEngine for a QDeclarativeEngine. So far the qmljsdebugger lib in QtCreator accessed the script engine via QDeclarativeEnginePrivate. Replace this by a minimal API that is still in a private header, where we nevertheless can make some BC checks/guarantees. Aaron Kennedy agreed with the idea. Task-number: QTCREATORBUG-2179
* Fix a crash in QDeclarativeVisualDataModelJoona Petrell2010-09-212-0/+41
| | | | | Task-number: QTBUG-13754 Reviewed-by: Martin Jones
* Make qml debugging work with command line argumentsLasse Holmstedt2010-09-173-6/+41
| | | | | | | | | | The environment variables do not work for Symbian devices, so without this change, QML debugging cannot be done on them. In addition, configure now contains an option to disable qml debugging entirely, due to it being a major security risk. Reviewed-by: kkoehne
* Autotest and small fix for QDeclarativeFontLoader.Yann Bodson2010-09-172-0/+42
|