summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'qtscript-jsc-backend' of ↵Jedrzej Nowacki2009-08-101-0/+1
|\ | | | | | | git@scm.dev.nokia.troll.no:qt/qt-webkit into qtscript-jsc-backend
| * skip QScriptEngine::newActivationObject() testKent Hansen2009-08-101-0/+1
| | | | | | | | | | It's an internal function, and currently not implemented in the JSC-based back-end.
* | Debugger API develop. New events corresponding to QtScript old-backendJedrzej Nowacki2009-08-101-0/+47
|/ | | | | | | | | | | | where created: scriptUnload, scriptLoad, contextPush, contextPop, evaluateStart, evaluateStop, exceptionThrow, exceptionCatch, functionExit Some of them are really similar to standard JSC events but not enough to implement correct old QtScript debugger behavior. Default empty implementation where created (the new events are not pure virtual methods as the others)
* Merge branch 'qtscript-jsc-backend' of ↵Jedrzej Nowacki2009-08-103-15/+57
|\ | | | | | | git@scm.dev.nokia.troll.no:qt/qt-webkit into qtscript-jsc-backend
| * remove two expected failures for backtrace()Kent Hansen2009-08-101-2/+0
| | | | | | | | | | QScriptContext::backtrace() is implemented now (since commit 34511e1001471ed4041794640aefe508f50ad01c), so the tests work.
| * implement QScriptContextInfo streaming from datastreamKent Hansen2009-08-102-4/+32
| |
| * implement QScriptContextInfo::parameterNames() for Qt methodsKent Hansen2009-08-102-9/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It doesn't work for overloaded methods yet (unless you just happened to call the overload that's defined last in the source file). In the old back-end we stored the actual overload that was being called in the QScriptContextPrivate. Since QScriptContext is a JSC::ExecState now, we either have to add the information to JSC::ExecState, or add some mapping scheme so we can go determine the meta-index for a particular (ExecState, QtFunction) pair. Also in this commit: Marked expected failures, so the autotests will run to completion.
* | Debugger modification. Debugger receive column number from op_debugJedrzej Nowacki2009-08-106-12/+17
|/ | | | | | | opcode and pass it for DidReachBreakpoint and WillExecuteStatement events as an argument. Compilation fix for JIT.
* implement QScriptClass property query semantics of old back-endKent Hansen2009-08-102-2/+9
| | | | | Look up the property as a normal JS property before falling back to the dynamic query mechanism. This is the documented behavior.
* implement QScriptContext::backtrace()Kent Hansen2009-08-102-35/+3
| | | | | Doesn't pass the test yet, but at least it returns something that might be useful on occasion.
* extract the function name from the calleeKent Hansen2009-08-101-0/+2
|
* skip the QScriptContext::returnValue() testKent Hansen2009-08-101-2/+1
| | | | | returnValue() and setReturnValue() are internal functions not implemented in the JSC-based back-end.
* mark function scopes test as expected failureKent Hansen2009-08-101-0/+1
| | | | | QScriptValue::scope() and QScriptValue::setScope() are internal function that we don't implement fully in the JSC-based back-end.
* make native function scopes test passKent Hansen2009-08-101-1/+1
| | | | Missing parentheses in function expression (JSC requires them).
* make the global object properties test passKent Hansen2009-08-101-1/+2
| | | | Accept the presence of a JSON object.
* don't add the jscprint function when building QtScriptKent Hansen2009-08-101-0/+2
| | | | QtScript defines its own print function.
* make property flags lookup work for properties in prototype chainKent Hansen2009-08-102-3/+15
| | | | | JSObject::getPropertyAttributes() does not follow the prototype chain, so we have to do it.
* make ResolveScope property lookup work (kind of)Kent Hansen2009-08-101-2/+9
| | | | | Look in the __qt_scope__ property that is set by QScriptValue::setScope().
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt into ↵Kent Hansen2009-08-10119-898/+2179
|\ | | | | | | | | | | | | | | | | qtscript-jsc-backend Conflicts: src/script/api/qscriptable.cpp src/script/api/qscriptable_p.h src/script/qscriptclassdata.cpp
| * Add QBENCMARK_ONCE to QTestLib.Morten Sorvig2009-08-106-5/+54
| | | | | | | | | | | | | | | | | | | | The code block associated with QBENCHMARK_ONCE macro will only be executed once, whether the backend returns a valid result or not. The "-iterations" command line argument is also ignored. This is useful for benchmarking code that has side effects. Revby: jasplin
| * Make QTimeLine::start() restart from the beginning as the documentation says.David Faure2009-08-102-6/+44
| | | | | | | | | | | | | | | | | | The documentation implies that start restarts. Which it did, but only if the timeline was finished _and_ the duration hadn't been changed meanwhile. So after a setDuration(), start() would do nothing, which was unexpected. Merge-request: 1145 Reviewed-by: Olivier Goffart <ogoffart@trolltech.com>
| * Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtKeith Isdale2009-08-10246-1378/+3236
| |\
| | * Emit axisChanged() when the QGraphicsRotation3D axis changes.Rhys Weatherley2009-08-101-0/+3
| | | | | | | | | | | | Reviewed-by: Aaron Kennedy
| | * Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtRhys Weatherley2009-08-101-2/+2
| | |\
| | | * Make checksdk give a nonzero exit code when it's asked for an SDK whichRohan McGovern2009-08-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | isn't available. Reviewed-by: Michael Goddard
| | * | Set default QGraphicsTransform3D axis to (0, 0, 1)Rhys Weatherley2009-08-102-12/+47
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | The docs said that the default axis was (0, 0, 1), but the code and unit tests were using (0, 0, 0). Modify the code to match the docs because (0, 0, 0) is not very useful. Also optimize the calculation of sin/cos values for 90, 180, and 270 degrees. Reviewed-by: Aaron Kennedy
| | * Add a private function for conversion a QPixmap into a VGImageRhys Weatherley2009-08-101-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | Custom OpenVG pixmap filters written by users will need to access the VGImage form of a QPixmap. The qPixmapToVGImage() function is provided for this purpose, as a private API. Reviewed-by: Sarah Smith
| | * QItemSelectionModel did not send selectionChanged signal when deleting an itemGabriel de Dietrich2009-08-073-1/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | in a tree-like model with one of its grand-children being selected. Added recursive deselection for the model. Task-number: 232634 Reviewed-by: thierry
| | * Fix compiler error on GCC 4.2.0 mips/sh3Anders Bakken2009-08-071-6/+3
| | | | | | | | | | | | | | | | | | | | | Before this patch gcc would fail with this message: internal compiler error: in add_virtual_operand, at tree-ssa-operands.c:1317 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@nokia.com>
| | * Fix build warningHarald Fernengel2009-08-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | gcc was complaining about format string not being a string literal. Also fixes the small chance that error messages would be bogus if they contain printf control characters. Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
| | * Don't crash if we are drawing an empty image.Jan-Arve Sæther2009-08-071-0/+3
| | | | | | | | | | | | Reviewed-by: gunnar
| | * Refactor QTestCharBuffer a bitHarald Fernengel2009-08-0715-218/+257
| | | | | | | | | | | | | | | | | | | | | | | | | | | Use a static buffer for small strings, and making it oom safe. We can now see messages up to 512 bytes even if we run out of memory (important for OOM tests). Also, testlogging (< 512 bytes per line) should again work without a single allocation. Reviewed-By: Rohan McGovern <rohan.mcgovern@nokia.com>
| | * Doc - Removing trailing whitespacesKavindra Devi Palaraja2009-08-071-7/+7
| | | | | | | | | | | | Reviewed-By: TrustMe
| | * Doc - Improving the documentation for QListWidget and QListWidgetItemKavindra Devi Palaraja2009-08-071-218/+228
| | | | | | | | | | | | Reviewed-By: TrustMe
| | * Refactor the code that reads the KDE config in one fileOlivier Goffart2009-08-077-189/+297
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the code out of qapplication_x11.cpp, and qcommonstyle.cpp to qkde.cpp into the QKde namespace. This removes few of the code duplication, and is much cleaner. This will also let us install hook easily later. Reviewed-by: Jens Bache-Wiig
| | * QDockWidget: Make visibilityChanged more accurateThierry Bastian2009-08-073-3/+20
| | | | | | | | | | | | Task-number: 258459
| | * adjust some ifdefs so they are easy to remove with a scriptKent Hansen2009-08-073-5/+5
| | | | | | | | | | | | | | | In preparation of making the old QtScript back-end a separate package/solution.
| | * Doc: Integrated the Rogue (state machine) example.Geir Vattekar2009-08-0711-0/+689
| | | | | | | | | | | | Reviewed-by: Kent Hansen
| | * Fixes: QComboBox keyboard search not working properly when current index is -1Olivier Goffart2009-08-072-1/+37
| | | | | | | | | | | | | | | | | | | | | | | | If the current index is invalid, start would be (0,0) but would be skiped Task-number: 220195 Reviewed-by: thierry
| | * Refactors QGraphicsItemGroup::addToGroup to use QGraphicsItem::itemTransformLeonardo Sobral Cunha2009-08-071-7/+12
| | | | | | | | | | | | | | | | | | This does not change the behavior of the method. Reviewed-by: andreas
| | * xmlpatterns autotest: make tests work from shadow directoryPeter Hartmann2009-08-072-67/+73
| | | | | | | | | | | | | | | | | | ... by prepending SRCDIR to the loaded files. Reviewed-by: TrustMe
| | * qmake - add error message if files for deployment are missingThomas Hartmann2009-08-071-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | If files for deployment for windows ce are missing we get an error message now. Wilcards have to behandled special because QFileInfo::exists() does not work with wildcards. QFileInfo::absoluteFilePath() does work with wildcards Reviewed-by: Mauricek
| | * fixing qmainwindow autotestThomas Hartmann2009-08-071-0/+3
| | | | | | | | | | | | | | | | | | | | | On windows mobile with native menubar integration the menubar is not a child of the mainwindow Reviewed-by: Joerg
| | * Extra check in pluginloader autotestThomas Hartmann2009-08-071-0/+1
| | | | | | | | | | | | | | | | | | This extra check prevents a crash if plugin loading fails Reviewed-by: Joerg
| | * Adding QApplication::processEvents to autotestThomas Hartmann2009-08-071-0/+1
| | | | | | | | | | | | | | | | | | Windows CE is sometimes a little bit slow Reviewed-by: Joerg
| | * Fixing deployment for shadow builds on Windows CEThomas Hartmann2009-08-072-3/+2
| | | | | | | | | | | | Reviewed-by: Joerg
| | * Store QObject*'s in the QVariant data structureAaron Kennedy2009-08-072-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | Rather than requiring an allocation of the "shared data" region, QObject *'s should be stored directly in the data structure. This very marginally, but measurably, improves QVariant performance. Reviewed-by: Thiago Macieira
| | * tst_QFile::copyAfterFail fixed on WindowsJoerg Bornemann2009-08-061-0/+1
| | | | | | | | | | | | | | | | | | We cannot remove a file that's still opened. Reviewed-by: ossi
| | * tst_qsharedpointer compile fix for Windows CEJoerg Bornemann2009-08-061-0/+4
| | | | | | | | | | | | | | | | | | There's no time() on Windows CE. Reviewed-by: Daniel Molkentin
| | * tst_qfileinfo fixed for Windows CEJoerg Bornemann2009-08-061-2/+8
| | | | | | | | | | | | | | | | | | | | | Win CE doesn't support real file permissions (FAT only). Further, we don't have pagefile.sys. Reviewed-by: thartman