summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Doc: Use new APIs in example and correct documentation regarding replacement.Volker Hilsheimer2009-07-313-8/+31
|
* Export symbol used in QtGui.Volker Hilsheimer2009-07-311-1/+5
| | | | Reviewed-by: Kent Hansen
* QCheckBox on an out-of-process server wont allow <SPACE> key & FocusPrasanth Ullattil2009-07-313-43/+90
| | | | | | | | | | | | | | | | | | | rect is not drawn correctly. Depending on the type of server, QAxClientSite::TranslateAccelerator() needs to process the message differently. For ActiveQt based in-process-servers, only normal Qt event handling is required. For ActiveQt based out-of-process-servers, the message has to be forwarded and Qt event handling needs to continue. For all other type of servers, forward the message and stop Qt event processing. Styles use the WA_KeyboardFocusChange attribute set on the window to decide on drawing the focus rect. ActiveQt handles the VK_TAB key in the QAxServerBase::TranslateAcceleratorW(), the attibute is now set when focus is changed. Task-number: 253763 Reviewed-by: Volker Hilsheimer
* Crash DirectFb plugin when resizing verticalyJørgen Lind2009-07-311-2/+4
| | | | | | | QRasterPaintEngine assumes device does not change size. Therefore create a new engine when resizing. Reviewed-by: Tom
* Assistant: Performance fixes for help generator's pattern matching.ck2009-07-311-7/+36
| | | | | | Reading a help project was unacceptably slow with pattern matching. Now we do it only for filenames that contain wildcard symbols. Also, we cache the results of QDir::entryList() calls.
* Doc: fix warnings.Volker Hilsheimer2009-07-312-1/+3
|
* compileKent Hansen2009-07-311-1/+1
| | | | | Broke on WinCE since QStateMachinePrivate is now using Q_AUTOTEST_EXPORT.
* Revert "Small simplification of code in ItemViews (delegate)"Olivier Goffart2009-07-312-6/+12
| | | | | | | | | | | | | This reverts commit 95560abfdd3a1755b69f238eff2954d164dff6a5. Fix comboboxes used as editor. isAncestor() stops at windows. we want to go tought the whole widget chain, including parent windows Use case: examples/itemviews/coloreditorfactory/coloreditorfactory Task-number: 259034
* Fix compilation: add #include <new> if placement new is usedThiago Macieira2009-07-311-0/+7
| | | | | | | | | | | | I'm not sure this is the proper fix, though. xlC 7 complains with: "/usr/vacpp/include/new", line 97.10: 1540-1298 (I) "void *operator new(size_t, void *) throw()" needs to be declared in the containing scope to be found by name lookup. Also add some calculations to the padding in the data structure. Reviewed-by: Trust Me
* add private goToState() function to state machineKent Hansen2009-07-313-7/+138
| | | | Needed for Declarative UI integration.
* Fix internal documentation after QUrl change.kh2009-07-315-5/+5
| | | | Reviewed-by: kh
* remove const from QSignalEvent::sender*Kent Hansen2009-07-313-6/+6
| | | | | QObject::sender() does not return const QObject*, so neither should this API; it just forces you to const_cast for no good reason.
* Doc: Fixed a snippet bug in QFileInfoGeir Vattekar2009-07-311-3/+3
| | | | | Task-number: 258371 Reviewed-by: Trust Me
* Fix compilation with xlC 7: operands to ?: must match.Thiago Macieira2009-07-311-2/+2
| | | | | | See 3ae2cab9c8bd1790a00da2755ac036143a3a35f4 for another similar fix. Reviewed-by: Trust Me
* Compile on HP-UXiBradley T. Hughes2009-07-312-3/+4
| | | | | | | | | | There is no monotonic clock support on HP-UXi at all, and the _POSIX_MONOTONIC_CLOCK macro is not defined at all (not even to -1). We handle this in the event dispatcher, but not in qcore_unix.cpp. Since the monotonic clock time code has moved, the define of _POSIX_MONOTONIC_CLOCK to -1 should also move. Reviewed-by: thiago
* test that activation and this-object can be inherited from parent contextKent Hansen2009-07-311-0/+30
|
* Show open directory dialog for new gesture exampleRichard Moe Gustavsen2009-07-311-0/+3
| | | | RevBy: denis
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtAaron Kennedy2009-07-31139-3451/+4562
|\
| * Fixed corrupt testlogs on Windows and other places where vsnprintf isRohan McGovern2009-07-311-3/+4
| | | | | | | | | | | | | | | | | | | | not C99-compliant. C99 says vsnprintf returns >= `size' when not enough memory was available. In practice, on Windows, glibc < 2.0.6, and probably plenty of other places it returns -1 instead. Reviewed-by: Rhys Weatherley
| * Docs: Improve QGraphicsTransform and subclassesAndreas Aardal Hanssen2009-07-315-191/+327
| | | | | | | | | | | | | | | | Fix a few typos and add more descriptive documentation to the class itself and its subclasses. Reviewed-by: Volker Hilsheimer Reviewed-by: Martin Smith
| * API documentation moved into the classes subdirectoryVolker Hilsheimer2009-07-301-0/+0
| |
| * Doc: there is no group of explicitly shared classes, only one class uses this.Volker Hilsheimer2009-07-304-116/+156
| | | | | | | | | | Explain the implications in the QWebHistoryItem documentation, and get rid of the "group".
| * Disabling the close button didn't work correctlyDenis Dzyubenko2009-07-301-10/+11
| | | | | | | | | | | | | | | | | | | | Close button was enabled if the native window handle was created implicitely (for example by the setWindowTitle() function). Moved the code that enables of disables the close button to the place where we create native window handle. Task-number: 256360 Reviewed-by: trustme
| * Allow maximize button on the titlebar for a fixed size windowDenis Dzyubenko2009-07-301-0/+5
| | | | | | | | | | | | | | | | | | On Windows we will add maximize button to the titlebar even if the window has a fixed size if the user explicitely asked for it by setting Qt::CustomizeWindowHint | Qt::WindowMaximizeButtonHint. Task-number: 250188 Reviewed-by: Leonardo Sobral Cunha
| * Added the windowflags manualtest which is based on the windowflags example.Denis Dzyubenko2009-07-306-0/+662
| |
| * Added an ability to remove size constraints from a widget.Denis Dzyubenko2009-07-301-6/+15
| | | | | | | | | | | | | | | | QWidget::setFixedSize() constrains the size of the widget, however there was no way to remove those constraints, so setting the constraints to QWIDGETSIZE_MAX will make the widget resizable again. Reviewed-by: Leonardo Sobral Cunha
| * Autotest: reduce the amout of data transferred to 128 MB, otherwise theThiago Macieira2009-07-301-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | test wouldn't finish. Running under valgrind and slow operating systems, the transfer rate is only a couple of MB per second. As long as you can reach 3.2 MB/s now, it should still work Also, don't kill the thread, for any reason. That causes trouble. Reviewed-by: Markus Goetz
| * Autotest: reorganise the HTTP performance testsThiago Macieira2009-07-301-125/+124
| |
| * Autotest: fix crash caused by deleting a QSharedPointerThiago Macieira2009-07-301-9/+5
| | | | | | | | | | | | | | | | | | | | The delete reply; was introduced by a conflicted merge in the VxWorks port. It should not have appeared. But take this opportunity to convert the two other uses of QNetworkReply* without lifetime management to QSharedPointer too. Reviewed-by: Markus Goetz
| * Do not emit activated and close the popup when the item is not enabled.Benjamin C Meyer2009-07-302-2/+31
| | | | | | | | | | | | | | Autotest: included Merge-request: 378 Reviewed-by: Eskil Abrahamsen Blomfeldt <eblomfel@trolltech.com>
| * fix infinite loop when meeting improper trId()Oswald Buddenhagen2009-07-301-1/+3
| |
| * Fix compilation with xlC 7: operands to ?: must match.Thiago Macieira2009-07-301-1/+1
| | | | | | | | | | | | "../shared/qm.cpp", line 556.45: 1540-0207 (S) No common type found for operands with type "const char [7]" and "QByteArray". Reviewed-by: Trust Me
| * Gestures: fixed install event filter bugRichard Moe Gustavsen2009-07-301-2/+2
| | | | | | | | | | | | made sure that we set the filter on the correct widget RevBy: denis
| * Fix autotests after QUrl change.kh2009-07-3015-25/+25
| | | | | | | | Reviewed-by: kh
| * Fixed font attribute inheritence, text and textArea elements in QtSvg.Kim Motoyoshi Kalland2009-07-307-702/+474
| | | | | | | | | | | | | | | | | | | | Text used to be formatted during the parsing of the SVG file, but because the text can be referenced by a 'use' element, the text formatting is not known at this point in time. Now, font attributes can be inherited from 'use' elements, and the text is formatted each time it is drawn. Reviewed-by: Tor Arne
| * Added support for 'vector-effect' in QtSvg.Kim Motoyoshi Kalland2009-07-301-82/+150
| | | | | | | | | | Task-number: 254040 Reviewed-by: Tor Arne
| * Doc - Fixed a broken link to the Apple Human Interface Guidelines documentKavindra Devi Palaraja2009-07-301-1/+1
| | | | | | | | | | | | Task: 254724 Reviewed-By: TrustMe
| * When there is no alpha channel significantly improve the speed of blendTiled.Benjamin C Meyer2009-07-301-21/+51
| | | | | | | | | | | | | | | | | | | | Copy the first line from the texture to the destination and from then on reference that copy reducing cache misses. Also progressively copy larger sizes, reducing the amount of time spend figuring out what to copy. Merge-request: 371 Reviewed-by: Samuel Rødal <sroedal@trolltech.com>
| * Doc - Some more cleanups to beautify the documentationKavindra Devi Palaraja2009-07-301-39/+38
| | | | | | | | Reviewed-By: TrustMe
| * Doc - Beautifying documentation of autoMaximizeThresholdKavindra Devi Palaraja2009-07-301-8/+9
| | | | | | | | Reviewed-By: Thomas Hartmann
| * Doc: Move class and function documentation into a dedicated directory.Volker Hilsheimer2009-07-3041-1373/+1413
| |
| * updates...Gunnar Sletta2009-07-3016-104/+234
| |
| * Don't do two hash lookups in loadGlyphs()Eskil Abrahamsen Blomfeldt2009-07-301-2/+2
| | | | | | | | | | | | | | | | | | loadGlyphs() has a big impact on text rendering speed on X11. Removing the uneeded hash lookup makes this function go twice as fast, as it in the common case (where the glyphs are already cached) the hash lookups are 100% of the running time of the function. Reviewed-by: Trond
| * Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtMorten Sørvig2009-07-3028-758/+670
| |\
| | * Doc - some cleanups to beautify the paragraphsKavindra Devi Palaraja2009-07-301-6/+6
| | | | | | | | | | | | Reviewed-By: TrustMe
| | * Reviewed-by: Thomas H.Gunnar Sletta2009-07-307-649/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit fcf7e8cab339d0cf9f3f2a9756d7754c54c4d934 Author: Gunnar Sletta <gunnar@trolltech.com> Date: Thu Jul 30 13:15:13 2009 +0200 note in the changes file... commit 2c9c3880215988e6609c290a8e738b228736e601 Author: Gunnar Sletta <gunnar@trolltech.com> Date: Thu Jul 30 12:51:42 2009 +0200 Don't leak native window HRGN handles commit 6bb30d2075dd1d71a8a600d25f413a38af7f2f2c Author: Gunnar Sletta <gunnar@trolltech.com> Date: Thu Jul 30 11:09:22 2009 +0200 Moved qregion_wince.cpp -> qregion_win.cpp, platforms are identical now commit 173fcc5baec73a198167985c6f777987e6015a71 Author: Gunnar Sletta <gunnar@trolltech.com> Date: Thu Jul 30 09:42:06 2009 +0200 win32 calls on QRegion.handle() is no longer supported, use from HRGN commit d7ddcce4ba29b70ed81f85274208b388a2bb9d4d Author: Gunnar Sletta <gunnar@trolltech.com> Date: Thu Jul 30 09:41:37 2009 +0200 Added convenience function to convert from HRGN to QRegion commit 2fc53ac3d59a9c42bb4154fff7557610092b7946 Author: Gunnar Sletta <gunnar@trolltech.com> Date: Wed Jul 29 09:28:10 2009 +0200 Kill qregion_win.cpp and use the unix code instead
| | * Fix compilation on AIX: -I/usr/include cannot be used.Thiago Macieira2009-07-301-9/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The reason is that the C++ compiler needs to add -I/usr/vacpp/include before -I/usr/include, so our adding of -I/usr/include changes the order. This causes a compilation error in the C++ header xlocinfo.h. In any case, these checks done in qmake are unnecessary. If the OpenSSL headers are in one of those include paths, they will be found on their own already. Reviewed-By: Bradley T. Hughes
| | * Revert "Avoids comparing a pointer (d->layout) after deleted in qgraphicswidget"Leonardo Sobral Cunha2009-07-301-1/+1
| | | | | | | | | | | | | | | | | | | | | This reverts commit e181f8754bccb13cb59212f279e05c20cb76db62. This code is used for compatibility issues for custom layouts that dont delete their children, so its a false positive from coverity.
| | * Avoids comparing a pointer (d->layout) after deleted in qgraphicswidgetLeonardo Sobral Cunha2009-07-301-1/+1
| | | | | | | | | | | | Reviewed-by: ogoffart
| | * fix two bugs in the custom script class exampleKent Hansen2009-07-302-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | 1) fromScriptValue() needs to call qvariant_cast() on the data, in order to be symmetric with toScriptValue(). 2) use the overload of newFunction() that takes a prototype object, so that the prototype.constructor and constructor.prototype relationship is set up correctly; otherwise the instanceof operator won't work.