summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Made uic generate QLayout::setContentsMargin instead of setMargin.Friedemann Kleint2009-06-1654-190/+206
| | | | | With the exception of layout functions, which is too weird. Task-number: 255846
* QSslCertificate: lazy loading of some dataMarkus Goetz2009-06-161-5/+11
| | | | Reviewed-by: Andreas Aardal Hanssen
* smaller optimisation in ::fromTransform() and fromScale()Lars Knoll2009-06-161-4/+6
| | | | | | | We know the type of the transformation in these methods, so there is no point in setting a dirty flag for the type. Reviewed-by: Samuel
* greatly speed up QTransform::mapRect() for projective transformsLars Knoll2009-06-161-11/+5
| | | | | | | | | | | | The code so far was converting the rect to a painterpath, mapping that one and then taking the bounding rect. It is actually sufficient to simply map the four corners of the rectangle and take the bounding rect of these four points even in the projective case. Fix the MAP macro to be more correct for degenerated projective transformations. Reviewed-By: Samuel
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtMorten Sørvig2009-06-1621-66/+135
|\
| * doc: Added info on two ways to customize the style.Martin Smith2009-06-163-10/+49
| |
| * attempt to compile on solarisKent Hansen2009-06-161-2/+2
| |
| * We should make sure the text cursor is visible when using input methods.Denis Dzyubenko2009-06-162-0/+2
| | | | | | | | | | | | | | | | | | When typing directly text cursor is always visible (and if it isn't, the widget automatically scrolls to make it visible). It should work the same when typing using input methods. Task-number: 254766 Reviewed-by: trustme
| * Fix for resetting DESKTOP_STARTUP_ID envvar.Denis Dzyubenko2009-06-162-16/+3
| | | | | | | | | | | | | | | | | | | | | | That was wrong to reset environment variable returned with a putenv since getenv returns a value only. This fix reverts to old behavior when unsetenv is not available and will leak 20 bytes once on qapplication initialization. This fixes 2f4ca8e06be0477503acf2a4bf38a1c76f52e5b1. Reviewed-by: Bradley T. Hughes
| * 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
* | Implement QMenu::separatorsCollapsible on Mac/Cocoa.Morten Sørvig2009-06-162-12/+52
|/ | | | | | | | | | Hide duplicate separators and separators at the beginning and end of the menu. The main challenge here is that separators and "normal" menu items can be added in any order, for example add all the separators first and then fill in the items. This means that we have to redo the visibility decision for separators above and below when adding normal items. Reviewed-by: Prasanth Ullattil
* 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
* Updated WebKit from /home/shausman/src/webkit/trunk to ↵Simon Hausmann2009-06-152798-92516/+236605
| | | | qtwebkit-4.6-snapshot-15062009 ( 65232bf00dc494ebfd978f998c88f58d18ecce1e )
* Lock down src/3rdparty/webkit to a specific tag.Simon Hausmann2009-06-151-1/+9
| | | | | | | Also removed some unused files from the import. Reviewed-by: Tor Arne Reviewed-by: Kent Hansen
* Add detailed warning when idc fails.Prasanth Ullattil2009-06-151-0/+3
| | | | | | | When idc fails to dump IDL, the input executable name is now displayed on the commnad line. Reviewed-by:TrustMe
* Sync application example documentation with actual examplemae2009-06-151-8/+8
| | | | | | The example now uses QPlainTextEdit instead of QTextEdit Reviewed-by: kavindra
* Fix QPlainTextEdit auto testmae2009-06-151-1/+1
| | | | | Width 0 was used as magic value to optimize the widget's startup and initial resize. We now use the illegal value -1 as magic value insetad.
* Fixed minor doc typos.jasplin2009-06-151-3/+3
| | | | Reviewed-by: TrustMe