summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
| | * Merge branch 'texture_from_pixmap'Tom Cooksey2009-07-3016-142/+586
| | |\
| | | * Fix build on Solaris x86 with old Mesa glx headersTom Cooksey2009-07-291-5/+8
| | | |
| | | * Support EGL_NOKIA_texture_from_pixmap on HarmattanTom Cooksey2009-07-291-8/+163
| | | | | | | | | | | | | | | | | | | | Added QGLContextPrivate::bindTextureFromNativePixmap() implementation for X11/EGL.
| | | * Add a getter to QEglContext for the EGL extension stringTom Cooksey2009-07-292-0/+14
| | | | | | | | | | | | | | | | Reviewed-By: Rhys Weatherley
| | | * Refactor texture_from_pixmap to not re-create the gl surface each bindTom Cooksey2009-07-295-88/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make a clear seperation between the GL texture and the GLX pixmap. A GLXPixmap is valid in any GL context and thus does not need to be re-created every time the pixmap has changed. Reviewed-By: Samuel
| | | * Move uninit & readonly into a flags member of QX11PixmapDataTom Cooksey2009-07-294-18/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also add 2 new flags and a new member to store any GL bound pixmap surface (GLXPixmap or EGLPixmapSurface). Reviewed-By: Samuel
| | | * Refactor QImage/QPixmap cleanup hooks into a seperate classTom Cooksey2009-07-288-37/+238
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The new class alows more than one hook to be installed at a time and, for QPixmaps, the hook is told which pixmap is getting deleted. Reviewed-By: Samuel
| | * | parse Q_INVOKABLE explicit constructorsOlivier Goffart2009-07-302-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | regression introduced in e43eae35 because the code of maybeParseFunction and parseFunction is not exactly the same. Reviewed-by: Kent Hansen
| * | | Mac/Carbon: Fix issue causing update(QRegion) to fail on large widgets.Morten Sørvig2009-07-303-1/+45
| |/ / | | | | | | | | | | | | | | | | | | | | | HIViewSetNeedsDisplayInRegion fails on large regions with large coordinates, fall back on updating the entire region in this case. The task mentions coordinates outside the range of signed short, but the provided example demonstrates failures in the 10-20K range as well.
| * | Start implementing Mac accessibility for cocoa.Morten Sørvig2009-07-302-1/+236
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rather than having this stuck in a branch somewhere I'm going to implement it incrementally in main. It's going to be a long haul before it's done. This commit implements: - accessibilityIsIgnored() - Accessibility role translation
* | | Update QAbstractItemModel following reviewAaron Kennedy2009-07-311-2/+2
| | | | | | | | | | | | Reviewed-by: mbm
* | | Remove isDynamic property flagAaron Kennedy2009-07-313-16/+2
| | | | | | | | | | | | Reviewed-by: Roberto Raggi
* | | Reorder flag values in ascending orderAaron Kennedy2009-07-312-7/+8
| | | | | | | | | | | | Reviewed-by: Roberto Raggi