summaryrefslogtreecommitdiffstats
path: root/tests/auto/qscriptengine
Commit message (Collapse)AuthorAgeFilesLines
* improve the QScriptEngine::importExtension() autotestKent Hansen2009-07-073-0/+15
| | | | Error messages and __postInit__.
* make autotests work with shadowbuildsKent Hansen2009-06-262-1/+2
| | | | Can't assume that the executable and source are in the same dir.
* have the QtScript print() function use qDebug()Kent Hansen2009-06-251-0/+28
| | | | | | Makes it work with custom message handlers (qInstallMsgHandler()). Task-number: 233005
* Merge license header changes from 4.5Volker Hilsheimer2009-06-161-2/+2
|\
| * Update license headers as requested by the marketing department.Jason McDonald2009-06-161-2/+2
| | | | | | | | Reviewed-by: Trust Me
* | add a bunch of qtscript autotestsKent Hansen2009-06-151-0/+128
| | | | | | | | Get that code coverage up.
* | fix silly typoKent Hansen2009-06-031-1/+13
|/ | | | | | | | | | Yeesh. The function worked for the common case of the argument being a plain script object (obviously, otherwise this would have been discovered sooner), but it would never pick the less expensive path when replacing the QObject pointer of an existing proxy. And if you passed in a QVariant proxy (now who would ever do something like that...?), it would assert.
* Fix regression in qscriptvalue_cast (primitive-->complex type cast)Kent Hansen2009-03-261-0/+28
| | | | | | | | | | | qscriptvalue_cast implementation was changed from 4.4 to 4.5 because of the introduction of QScriptValue constructors that don't take an engine pointer. However, when the old constructors are used, the behavior of qscriptvalue_cast should be as before, which this patch ensures. In short: If we have an engine pointer, use it. Task-number: 248802 Reviewed-by: Ariya Hidayat
* Long live Qt 4.5!Lars Knoll2009-03-237-0/+3406