| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
A bunch of minor doc fixes.
|
| |
|
|
|
|
|
| |
Update files to have consistent licencesing with the rest
of Qt.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
The buffer was only shrinked if we reach exactly the end of it.
Reviewed-by: Andreas
Reviewed-by: Thiago
Task-number: 221316
|
| |\
| | |
| | |
| | |
| | | |
Conflicts:
tools/linguist/shared/profileevaluator.cpp
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is an untested bugfix -- comes solely from reading the code.
In QFile::copy's fallback implementation a (temporary) file is created
for block copying from the source file. When Qt is built without
temporary file support this doesn't seem to be deleted in case of an
error while block copying or renaming to the final destination.
Reviewed-by: mariusSO
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
QFile made no attempt to reset the file name on a rename. We now reset
the fileEngine's fileName if it was able to handle the rename.
Otherwise, we call setFileName, which will result in reallocation of the
fileEngine.
Task-number: 244485
Reviewed-by: mariusSO
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The fallback implementation for rename would return true in some
situations where the move failed. Also the destination file might be
created and left there in these cases.
Task-number: 244500
Reviewed-by: mariusSO
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
details about BlockingQueuedConnection in QMetaObject::invokeMethod().
Task-number: 187869
Task-number: 216742
Reviewed-by: Thiago Macieira
Reviewed-by: Morten Sørvig
|
| | |
| | |
| | |
| | | |
Reviewed-by: Trust me
|
| |\ \
| | |/ |
|
| | |
| | |
| | |
| | | |
Reviewed-by: TrustMe
|
| |\ \
| | |/
| | |
| | |
| | | |
Conflicts:
src/gui/inputmethod/qximinputcontext_x11.cpp
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Details: Added a note to the description about using POSIX functions for converting between data types such as floats and strings
Task-number: 244600
Reviewed-by: Denis Dzyubenko
Reviewed-by: Geir Vattekar
|
| | |
| | |
| | |
| | |
| | |
| | | |
Details: Added comment about QT_NO_WARNING_OUTPUT and/or QT_NO_DEBUG_OUTPUT on http://doc.trolltech.com/4.5/qtglobal.html#qInstallMsgHandler
Review-by: Geir Vattekar
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Adding note about how comparing using 0.0 will fail, and
an example on how to do it.
Reviewed-by: David Boddie
Reviewed-by: Geir Vattekar
|
| | |
| | |
| | |
| | | |
Reviewed-by: Anders Bakken <anders.bakken@nokia.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
is not already running.
Task-number: 231513
Reviewed-by: TrustMe
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Handle cases where QProcess::start() and startDetached() are passed a
null, empty, or "invalid" program string instead of crashing.
Task-number: 247865
Reviewed-by: Andreas Aardal Hanssen
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We basically store the currentFileInfo and use another one to continue
moving into the dir.
Task-number: 247645
Reviewed-by: Olivier
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
It's likely these OS's will show up before we are done with
4.5, so it is worthwhile to have these values here, so that both we
and other developers can do nice things with them.
Reviewed-by: Prasanth Ullattil
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
qWarning and qFatal should be in Latin1.
Reviewed-by: Thiago
|
| | |
| | |
| | |
| | | |
Reviewed-by: TrustMe
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The default scheduling policy on Linux doesn't allow specifying thread
priorities, so the priority passed to start() and setPriority() has no
effect. Document this.
Task number: 249997
Reviewed-by: Kavindra Devi Palaraja <kavindra.palaraja@nokia.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit ba25c4a832516124bcd97758de9eede32797c5a0.
I hadn't meant to merge this commit as it is not ready and not OK'ed
by Brad yet.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
using truncate() on the file name was a bad idea, since
the OS had to open it again - on some file systems, this would
just error out, so QFile::resize() failed by default.
Reviewed-by: Thiago
|
| | |
| | |
| | |
| | | |
remove Qt3Support calls and include ctype.h for isprint()
|
| |\ \
| | |/ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
PRINTER is dependant upon the PICTURE feature in 4.5, since the
PDF and PS engines now uses the QAlphaPaintEngine internally.
Task-number: 248568
Reviewed-by: Samuel Rødal <sroedal@trolltech.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
tools/linguist/lupdate/qscript.cpp
tools/linguist/lupdate/qscript.g
tools/linguist/lupdate/ui.cpp
tools/linguist/shared/cpp.cpp
tools/linguist/shared/qph.cpp
tools/linguist/shared/translator.h
|
| | |/
| | |
| | |
| | |
| | | |
We're a bit too deep in the stack here for QThreadStorage. So just use
the system support, provided it works.
|
| | |
| | |
| | |
| | | |
Reviewed-by: thiago
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
work)
This code was apparently mostly unchanged since 2005. Update it to match
the atomics code.
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
|
| | |
| | |
| | |
| | |
| | | |
the exact length of the template is known, so there is no point in using
the more complex (and thus potentially slower) strncmp instead of memcmp.
|
| | |
| | |
| | |
| | | |
this function is always called with found != 0 nowadays
|
| | | |
|
| |\ \
| | |/ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This results in a syscall and is very slow. Make the call once and cache
the value.
Task-number: 244718
Reviewed-by: TrustMe
|
| |\ \
| | |/ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
that was necessary because when defining QT_NO_TEMPORARYFILE there would
be a compile error in qnetworkdisccache.h, which uses a QTemporaryFile.
Moreover, the script "make_qfeatures_dot_h" was updated to generate LGPL
license header.
Reviewed-by: Paul
Task-number: 248807
|
| |\ \
| | |/ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
commit 57ce15b2984cb7ccc4ab0b5dc03812d525d52620
Author: David Boddie <dboddie@trolltech.com>
Date: Tue Mar 24 16:55:41 2009 +0100
Removed internal, hidden documentation.
Also fixed the language used, slightly.
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
commit 0a81cc2a6dfc98087de92e53d493bed56826642f
Merge: 4bd3eca... dd7b1f1...
Author: David Boddie <dboddie@trolltech.com>
Date: Tue Mar 24 15:24:32 2009 +0100
Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qt into 4.5
commit 4bd3eca8855bb2564e146be4d0a3bba836d20122
Merge: dc789e3... 1d1c52c...
Author: David Boddie <dboddie@trolltech.com>
Date: Mon Mar 23 19:20:05 2009 +0100
Merge branch 'qt/4.5' of ../qt-45-documentation into 4.5
commit 1d1c52c60995058b61ee35e3970fecc1de3b85b6
Merge: 6c5de23... 381b6cc...
Author: David Boddie <dboddie@trolltech.com>
Date: Mon Mar 23 19:17:37 2009 +0100
Merge branch 'qt/4.5' of git://scm.dev.nokia.troll.no/qt/qt-45 into qt/4.5
commit 6c5de23611baef3c6be59b94ebd29d901056c2fc
Author: David Boddie <dboddie@trolltech.com>
Date: Thu Mar 19 18:26:11 2009 +0100
Fixes: Doc: Fixed typo.
Reviewed-by: David Boddie <dboddie@trolltech.com>
commit 5d710cc183699513b1582507dcb4cddefb91c8ad
Author: David Boddie <dboddie@trolltech.com>
Date: Thu Mar 19 18:24:31 2009 +0100
Fixes: Doc: Made it clearer what qDebug() actually does.
Reviewed-by: David Boddie <dboddie@trolltech.com>
commit 1fae0b3b34bf066e2356671a5c6187485b2b587d
Author: David Boddie <dboddie@trolltech.com>
Date: Thu Mar 19 17:53:09 2009 +0100
Fixes: Doc: Added a note about not modifying the text document in a paint event handler.
Task-number: 246550
Reviewed-by: David Boddie <dboddie@trolltech.com>
commit 29662d44de9b42d811e60a1b57d871335888373a
Author: David Boddie <dboddie@trolltech.com>
Date: Thu Mar 19 17:04:07 2009 +0100
Fixes: Doc: Fixed styling of code in this tutorial.
Task-number: 247053
Reviewed-by: David Boddie <dboddie@trolltech.com>
commit 630c11d6f9f20d5f99bc964efaf4b39daaeb32c4
Author: David Boddie <dboddie@trolltech.com>
Date: Thu Mar 19 15:19:24 2009 +0100
Fixes: Doc: Note the use of just the name of a method rather than a complete signature.
Task-number: 247857
Reviewed-by: David Boddie <dboddie@trolltech.com>
|
| |\ \
| | |/ |
|
| | |
| | |
| | |
| | |
| | | |
Reviewed-by: Paul
Reviewed-by: Kavindra Devi Palaraja <kavindra.palaraja@nokia.com>
|
| | |
|