summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fix tst_qlocalsocket::readBufferOverflow for Windows CEJoerg Bornemann2009-08-061-3/+6
| | | | | | | The TCP socket must get the chance to read data into its read buffer after the first read operation emptied it. Reviewed-by: thartman
* fix warning in tst_qlocalsocketJoerg Bornemann2009-08-061-0/+1
| | | | Reviewed-by: thartman
* Fix a bug in QProcess. QProcess was not reentrant on UnixBenjamin Poulain2009-08-062-2/+12
| | | | | | | | | QProcess is supposed to be reentrant but was not on Unix. The constructor of QProcessManager could be exectued several time when QProcess is created. The construction is now protected by a mutex. Task-number: 254246 Reviewed-by: Olivier Goffart
* Fix warnings on mingwThierry Bastian2009-08-061-3/+3
| | | | mingw doesn't support format with %llu or %ll. So I used a QString
* multimedia: fix warnings on mingwThierry Bastian2009-08-064-4/+3
| | | | | moved static CRITICAL_SECTIONs to cpp files. In header they would be declared more than once depending on what file includes those headers.
* build fix for mingwThierry Bastian2009-08-061-0/+1
| | | | getQApplicationPrivateInternal was not declared
* Fix compile on WindowsJens Bache-Wiig2009-08-061-1/+1
| | | | Reviewed-by: jesper
* nicer way to deal with missing support for template class friendsOswald Buddenhagen2009-08-062-4/+13
|
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtFriedemann Kleint2009-08-062-13/+51
|\
| * Cocoa: Add support for native gesturesRichard Moe Gustavsen2009-08-062-13/+51
| | | | | | | | Cocoa: Add support for native gestures
* | Designer: Cannot edit menus in an RTL form when Designer uses LTR.Friedemann Kleint2009-08-069-62/+114
|/ | | | | | | | | | | Use widget->layoutDirection() instead of QApplication::layoutDirection() where applicable, which caused it to break for the case that Designer's layoutDirection does not match that of a widget [property]. In addition, position the submenu correctly on the left side in the case of RTL. Reviewed-by: Jarek Kobus <jkobus@trolltech.com> Task-number: 259238
* Fix warnings on MSVCThierry Bastian2009-08-062-2/+2
|
* implement name() function of custom property iteratorKent Hansen2009-08-061-1/+1
|
* make the calculator example use only standard JSKent Hansen2009-08-061-45/+62
| | | | __qt_sender__ is evil. Gah.
* Fix test failure in tst_QDateTimeEdit::task118867Eskil Abrahamsen Blomfeldt2009-08-061-1/+1
| | | | | | | setCursorPosition() should be able to set the cursor at the end of the string. This is a copy-paste error made when refactoring QLineEdit. Reviewed-by: Gunnar
* qdoc: Don't include internal or private classes in annotated lists.Martin Smith2009-08-061-1/+2
|
* Fix QObjectRace testOlivier Goffart2009-08-061-1/+1
| | | | We should not unlock too early, or node might get deleted.
* Fixes autotests in QTreeWidget: setHeaderItem & defaultRowSizesLeonardo Sobral Cunha2009-08-061-4/+9
| | | | | | defaultRowSizes was broken on oxygen style because of missing icons. Reviewed-by: paul
* Make sure cursorPositionChanged is emitted when cursor position changesEskil Abrahamsen Blomfeldt2009-08-061-0/+1
| | | | | | | | | | | When selecting the text and setting the cursor position, we need to emit the cursorPositionChanged signal. This seems to be a copy-paste error from refactoring QLineEdit, as the function call is there in the original version of setSelection(). The effect was two test breakages in tst_QDateTimeEdit, because the section and cursor position of the QDateTimeEdit would be out of sync. Reviewed-by: Gunnar
* Delay too short after fullscreen window shown.Gabriel de Dietrich2009-08-061-2/+1
|
* Fix QXmlQuery autotestsPeter Hartmann2009-08-062-15/+21
| | | | | | | | before, it asserted; now, the test is not asserting anymore but still failing, because the fix is not yet checked in. Additionally, it now runs from a shadow directory. Reviewed-by: TrustMe
* Fixes autotests in QFileSystemWatcher: watchFileAndItsDirectoryLeonardo Sobral Cunha2009-08-061-2/+20
| | | | | | | | dnotify is something from older linux kernels and cannot be trusted, therefore we skip some tests. Also we cannot guarantee that 1 operation on the file give only 1 notification in general, so we relaxed the conditions. Reviewed-by: paul
* QMenuBar: autotests fixedThierry Bastian2009-08-061-9/+5
| | | | | Apperently we don't get the leave event when simply moving the mouse with the testlib
* QMenuBar: we can't test the action geometries when it is nativeThierry Bastian2009-08-062-0/+6
|
* qdoc: Fixed a Windows crash in HtmlGenerator::generateCompactList().Martin Smith2009-08-061-26/+17
|
* QStandardItem::takeRow() would crash when it had no columns.Gabriel de Dietrich2009-08-061-8/+10
| | | | Reviewed-by: olivier
* Fixed compilation of the gestures/imagewidget example.Denis Dzyubenko2009-08-063-12/+35
| | | | | | | Also improved an example a bit to optionally support TapAndHold gesture with plain mouse events. Reviewed-by: trustme
* Skip tst_QWindowSurface::flushOutsidePaintEvent() when using composition managerJocelyn Turcotte2009-08-061-0/+6
| | | | | | | The first VERIFY_COLOR(w.geometry(), w.color); call was failing because the window was mapped but not yet painted on the screen. Reviewed-by: Bradley T. Hughes
* ignore someOswald Buddenhagen2009-08-063-0/+8
|
* Make sure QWidget::setStyle() relayouts its children.Jan-Arve Sæther2009-08-062-2/+3
| | | | | | | | | | | | Changing a style on a widget should invalidate the widget's layout, since the layouts spacings and margins may depend on the style. One optimization could be to check to see if the spacing and margins have changed due to the style change, but the old style is not available in changeEvent, so we'll keep it simple for now. RevBy: paul Task: 256986
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtAriya Hidayat2009-08-06104-216/+246
|\
| * QMenu: small little code simplificationThierry Bastian2009-08-061-12/+5
| | | | | | | | Reviewed-by: trustme
| * QMenu: fixed a menu poppping up behind the menubarThierry Bastian2009-08-061-1/+2
| |
| * Fix QMacStyle subControlRect()-reporting for CC_SpinBoxTor Arne Vestbø2009-08-061-3/+9
| | | | | | | | | | | | | | | | | | The mac style ignored the QAbstractSpinBox::NoButtons flag for the SC_SpinBoxEditField sub-control, effectivly always making room for the spinner buttons. Now it's in line with both the Cleanlooks style and the Windows (common) style. Reviewed-by: Jens Bache-Wiig <jbache@trolltech.com>
| * lalala ... forgot to add test dataOswald Buddenhagen2009-08-061-0/+21
| |
| * Tests: Adapted uic baseline to 33604fb02fa463f36fa78e515bb42a34a746f0f2Friedemann Kleint2009-08-06100-200/+200
| |
| * QMenu could return wrong geometries for its actionsThierry Bastian2009-08-061-0/+2
| | | | | | | | | | We needed to call ensurePolished before updating the action rects.
| * QMenu: fix multi column autotest for styles which don't support itThierry Bastian2009-08-061-0/+7
| |
* | Added example that uses WebKit to capture Web page frames.Andre Pedralho2009-08-064-0/+278
|/ | | | | | | | | | The framecapture is based on GraphicsDojo/WebCapture and shows how to use WebKit toolkit to capture a web page and save its internal frames in different image files using the new property QWebFrame::clipRenderToViewPort. Merge-request: 1103 Reviewed-by: Ariya Hidayat <ariya.hidayat@nokia.com>
* Faster quaternion multiplications.Ariya Hidayat2009-08-061-18/+11
| | | | | | | | | | | | | Use the known factorization trick to speed-up quaternion multiplication. Now we need only 9 floating-point multiplications, instead of 16 (but at the cost of extra additions and subtractions). Callgrind shows that the function now takes 299 instructions instead of 318 instructions, which is not a big win. However I assume the speed-up has a better effect for mobile CPU, where multiplications are more expensive. Reviewed-by: Rhys Weatherley
* task256322_highlight() failed due to lack of delays before QVERIFYs.Gabriel de Dietrich2009-08-061-5/+8
| | | | | | Last QVERIFY still failing. Reviewed-by: olivier
* Compile fix for gestures.Denis Dzyubenko2009-08-061-5/+4
| | | | Reviewed-by: trustme
* Support _NET_WORKAREA on Xinerama setups in QDesktopWidgetBradley T. Hughes2009-08-062-10/+28
| | | | | | | Instead of ignoring _NET_WORKAREA, merge it with each screen geometry to give a meaningful availableGeometry() for all screens. Reviewed-by: denis
* Fixes a regression in qwidget when setting a large minimum size.Denis Dzyubenko2009-08-061-9/+9
| | | | | | | | | Setting a minimum size to a value that is larger then the biggest allowed widget size, we should costrain the widget to that max allowed size as we did before. Change 6a2621b6832dbdd349f77cf1f3242b4a6ba3c740 broke it. Reviewed-by: Bradley T. Hughes
* Added some debug output to the qdesktopwidget manualtestDenis Dzyubenko2009-08-061-0/+31
| | | | | | | To make sure we don't receive same signals several times from a QDesktopWidget, added the debug output whenever the signal is emitted. Reviewed-by: trustme
* Small fix for native gestures on windows.Denis Dzyubenko2009-08-061-7/+2
| | | | | | We should close the gestureinfo handle only we managed to open successfully. Reviewed-by: trustme
* Enable pan gesture on all QAbstractScrollArea-based widgets.Denis Dzyubenko2009-08-067-29/+40
| | | | | | | | | Two-finger panning will work on all QAbstractScrollArea based widgets, however single-finger panning will be enabled only on some special widgets that always wants it - for example we don't want it on QGraphicsView, and we might want it on itemviews *sometimes*. Reviewed-by: trustme
* Changed setting state in a QGestureDenis Dzyubenko2009-08-064-40/+55
| | | | | | | | | | | | Instead of having a protected setter for the state and forcing the application developer to emit signals manually (which leads to misunderstanding - i.e. if the started() signal should be emitted only once, or of the triggered() signal should be emitted before the finished() signal, etc). So I've added an protected updateState(state) function that sets the internal state and emits appropriate signals depending on the old and new states. Reviewed-by: Volker Hilsheimer Reviewed-by: Richard Moe Gustavsen
* Rearranged the gesture code a bit for future native gestures on Windows.Denis Dzyubenko2009-08-069-45/+80
| | | | | | | | Moved the code that subscribes to native gestures on Windows to a private function in QWidget which will check which gestures the widget is subscribed to and enable native gestures as requested. Reviewed-by: trustme
* Fix the setStyleShouldChangeSpacing test function for Mac.Olivier Goffart2009-08-061-0/+2
|