summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* doc: Added clarification about allocating space for the 0 terminator.Martin Smith2010-01-131-3/+15
| | | | | Task-number: QTBUG-5121 (cherry picked from commit 51078f1ef008c8395ddb76ac2f444daa511a4507)
* Fix for QTBUG-6408 QFontEngineS60::QFontEngineS60 called hundreds ofJani Hautakangas2010-01-132-32/+7
| | | | | | | | | | | times, taking up to 1ms each call. Use S60->ScreenDevice() to get/release fonts instead of create a new screen device each time. Task-number: QTBUG-6408 Reviewed-by: Jason Barron (cherry picked from commit d8ad9ac86dac9489b553e6416329308ae7d823d0)
* Document the QGraphicsView::IndirectPainting flagOlivier Goffart2010-01-122-1/+11
| | | | | | | And that the QGraphics{View,Scene}::drawItems function are now obsolete. Reviewed-by: Alexis (cherry picked from commit 3062035b9b38457196869b93650929f95cbd709f)
* Fixed build breakage on S60 3.1 due to audio effects changesGareth Stockwell2010-01-116-31/+10
| | | | | | | | | Removed calls to the video overload of the audio effect constructors, e.g. CAudioEqualizer::NewL(VideoPlayerUtility&) Task-number: QTBUG-7223 Reviewed-by: trustme (cherry picked from commit a3e6a04448979aaa6ada7aa434de3137f6cf0563)
* Implemented node disconnection in Phonon MMF backendGareth Stockwell2010-01-1120-194/+348
| | | | | | Task-number: QTBUG-4663 Reviewed-by: Frans Englich (cherry picked from commit 3f648dc075689e2ffedda2769cc76b4a56fb1073)
* Removed dead code from Phonon MMF backendGareth Stockwell2010-01-111-12/+2
| | | | | | | | | | The following source types are handled in MediaObject::createPlayer Invalid, Disc, Stream, Empty The code removed in this patch is therefore never executed. Reviewed-by: Frans Englich (cherry picked from commit 8e21fc62fe40c8e393007516958c216ad8dbd629)
* Re-emit prefinishMarkReached and aboutToFinish if rewound back past mark.Gareth Stockwell2010-01-112-2/+25
| | | | | | Task-number: QTBUG-6214 Reviewed-by: Frans Englich (cherry picked from commit fe5b275bfab1605da3ee95b6eb1d976aecb0a8a8)
* Implemented support for playlist handling in Phonon MMF backendGareth Stockwell2010-01-1112-170/+129
| | | | | | | | | | | The main changes are: 1. MediaObject emits prefinishMark at the appropriate instant 2. MediaObject emits aboutToFinish at the appropriate instant 3. MediaObject switches to next source when playback completes Task-number: QTBUG-6214 Reviewed-by: Frans Englich (cherry picked from commit 89e1e7fcbcbe93d8096afe0f7c240fe706cc9069)
* Changed call sequence of seeking in Phonon MMF backend, for streamingGareth Stockwell2010-01-112-19/+11
| | | | | | | | | | | | | Modified the sequence of calls made to the MMF APIs when seeking during ongoing playback. This fixes a bug found during early testing of streaming playback, whereby playback would not resume following the seeking operation. This was due to an interaction between the pause / seek / play operations, and the buffering callbacks received from the MMF, which caused the backend to enter an incorrect state. Task-number: QTBUG-4660 Reviewed-by: Frans Englich (cherry picked from commit 66b765734585971dd9d248059701fdecebbccd78)
* Implemented buffer status notifications in Phonon MMF backendGareth Stockwell2010-01-119-62/+162
| | | | | | | | | | | | | When clips are buffering (either at the start of playback, or during playback, when buffer levels drop due to e.g. CPU, file system or network load), the backend receives notification from the MMF. While buffering is ongoing, the backend periodically queries the filling status and emits a signal. Task-number: QTBUG-4660 Reviewed-by: Frans Englich (cherry picked from commit bed33ac62d87073120d56ff75a3d2356c99c64ea)
* Added support for streaming playback to Phonon MMF backendGareth Stockwell2010-01-118-6/+30
| | | | | | | | | | | | | | | | | Because the MIME type of the stream cannot always be deduced from the URL, we assume that it is a video stream. This is based on the assumption that the video controllers will be capable of parsing the container formats for audio-only, as well as video clips. Note that this assumption may not hold on all devices. Note that most implementations of the MMF client APIs do not support HTTP streaming (a.k.a. progressive download). The backend has therefore only been tested with RTSP streams - see the JIRA entry for further details. Task-number: QTBUG-4660 Reviewed-by: Frans Englich (cherry picked from commit 3117e3a6a9c1bf95fc30ebee4d8d11b646cb7125)
* Phonon MMF: leaves during object construction throw exceptionsGareth Stockwell2010-01-112-9/+7
| | | | | Reviewed-by: Frans Englich (cherry picked from commit bbab8eabb91b95dcd946c94b5f0ac59413e7a929)
* Removed stale TODO comments from Phonon MMF backendGareth Stockwell2010-01-113-4/+1
| | | | | Reviewed-by: Frans Englich (cherry picked from commit 99b10b64fd5f68c63e0c406558b507e429eea248)
* Correctly determine QScriptValue::isQObject() for QObjects using theMichael Brasser2010-01-113-4/+14
| | | | | | | | | QScriptDeclarativeClass. Task-number: QTBUG-6178 Reviewed-by: Kent Hansen Reviewed-by: Aaron Kennedy (cherry picked from commit 31cc1b382fbcd77def12cd0ad4fe9fc0fabdf60b)
* (Sqlite2) Fix for QTBUG-6421Bill King2010-01-111-4/+12
| | | | | | | | | Forgot to port the fix over to sqlite2 which seems to also be affected by the setForwardOnly caching bug as well. Task-number: QTBUG-6421 Reviewed-by: Justin McPherson (cherry picked from commit 8d76de98d93421395306941e59d136f1e7395d15)
* Removed QtWebkit.dll from Qt.sis in Symbian buildsMiikka Heikkinen2010-01-111-4/+0
| | | | | | | | | | | | | | In preparation for future removal of Webkit from Qt, Qt.sis no longer contains QtWebkit.dll. All projects that have webkit dependency now automatically also add dependency qtwebkit.sis into their .pkg files. To create qtwebkit.sis, run "make sis" in src\3rdparty\webkit\WebCore directory. Task-number: QTBUG-6841 Reviewed-by: Simon Hausmann Reviewed-by: Janne Koskinen (cherry picked from commit 337931b28cb1157512ae2b6ab67ceaaf63bf1e48)
* Added a flag to avoid construction of application panes.axis2010-01-115-5/+26
| | | | | | | | | | This is purely an optimization for fullscreen-only apps. Task: QTBUG-6098 RevBy: Jason Barron RevBy: mread AutoTest: Included (cherry picked from commit 4a84b272459160780529f654e6aee3abf8569b51)
* Fix for QTBUG-5870 QGraphicsProxyWidget does not show children onJani Hautakangas2010-01-111-3/+10
| | | | | | | | | | Symbian. QS60PaintEngine returned wrong device in QPaintEngine::paintDevice(). Task-number: QTBUG-5870 Reviewed-by: Jason Barron (cherry picked from commit 4378b168ad289e1acbde9580b750ce04b51260c3)
* Symbian: More i18n strings work.Frans Englich2010-01-112-34/+34
| | | | | | | | | * Consistently capitalize error sentences * Simplify & fix code/documentation. Task-number: QTBUG-4994 Reviewed-by: TrustMe (cherry picked from commit db782f7ab22241d8161190b95c41af4d56c05b82)
* Fixed bug which caused Phonon backend error messages to be suppressedGareth Stockwell2010-01-112-6/+7
| | | | | | | | | | | | When the mediaplayer receives a state change into the ErrorState, it calls pause() on the media object. Previously, this caused the backend to transition into PausedState. When the mediaplayer subsequently called errorString() to retrieve the error message, an empty string was returned because the backend was no longer in the ErrorState. Task-number: QTBUG-4994 Reviewed-by: trustme (cherry picked from commit dfa9343cc1e634eebdb0f3a2cf931ada9829ae6b)
* Added error strings to Phonon MMF backendGareth Stockwell2010-01-118-51/+170
| | | | | | | | | | | Note that changing Utils from a namespace into a class, and then using Q_DECLARE_TR_FUNCTIONS in the class declaration, was necessary in order to be able to call tr(...) from the implementation of Utils::symbianErrorToString. Task-number: QTBUG-4994 Reviewed-by: Oswald Buddenhagen (cherry picked from commit 3ed427637dd76da371174e14b0f7f2a15801fcac)
* Deploy sqlite3.sis instead of sqlite3.dll in SymbianMiikka Heikkinen2010-01-112-4/+3
| | | | | | Task-number: QTBUG-4879 Reviewed-by: Shane Kearns (cherry picked from commit 784374ac949ecf2fdc6895908e1e4dfe938931b8)
* Make sure the rect in QPixmap::copy() doesn't exceed the boundingRect.Gunnar Sletta2010-01-081-1/+3
| | | | | | Task: http://bugreports.qt.nokia.com/browse/QTBUG-6303 Reviewed-by: Samuel (cherry picked from commit 1484008e831a6b18272babb17992c4de686da045)
* Revert "QStyleSheetStyle: Fixed some text croped when having padding with ↵Olivier Goffart2010-01-081-1/+1
| | | | | | | | | | | native border." This reverts commit 6e90192b599cee9b903177a0978198326f667613. his change the behaviour a little bit. It is better to wait for Qt 4.7 Reviewed-by: jbache (cherry picked from commit 092f2014cf81d9f58670ede7d381022dd6903cbb)
* Fix performance regression in _q_polishItems.Alexis Menard2010-01-082-6/+12
| | | | | | | | | | | | | | | QSet is a hash internally, using Iterator::begin while erasing elements inside the set might create holes and then the complexity increase. We now use the return value of erase (the next element) so the complexity is linear. For those who create/delete item in the polish event (BAD), _q_polishItem might be slower than the normal call. Task-number:QTBUG-6958 Reviewed-by:olivier (cherry picked from commit 6026436f0de6020252410c021e0745a22599b159)
* Avoid a deep copy of QImage::bits() in the png writerRhys Weatherley2010-01-081-1/+1
| | | | | | Task-number: QTBUG-7161 Reviewed-by: Daniel Pope (cherry picked from commit 80e6ea3e871fa9f0e5a21d48ad893d4ec59c5c1c)
* Revert "Add GLfloat[2][2] & GLfloat[3][3] uniform setters to QGLShaderProgram"Tom Cooksey2010-01-073-73/+3
| | | | | | | | | | | | We don't add new public methods in patch releases. This reverts commit 2b4d3391fd922dfc5ac28815bbd5f36c4041b658. This patch also fixes the paint engine to use glUniformMatrix3fv directly now it has been removed from 4.6. It is a 3 line change. Reviewed-By: Samuel (cherry picked from commit b1327abb777ff3ee7ae32690442ca1250f536054)
* Introduce new "snapToPixelGrid" flag to GL2 engine for drawTextTom Cooksey2010-01-072-5/+44
| | | | | | | | | | | | | When we're rendering text, the glyphs need to be aligned to the pixel grid otherwise we get strange artifacts. Normally text is drawn at integer coordinates, however it is still possible to have a transform which translates by a non-integer offset. This patch adds a flag to the engine which can be used to snap any translate to the pixel grid. Task-number: QTBUG-7094 Reviewed-By: Kim (cherry picked from commit 1e7922262c29ba29a70226cf8894645f46df3ca2)
* doc: Clarified which values were added in Qt 4.4.Martin Smith2010-01-071-8/+11
| | | | | Task-number: QTBUG-7118 (cherry picked from commit c08789f4540ac934ac4a20feaac205837fb0cf6f)
* QBoxLayout::setGeometry would not respect the widget min/max widthGabriel de Dietrich2010-01-071-2/+4
| | | | | | | | | | | When calling heightforWidth after a geometry change, the width actually used could be outside the widget's width bounds. The height could then be smaller than needed to fit the widget's contents resulting in a clipped widget being drawn. Auto-test included. Reviewed-by: Olivier Task-number: QTBUG-7103 (cherry picked from commit 94759a0ed565b21c8dbfb4b12bfe6064f156b410)
* doc: Removed a const from a declaration in the example.Martin Smith2010-01-071-1/+1
| | | | | Task-number: QTBUG-7092 (cherry picked from commit 0e4c54809a8195a199d85b143e042b0f5e53fb4c)
* Set serial number in QX11PixmapData::transformedAnders Bakken2010-01-071-0/+2
| | | | | | | | QX11PixmapData::transformed initializes a new QX11PixmapData object but doesn't set its serial number. Reviewed-by: Donald Carr <donald.carr@nokia.com> (cherry picked from commit eb94abb952114e826e02ba4562d9048e77f46644)
* Reset the OpenVG scissor after a native painting call-outRhys Weatherley2010-01-071-2/+11
| | | | | | Task-number: QTBUG-7051 Reviewed-by: Daniel Pope (cherry picked from commit fbccab463a8bd77d66adb9f96a67037f73f0019d)
* Fix background brush for character format when writing to ODF document.Pierre Rossi2010-01-071-1/+8
| | | | | | Task-number: QTBUG-7047 Reviewed-by: Benjamin Poulain (cherry picked from commit 51c4571caf5d5ffb2545106df47d7c399b3e228b)
* Avoid deep QImage copies in the OpenVG paint engineRhys Weatherley2010-01-072-9/+12
| | | | | | Task-number: QTBUG-7015 Reviewed-by: Daniel Pope (cherry picked from commit b0e7ef2aa62a123b51920b8f0a08af07a9cd9d09)
* doc: Clarified next and previous activation order.Martin Smith2010-01-071-8/+8
| | | | | Task-number: QTBUG-6992 (cherry picked from commit 049f65b4d07587e26c69602e6e59682e82948bd2)
* Fixed a copy-paste error in QRasterPixmapData::metric().Trond Kjernåsen2010-01-071-1/+1
| | | | | | | | | Calling metric() to get the device height in mm of a pixmap when using the raster engine would actually return the width.. Task-number: QTBUG-6985 Reviewed-by: Carlos Duclos (cherry picked from commit 4bd7e6930fcd9e04696aa5426691cd90ba383a32)
* Fixes painting artifacts when using CacheBackground in a QGraphicsView.Yoann Lopes2010-01-071-1/+2
| | | | | | | | | | | The problem was that when the background cache was invalidated, it was entirely recreated but only the exposed area of the view was repainted in it, causing the cache to be partly empty in some cases. Now the background cache is always fully repainted when it is invalidated. Task-number: QTBUG-6935 Reviewed-by: ogoffart (cherry picked from commit 2600fd42117913b427d07e510724b0ea5e355205)
* Fixes crash when widget with WA_StaticContents child become toplevel.Olivier Goffart2010-01-071-6/+5
| | | | | | | | | | | | | Happens for example if a DockWidget is undocked and has a child whith the WA_StaticContents attribute. The parent does not change (so newParent is false) but still, the top level widget change. So staticWidget need to be moved to the new backingstore. Reviewed-by: Benjamin Poulain Task-number: QTBUG-6883 (cherry picked from commit 03baad51d584778a99f4b393232ccc1312db3391)
* BitsPerSample should default to 1 in TIFF files.Rhys Weatherley2010-01-071-4/+3
| | | | | | Task-number: QTBUG-6870 Reviewed-by: Lorn Potter (cherry picked from commit f019f3cf807e3c804bba3ef5598ea69adbb39e8b)
* doc: Added note explaining grabMouse() for Cocoa and Carbon.Martin Smith2010-01-071-4/+10
| | | | | Task-number: QTBUG-6810 (cherry picked from commit 190f45bcc7383bdc68a904e7dd5780372d00afba)
* doc: Added some missing macro descriptions.Martin Smith2010-01-071-4/+27
| | | | | Task-number: QTBUG-6769 (cherry picked from commit 94c2fce09c34b629a6fcb5a9576c4646a1ac24a8)
* doc: Clarified that the scene owns its items and destroys them.Martin Smith2010-01-071-11/+17
| | | | | Task-number: QTBUG-6637 (cherry picked from commit 9cdeb6ca14713891a14f24e97adb59b0d3b682fd)
* doc: Clarified that .lnk files are System files on Windows.Martin Smith2010-01-071-3/+4
| | | | | Task-number: QTBUG-6615 (cherry picked from commit 9bb45b19789910aff5e2a972a1ced758814fac31)
* Implement QScript::QObjectDelegate::getOwnPropertyDescriptorOlivier Goffart2010-01-074-1/+164
| | | | | | | | This is needed for the fix for QTBUG-5749 that follow Reviewed-by: Kent Hansen Task-number: QTBUG-5749 (cherry picked from commit d14ac9914753220e54f3b5cd94d122325d499776)
* QScript: Lookup the native setter from the prototypeOlivier Goffart2010-01-071-1/+9
| | | | | | | | | | | | | | | | | Usefull if we have 'native' properties with setter in a prototype This happen if you use a QObject wrapper as a prototype. Use getPropertyDescriptor that look up the prototype in order to know if we have a setter. Note that we cannot relly on PropertDescriptor::isAccessorDescriptor as the Getter or Setter attributes are not necesserly updated correctly when updating properties. (See the workaround QScriptValuePrivate::propertyFlags, and tst_QScriptValue::getSetProperty with object7) Task-number: QTBUG-5749 (also need the previous patch) Reviewed-by: Kent Hansen (cherry picked from commit e715a7f4cfad454b9c966fa2938cbe9a92ce49fb)
* Fixed QGLWidget::renderText().Trond Kjernaasen2010-01-073-109/+13
| | | | | | | | | | | | Fall back and use the GL 1 engine for the renderText() functions. Getting it to work with the GL 2 engine is a futile effort. Making it work with renderPixmap() in the GL 2 engine is not possible at all, since software contexts in general do not support shader programs. Task-number: QTBUG-5002, QTBUG-6931 Reviewed-by: Kim (cherry picked from commit 5394052c422f7087263ad6dc6d6a4448b4c4afba)
* Fix QT_NO_CONTEXTMENUKent Hansen2010-01-061-0/+2
| | | | | Task-number: QTBUG-6474 (cherry picked from commit e8b3defc466fff9110ee00b6e730d405cde52abc)
* doc: Added an explanatory \note about the table being sorted.Martin Smith2010-01-061-2/+12
| | | | | Task-number: QTBUG-5046 (cherry picked from commit 65a0c8cc6d2c13cfb2cef22e8a23f4e3050fde25)
* Update license headers to release versionJason McDonald2010-01-063353-43641/+43643
| | | | Reviewed-by: Trust Me