summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixed incorrect rendering of bitmap/pattern brushes in GL 2 engine.Samuel Rødal2009-06-126-9/+57
| | | | | | | | | The pen color should be used when drawPixmap is called with a bitmap, and the brush color should be used for texture patterns that are bitmaps. Task-number: 245802 Reviewed-by: Trond
* Made QPixmap autotest pass with -graphicssystem openglSamuel Rødal2009-06-125-47/+155
| | | | | | | | | | | | | | The window surface has been modified to track widget deletion to make sure it doesn't try to access the widget's context data after deletion. QGLPixmapData now also uses GL_RGB instead of GL_RGBA when appropriate, and hasAlphaChannel() has been modified in view of this. A number of other issues have been fixed in QGLPixmapData, and the autotest has been modified to use a more lenient pixmap compare function due to off-by-one pixel errors here and there. Reviewed-by: Trond
* QHttp: Class made obsolete, changed module QDoc.Markus Goetz2009-06-122-43/+31
| | | | | | | This should better communicate that new applications should use QNetworkAccessManager. Reviewed-by: David Boddie
* doc: Fixed several qdoc warnings.Martin Smith2009-06-125-11/+80
|
* QMenu, QMenuBar: small cleanupThierry Bastian2009-06-127-20/+13
| | | | | Removed calls to the widget getters because we have the members directly in the private class.
* QGraphicsItems are repainted when outside the view's exposed region.Bjørn Erik Nilsen2009-06-122-5/+40
| | | | | | | | | | | | | The problem was that we used QRect::isEmpty() on the item's bounding rect intersected with the exposed region's bounding rect as a criteria for whether the item should be drawn or not. This does not work as expected with partial updates, where the boundingRect() of the exposed region easily can cover the entire viewport area. The item should *only* be drawn if its bounding rect intersects with the exposed region (and not the exposed region's bounding rect). Auto-test included.
* doc: Fixed several qdoc warnings.Martin Smith2009-06-121-5/+32
|
* add streaming ops for scriptdebugger object deltasKent Hansen2009-06-122-0/+22
| | | | Needed for remote debugging.
* Fixed bug where QTransform::type() failed to compute the correct type.Samuel Rødal2009-06-122-5/+17
| | | | | | | Since QTransform::type() now uses a switch based on m_dirty, we can't treat m_dirty as a bit mask anymore. Reviewed-by: Ariya
* Make repeated calls to QToolTip::hideText() still hide the textmae2009-06-121-8/+13
| | | | | | | Previously the 300 msec hide timer was restarted every time hideText() was called. Reviewed-by: Thorbjorn Lindeijer
* Fixed clipping bugs in GL 2 paint engine.Samuel Rødal2009-06-121-6/+2
| | | | | | | | Similar to what was done in f86dcade8716a0aee841ba05740887598633de17, we shouldn't multiply by the redirectionMatrix in replayClipOperations() as the clip info matrices already contain the redirectionMatrix. Reviewed-by: bnilsen
* doc: Fixed several qdoc warnings.Martin Smith2009-06-125-58/+116
|
* Allow a maximum of 6 simultaneous HTTP connections to a server.Prasanth Ullattil2009-06-123-18/+52
| | | | | | | | | | Even though the standard mandates a maximum of 2 connections, most new browsers support atleast 6 connections. So we are also bumping the limit. Task-number: 251144 Reviewed-by: Markus Goetz Reviewed-by: Peter Hartmann
* refactor some codeThierry Bastian2009-06-121-31/+26
| | | | removed qstrdup and used QByteArray to its full extent
* Fixed clipping bug due to applying redirection offset twice.Samuel Rødal2009-06-121-1/+1
| | | | | | | | After change f0a4a37a5182660580fd361110d3fd51463221d8 the clip info stack already contains the redirection offset, so we don't need to apply it again. Reviewed-by: bnilsen
* Set qreal to float for Symbian.Martin Jones2009-06-121-1/+1
| | | | Make sure we match the logic in qglobal.h.
* Fixed qtextcodec autotest so it can be run from a build directory.Denis Dzyubenko2009-06-112-6/+6
| | | | Reviewed-by: trustme
* UTF-8 text codec should be able to convert data when fed one by one byte.Denis Dzyubenko2009-06-113-1/+77
| | | | | | | When the input data is fed to utf-8 by one byte it couldn't parse the BOM correctly. So we wait until the BOM is composed into a code point and check it afterwards. Reviewed-by: Olivier Goffart
* Skip the byte order mark when converting the utf16 and utf32 dataDenis Dzyubenko2009-06-112-3/+15
| | | | | | | | | When reading one character at a time (as QTextStream::pos does) the byte order mark could be ignored. This happens only with UTF-16 BE/LE and UTF-32 BE/LE codecs. This fixes the qtextstream autotest. Author: Olivier Goffart Author: João Abecasis
* Use the old codec if there is one available when reading data in qtextstream.Denis Dzyubenko2009-06-111-1/+1
| | | | Reviewed-by: trustme
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtDavid Boddie2009-06-111-1/+1
|\
| * Compile the qsettins autotestOlivier Goffart2009-06-111-1/+1
| | | | | | | | As suggested in merge request 641
* | Doc: Make it easier to find supported platform information from theDavid Boddie2009-06-111-0/+3
|/ | | | | | installation page. Reviewed-by: Trust Me
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtDavid Boddie2009-06-114-32/+103
|\
| * Painting artifacts in QGraphicsView.Bjørn Erik Nilsen2009-06-114-10/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem appears in the chip demo when clicking an item while scrolling the view using the mouse wheel. The problem was that we didn't translate the the item's old painted view rect. There was also a problem when enabling the DontAdjustForAntialiasing flag, causing an item to not redraw its edges. We have to adjust the rectangle by (-1, -1, 1, 1) since QRect() and QRectF() behaves differently. Auto-test (made by Andreas) included. Reviewed-by: Andreas
| * QGraphicsView: Replace update() with updateAll().Bjørn Erik Nilsen2009-06-112-22/+20
| | | | | | | | | | | | | | | | | | | | We have some nice cut-offs when there's a full update pending, but we don't know about it if we call update() directly on the viewport. Instead call QGraphicsViewPrivate::updateAll() which has the same effect, except that it also sets a flag telling us a full update is pending. Reviewed-by: Andreas
* | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtDavid Boddie2009-06-1170-466/+444
|\ \ | |/
| * Use the original order if two files are equivalent for the sort of QDirBenjamin Poulain2009-06-111-1/+2
| | | | | | | | | | | | | | Set back the sort order of QDir::entryList() and entryInfoList(). This complement the change of aa2adb8d0072eccb549692d56168b8fde33f7b4f Reviewed-by: Olivier
| * Sort QDir with qSort instead of qStableSortBenjamin Poulain2009-06-111-2/+1
| | | | | | | | | | | | | | | | The commit 3e7fc907e5cc1937fb98bf4581cee960fe3d4e7a have changed the behavior of sorting of QDir. This revert to the old behavior with qSort instead of qStableSort. Reviewed-by: Alexis
| * Fixed ToolBar layout so that when a toolbar is resized to its sizeHintThierry Bastian2009-06-111-3/+4
| | | | | | | | we get a "sticky" effect
| * small change in a string, using startsWithThierry Bastian2009-06-111-1/+1
| |
| * Removed qApp and replaced with QApplication:: for static member callsThierry Bastian2009-06-1147-180/+178
| |
| * refactor of private getters for the mode i item widget classesThierry Bastian2009-06-118-162/+158
| |
| * remove q->layout() and q->parentWidget() code where unnecessaryThierry Bastian2009-06-1116-93/+84
| |
| * Fixed clipping bugs due to not accounting for the redirection offset.Samuel Rødal2009-06-111-20/+9
| | | | | | | | | | | | | | | | Also, updateInvMatrix() can be greatly simplified as updateMatrix() is always called whenever anything related to the state matrix changes, so we can assume that it's up-to-date. Reviewed-by: bnilsen
| * doc: Fixed several qdoc warnings.Martin Smith2009-06-112-4/+7
| |
* | Doc: Added information about QDBUS_DEBUG to the D-Bus documentation.David Boddie2009-06-112-1/+23
|/ | | | | Task-number: 253715 Reviewed-by: Trust Me
* Makes the ODF writer use one text:tab tag for each tab, per ODF spec.Thomas Zander2009-06-112-29/+24
| | | | | | | | We used tab-ref to place multiple tabs compressed into one tag just like text:s does, but thats not what the spec says. We now don't sum up tabs anymore but just simply write out one "<text:tab/>" tag per tab. Task: 249110
* doc: Fixed several qdoc warnings.Martin Smith2009-06-115-16/+11
|
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtMorten Sørvig2009-06-114-33/+26
|\
| * QHttpNetworkConnection: Removed an unnecessary/dead checkMarkus Goetz2009-06-113-16/+12
| |
| * QHttpNetworkConnection: Some renamingsMarkus Goetz2009-06-112-17/+14
| | | | | | | | Reviewed-by: Prasanth
* | Make configure pass the -sdk option on to the configure tests.Morten Sørvig2009-06-112-27/+38
|/ | | | | | | | This makes sure that we only detect and use libraries that are actually in the SDK. Task-number: 109757 Reviewed-by: Richard Moe Gustavsen
* Make sure custom arrow images works if we only specify it.Olivier Goffart2009-06-114-4/+158
| | | | | | | | Include change for spinbox, combobox, and menu. Task-number: 255849 Tested-by: Pierre Reviewed-by: jbache
* Only include QMetaType if required in moc generated filesOlivier Goffart2009-06-112-3/+8
| | | | | | | | | | | Including it might cause build errors. (and thus break source compatibility) The problem was seen on KDE where some cpp files included x11 headers and then later included the .moc file, then qmetatype.h complains that Bool is defined Reviewed-by: Brad
* Clean up qwidget_p.h since the last changeOlivier Goffart2009-06-111-8/+6
| | | | | Reviewed-by: bnilsen Reviewed-by: Denis
* Invalid QPersistentIndexes after QStandardItem::takeRowOlivier Goffart2009-06-113-36/+148
| | | | | | | | | | | | | | | We need the parent of each potential QPersistentModelIndex in order to cleanup when removing the rows. They need not to change in order QSortFilterProxyModel maping to be still valid. takeRow must not change the internal data before calling beginRemoveRow. Same thing for takeColumn Task-number: 255652 Reviewed-by: Thierry Reviewed-by: Leo
* Autotest compile.Olivier Goffart2009-06-111-1/+1
| | | | This one is for qstandarditemmodel autotest
* add parent and id properties to QGraphicsObjectLars Knoll2009-06-112-3/+76
| | | | | | In addition added documentation for the other properties. Reviewed-by: Andreas
* added properties for x,y and z. Removed the notify for the pos property,Lars Knoll2009-06-116-13/+315
| | | | | | | | | | | | add auto tests for QGraphicsObject FX items are better off with property notifications on each component rather than on the position. Added some basic testing for QGraphicsObject and fixed the failures exposed. Reviewed-by: Andreas