summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix crash on QScriptProgram destructionAaron Kennedy2010-04-121-0/+4
|
* Revert "Better reporting of extension plugin loading errors."Aaron Kennedy2010-04-121-23/+7
| | | | This reverts commit e0dcdbd2984299665b9b784b201289219b9978d3.
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integrationQt Continuous Integration System2010-04-1098-1264/+1751
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: (119 commits) Add Mac OS X bundle description for qml runtime Cleanup Disallow writes to read-only value type properties Allow undefined to be assigned to QVariant properties Add a Qt.isQtObject() method Fix crash in QML library imports Remove QT_VERSION checks in QML List properties aren't read-only Small doc fix. Make sure WorkerScript thread is stopped on deletion. This also fixes Release ListModel's worker agent on deletion. Doc fixes Fix example Example code style improvements Enable other wrapping modes. TextEdit::wrap changed to TextEdit::wrapMode enumeration Remove use of obsolete "Script" element. unwarn Replace "var" with "variant" in tests Fix test after deletion of GraphicsObjectContainer. ...
| * CleanupAaron Kennedy2010-04-092-88/+95
| |
| * Disallow writes to read-only value type propertiesAaron Kennedy2010-04-091-0/+4
| | | | | | | | QTBUG-9685
| * Allow undefined to be assigned to QVariant propertiesAaron Kennedy2010-04-092-0/+6
| | | | | | | | QTBUG-9704
| * Add a Qt.isQtObject() methodAaron Kennedy2010-04-092-0/+10
| | | | | | | | QTBUG-9705
| * Fix crash in QML library importsAaron Kennedy2010-04-091-0/+1
| | | | | | | | QTBUG-9705
| * Remove QT_VERSION checks in QMLAaron Kennedy2010-04-098-56/+0
| | | | | | | | We only support Qt 4.7 now.
| * List properties aren't read-onlyAaron Kennedy2010-04-091-1/+2
| |
| * Small doc fix.Martin Jones2010-04-092-7/+7
| |
| * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-04-093-1/+16
| |\
| | * Make sure WorkerScript thread is stopped on deletion. This also fixesBea Lam2010-04-091-0/+13
| | | | | | | | | | | | the leaking of the worker agent in ListModel.
| | * Release ListModel's worker agent on deletion.Bea Lam2010-04-092-1/+3
| | |
| * | Enable other wrapping modes.Martin Jones2010-04-094-15/+18
| |/ | | | | | | | | | | | | | | WrapAnywhere - Text can be wrapped at any point on a line, even if it occurs in the middle of a word. WrapAtWordBoundaryOrAnywhere - If possible, wrapping occurs at a word boundary; otherwise it will occur at the appropriate point on the line, even in the middle of a word.
| * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-04-091-1/+1
| |\
| | * unwarnWarwick Allison2010-04-091-1/+1
| | |
| * | TextEdit::wrap changed to TextEdit::wrapMode enumerationMartin Jones2010-04-095-26/+57
| | |
| * | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-04-0916-578/+54
| |\ \ | | |/
| | * Fix url resolution in PropertyChanges.Michael Brasser2010-04-093-9/+18
| | | | | | | | | | | | | | | | | | | | | | | | Make sure bindings in PropertyChanges resolve urls correctly. Also refactor the code so that PropertyChanges will always use the standard url resolution support provided by QDeclarativeProperty. Task-number: QTBUG-9571
| | * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Aaron Kennedy2010-04-091-7/+23
| | |\
| | | * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Warwick Allison2010-04-0912-560/+100
| | | |\
| | | * | Better reporting of extension plugin loading errors.Warwick Allison2010-04-091-7/+23
| | | | |
| | * | | Use variant instead of var in QMLAaron Kennedy2010-04-093-21/+10
| | | |/ | | |/| | | | | | | | | | | | | | | | | In QML "var"s are not the same as JavaScript vars - they are QVariants instead. However, as they behave in a similar enough fashion to native JavaScript it can be confusing to developers when they are called "var".
| | * | Some cleanup in widgets module. Deletion of GraphicsObjectContainer.Alexis Menard2010-04-099-541/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit deletes the uneeded classes/declarations since we have now an inline support for QGraphicsObject based classes. QGraphicsLayout bindings works the same way because the layout property has been added to QGraphicsWidget. The only feature that is missing for now (because of the deletion of GraphicsObjectContainer) is the anchoring support. We will probably take a look on how to support this feature properly with no wrapper. Task-number:QTBUG-9456 Reviewed-by:Michael Brasser
| * | | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-04-093-19/+97
| |\ \ \ | | |/ /
| | * | Make the TextInput element nicer. It has scrolling.Alexis Menard2010-04-093-19/+97
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The TextInput has support for scrolling now so it's quite usable. You can deactivate the auto scrolling with a property if you want to do crazy animation while scrolling. This commit also fixed several bugs with the current implementation especially regarding aligments : selection was broken, moving the cursor also -> fixed. I have also added a tiny fix when the TextInput lost the focus -> the selection is cleared. Task-number:QT-2745 Reviewed-by:Michael Brasser
| * | Ensure GridView content position is stable when moving items.Martin Jones2010-04-091-0/+2
| |/ | | | | | | Task-number: QTBUG-9697
| * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-04-0829-173/+381
| |\
| | * Tune plugin import mechanismmae2010-04-083-35/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In shadow build environments, we cannot enforce that shared library objects for plugins are located in the same directory as the qmldir file. This makes it hard for Creator to support mixed projects (qml/c++). In order to gain more flexibility, the patch introduces a pluginPathList to QDeclarativeEngine, which completes the existing importsPathList. The pluginPathList defaults to ["."], which indicates the directory where the qmldir file is located in. The qml viewer tool gains a command line option -P to add to the pluginPathList. For consistency, the -L option ("Library") has been renamed to -I ("Import"). QDeclarativeEngine::importExtension() has been renamed to QDeclarativeEngine::importPlugin(). The documentation has been adjusted accordingly. Done with erikv. Reviewed-by: erikv
| | * Fix compile warningsmae2010-04-082-2/+2
| | |
| | * Enable setting the imports directory via qt.confKai Koehne2010-04-081-0/+4
| | | | | | | | | | | | Task-number: QTBUG-9701
| | * Don't crash when QML engine is deletedAaron Kennedy2010-04-081-3/+2
| | |
| | * Fix crash on null object assignmentAaron Kennedy2010-04-081-1/+2
| | |
| | * Make string -> int conversion consistent in bindingsAaron Kennedy2010-04-081-0/+4
| | | | | | | | | | | | QTBUG-9538
| | * Improve static assignment to QVariant's in the int and double caseAaron Kennedy2010-04-085-7/+44
| | |
| | * Update QmlChanges for SmoothedFollowLeonardo Sobral Cunha2010-04-081-4/+12
| | |
| | * Renamed 'source' property from SpringFollow to 'to'Leonardo Sobral Cunha2010-04-082-26/+35
| | |
| | * Make script and binding assignments identical for list propertiesAaron Kennedy2010-04-081-1/+5
| | |
| | * Fix qdeclarativeecmascript::arrayExpression() testAaron Kennedy2010-04-081-1/+1
| | |
| | * Cleanup handling of errors in bindings and scriptsAaron Kennedy2010-04-0815-96/+148
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QML used to silently ignore a log of errors - such as a failed assignment to a QObject property. These errors are now all reported as exceptions in JavaScript. Other questionable activities, like assigning a JavaScript array to a "property var" property which appeared to work, thanks to QtScript's transparent conversion of arrays to a QVariantList, are now blocked entirely. QTBUG-9152 QTBUG-9382 QTBUG-9341 QTBUG-6886
| | * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Warwick Allison2010-04-0816-23/+448
| | |\
| | * | Fix AnimatedImage for remote image test. Fix and test sourceSize property.Warwick Allison2010-04-083-2/+7
| | | |
| * | | Calculate GridView columns regardless of whether we have a populated modelMartin Jones2010-04-081-1/+1
| | | | | | | | | | | | | | | | Task-number: QTBUG-9692
| * | | Add highlightMoveDuration to views.Martin Jones2010-04-087-8/+131
| | |/ | |/| | | | | | | Task-number: QTBUG-7568
| * | Add SmoothedFollow element to qmlLeonardo Sobral Cunha2010-04-084-0/+416
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The SmoothedFollow is the same as the old EaseFollow, so it's not an animation, but its main use case is to be used as a property value source to automatically follow the 'to' property, as in the example below. Rectangle { color: "green" width: 60; height: 60; SmoothedFollow on x { to: rect1.x - 5; velocity: 200 } SmoothedFollow on y { to: rect1.y - 5; velocity: 200 } } This element shares the internal implementation with SmoothedAnimation, both providing the same easing function, but with SmoothedFollow it's easier to set a start value to animate intially and then start to follow, while SmoothedAnimation is still convenient for using inside Behaviors and Transitions. Reviewed-by: Michael Brasser
| * | Tracking the velocity when restarting SmoothedAnimationLeonardo Sobral Cunha2010-04-081-0/+2
| | |
| * | Fix doc of qml's SmoothedAnimationLeonardo Sobral Cunha2010-04-081-9/+10
| | |
| * | Refactor in smoothedanimation, removed unneeded codeLeonardo Sobral Cunha2010-04-082-6/+1
| | |
| * | Do not create a QScriptValue for an object being deletedAaron Kennedy2010-04-081-0/+3
| | |