summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added missing precision specifiers to custom shader effect.Samuel Rødal2009-08-265-9/+9
| | | | | | The precision specifiers need to be there on OpenGL ES 2.0. Reviewed-by: Tom
* implement proxying of JSObject::putWithAttributes() on Global ObjectKent Hansen2009-08-263-0/+38
| | | | | | Otherwise the property is stored on the wrong object (the proxy). This fix makes the Qt bindings generated by qtscriptgenerator work again.
* Removing FONT_OUTLINE_TWEAK from the deform demoAlessandro Portale2009-08-261-12/+0
| | | | | | | | | | That -no obsolete- tweak was mainly there because S60FontEngine was originally not returning glyph outlines. Task-number: 259979 Reviewed-by: jbarron modified: demos/deform/pathdeform.cpp
* Update auto-test after 97cec103793a4b9aae8337ffc2ce9a2bd98fb5fcBjørn Erik Nilsen2009-08-261-19/+24
| | | | | We replaced the convolution filter in the drop shadow effect with a blur filter; we have to update the test accordingly.
* Doc - Completed review of documentation for the QGraphicsEffect group ofKavindra Devi Palaraja2009-08-261-77/+95
| | | | | | classes Reviewed-By: TrustMe
* Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Jason McDonald2009-08-261-1/+3
|\
| * Fix warning.Olivier Goffart2009-08-261-1/+3
| | | | | | | | | | | | The member need to be initialized in the same order as in which they are declared Reviewed-by: Thierry
* | Fix duplicated license headers.Jason McDonald2009-08-2612-492/+0
|/ | | | Reviewed-by: Trust Me
* Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Jason McDonald2009-08-2661-130/+255
|\
| * Fixed compilation on gcc 3.3 and mutex locker lifetimeThorbjørn Lindeijer2009-08-261-1/+1
| | | | | | | | | | | | | | This fixes the lifetime of the mutex locker, since before it would already be destroyed on the next line. Reviewed-by: Olivier Goffart <olivier.goffart@trolltech.com>
| * Fix "We mean it." comments in graphicsviewOlivier Goffart2009-08-2610-20/+20
| |
| * fix warnings on Windows CEJoerg Bornemann2009-08-266-4/+11
| | | | | | | | | | | | | | Lots of warnings in the qreal == float case. Some Q_UNUSED added. Reviewed-by: thartman
| * remove some platform-specific expected failures in JS testsuiteKent Hansen2009-08-261-47/+0
| | | | | | | | | | | | These might work with the new JavaScriptCore-based back-end. Will re-add any expected failures once the autotest results are in from the platforms tested on Pulse.
| * 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 the 'effects' examples compile when qreal == float.Jason Barron2009-08-262-2/+2
| | | | | | | | | | | | | | | | | | All of the types supplied to qBound() must be the same and in the case where qreal is typedef'ed to a float, this is not the case because the outer 2 arguments are considered doubles. We explicitly cast them to qreal to guarantee they are all the same type. Reviewed-by: bnilsen
| * Skip the 'symbian' tests on other platforms.Jason Barron2009-08-261-1/+3
| | | | | | | | | | | | | | Add "requires(symbian)" to the .pro file so this test will not be executed on other platforms. Reviewed-by: Rohan McGovern
| * Regression found in 4.5.2 and 4.6: artifacts when scrolling during animation.Gabriel de Dietrich2009-08-261-0/+60
| | | | | | | | | | | | | | Auto-test submitted. Task-number: 259503 Reviewed-by: bnilsen
| * 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-266-13/+29
| | | | | | | | | | | | | | 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 license headers.Jason McDonald2009-08-2612-328/+164
|/ | | | Reviewed-by: Trust Me
* 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
* Fix a leak in the stylesheet textOlivier Goffart2009-08-251-3/+4
| | | | Also include some spaces fix
* 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-253-15/+10
| | | | | | | 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-252-2/+55
| | | | | | | | 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