summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Implement QScriptString as a wraper around the JSC::IdentifierOlivier Goffart2009-07-232-3/+0
|
* add QEXPECT_FAIL (QScriptString isn't properly implemented yet)Olivier Goffart2009-07-231-0/+2
|
* Try best to convert a regexp to a ECMAScript expressionOlivier Goffart2009-07-231-4/+60
|
* tst_QScriptValue::toVariant is not about testing reg expOlivier Goffart2009-07-231-2/+1
|
* JSC: toString report correct error messageOlivier Goffart2009-07-221-1/+0
|
* More tests fixed (QScriptValue::toString)Olivier Goffart2009-07-221-4/+0
| | | | | | Handle Exception in a toString function Reviewed-by: Kent Hansen
* Implement qobjectProtoFuncFindChildren()Benjamin Poulain2009-07-221-2/+30
| | | | | | | | For matching the regular expression, the algorithm of JSCore is used instead of QRegExp, this is done to be consistent with the rest of ecmascript. Reviewed-by: Kent Hansen
* fix QScriptValue::isErrorOlivier Goffart2009-07-221-1/+0
| | | | Reviewed-by: Kent Hansen
* Refactorisation of autotest. FunctionEntryAndExit test divided intoJedrzej Nowacki2009-07-211-4/+122
| | | | smaller pieces.
* Reorder positionChange and QEXPECT_FAIL addedJedrzej Nowacki2009-07-211-52/+45
|
* Fix the return value of a function call that throws an error.Ariya Hidayat2009-07-171-2/+0
|
* Fix the return value of a constructor that throws an error.Ariya Hidayat2009-07-171-2/+0
|
* implement cyclic prototype chain checkKent Hansen2009-07-171-5/+3
|
* make QScriptValue::toString() et al work when there's an exceptionKent Hansen2009-07-173-22/+6
| | | | | JSC refuses to call functions when there's an exception that hasn't been dealt with, so save the exception and restore it afterwards.
* set correct property flags in newFunction()Kent Hansen2009-07-171-2/+0
|
* fix for-in statement autotest to match behavior in JSCKent Hansen2009-07-161-9/+9
|
* We cant rely on property attributes from JavaScriptCore for the setter and ↵Olivier Goffart2009-07-161-1/+7
| | | | getter
* skip test that currently crashesKent Hansen2009-07-161-0/+1
|
* Convert the strings or number value to jscvalue when they are used with an ↵Olivier Goffart2009-07-161-9/+8
| | | | | | | engine Also change the stringValue not to be a pointer. This fixes a memory leak.
* add some expected failures in objectDeleted() autotestKent Hansen2009-07-161-2/+10
|
* only set default prototype if resulting object has built-in Object prototype ↵Kent Hansen2009-07-161-1/+0
| | | | | | as its prototype port of commit 4182e9c4b2cbfcd0604c57da210e97d68cbbbb52 in qt/master.
* add autotest for Global Object propertiesKent Hansen2009-07-161-0/+145
|
* fix GC-related crashKent Hansen2009-07-151-5/+7
| | | | | | | For some reason our Global Object is not marked by the collector. This fixes the case when you invoke GC explicitly by calling collectGarbage(), but the issue is probably still there when GC is invoked implicitly.
* initial attempt at implementing QScriptEngine::setGlobalObject()Kent Hansen2009-07-151-0/+3
| | | | | Doesn't actually replace the global object, but rather has the standard global object act as a proxy to the custom one.
* clear script exceptions when executing Qt methodsKent Hansen2009-07-151-0/+1
| | | | | | | The argument conversion logic checks for exceptions after attempting to convert each argument; this requires that there is initially no exception, otherwise it's going to bail out even if the conversion itself succeeded.
* update autotestKent Hansen2009-07-151-3/+4
|
* compileKent Hansen2009-07-151-1/+0
|
* Merge branch 'qtwebkit-4.6-staging' into qtscript-jsc-backendKent Hansen2009-07-14367-645/+17991
|\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/3rdparty/webkit/JavaScriptCore/interpreter/Interpreter.cpp src/script/qscriptecmafunction.cpp src/script/qscriptecmaglobal.cpp src/script/qscriptengine.cpp src/script/qscriptengine_p.cpp src/script/qscriptenginefwd_p.h src/script/qscriptextqobject.cpp src/script/qscriptextqobject_p.h tests/auto/qscriptqobject/tst_qscriptqobject.cpp
| * More tests for list numberingOlivier Goffart2009-07-132-0/+50
| |
| * Added QTextListFormat::ListUpperRoman and QTextListFormat::ListLowerRoman ↵Nils Jeisecke2009-07-131-0/+36
| | | | | | | | | | | | | | for roman numbering of lists as supported by HTML/ODF Reviewed-by: Olivier Goffart Merge-request: 681
| * Merge commit 'origin/4.5'Oswald Buddenhagen2009-07-137-0/+80
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/3rdparty/webkit/JavaScriptCore/generated/Grammar.cpp src/3rdparty/webkit/JavaScriptCore/generated/Grammar.h src/3rdparty/webkit/VERSION src/3rdparty/webkit/WebCore/ChangeLog src/3rdparty/webkit/WebCore/generated/CSSGrammar.cpp src/3rdparty/webkit/WebCore/generated/CSSGrammar.h src/3rdparty/webkit/WebCore/generated/Grammar.cpp src/3rdparty/webkit/WebCore/generated/Grammar.h src/3rdparty/webkit/WebCore/generated/XPathGrammar.cpp src/3rdparty/webkit/WebCore/generated/XPathGrammar.h src/3rdparty/webkit/WebKit/qt/ChangeLog tools/linguist/lrelease/main.cpp tools/linguist/lupdate/main.cpp tools/linguist/shared/profileevaluator.cpp
| | * implement proper vpath handlingOswald Buddenhagen2009-07-137-0/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this also removes the bogus special casing of various filename-containing variables inside the pro parser. while this is a feature as such, it restores backwards compatibility without damaging the correct behavior again, so it qualifies for 4.5. based on a2f40fce2a1cf3c19a13fa27eea08192493ab76e from creator Task-number: 254098
| | * tst_qnetworkreply: qDebug instead of qWarningMarkus Goetz2009-07-131-1/+1
| | |
| | * QFlags::testFlag(): handle the zero case appropriately.Frans Englich2009-07-131-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | Brought up by Andy. See perforce change 314809, 17b07e3ab6192b31f77fd2f126705b9ab53b3937. Related to task 221708. Reviewed-By: Andy Shaw (cherry picked from commit cc24c46c117248ecb98200416e7f25375e6bb476)
| | * Fix line endings.Alexis Menard2009-07-131-22/+22
| | |
| * | tst_qnetworkreply: qDebug instead of qWarningMarkus Goetz2009-07-131-2/+2
| | |
| * | QFlags::testFlag(): handle the zero case appropriately.Frans Englich2009-07-131-0/+24
| | | | | | | | | | | | | | | | | | | | | Brought up by Andy. See perforce change 314809, 17b07e3ab6192b31f77fd2f126705b9ab53b3937. Related to task 221708. Reviewed-By: Andy Shaw
| * | Fixed the lineendings in the tst_qsqltablemodel.cppDenis Dzyubenko2009-07-131-22/+22
| | |
| * | Added QSyntaxHighlighter::rehighlightBlock() auto testJ-P Nurmi2009-07-131-1/+28
| | | | | | | | | | | | | | | Merge-request: 379 Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
| * | Stabilize tst_QGraphicsView::mouseTracking2 (on Windows).Bjoern Erik Nilsen2009-07-131-1/+3
| | | | | | | | | | | | | | | | | | | | | Use QApplication::sendEvent directly instead of calling the static sendMouseMove function, which also calls QTest::mouseMove. This test failed with spy.count() being 2 instead of 1 (which is correct since we both use QTest::mouseMove and QApplication::sendEvent).
| * | Fix broken tst_QGraphicsItem::sorting.Bjoern Erik Nilsen2009-07-131-1/+2
| | | | | | | | | | | | | | | A top-level window on Windows cannot have a smaller width than 120. Increase the width by 20 and expect another row of items to be painted.
| * | Fixes autotest to match the new code (db level precisionPolicy).Bill King2009-07-131-1/+1
| | |
| * | Fixes up the autotest for mysql over ODBC connection.Bill King2009-07-131-2/+2
| | |
| * | Merge commit 'origin/4.5'Bill King2009-07-138-55/+264
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | Conflicts: src/plugins/kbddrivers/usb/main.cpp tests/auto/qnetworkreply/tst_qnetworkreply.cpp tests/auto/qwidget/tst_qwidget.cpp
| | * Fixes failure when table has null fields to updateBill King2009-07-131-0/+62
| | | | | | | | | | | | | | | | | | | | | Fixes an issue where too many parameters are bound when updating QSqlTableModel where the stored record has NULLs in it. Reviewed-by: Justin McPherson
| | * Fixed a crash with input methodsPierre Rossi2009-07-101-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | The inputContext's focusWidget was not reset when disabling input methods. Thanks to Benjamin P. Task-number: 257832 Reviewed-by: Denis
| | * rewrite makeplurals.sh in perlOswald Buddenhagen2009-07-103-44/+43
| | | | | | | | | | | | ... so it works under windows as well.
| | * make tests independent of PATH contentsOswald Buddenhagen2009-07-103-11/+19
| | | | | | | | | | | | use absolute paths for the tested executables
| | * QNAM: httpDownloadPerformance auto testMarkus Goetz2009-07-091-0/+126
| | | | | | | | | | | | Reviewed-by: Peter Hartmann
| * | Merge commit 'qt/master' into graphicssceneindexBjørn Erik Nilsen2009-07-1093-221/+3206
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gui/graphicsview/qgraphicsitem_p.h tests/auto/qgraphicsproxywidget/tst_qgraphicsproxywidget.cpp tests/auto/qgraphicsview/tst_qgraphicsview.cpp