summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qtSimon Hausmann2009-05-196-15/+18
|\
| * Clarifying what QLocale::C is and is notNils Christian Roscher-Nielsen2009-05-191-2/+2
| | | | | | | | Reviewed-by: David Boddie
| * Fix compiler warning: use C++ cast operator, not the old-style C cast.Ariya Hidayat2009-05-191-1/+1
| | | | | | | | Reviewed-by: Marius Storm-Olsen
| * Fix handling of dynamic casts in QSharedPointer.Thiago Macieira2009-05-181-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | It's wrong to assume that static_cast<> is allowed everywhere where dynamic_cast<> is allowed. For example, if class C derives from both A and B, then you can dynamic_cast<B *>(ptr_to_A), but you can't static_cast. So introduce a helper for dynamic casts that doesn't do static_cast. Reviewed-by: Olivier Goffart
| * Fix some typos in the documentation.Frederik Schwarzer2009-05-183-3/+3
| | | | | | | | | | | | Usually, "the the" is not proper English Reviewed-By: Thiago Macieira
* | Merged branch 'master' of git://gitorious.org/~dfaure/qt/dfaures-clone.gitSimon Hausmann2009-05-181-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | David Faure (1): Fix compilation with strict iterators Merge-request: http://qt.gitorious.org/qt/qt/merge_requests/437 Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
| * | Fix compilation with strict iteratorsDavid Faure2009-05-181-1/+1
| | |
* | | Make QVectorTypedData inheriting from QVectorDataOlivier Goffart2009-05-181-13/+3
| | | | | | | | | | | | | | | | | | | | | This way the content of QVectorData is not duplicated in the code. Reviewed-by: Thiago Reviewed-by: Brad
* | | Fix warning on QVector with gcc4.4Olivier Goffart2009-05-181-77/+77
|/ / | | | | | | | | | | | | | | | | | | | | | | Use QVectorData whenever possible instead of QVectorTypedData. It is not safe to convert the shared_null to QVectorTypedData as different instance of qvector with different type may cast it in the same function (because everything is inline) and that would break strict aliasing. Reviewed-by: Thiago Reviewed-by: Brad
* | Merge branch '4.5'Thiago Macieira2009-05-141-1/+3
|\ \ | |/ | | | | | | Conflicts: tools/macdeployqt/shared/shared.cpp
| * Cleaning docsMorten Engvoldsen2009-05-131-1/+3
| | | | | | | | | | | | | | | | Highlight part of the general description in QTimeLine Task-number: 218487 Rev-by: Geir Vattekar
* | Merge branch 'master' of ../master into contiguouscacheIan Walters2009-05-143-118/+152
|\ \
| * \ Merge branch '4.5'Thiago Macieira2009-05-131-3/+4
| |\ \ | | |/ | | | | | | | | | Conflicts: tests/auto/qgraphicsview/tst_qgraphicsview.cpp
| | * qdoc: Fixed some qdoc errors.Martin Smith2009-05-131-2/+3
| | |
| | * qdoc: Fixed some qdoc errors.Martin Smith2009-05-131-3/+3
| | |
| * | QRingBuffer: Enanced with readPointerAtPositionMarkus Goetz2009-05-131-0/+46
| | | | | | | | | | | | Ability to read from a QRingBuffer at any position without modifying it.
| * | Merge commit 'origin/4.5'Olivier Goffart2009-05-132-118/+105
| |\ \ | | |/
| | * Correcting bug in QString::fromWCharArray documentationMorten Engvoldsen2009-05-121-1/+3
| | | | | | | | | | | | | | | | | | | | | Clearifying details about bit size of the wchar_t input and the way they are handled. Task-number:227709 Rev-by: Marius Storm-Olsen
| | * qdoc: Fixed qdoc errors, or tried to.Martin Smith2009-05-111-117/+102
| | |
* | | Grammer fix, 'be be' to 'be'Ian Walters2009-05-141-1/+1
| | |
* | | Merge branch 'master' into contiguouscacheIan Walters2009-05-1212-29/+67
|\ \ \ | |/ /
| * | Almost 200 symbols that didn't need to be exported.Thierry Bastian2009-05-111-1/+1
| | |
| * | Merge branch '4.5'Thiago Macieira2009-05-112-2/+2
| |\ \ | | |/
| | * compile?Harald Fernengel2009-05-081-1/+1
| | |
| | * Fix reentrancy of QVector and QStringOlivier Goffart2009-05-082-2/+2
| | | | | | | | | | | | | | | | | | The d->capacity could be modified even if ref was more than 1 Reviewed-by: Marius Storm-Olsen
| * | Fix leak of global dataJoão Abecasis2009-05-081-0/+9
| | | | | | | | | | | | | | | | | | | | | Static variable was dynamically allocated but never freed. Task-number: 253013 Reviewed-by: Thiago
| * | Merge commit 'origin/4.5'Olivier Goffart2009-05-041-0/+8
| |\ \ | | |/ | | | | | | | | | Conflicts: src/gui/itemviews/qabstractitemview.cpp
| | * Added comment to clearify the use of indexes.Morten Engvoldsen2009-05-041-0/+8
| | | | | | | | | | | | | | | | | | | | | Added a comment about the use of negative indexes. Task-number: 249344 Rev-by: Marius Storm-Olsen
| * | Merge branch '4.5'Thiago Macieira2009-04-232-2/+8
| |\ \ | | |/ | | | | | | | | | Conflicts: tests/auto/qaction/tst_qaction.cpp
| | * Fixes for QByteArrayMatcherJoão Abecasis2009-04-232-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Copy constructor and assignment operator lose data: pointer to content and the length of content also need to be copied over. QByteArrayMatcher::pattern() would return a null byte array if instance was initialized with c-string. Changed default constructor to explicitly initialize pattern length to zero. The bug in the assignment operator is a regression against 4.4.3. Task-number: 251958 Reviewed-by: MariusSO Reviewed-by: paul
| * | Merge branch '4.5'Thiago Macieira2009-04-201-2/+2
| |\ \ | | |/ | | | | | | | | | Conflicts: tests/auto/qaction/tst_qaction.cpp
| | * don't detach in qHash()Lars Knoll2009-04-201-2/+2
| | | | | | | | | | | | Signed-off-by: Thiago Macieira <thiago.macieira@nokia.com>
| * | Introduce QPointF::manhattanLengthGunnar Sletta2009-04-152-0/+15
| | | | | | | | | | | | Task-number: 251068
| * | Merge commit 'origin/4.5'Olivier Goffart2009-04-152-18/+18
| |\ \ | | |/ | | | | | | | | | Conflicts: src/gui/graphicsview/qgraphicsitem.cpp
| | * Fix regression in QString::replace(int, int, QChar) when string is emptyPaul Olav Tvete2009-04-151-18/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When QString::replace was optimized, this specific overload missed out on sanity checking of the arguments. Task-number: 249517 Reviewed-by: Joao Reviewed-by: hjk BT: yes
| | * Compile with namespaceJarek Kobus2009-04-151-0/+2
| | | | | | | | | | | | Reviewed-by: hjk <qtc-committer@nokia.com>
| * | Rename qIsFuzzyNull to qFuzzyIsNullBjoern Erik Nilsen2009-04-081-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The function was added in fde7f3d03782c801901f511131458d6fcb1021a5 and we believe qFuzzyIsNull is a better naming and more in line with qFuzzyCompare. Reviewed-by: Lars Knoll Reviewed-by: nrc Reviewed-by: Samuel
| * | Use qIsFuzzyNull rather than the more expensive qFuzzyCompareBjoern Erik Nilsen2009-04-081-4/+4
| | | | | | | | | | | | | | | | | | | | | See also fde7f3d03782c801901f511131458d6fcb1021a5 Reviewed-by: Olivier Reviewed-by: Samuel
* | | Various fixes resulting from QA code review.Ian Walters2009-05-122-34/+71
| | | | | | | | | | | | | | | | | | | | | Some documentation fixes. More clear handling of what is and isn't a valid indexes. Added functions for the 'really long lived circular buffer use case' Improved unit tests.
* | | Documentation patch from JasonIan Walters2009-05-111-32/+35
| | | | | | | | | | | | A bunch of minor doc fixes.
* | | Update licensing headers.Ian Walters2009-04-072-6/+80
| | | | | | | | | | | | | | | Update files to have consistent licencesing with the rest of Qt.
* | | Merge branch 'master' into contiguouscacheIan Walters2009-04-065-13/+25
|\ \ \ | |/ /
| * | Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qtSimon Hausmann2009-04-022-4/+4
| |\ \ | | |/ | | | | | | | | | Conflicts: tools/linguist/shared/profileevaluator.cpp
| | * Doc - fixed a typo: iterartor -> iteratorSimon Hausmann2009-04-022-4/+4
| | | | | | | | | | | | Reviewed-by: Trust me
| * | Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qtSimon Hausmann2009-04-011-1/+2
| |\ \ | | |/ | | | | | | | | | Conflicts: src/gui/inputmethod/qximinputcontext_x11.cpp
| | * Explicitely mentioned in the doc that the format string for qDebug,Denis Dzyubenko2009-03-301-1/+2
| | | | | | | | | | | | | | | | | | qWarning and qFatal should be in Latin1. Reviewed-by: Thiago
| * | Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qtSimon Hausmann2009-03-301-3/+6
| |\ \ | | |/
| | * String-to-number conversion functions should ignore trailing whitespaces.Denis Dzyubenko2009-03-301-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to our documentation we should ignore leading and trailing whitespaces when converting a string to number with QLocale::toInt and similar functions. However that didn't work for some locales - for those ones that declare groupseparator as 0xa0 (which looks similar to space) since we provide a workaround to accept space as a group separator for those locales. And since the workaround was there for a long time it doesn't make sense to change the behavior and the fix is to explicitely remove leading and trailing whitespaces before doing any conversion. Reviewed-by: mariusSO
| * | Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qtSimon Hausmann2009-03-251-5/+13
| |\ \ | | |/
| | * Fix QSharedPointer crashing when it is used as a global static in an ↵Thiago Macieira2009-03-251-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | application. If it's used as a static, then the order of destruction is ill-defined. The QSharedPointer object may be destroyed after our Q_GLOBAL_STATIC knownPointers has been deleted, thus causing a null-pointer dereference. Reviewed-by: Peter Hartmann <peter.hartmann@nokia.com> Task-number: 246843