summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Flickering "Whatsthis" pointer in CocoaPrasanth Ullattil2009-08-204-1/+31
| | | | | | | | | | | | | Since mouse tracking is always enabled on all QCocoaView-s, we are getting mouseMoved events for both parent and child (if mouse is over the child). In such cases the mouseMoved events are ignored for the parent view. We are using the native NSCursor stack for setting the override cursor. The current implementation for changeOverrideCursor is modified to keep this stack in sync with Qt's internal list. Task-number: 258173 Reviewed-by: Morten Sorvig
* QNAM HTTP Code: Compile fix 2Markus Goetz2009-08-201-5/+3
| | | | | | Those @$#! ifndefs. Reviewed-by: TrustMe
* compile fix for WindowsJoerg Bornemann2009-08-201-0/+1
| | | | Reviewed-by: TrustMe
* Fixed an assert in debug mode when drawing text with theTrond Kjernåsen2009-08-201-0/+1
| | | | | | | | | GL 2 engine on embedded. Worked in release because we don't really use any internals in QDataBuffer that sets the internal size correctly. Reviewed-by: Samuel
* QNAM HTTP Code: Compile fixMarkus Goetz2009-08-201-2/+2
| | | | | | Build was broken when Qt3 support stuff was not enabled Reviewed-by: TrustMe
* Autotest: add one more check for operator==Thiago Macieira2009-08-201-0/+1
| | | | | | | | | | I'm running out of ideas as to why MSVC.NET 2003 cannot do this test: baseptr == aData If I do baseptr.data() == aData, it works. And the operator== that it should be calling does exactly that. So my only clue so far is that it's calling some other operator== -- which doesn't make sense, since there is no other.
* Remove a few warnings when compiling Qt and unexport some functions.Thiago Macieira2009-08-2011-11/+19
| | | | | | | | | | | Make some functions static that are not used anywhere but in the current file. Others that are used, add the declaration to the _p.h to ensure we don't forget about them. Finally, there's no need to enable debugging code if it's not used anywhere. Reviewed-by: TrustMe
* Fix literal IPv6 hostname resolution in QHostInfo.Thiago Macieira2009-08-204-20/+41
| | | | | | | | | | | With the series of commits ending in ff1280178, I made QUrl::toAce fail if the parameter is not a well-formed hostname (i.e., if it violates STD3). IPv6 hostnames do, so we can't preemptively run ToACE. Instead, delay running ToACE until we've tried literal matching. Reviewed-by: TrustMe
* Performance issue in QGraphicsItem::addParentItem while building theGabriel de Dietrich2009-08-204-12/+56
| | | | | | | | | scene bottom-up. When adding n items, the depth was computed n² times. Adding lazy computation fixes this performance issue. Reviewed-by: Andreas
* Fix QVariant::toFloat() and QVariant::toRealOlivier Goffart2009-08-203-3/+40
| | | | Reviewed-by: Thierry
* Windows CE compile fixJoerg Bornemann2009-08-201-1/+1
| | | | Reviewed-by: ariya
* QNAM HTTP PipeliningMarkus Goetz2009-08-2014-52/+519
| | | | | | | | | | HTTP Pipelining should improve the performance of HTTP requests for high latency network links. Since some servers/proxies could have problems with it, it is disabled by default. Set the HttpPipeliningAllowed attribute of a QNetworkRequest to enable it for that request. Reviewed-by: Thiago
* QNAM HTTP Code: Allow to specify the amount of TCP connectionsMarkus Goetz2009-08-203-5/+26
| | | | | | We will use this for auto testing. Reviewed-by: Thiago
* QNAM: Moved more functions into QHttpNetworkConnectionChannelMarkus Goetz2009-08-207-523/+519
| | | | Reviewed-by: Thiago
* XdndLeave events have incorrect source idBradley T. Hughes2009-08-201-2/+4
| | | | | | | | When sending XdndLeave events, we should use the effectiveWinId() of the drag source (just like we do when sending XdndEnter and XdndPosition events). Task-number: 255559
* Instantiate the CP949 codec when building with -no-iconvBradley T. Hughes2009-08-201-0/+1
| | | | Otherwise this codec would not be available.
* Add some more tests for QQuaternion multiplicationRhys Weatherley2009-08-201-0/+9
| | | | Reviewed-by: trustme
* Improve memory usage of the connectionlists inside QObjectOlivier Goffart2009-08-1911-260/+353
| | | | | | | | | | | | | | | | | | | | ... by not allocating space for slots in the vector. Before, the vector uses the signal index as index. The problem is that the slots and signal are mixed in the same index space. We solve the problem by having a different index space for the signal in the connectionlists vector. All we need to do is to add the information about the number of signals in the moc. Also, we are not connecting to cloned signal but only to the orginial ones. For example, destroyed(QObject * = 0) would generate two signal, we now only connect to the first one. This also improve a little bit the performence while activating signals since it removed one call to indexOfMethod. Reviewed-by: Brad
* Doc - mentioning that the begin...() functions emit a signal that mustKavindra Devi Palaraja2009-08-191-0/+15
| | | | | | | | | be handled by connected views/proxies. Otherwise, the views/proxies may end up in an invalid state. Task: 227718 Reviewed-By: Olivier Goffart
* Document more of the behavior of QTouchEventBradley T. Hughes2009-08-191-43/+115
| | | | | | | | This includes docs on the default QWidget::event() behavior, how to use touch with QAbstractScrollArea subclasses, how the propagation and grouping works, as well as some caveats. Reviewed-by: David Boddie
* Changed the streambookmarks example to use aggregationThorbjørn Lindeijer2009-08-197-71/+89
| | | | | | | | QXmlStreamReader and QXmlStreamWriter can be used conveniently without subclassing, which the example now demonstrates. Reviewed-by: mae Reviewed-by: David Boddie
* Doc - Fixed whitespace issuesKavindra Devi Palaraja2009-08-191-15/+15
| | | | Reviewed-By: TrustMe
* Doc - Cleanups on QAbstractTableModel, QAbstractItemModel, etc.Kavindra Devi Palaraja2009-08-191-388/+433
| | | | Reviewed-By: TrustMe
* Carbon and Cocoa: Adding support for standard gestures.Richard Moe Gustavsen2009-08-192-4/+16
|
* Improved the documentation of saving and restoring window geometry.Denis Dzyubenko2009-08-193-23/+50
| | | | | | | Mentioned in the doc that the preferred way to save/restore a geometry of a QMainWindow is to use both saveGeometry() and saveState(). Reviewed-by: Kavindra Devi Palaraja
* Don't use pointers to temporary vars that go out of scope.Denis Dzyubenko2009-08-191-1/+1
| | | | | | | | Moved the dummy variable to the same scope as the 'motion' variable. This fixes Coverity defect CID 1528. Reviewed-by: Olivier Goffart Reviewed-by: Gabriel de Dietrich
* Make the license test pass.Frans Englich2009-08-1955-91/+1479
| | | | | | | This is partly done to address a review comment for S60. Reviewed-by: Marius SO Reviewed-by: Paul
* Generate proper license header.Frans Englich2009-08-192-104/+189
|
* Revert re-adding of readUnknownElementThorbjørn Lindeijer2009-08-192-10/+0
| | | | | Now that it is really no longer used. QXmlStreamReader::skipCurrentElement replaces it.
* Fixed compile errorThorbjørn Lindeijer2009-08-191-1/+1
| | | | Apparently I forgot one occurrence.
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtAlan Alpert2009-08-19169-724/+1103
|\
| * Fixes compileBill King2009-08-192-0/+10
| |
| * Move math3d unit tests up one level to tests/autoRhys Weatherley2009-08-1812-74/+14
| | | | | | | | | | | | | | | | Some of the platform test infrastructure assumes that all unit tests are sub-directories under tests/auto, and the tests/auto/math3d sub-directory was confusing that infrastructure. Reviewed-by: trustme
| * Make sure windows raise properly when focusedAnders Bakken2009-08-183-25/+57
| | | | | | | | | | | | | | | | | | | | We never used to properly raise windows with DirectFB's window management. Somehow the event happens on a window surface that doesn't really have a IDirectFBWindow associated with it but using permanentState I can establish a sibling relationship to ensure raise gets called on the right window surface. Reviewed-By: Donald <qt-info@nokia.com>
| * Initialize bpl in QDirectFBPaintDevice(...)Anders Bakken2009-08-181-1/+1
| | | | | | | | Reviewed-by: Donald <qt-info@nokia.com>
| * Disambiguate variable namesAnders Bakken2009-08-182-7/+7
| | | | | | | | | | | | | | | | s/lock/lockFlgs/ lock is also a function in QWSWindowSurface. Reviewed-by: Donald <qt-info@nokia.com>
| * Autotest: cosmetic: change trolltech.com to qt.nokia.comThiago Macieira2009-08-181-27/+27
| |
| * Fixed toRawForm because the domains usually start with a dot.Thiago Macieira2009-08-181-1/+6
| | | | | | | | | | | | | | | | | | | | Like 9fea895d6, the series of commits ending in ff1280178 made QUrl::toAce more strict. Now it doesn't accept empty domain labels, which is exactly what a leading dot means. Interestingly, KDE 3's KURL had a long-standing hack to support the leading dot and which I broke on more than one occasion. And it had that feature exactly because of cookies.
| * Autotest: update the trolltech.com URLs to nokia.com properly.Thiago Macieira2009-08-181-27/+27
| |
| * Autotest: Revert 96b6a3c9cd8 in tst_qnetworkcookiejarThiago Macieira2009-08-181-13/+13
| | | | | | | | | | The change of URLs in Qt broke the tests that operated on URLs. This wasn't properly done, so revert to the last working values.
| * Autotest: don't check Qt3Support and QtCLucene for global statics.Thiago Macieira2009-08-181-1/+9
| | | | | | | | | | We won't fix any issues in those libraries anyway, so don't waste time checking.
| * Remove a global static in QtTest: we can do the same with dynamicThiago Macieira2009-08-181-2/+7
| | | | | | | | allocation.
| * Remove a global destructor from QtDBus.Thiago Macieira2009-08-181-4/+6
| | | | | | | | Instead, only run the unload code if we successfully loaded.
| * Autotest: accept that the platform's UTF-8 codec can be buggy.Thiago Macieira2009-08-181-1/+10
| | | | | | | | | | We shouldn't fail in our autotests because the platform is buggy. But note the problem. We should report the bugs upstream...
| * Autotest: update uic baselines after license header update.Thiago Macieira2009-08-18100-287/+342
| | | | | | | | | | The license header update in e12a03d5 changed the .ui templates, but not the baselines in all cases.
| * Doc: explain that QUrl::toAce may fail if its input is not correct.Thiago Macieira2009-08-181-0/+4
| |
| * Autotest: unbreak test after overeager trolltech.com -> qt.nokia.com replacementThiago Macieira2009-08-181-2/+2
| |
| * Simplify DirectFB clippingAnders Bakken2009-08-182-25/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of storing whether or not our clip is dirty and updating it in every paint operation we'll just update it whenever it changes. This is more intuitive and should be faster for the common case as well. Also make sure to implement clip(region). Prevent multiple updateClip() calls for a single clip operation by introducing a flag to check whether we recursed into the different clip() calls. Reviewed-by: Donald <qt-info@nokia.com>
| * Fix bugs in DFBPE fillRect and drawTiledPixmapAnders Bakken2009-08-181-3/+2
| | | | | | | | | | | | Make sure to call CLIPPED_PAINT so painting with a region clip works. Reviewed-by: Donald <qt-info@nokia.com>
| * Made the browser demo use the new QXmlStreamReader functionsThorbjørn Lindeijer2009-08-182-74/+36
| | | | | | | | Same as in the bookmarks example.