summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* implement QScriptEngine::installTranslatorFunctions()Kent Hansen2009-06-261-2/+134
|
* make more tests passKent Hansen2009-06-261-18/+44
| | | | | Adjusted some error messages to match JSC, and even found some bugs in the "old" QtScript behavior.
* cleanup, make print() function handle exceptionsKent Hansen2009-06-261-81/+41
|
* implement QScriptValue::isQMetaObject() and QScriptValue::toQMetaObject()Kent Hansen2009-06-262-14/+8
|
* implement QMetaObject bindingsKent Hansen2009-06-266-5/+230
|
* adapt error messages in autotest to JSCKent Hansen2009-06-251-2/+2
| | | | | | JSC has slightly different error messages than the "old" qtscript backend, but we still want the tests to pass (the important thing is that the type of error is the same).
* port some fixes from the "old" qtscript backend to the JSC backendKent Hansen2009-06-251-15/+37
| | | | Makes more tests pass.
* work on signal bindings (connect, disconnect, signal emission)Kent Hansen2009-06-246-90/+439
|
* rename createStructureID() functionKent Hansen2009-06-241-1/+1
| | | | | The JSC function was renamed, so we need to do so too, otherwise we call the function defined in the base class.
* make more qscriptengine tests runKent Hansen2009-06-2410-58/+169
| | | | | Not everything passes but at least nothing asserts anymore, so the test runs to completion.
* preliminary implementation of QScriptValueIterator APIKent Hansen2009-06-232-18/+90
| | | | | Properties in the prototype chain are not ignored like they should be, yet.
* make most of the qscriptvalue tests passKent Hansen2009-06-236-79/+203
| | | | call(), construct() etc.
* enable assertions in JSC by defaultKent Hansen2009-06-231-1/+1
| | | | | It's really needed at this stage to make sure we're not calling JSC functions with bogus arguments etc.
* use JSC::asObject()Kent Hansen2009-06-231-40/+36
|
* toObject({undefined,null}) should return invalid scriptvalueKent Hansen2009-06-231-1/+1
| | | | JSC will throw an error.
* Import JSC-based Qt Script from Kent's tree.Simon Hausmann2009-06-16150-30547/+5820
|
* Updated WebKit from /home/shausman/src/webkit/trunk to ↵Simon Hausmann2009-06-166-15/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | origin/qtwebkit-4.6-staging ( 751940f0f1fb2599250632d7f0a3ead3930466af ) Changes in WebKit since the last update: ++ b/WebKit/qt/ChangeLog 2009-06-16 David Boddie <dboddie@trolltech.com> Reviewed by Simon Hausmann. Doc: Fixed QWebPage::forwardUnsupportedContent documentation and added more information about Web plugins. * Api/qwebpage.cpp: * Api/qwebsettings.cpp: * docs/qtwebkit.qdoc: 2009-06-16 Morten Engvoldsen <morten.engvoldsen@nokia.com> Reviewed by Ariya Hidayat. Clearifying QWebFrame docs Adding docs to toHtml() and toPlainText() * Api/qwebframe.cpp:
* doc: Fixed several qdoc errors.Martin Smith2009-06-166-18/+19
|
* Don't mark ItemHasNoContents items as dirty, ever.Andreas Aardal Hanssen2009-06-161-5/+8
| | | | | | | | | | The QGraphicsItem::ItemHasNoContents flag ensures that we don't have to ever paint this item. So let's not mark it as dirty at all (items are marked as dirty when updated, moved, or transformed). This is a minor optimization. Reviewed-by: bnilsen
* Early exit from QRegion::intersects() if there is only one rect.Andreas Aardal Hanssen2009-06-161-0/+2
| | | | | | | | | | Don't waste cycles with constructing a vector with rectangles if there is only one rectangle in the source region. Same as 36ff1b507bf2d509019ae8ddd638922b09755c6b, but for QRegion::intersects(QRect). Reviewed-by: bnilsen
* Early exit from QRegion::intersects() if there is only one rect.Andreas Aardal Hanssen2009-06-161-0/+2
| | | | | | | | Don't waste cycles with constructing two vectors with rectangles if there is only one rectangle in each of the two regions. Reviewed-by: Lars Reviewed-by: bnilsen
* German translation updateFrederik Schwarzer2009-06-156-139/+139
| | | | | | | | | | - avoid exclamation mark - prefer passive forms ("Tue dies" -> "Dies tun") - unification in wording (Katalogdatei, "QT" -> "Qt", "wollen" -> "möchten") - typos (missing dahes, casing, ...) Merge-request: 680 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* purge dead codeOswald Buddenhagen2009-06-151-18/+4
|
* simplify ending()Oswald Buddenhagen2009-06-151-4/+3
|
* use textedit's signal instead of the textedit's document'sOswald Buddenhagen2009-06-151-4/+3
|
* centralize settingsOswald Buddenhagen2009-06-158-33/+128
|
* make the focus tracking insensitive to loss of actual window focusOswald Buddenhagen2009-06-154-26/+55
|
* greatly simplify exclusive selection handlingOswald Buddenhagen2009-06-154-73/+49
|
* make MessageEditor::activeEditor() & co. return a QTextEdit instead of aOswald Buddenhagen2009-06-152-37/+33
| | | | | | FormWidget all users need that anyway
* don't let comments weaved into strings confuse usOswald Buddenhagen2009-06-151-1/+3
| | | | | | | Task-number: 254260 cherry-picked 941a03814a5f8f7be93425f71ee65a4222d16899 after botched merge from 4.5
* small refactoring so remote debugger can use the same codeKent Hansen2009-06-153-33/+52
|
* add test for task 256184Kent Hansen2009-06-151-0/+14
|
* Optimization: Don't determine the expose if the item is invisible.Andreas Aardal Hanssen2009-06-151-11/+16
| | | | | | | | | | | | | If the item either sets the ItemHasNoContents flag, or if it's invisible but has child items that are not (and ignore parent opacity), then don't bother calculating the item's exposed view rect as the item will not get drawn anyway. This carves down the number of QTransform::mapRect operations by 25% when running the Declarative UI calculator transition. We'll proceed to removing such operations from the markDirty step as well. Reviewed-by: bnilsen
* add a bunch of qtscript autotestsKent Hansen2009-06-156-2/+232
| | | | Get that code coverage up.
* Fix build error on Mac (Cocoa 64)Prasanth Ullattil2009-06-151-1/+1
| | | | | | | Using QSQLLEN instead of SQLINTEGER, similar to the one used in qGetIntData(). Reviewed-by: Jens Bache-Wiig
* don't try to delete script object snapshots when debugger front-end is deletedKent Hansen2009-06-151-1/+0
| | | | | | | | | | The locals model is technically part of the debugger front-end. When it's deleted we will have detached (or are in the process of detaching) from the debugger target anyway, which means that the object snapshots will be cleaned up by the back-end itself. In any case we shouldn't be sending debugger commands from a destructor, since we're not in a stable state. For in-process debugging, we were lucky and this magically worked, but for out-of-process debugging it caused the debugger to crash.
* Disabled the use of VERSION_1_3 GLX functions on HPUX.Carlos Manuel Duclos Vergara2009-06-151-4/+8
| | | | | | This is a compilation fix reported by pulse agent on HPUXi. Reviewed-by: Samuel
* small refactoringKent Hansen2009-06-151-7/+10
| | | | Preparing to make it work with remote debugging.
* doc: First review of QProxyStyle doc; mainly just corrected qdoc errors.Martin Smith2009-06-152-47/+97
|
* Fix build on windows.Prasanth Ullattil2009-06-151-1/+1
| | | | Reviewed-by: TrustMe
* Deactivate the low level POSIX bench on WindowsAlexis Menard2009-06-151-0/+2
|
* Fix build on WindowsAlexis Menard2009-06-151-1/+1
| | | | Reviewed-by:TrustMe
* implement equality operator in a more sane wayLars Knoll2009-06-155-6/+57
| | | | | | | | | | | | Using qFuzzyCompare for checking whether two transformations are equal doesn't give us too much and is inconsistent with our other matrix classes. Using simple floating point equality is a lot faster as well. Added qFuzzyCompare overloads for QMatrix and QTransform to still allow for fuzzy comparisons. Reviewed-By: Samuel Rødal
* Improve the speed of QDir, QFileInfo and QDirIterator.Alexis Menard2009-06-157-69/+165
| | | | | | | | | | | | | | This patch basically avoid to call too often currentFileInfo in QDirIterator. It replaces the QHash that was overkill in QFileInfo for caching filenames. The last part is reordering the matchesFilter to avoid stat as much as possible by using the power of && and filters that are set on QDirIterator. And it fixes some random "mistake". I have added a benchmark in QDir which test some use case with 10000 files in a dir. Written-with: Benjamin Reviewed-by: phartman
* Enabled switching multisampling on/off in GL2 engine on desktop.Samuel Rødal2009-06-151-0/+14
| | | | | | | Switching multisampling is not supported in GLES 2.0, but it's supported in GL 2.0 so we should do it on desktop at least. Reviewed-by: Trond
* Re-enabled GL pixmap backend and window surface to work without GL2.Samuel Rødal2009-06-153-1/+15
| | | | | | | GL window surface and GL pixmap backend should work with old GL engine as well, though not supported to the same degree. Reviewed-by: Trond
* doc: Fixed several qdoc warnings.Martin Smith2009-06-151-1/+1
|
* Added a code snippet for QProxyStyleJens Bache-Wiig2009-06-151-0/+15
|
* Ported the FormExtractor example to use the new QWebElementSimon Hausmann2009-06-153-32/+25
| | | | Reviewed-by: Tor Arne
* Added new qwebkit autotests.Simon Hausmann2009-06-157-1/+121
| | | | Reviewed-by: Tor Arne