summaryrefslogtreecommitdiffstats
path: root/src/corelib
Commit message (Collapse)AuthorAgeFilesLines
* Q_ASSERT failure in QStateMachinePrivate::handleTransitionSignal.Gabriel de Dietrich2009-08-285-1/+30
| | | | | | | | | | | | | | The signal index actually emitted was different from the signal index registered. This was due to recent changes in the meta-object protocol, where new indexes are being created (cloned) for signals with default parameters. When registering the transition signal, we now look for the original (non cloned) signal index. The transition keeps track of the user-specified signal index, and sets it when calling onTransition. Reviewed-by: Kent Hansen Reviewed-by: Olivier Goffart Task-number: 260403
* Documentation of QAbstractProxyModel::resetOlivier Goffart2009-08-281-3/+2
| | | | | | Rectification after the last merge request integration Reviewed-by: Thierry
* Fix the API for resetting QAbstractItemModels.Stephen Kelly2009-08-282-7/+45
| | | | | | | | | | | | | | | | | | | | This commit deprecates the QAIM::reset() method, and adds beginResetModel() and endResetModel() methods, addressing Qt issue 247023. http://www.qtsoftware.com/developer/task-tracker/index_html?method=entry&id=247023 If models and proxies use QAIM::reset() alone, then proxies will emit modelAboutToBeReset after its source model is reset. This means that mapToSource will not behave as expected (Will always return an invalid index) in a slot connected to modelAboutToBeReset. The usecase for this is maintaining viewstate (which items are selected, expanded) when the model is reset. See BrowserWidget::modelChanged here: http://websvn.kde.org/trunk/KDE/kdepim/akonadi/akonadiconsole/browserwidget.cpp?view=markup Task-number: 247023 Reviewed-by: Olivier Goffart <ogoffart@trolltech.com> Merge-request: 1072
* QAbstractAnimation: replacing QPointer usage for QWeakPointerLeonardo Sobral Cunha2009-08-281-12/+19
| | | | | | Added guard checks after the virtual method calls. Reviewed-by: thierry
* Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6David Boddie2009-08-273-9/+25
|\
| * QAbstractAnimation: fixes segfault when deleting animation inside ↵Leonardo Sobral Cunha2009-08-272-9/+19
| | | | | | | | | | | | | | | | | | | | updateCurrentTime That deletion removed the respective animation from the list of running animations being processed, but not from the copy of the list introduced in 48489988521b818bda8d76e60cb272508e91b490, thus we had a dangling pointer. Reviewed-by: thierry
| * work around a compiler bug (gcc <= 4.0.x) that renders the drop-in versionhjk2009-08-271-0/+6
| | | | | | | | | | | | of QStringBuilder incompilable Reviewed-by: Roberto Raggi
* | Doc: Added suggestion about decoding arguments from argv. Tidying up.David Boddie2009-08-271-26/+44
|/ | | | | Task-number: 218125 Reviewed-by: Trust Me
* QPropertyAnimation: small refactor and we got rid of QMetaPropertyThierry Bastian2009-08-272-30/+14
| | | | | | We don't need QMetaProperty becaus we always try to directly use the qt_metacall. This allowed for a 24 bytes reduction of the private class.
* QPropertyAnimation: use of QWeakPointer instead of QObject::connectThierry Bastian2009-08-273-33/+23
|
* Animation: reordering of private members saves 8 bytesThierry Bastian2009-08-271-3/+3
| | | | | | ...on the private object Reviewed-by: Trust Me
* Doc: Small change to QProcess::waitForFinished()Geir Vattekar2009-08-271-1/+2
| | | | | Task-number: 258404 Reviewed-by: Trust Me
* Merge branch 'mergeRequest' into 4.6axis2009-08-272-74/+59
|\
| * move QFSFileEngine-related symbian code from qtemporaryfile to qfsfileengineRitt Konstantin2009-08-272-5/+4
| | | | | | | | | | | | | | | | i'm a garbage collector :) AutoTest: Passed RevBy: Miikka Heikkinen Signed-off-by: axis <qt-info@nokia.com>
| * remove symbianFileName stub once and for allRitt Konstantin2009-08-271-19/+17
| | | | | | | | | | | | | | simply use ifdef to point which implementation should be compiled AutoTest: Passed Signed-off-by: axis <qt-info@nokia.com>
| * fixes and improvements made after s60 branch has been merged into masterRitt Konstantin2009-08-271-51/+39
| | | | | | | | | | | | | | | | | | | | | | * crash fixed ( d->filePath.at(0).isLetter() ) * warning removed in QFSFileEngine::copy ( unused param ) * minor optimisations * styling fixes * needless header include removed ( qregexp.h ) AutoTest: Passed Signed-off-by: axis <qt-info@nokia.com>
* | Missing ducumentation in QAbstractItemModelOlivier Goffart2009-08-261-0/+34
| |
* | reverting the definition of WINVER and _WIN32_WINNT in qglobal.hJoerg Bornemann2009-08-263-9/+7
| | | | | | | | | | | | | | | | | | | | | | | | This just caused too much problems and must be solved another way. In qfsfileengine_win.cpp we define FSCTL_GET_REPARSE_POINT and all of the other stuff that's needed for NTFS symlink support, if its not defined. This is the case if _WIN32_WINNT is less than 0x0500. All other changes in this commit are just reversions of commits that were done for the infamous qglobal.h change. Discussed with prasanth, tested by pulse.
* | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6David Boddie2009-08-263-0/+347
|\ \
| * | Add move API to QAbstractItemModel.Stephen Kelly2009-08-263-0/+347
| | | | | | | | | | | | | | | | | | | | | | | | | | | This adds the function beginMoveRows, endMoveRows, beginMoveColumns, endMoveColumns Reviewed-by: Olivier Goffart <ogoffart@trolltech.com> Acknowledged-by: Thierry Merge-request: 972
* | | Doc: Corrected incorrect snippets and info in inherits() documentation.David Boddie2009-08-261-4/+3
|/ / | | | | | | | | Task-number: 201882 Reviewed-by: Trust Me
* | Revert "qglobal.h now has the definition for WINVER"Thierry Bastian2009-08-261-0/+7
| | | | | | | | | | This reverts commit f7ebdd380d16a7be9713930b5ab41c32e996dcdb. defining WINVER in qglobal.h is about to be reverted.
* | Doc: Noted a limitation in using slashes in settings section names.David Boddie2009-08-261-3/+3
|/ | | | | Task-number: 254511 Reviewed-by: Trust Me
* Fixed compilation on gcc 3.3 and mutex locker lifetimeThorbjørn Lindeijer2009-08-261-1/+1
| | | | | | | This fixes the lifetime of the mutex locker, since before it would already be destroyed on the next line. Reviewed-by: Olivier Goffart <olivier.goffart@trolltech.com>
* fix warnings on Windows CEJoerg Bornemann2009-08-261-0/+2
| | | | | | | Lots of warnings in the qreal == float case. Some Q_UNUSED added. Reviewed-by: thartman
* animations: make sure setCurrentTime is called on all animationsThierry Bastian2009-08-251-2/+5
| | | | | | | | The problem was we were iterating over the list of running animations. And when calling setCurrentTime(<duration>) on one of them they just unregister themselves from the timer and we would miss some of them. Reviewed-by: leo
* Removed redundant QLocale code from QCoeFepInputContext.axis2009-08-252-3/+6
| | | | | | We export one extra private symbol from QtCore instead, and use that. RevBy: Miikka Heikkinen
* Merge commit 'origin/master' into 4.6Jason Barron2009-08-2514-308/+332
|\
| * Merge branch 'master' of git@scm.dev.troll.no:qt/qt-s60-publicMiikka Heikkinen2009-08-246-35/+39
| |\ | | | | | | | | | | | | Conflicts: src/corelib/io/qfilesystemwatcher_symbian.cpp
| | * Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt-s60-publicShane Kearns2009-08-2431-310/+839
| | |\
| | * | Make the singleton file server session independent of QCoreApplicationShane Kearns2009-08-246-35/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After review comments, changed the file server session from a member of QCoreApplication to a Q_GLOBAL_STATIC, because some applications will want to access files before constructing the QApplication. Reviewed-By: Janne Anttila
| * | | Merge branch 'master' of git@scm.dev.troll.no:qt/qt-s60-publicMiikka Heikkinen2009-08-2424-239/+791
| |\ \ \ | | | |/ | | |/| | | | | | | | | Conflicts: src/corelib/io/qfsfileengine_unix.cpp
| * | | Merge branch 'master' of git@scm.dev.troll.no:qt/qt-s60-publicMiikka Heikkinen2009-08-2136-751/+949
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/corelib/io/qfilesystemwatcher_symbian.cpp src/corelib/io/qfilesystemwatcher_symbian_p.h
| * | | | Review inspired changes to Symbian QProcessMiikka Heikkinen2009-08-212-170/+175
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Renamed two classes to conform to Qt conventions - Cosmetic changes. Reviewed-by: Janne Koskinen
| * | | | Review inspired changes to Symbian file system watcherMiikka Heikkinen2009-08-212-55/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added retry to failed notification request. - Removed superfluous New method. - Cosmetic changes. Reviewed-by: Janne Koskinen
| * | | | Review inspired fixes to Symbian file engineMiikka Heikkinen2009-08-216-50/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Refactored symbian specific public method out of qfsfileengine.h into a static method. - Utilized PathInfo class for getting home, root, and temp paths. - Cosmetic changes. Reviewed-by: Janne Koskinen
* | | | | Merge branch '4.6'Thiago Macieira2009-08-249-27/+110
|\ \ \ \ \
| * | | | | Reset dangling handle after close on WinCE 5João Abecasis2009-08-241-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: Maurice Kalinowski
| * | | | | Always check the file handle before attempting to map the fileJoão Abecasis2009-08-241-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: Maurice Kalinowski
| * | | | | QFSFileEngine: Don't close file if we already have a file for mappingJoão Abecasis2009-08-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: Maurice Kalinowski
| * | | | | qglobal.h now has the definition for WINVERThierry Bastian2009-08-241-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | It became useless to have it for mingw here
| * | | | | Minor documentation and code fixes.Frans Englich2009-08-241-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Addresses S60 review comments. Reviewed-by: TrustMe
| * | | | | fix warning in qthread_win.cppJoerg Bornemann2009-08-241-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | _WIN32_WINNT is now defined in qglobal.h
| * | | | | QFSFileEngine compile fix for NTFS symlink supportJoerg Bornemann2009-08-241-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This also reverts my panic compile fixes, which just disabled the symlink code paths on Windows. This reverts commit e5fe8b49b08a6e749bde8581d9267ddafa7c9990. This reverts commit 7385c1fc7fe03836ed42cc783e840557d267cff9.
| * | | | | define WINVER and _WIN32_WINNT in qglobal.hJoerg Bornemann2009-08-241-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We define these values now in qglobal.h as 0x0500, which is Windows 2k, the oldest version we will support. Reviewed-by: mariusSO
| * | | | | Fix the last fix to QList.Thiago Macieira2009-08-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: TrustMe
| * | | | | Removed superfluous status change.axis2009-08-241-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The service provider (RTimer) will do it for us. RevBy: Iain AutoTest: Passed
| * | | | | Remove QScopedCustomPointerHarald Fernengel2009-08-241-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use QScopedPointer with a custom deleter instead, so we can remove the awful QScopedCustomPointer once and for all :) Reviewed-by: Thiago
| * | | | | Restore QList backward compatibilityHarald Fernengel2009-08-242-3/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add detach3 and append2, leaving the old functions as they were. This ensures that new code will use the optimized version of QList, and old code will just continue calling the old functions. Reviewed-by: Thiago
| * | | | | Revert "Remove the unnecessary double memcpy now too."Harald Fernengel2009-08-241-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 10a0ed3f2e6a71eced5f470f1c3e09d7be58bbc9.