summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Get WebView tests passing againAlan Alpert2010-07-011-2/+0
| | | | zoomFactor was removed in the new version.
* Remove arbitrary width checksAlan Alpert2010-07-011-2/+0
| | | | | | | | | | Width is not an arbitrary value, it is the size of the rendered page (which is whatever webkit says it is). Width should be tested to be correct, but this change should be done by the maintainers (who should also take the autotest out of declarative). Task-number: QTBUG-11855
* Fix webkit import for webkit tests.Martin Jones2010-07-017-7/+7
|
* Add additional text layout benchmarks.Michael Brasser2010-07-011-7/+51
|
* Added SET_BINDING message to QDeclarative debugger protocolLasse Holmstedt2010-06-301-1/+1
| | | | | | | The new message currently enables resetting bindings, literal values and signal handlers (onX: {...}) through the debugger. Reviewed-by: Roberto Raggi
* Add ListView.nextSection attached propertyMartin Jones2010-06-302-5/+12
| | | | | | and also renamed ListView.prevSection to ListView.previousSection Task-number: QTBUG-11372
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integrationQt Continuous Integration System2010-06-3056-310/+894
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: (54 commits) update qml.qch to version 4.7 Undefined is undefined, and now qml warns about it Fix so window will resize with the root object (broken by Avoid duplicate code for testing initial sizes Remove an unnecessary connect() in TextInput Ensure micro focus is updated in TextEdit and TextInput Fix flow layout not taking into account whether it's width and height are implicit or not. Avoid binding loop. Ensure Loader item change listener is removed when Loader is destroyed Adapt all qmlviewer testcases to the code changes in the actual viewer. Stop QMLLauncher from crashing on exit on Mac when quitting app via the VisualDataModel hasModelChildren role shadowed user roles. Allow positioning of ListView items width sub-pixel precision. Examples clean up Docs Improve appearance when scaling Tweak Qt Demo Behaviour forget to rename the moc include when renaming deviceorientation_maemo.cpp fix namespace macros fix QML Viewer resize modes ...
| * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integrationQt Continuous Integration System2010-06-2956-310/+894
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: (54 commits) update qml.qch to version 4.7 Undefined is undefined, and now qml warns about it Fix so window will resize with the root object (broken by Avoid duplicate code for testing initial sizes Remove an unnecessary connect() in TextInput Ensure micro focus is updated in TextEdit and TextInput Fix flow layout not taking into account whether it's width and height are implicit or not. Avoid binding loop. Ensure Loader item change listener is removed when Loader is destroyed Adapt all qmlviewer testcases to the code changes in the actual viewer. Stop QMLLauncher from crashing on exit on Mac when quitting app via the VisualDataModel hasModelChildren role shadowed user roles. Allow positioning of ListView items width sub-pixel precision. Examples clean up Docs Improve appearance when scaling Tweak Qt Demo Behaviour forget to rename the moc include when renaming deviceorientation_maemo.cpp fix namespace macros fix QML Viewer resize modes ...
| | * Avoid duplicate code for testing initial sizesBea Lam2010-06-291-21/+15
| | |
| | * Fix flow layout not taking into account whether it's width and height are ↵Joona Petrell2010-06-292-0/+39
| | | | | | | | | | | | | | | | | | | | | implicit or not. Task-number: QTBUG-11778 Reviewed-by: Martin Jones
| | * Ensure Loader item change listener is removed when Loader is destroyedMartin Jones2010-06-291-5/+4
| | | | | | | | | | | | Task-number: QTBUG-11771
| | * Adapt all qmlviewer testcases to the code changes in the actual viewer.Robert Griebl2010-06-281-10/+18
| | | | | | | | | | | | (currently tested on Linux only)
| | * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt into 4.7Martin Jones2010-06-283-2/+341
| | |\ | | | | | | | | | | | | | | | | Conflicts: src/declarative/qml/qdeclarativeglobalscriptclass.cpp
| | * | Test QTBUG-11222Warwick Allison2010-06-251-0/+12
| | | | | | | | | | | | | | | | Task-number: QTBUG-11222
| | * | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Warwick Allison2010-06-2513-7/+72
| | |\ \
| | | * | 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.7-integrationQt Continuous Integration System2010-06-2440-269/+726
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: Update tests following QDeclarativeFlickable::viewport() -> contentIem() Prevent value source animations from being registered to start twice. Make compile. More script benchmarking. Expose the Flickable's internal contentItem Script benchmarking. Update lupdate to recognize concatenated text in QML files. Ensure sourcesize is in pixmap cache key. Use ugly but reliable bitmaps fonts in test. doc: note that calling methods before component completion may have no effect Fix unstable qdeclarativeviewer tests Use Pen with Qt::MiterJoin when drawing Rectangles with gradients Update screenshot Fix and better test Text / TextEdit alignments. Ensure the view is correctly positioned at component complete. Support for non-literal plural arguments to qsTr() in lupdate (QML). References to undefined variables throws a ReferenceError
| | | * \ Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-06-245-4/+76
| | | |\ \
| | | | * | 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.
| | | | * | More script benchmarking.Michael Brasser2010-06-243-4/+31
| | | | | |
| | | * | | Update tests following QDeclarativeFlickable::viewport() -> contentIem()Martin Jones2010-06-243-214/+214
| | | |/ /
| | | * | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-06-244-4/+157
| | | |\ \
| | | | * | Script benchmarking.Michael Brasser2010-06-244-4/+157
| | | | | |
| | | * | | 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
| | | | |
| | | * | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integrationQt Continuous Integration System2010-06-2330-52/+272
| | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: Use Pen with Qt::MiterJoin when drawing Rectangles with gradients Update screenshot Fix and better test Text / TextEdit alignments. Ensure the view is correctly positioned at component complete. Support for non-literal plural arguments to qsTr() in lupdate (QML). References to undefined variables throws a ReferenceError
| | | | * | 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
* | | | | | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into ↵Qt Continuous Integration System2010-06-2958-65/+81
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public: Fixed deployment paths for WebKit declarative plugin. Fix s60main linking issue with gcce applications Fixed deployment paths for the symbian/linux-armcc mkspec. Fixed a relative path problem in qml demos. Added the APP_PRIVATE_DIR_BASE variable. Various fixes to autotests when using the symbian/linux-armcc mkspec. Fixed Symbian resources not honoring TARGET with a path. Removed useless comments.
| * | | | | Merge branch 'buildSystemFixes' into 4.7-s60axis2010-06-2958-65/+81
| |\ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | Conflicts: mkspecs/features/symbian/symbian_building.prf
| | * | | | Various fixes to autotests when using the symbian/linux-armcc mkspec.axis2010-06-2958-65/+81
| | |/ / /
* | | | | warn about stray meta dataOswald Buddenhagen2010-06-291-0/+1
| | | | |
* | | | | don't complain multiple times about same abuse of //% meta stringsOswald Buddenhagen2010-06-293-0/+27
|/ / / / | | | | | | | | | | | | | | | | Reviewed-by: Kent Hansen Task-number: QTBUG-11818
* | | | QSemaphore::tryAquire(timeout) -- never times out on an active semaphoreBradley T. Hughes2010-06-251-2/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a thread trying to acquire multiple resources is continuously preempted by threads acquiring smaller amounts, the larger consumer would end up waiting forever (instead of for the given timeout). Fix this by keeping track of elapsed time between wakeups using QElapsedTimer. Task-number: QTBUG-11500 Reviewed-by: thiago
* | | | Use custom static scopes to improve QML/JavaScript performanceKent Hansen2010-06-252-0/+294
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit introduces a new internal JS object type, QScriptStaticScopeObject, that enables the JS compiler to make more aggressive optimizations of scoped property access. QScriptStaticScopeObject registers all its properties in a symbol table that the JS compiler has access to. If the compiler finds the property in the symbol table, it will generate the fast index-based op_{get,put}_scoped_var bytecodes, rather than the dynamic (slow) op_resolve and friends. If the compiler _doesn't_ find the property in the symbol table, it infers that it's safe to skip the scope object when later resolving the property, which will also improve performance (see op_resolve_skip bytecode). QScriptStaticScopeObject is only safe to use when all relevant properties are known at JS compile time; that is, when a function that has the static scope object in its scope chain is compiled. It's up to the user of the class (e.g. QtDeclarative) to ensure that this constraint is not violated. The API for constructing QScriptStaticScopeObject instances is not public; it lives in QScriptDeclarativeClass for now, an internal class exported for the purpose of QML. The instance is returned as a QScriptValue and can be manipulated like any other JS object (e.g. by QScriptValue::setProperty()). The other part of this commit utilizes QScriptStaticScopeObject in QtDeclarative in the two major places where it's currently possible: 1) QML disallows adding properties to the Global Object. Furthermore, it's not possible for QML IDs and properties to "shadow" global variables. Hence, a QScriptStaticScopeObject can be used to hold all the standard ECMA properties, and this scope object can come _before_ the QML component in the scope chain. This enables binding expressions and scripts to have optimized (direct) access to e.g. Math.sin. 2) Imported scripts can have their properties (resulting from variable declarations ("var" statements) and function declarations) added to a static scope object. This enables functions in the script to have optimized (direct) access to the script's own properties, as well as to global properties such as Math. With this change, it's no longer possible to delete properties of the Global Object, nor delete properties of an imported script. It's a compromise we make in order to make the optimization safe. Task-number: QTBUG-8576 Reviewed-by: Aaron Kennedy Reviewed-by: Olivier Goffart Reviewed-by: Jedrzej Nowacki
* | | Cherry pick fix for MOBILITY-800 from Qt Mobility.Aaron McCarthy2010-06-241-15/+24
| | | | | | | | | | | | 21abc07dc396f08c888bf3cac96b535cc296cb00
* | | Cherry pick fix for MOBILITY-1063 from Qt Mobility.Aaron McCarthy2010-06-241-6/+78
| | | | | | | | | | | | 37ad80914f7acb8d4f3364d78e75d48cd14e8e2a
* | | Cherry pick fix for MOBILITY-800 from Qt Mobility.Aaron McCarthy2010-06-241-1/+2
| | | | | | | | | | | | a05504d2a0c643c6f253527f07bcc0dba8a799b4
* | | Merge bearermanagement changes from Qt Mobility.Aaron McCarthy2010-06-246-4/+354
| | | | | | | | | | | | cba220f177154428d6103a93a819668be689a591
* | | Cherry pick fix for MOBILITY-938 from Qt Mobility.Aaron McCarthy2010-06-244-105/+174
|/ / | | | | | | 216f4016d1b447d51630086afca179df11fd6997
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-multimedia-staging into ↵Qt Continuous Integration System2010-06-231-0/+128
|\ \ | |/ |/| | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/qt-multimedia-staging: Fix missing QImage::Format to QVideoFrame::PixelFormat conversion.