summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit 'qt/master'Jason Barron2009-08-2072-2101/+2945
|\ | | | | | | | | | | | | | | 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-206-0/+19
| | | | | | | | | | | | | | | | | | 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
| * 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-203-80/+81
| | | | | | | | | | | | | | | | | | 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
| * 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
| * 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-203-19/+40
| | | | | | | | | | | | | | | | | | | | | | 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-203-12/+42
| | | | | | | | | | | | | | | | | | 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-202-2/+3
| | | | | | | | Reviewed-by: Thierry
| * Windows CE compile fixJoerg Bornemann2009-08-201-1/+1
| | | | | | | | Reviewed-by: ariya
| * QNAM HTTP PipeliningMarkus Goetz2009-08-2011-49/+383
| | | | | | | | | | | | | | | | | | | | 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.
| * 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-191-3/+3
| | | | | | | | | | | | | | | | 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-191-1/+14
| | | | | | | | | | | | | | 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-194-14/+11
| | | | | | | | | | | | | | 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
| |
* | Fix compilation of qpaintengine_vg.cpp.. again.Jason Barron2009-08-201-1/+1
| | | | | | | | | | | | | | After the latest round of changes to Q_DECLARE_PRIVATE to use templates, we no longer need to call data() because Q_D() will expand to d_func() which will always return a pointer to the actual object instead of the scoped pointer.
* | Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-s60-publicJanne Koskinen2009-08-20116-270/+582
|\ \
| * | Clarified comment on ordinal use in QLibraryPrivate::loadPlugin()Miikka Heikkinen2009-08-201-2/+5
| | | | | | | | | | | | Reviewed-by: TrustMe
| * | Trivial: fix includeHarald Fernengel2009-08-201-1/+1
| | |
| * | Move the declarative ui destroyed handlingHarald Fernengel2009-08-201-2/+2
| | | | | | | | | | | | Otherwise, the qWarning will be bogus.
| * | Make qprintdialog_unix.cpp compile on some Unices.Jason Barron2009-08-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | As part of the exception changes, the include of qfiledialog_p.h was removed and this then removed the inclusion of qevent.h which is needed by the showEvent() function in order to call accept(). Reviewed-by: Miikka Heikkinen
| * | Reverse the ifdefs to make it clearer, as per code review.axis2009-08-191-3/+3
| | | | | | | | | | | | RevBy: Trust me
| * | Added some comments after code review.axis2009-08-191-0/+9
| | | | | | | | | | | | RevBy: Trust me
| * | Tidy up the PRELOAD macro definitions in qdrawhelper.cpp.Jason Barron2009-08-191-7/+4
| | | | | | | | | | | | | | | | | | Remove a little bit of duplicated code here after code reviews. Reviewed-by: Miikka Heikkinen
| * | Revert "We don't need this library for the Metrowerks toolchain."axis2009-08-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 9a6eb12c26697330a5adf4450beb98098ad7da40. Not needed anymore after the MWC compiler became unsupported. RevBy: Jason Barron
| * | Revert "The Metrowerks compiler was crashing when processing the following ↵axis2009-08-191-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | line in" This reverts commit e2e4f600970a3577db4bcb099c10e8241754bd56. Not needed anymore after the MWC compiler became unsupported. RevBy: Jason Barron