summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* QXmlSimpleReader: fix crashFrank Osterfeld2009-08-261-2/+4
| | | | | | | | | | | | | Don't crash when parsing "<?xml version=\"1.0\" encoding=\"iso-8859-1\" ?><guid><http://www.foo.dk/artikel/8938</guid>" (unmatched "< tag followed by "foo:") using QDomDocument::setContent together with a QXmlSimpleReader with the "http://xml.org/sax/features/namespaces" feature enabled. Fixes task tracker issue 254700. See there for a test case. Merge-request: 1322 Reviewed-by: Peter Hartmann <peter.hartmann@trolltech.com>
* Make QWS compile with namespacesPaul Olav Tvete2009-08-2617-35/+66
| | | | Reviewed-by: hjk
* Fixed clipping bug in GL 2 paint engine (visible in arthur demos).Samuel Rødal2009-08-261-1/+1
| | | | | | | | | | QVectorPath::hints() is not a strict bit field, and thus can not be anded with RectangleHint. Instead, QVectorPath::shape() should be directly compared with RectangleHint to check if the vector path is a rectangle or not. In this case the first four points of a regular painter path were treated as a rectangle with dire consequences. Reviewed-by: Tom
* QLineEdit: reenable the delete action from the context menuThierry Bastian2009-08-265-13/+2
| | | | | | | We now need to connect to the slot in the QLineControl and not to the slot of the QLineEdit (the QLineEdit slot is now also removed). Reviewed-by: Alan Alpert
* compile fix with namespaceshjk2009-08-2613-1/+48
| | | | 13 pairs missing...
* Cocoa, the menus can be disabled after a modal dialogRichard Moe Gustavsen2009-08-261-3/+10
| | | | | | | | | | | | | | | Why this happends is a bit blurry. From before, I know that cocoa is a bit buggy regarding setting a menu item hidden or not. The solution back then resulted in the function syncNSMenuItemEnabled in qmenu_mac.mm. This patch basically applies the same (silly) trick; disabling the menuitem before enabling it. This seems to force an update to the menu items enabled state. For the record: this is not a fix that I embrace. I hope we can remove it again some day. See task for how to reproduce. Task: 259600 Rev-By: alexis
* Fix another minor copy'n'paste error from QLineControl refactoringAlan Alpert2009-08-261-2/+2
| | | | | | | | Had left the cursor flash time as half the QApplication cursor flash time by mistake. The new function sets the whole period and not just the time between toggling cursor visibility. Reviewed-by: Trust Me
* Make IDirectFBImageProvider enabled by defaultAnders Bakken2009-08-252-3/+3
| | | | | | | To prevent using IDirectFBImageProviders one can define QT_NO_DIRECTFB_IMAGEPROVIDER Reviewed-by: Donald Carr <donald.carr@nokia.com>
* Ensure that windows are double buffered in DFBAnders Bakken2009-08-251-1/+1
| | | | Reviewed-by: Donald Carr <donald.carr@nokia.com>
* Render cursor with a window in dfb if desiredAnders Bakken2009-08-253-4/+171
| | | | | | | | Some DFB implementations do not support rendering the cursor using the intended interfaces. In these cases one can define QT_DIRECTFB_WINDOW_AS_CURSOR and use a window to render the cursor. Reviewed-by: Donald Carr <donald.carr@nokia.com>
* Implement support for keeping image provider aliveAnders Bakken2009-08-254-1/+42
| | | | | | | | | | | If you define QT_DIRECTFB_IMAGEPROVIDER_KEEPALIVE we make sure atleast one IDirectFBImageProvider is alive at all times. Apparently this is refcounted by DirectFB on atleast one implementation and there's considerable overhead involved when releasing the last/creating the first image provider. Reviewed-by: TrustMe
* Implement support for DirectFB image providersAnders Bakken2009-08-254-4/+172
| | | | | | | | | Reimplement QPixmapData::fromFile/fromData to load images using IDirectFBImage providers. This functionality might be accelerated on embedded boards and could have potentially large performance enhancements. Reviewed-by: Donald Carr <donald.carr@nokia.com>
* Optimize QDirectFBPaintDevice::bytesPerLineAnders Bakken2009-08-251-1/+1
| | | | | | | If we actually need it locked we'll probably need it locked for read|write. Reviewed-by: Donald Carr <donald.carr@nokia.com>
* Refactor QDirectFBPaintDevice/QDirectFBPixmapDataAnders Bakken2009-08-258-31/+70
| | | | | | Move format into QDirectFBPaintDevice. Reviewed-by: Donald Carr <donald.carr@nokia.com>
* Doc - Removed a trailing whitespace and more cleanupsKavindra Devi Palaraja2009-08-251-11/+6
| | | | Reviewed-By: TrustMe
* Doc - Reviewing documentation for QGraphicsEffect and QGraphicsEffectSourceKavindra Devi Palaraja2009-08-251-24/+30
| | | | Reviewed-By: TrustMe
* QTableWidget didn't repaint a cell after takeItemThierry Bastian2009-08-251-0/+2
| | | | | | | | The problem was that the mode was not emitting dataChanged. Note: This still needs to be autotested. Task-number: 234641 Reviewed-by: ogoffart
* QWidgetanimator: the animations are children of the widget they animateThierry Bastian2009-08-251-1/+1
| | | | | | This will remove a false pmemleak under valgrind. Reviewed-by: ogoffart
* Fixed documentation and use of incorrect entry point for custom shaders.Samuel Rødal2009-08-252-12/+9
| | | | | | | The entry point has been changed to be customShader, taking source image and texture coordinates as parameters. Reviewed-by: Tom
* Removed warnings / debug output in the GL 2 engine / pixmap filter code.Samuel Rødal2009-08-253-4/+1
| | | | Reviewed-by: Tom
* Micro-optimization in QPainterPath::toFillPolygonsThorbjørn Lindeijer2009-08-251-7/+1
| | | | | | | | QRectF::intersects was optimized as part of the Falcon project, and is now a bit faster than the inline version used here (drawing of dashed lines was measured to take 16% less time). Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
* animations: make sure setCurrentTime is called on all animationsThierry Bastian2009-08-251-2/+5
| | | | | | | | The problem was we were iterating over the list of running animations. And when calling setCurrentTime(<duration>) on one of them they just unregister themselves from the timer and we would miss some of them. Reviewed-by: leo
* Fix use of uninitialized memory in QLineEditOlivier Goffart2009-08-251-3/+3
| | | | Reviewed-by: Thierry
* QListView:: visualRect would return incorrect valuesThierry Bastian2009-08-251-6/+4
| | | | | | | | | | Especially when the widget was not yet shown. Sometimes the rectangle for an item would get truncated to the size of the viewport. That should not happen: we only want to expand it to take the whole height or width of the viewport. Task-number: 243335 Reviewed-by: ogoffart
* Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Friedemann Kleint2009-08-251-0/+1
|\
| * Fix memory leak in QLineEditOlivier Goffart2009-08-251-0/+1
| | | | | | | | | | | | We must not forget to delete the control Reviewed-by: Paul
* | Removed library added by mistake in 91e1f75992a5fa720ad748d8487a44b5a242ca2dFriedemann Kleint2009-08-251-28/+0
|/
* doc: qdoc warning about signal not found.Bjørn Erik Nilsen2009-08-251-1/+1
| | | | QPoint -> QPointF
* Removed redundant QLocale code from QCoeFepInputContext.axis2009-08-253-93/+11
| | | | | | We export one extra private symbol from QtCore instead, and use that. RevBy: Miikka Heikkinen
* Fix the default painter state in QSvgTinyDocument::drawOlivier Goffart2009-08-251-1/+3
| | | | | | Fix the eyes border in plasma Author: Kim
* Mac: respect Qt::AA_MacPluginApplication and disable native menubarRichard Moe Gustavsen2009-08-251-8/+7
| | | | | Adding a second patch to this problem. This patch hooks into an earlier stage in the 'use native' detection
* Make sure we use layoutDirection from the widget and not always the appThierry Bastian2009-08-2514-36/+40
| | | | Task-number: 259331
* Fix taskbar in plasmaOlivier Goffart2009-08-252-0/+7
| | | | Author: Kim
* ItemViews: selection not well kept when new rows appearThierry Bastian2009-08-251-5/+6
| | | | | Task-number: 260134 Reviewed-by: ogoffart
* Added missing variable initialization in QSvgStrokeStyle ctor.Kim Motoyoshi Kalland2009-08-252-5/+7
| | | | | | | The bug this commit fixes was introduced by commit 28ac217b04abaa4d226e43e402c14a88539fca3b. Reviewed-by: Trond
* Some cleanups after code review.Jason Barron2009-08-252-6/+2
| | | | | | Some minor harmless fixes after feedback from code review. Reviewed-by: Espen Riskedal
* Mac: When using Qt as a plugin app, menubars does not workRichard Moe Gustavsen2009-08-251-0/+6
| | | | | | | | | | | It seems like we don't respect the Qt::AA_MacPluginApplication attribute. Setting this attribute means that the native application should control the menu bar. This patch does a check for this, and leaves the menubar alone if its set. We could consider allowing menubars if the Qt::AA_DontUseNativeMenuBar is set (those should placed inside the window) Reviewed-by: msorvig
* Cocoa: bugfix for autocads plugin projectRichard Moe Gustavsen2009-08-253-0/+21
| | | | | | | Seems like the QMacNativeWidget was almost not testet at all. It all breaks down when embedding QLineEdits (with respect to focus). This is a first patch that fixes this issue.
* Remove semi-colon from Q_XXX macros in qgraphicseffect.hBjørn Erik Nilsen2009-08-251-1/+1
| | | | Some compilers don't like them and fail to compile.
* Another memoryleak in QScriptEngineOlivier Goffart2009-08-251-5/+5
| | | | | | | | QScriptValuePrivate released by garbage collector later in ~QScriptEnginePrivate (when destroying the agents) would be added to the freelist and not be released Reviewed-by: Kent Hansen
* Fix valgrind warning (use of uninitialized) in JavaScriptCoreOlivier Goffart2009-08-251-0/+2
| | | | Reviewed-by: Kent Hansen
* Merge commit 'origin/master' into 4.6Jason Barron2009-08-2520-338/+583
|\
| * Update QtCore and QtGui EABI DEF files with recent symbol changesIain2009-08-242-20/+241
| | | | | | | | Reviewed-by: Jason Barron
| * Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt-s60-publicJanne Anttila2009-08-2410-274/+294
| |\
| | * Merge branch 'master' of git@scm.dev.troll.no:qt/qt-s60-publicMiikka Heikkinen2009-08-247-38/+42
| | |\ | | | | | | | | | | | | | | | | Conflicts: src/corelib/io/qfilesystemwatcher_symbian.cpp
| | * \ Merge branch 'master' of git@scm.dev.troll.no:qt/qt-s60-publicMiikka Heikkinen2009-08-24104-687/+43492
| | |\ \ | | | | | | | | | | | | | | | | | | | | Conflicts: src/corelib/io/qfsfileengine_unix.cpp
| | * \ \ Merge branch 'master' of git@scm.dev.troll.no:qt/qt-s60-publicMiikka Heikkinen2009-08-211-1/+1
| | |\ \ \
| | * \ \ \ Merge branch 'master' of git@scm.dev.troll.no:qt/qt-s60-publicMiikka Heikkinen2009-08-21467-37180/+21444
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/corelib/io/qfilesystemwatcher_symbian.cpp src/corelib/io/qfilesystemwatcher_symbian_p.h
| | * | | | | Review inspired changes to Symbian QProcessMiikka Heikkinen2009-08-212-170/+175
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Renamed two classes to conform to Qt conventions - Cosmetic changes. Reviewed-by: Janne Koskinen
| | * | | | | Review inspired changes to Symbian file system watcherMiikka Heikkinen2009-08-212-55/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added retry to failed notification request. - Removed superfluous New method. - Cosmetic changes. Reviewed-by: Janne Koskinen