summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit 'qt/master'Jason Barron2009-08-20144-2315/+4798
|\ | | | | | | | | | | | | | | Conflicts: examples/painting/svgviewer/files/bubbles.svg src/corelib/kernel/qobject.cpp src/network/kernel/qhostinfo.cpp tests/auto/qhostinfo/tst_qhostinfo.cpp
| * QNAM HTTP: New attribute, Demo browser: Some request statistic outputMarkus Goetz2009-08-208-8/+60
| | | | | | | | | | | | | | | | | | New output that tells if a QNetworkReply was retrieved by using HTTP pipelining. The demo browser now shows some (debug) output about usage of cache, pipelining and SSL. Reviewed-by: Prasanth
| * This variable is used to signal a thread to exit. It should be volatile.Thiago Macieira2009-08-201-1/+1
| | | | | | | | | | | | | | | | | | It's a long stretch, but it could happen that the compiler optimises out the checking of the variable because it could not change synchronously. In any case, it's best to set it to volatile to ensure that all architectures reload properly (memory ordering semantics) Reviewed-by: Alexis Menard
| * Autotest: this test is not passing: so show that.Thiago Macieira2009-08-201-0/+7
| | | | | | | | | | | | | | The problem is that this the test is running into a false positive. It thinks it's ok, but it isn't. So show the problem.
| * Autotest: remove unreliable test.Thiago Macieira2009-08-201-15/+0
| | | | | | | | | | | | | | | | This test required Qt to be built in debug mode. But there's no way of checking that from the autotest: some of our test machines build Qt in release mode but the tests in debug mode. So we don't test the Q_ASSERT.
| * Cocoa: cannot quit applicationRichard Moe Gustavsen2009-08-201-5/+13
| | | | | | | | | | | | | | | | | | | | If Qt is used from within a native cocoa application. This patch allowes the application to terminate if we have no current event loops running. This should be safe in itself, and also handle the case where NSApp run is called from outside Qt. Task-number: 259928 Reviewed-by: msorvig
| * Improved support for SVG animation.Kim Motoyoshi Kalland2009-08-204-93/+94
| | | | | | | | | | | | | | | | | | Added support for from-by-animation and by-animation in the animateTransform element. Updated bubbles.svg in the svgviewer example to make it work like intended with the corrected animation code. Task-number: Partially fixes 254784 Reviewed-by: Trond
| * Fixed crash in QtSvg caused by division by zero in animation code.Kim Motoyoshi Kalland2009-08-201-4/+7
| | | | | | | | Reviewed-by: Trond
| * Fix for SVG animate-transform when additive = "replace".Suneel BS2009-08-203-19/+99
| | | | | | | | | | | | | | | | | | On animate transform if additive = "replace" then transform specified with the element should be replaced with value of animateTransform. If additive = "sum" , then apply the animateTransform on top of element level transform. Reviewed-by: Kim
| * Changed QSvgPaintEngine::drawImage() to ignore aspect ratio.Kim Motoyoshi Kalland2009-08-201-1/+2
| | | | | | | | | | | | | | | | | | When calling drawImage(), you expect the entire target rectangle to be filled, but an SVG user agent preserves the source image's aspect ratio by default. This fix explicitly turns off preservation of aspect ratio. Task-number: 257052 Reviewed-by: Trond
| * QNetworkRequest: Doc fixMarkus Goetz2009-08-201-1/+1
| | | | | | | | Reviewed-by: TrustMe
| * Dont create native window handles when setting up gestures.Denis Dzyubenko2009-08-201-2/+0
| | | | | | | | | | | | | | | | | | Apparently setting WA_DontCreateNativeAncestors and WA_NativeWindow attributes on widgets introduces painting artifacts. Temporary removing these attributes until there is a proper fix (those attributes will not be needed after the next gesture api improvement). Reviewed-by: trustme
| * Fix warning and potential infinite recursion.Olivier Goffart2009-08-201-1/+2
| | | | | | | | | | The code where the infinite recursion could appears should only be called by code generated by very old version of moc
| * Fix potential Infinite recurstion.Olivier Goffart2009-08-201-3/+2
| | | | | | | | | | Was introduced by commit 919b723 This function is not even supposed to be called anymore by anything
| * QListView refactor: we now have an interface for the 2 view modesThierry Bastian2009-08-204-628/+586
| | | | | | | | | | | | | | | | | | Now we have 2 real implementations for listviews and iconviews This is a big refactor but the behaviour is kept. It also fixes a crash that could occur in setPositionForIndex while in ListMode. Acknowledged-By: ogoffart
| * Removed warning about signal conflicts.Friedemann Kleint2009-08-201-4/+0
| |
| * Designer: Tab widget / stacked widget / tool box pages got localized names.Friedemann Kleint2009-08-201-3/+3
| | | | | | | | Task-number: 259918
| * Move "Layout in Splitter" commands to their right placeJarek Kobus2009-08-201-2/+2
| | | | | | | | | | RevBy: Friedemann Kleint <Friedemann.Kleint@nokia.com> Task: 259785
| * 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.
* | Document stack size.Frans Englich2009-08-201-4/+13
| | | | | | | | | | | | Addresses review comment. Reviewed-by: TrustMe
* | Fix build, the preprocessor is broken on windows.Frans Englich2009-08-201-9/+9
| |
* | Document code.Frans Englich2009-08-201-0/+2
| | | | | | | | Addresses review comment.