| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
Conflicts:
examples/webkit/webkit.pro
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
into master-integration
* 'staging-master' of scm.dev.nokia.troll.no:qt/qt-lighthouse:
Fix build for Apple gcc
Add platformNativeInterface assessor to QApplication
Lighthouse: Add dummy QSessionManager
Adapt to different uikit resolutions.
Lighthouse: Make directfb conform with ligthhouse gl context api
Compile fix for window surface features. (uikit)
|
| | |
| | |
| | |
| | | |
Reviewed-by: Paul Olav Tvete
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/qt-earth-staging: (163 commits)
QLocale: Fixed double to currency string conversion on Mac.
Fix qstringbuilder4 test on mac
Compile on Mac.
Revert "HTTP caching internals: fix logic for PreferNetwork and PreferCache"
Use the qt_static_metacall in QueuedConnection
Fix crash after merge of the native symbian thread branch.
Fix bad merge
Re-apply part of ba8e5eedf5f40091eb67dd391a7dcaf9299db2f5
Removed useless comment
SSL code: introduce new error value for blacklisted certificates
Disable DEF files by default for symbian-gcce.
HTTP caching internals: fix logic for PreferNetwork and PreferCache
Added a consistency check for number of missing symbols in elf2e32.
Updated def file after symbol removal.
QLocalSocket: fix abort on Windows.
QStringBuilder: add operator += for QString and QByteArray
Dummy commit to trigger pulse.
Fix QMetaObject::indexOfSlot
Fix compilation
Documentation for the initilize_list constructor
...
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This also fixes the autotest failure on mac with macDefaultLocale test.
Reviewed-by: trustme
(cherry picked from commit 78d47f520b2c4acdf782d39311063f5d44376913)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The behaviour is different with or without QT_FAST_OPERATOR_PLUS
And since on old gcc it is not defined, then the test fails.
With the normal operator+, the bytearray will first be converted to
a QString, and loose everything that is after \0, but now, with
QStringBuilder, we do not do QString conversion anymore, so no data
is lost.
We do not want to specify the behaviour here, so we remove the test.
Reviewed-by: Joao
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Move the work around for old gcc from qstring.h to qbytearray.h
Since QByteArray now also use the FAST_OPERATOR_PLUS, it also
need to be undefined there. and since qstring.h includes qbytearray.h,
it should be placed into qbytearray.h
|
| | |\ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This reverts commit e5d27e7aeac984e46f3aa8de20160cc00fc63155.
Broke the CI.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
And also in QMetaMethod::invoke
Reviewed-by: brad
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The memory leak was fixed in two different ways in
b6c60b0c9778f51af8c80f853d840ba25910c6f4 and
0ee221b374ffef3657247be4c78e05689e04bef7
after the merge, the thread are now deleted twice.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Code was removed in that commit 834ad29849ebef99d7e5c516cde26d550abff7cd
But the merge d54b3f04fa629fe031f1083073eef0145f0d6b1e reintroduced it back
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
It was somehow lost in the merge of the native symbian threads
(wrong merge was cf94df01d2d2364653f2ab602688394450e92d31)
|
| | | | |
| | | | |
| | | | |
| | | | | |
That call was removed in 0ee221b374ffef3657247be4c78e05689e04bef7
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
improve error reporting by introducing a new enum value in case the
peer certificate is blacklisted.
Reviewed-by: Markus Goetz
Task-number: QTBUG-18338
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
elf2e32 crashes when using it, and gcce will not produce matching
symbols anyway. It can still be turned on manually by specifying
-use-deffiles.
Reviewed-by: Liang Qi
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
PreferNetwork means: send out a request and read from cache if it has
not been modified.
PreferCache means: load resource from cache if it has not expired yet.
This commit makes the cache behave according to the documentation.
Reviewed-by: Markus Goetz
|
| | | | |
| | | | |
| | | | |
| | | | | |
Reviewed-by: Trust me
|
| | | | |
| | | | |
| | | | |
| | | | | |
Reviewed-by: Trust me
|
| | |\ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Conflicts:
src/corelib/thread/qthread_unix.cpp
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The socket will not close as long as there are bytes left to write.
So by deleting the pipeWriter bytesToTrite will be 0 and the socket
will close directly.
Task-number: QTBUG-14939
Reviewed-by: Joerg Bornemann
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Optimize cases when we have.
string += someString + someOtherString
Avoid the allocation of one temporary string.
Behaviour change:
byteArray += someString + QByteArray("foo\0bar", 7)
before, the array would end at foo because of the conversion to string
Reviewed-by: hjk
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The wrong offset was added
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Reviewed-by: Joao
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Reviewed-by: Joao
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Reviewed-by: Joao
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Reviewed-by: Markus Goetz
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
... rather than storing it in a bool reference.
Reviewed-by: Markus Goetz
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
no need to add headers to the request if it is not sent but loaded from
cache anyway.
Reviewed-by: Markus Goetz
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Previously, the placeholder was identified in unicode-based QString, and
the offset was assumed to be correct after conversion to the local 8-bit
encoding. This assumption is obviously wrong for variable-sized
encoding, such as utf-8.
With this change, the placeholder is still identified in the original
QString, but conversion to 8-bit encoding is done in a step-wise fashion
and offsets recomputed. This allows us to drop the intermediary argument
verification in _gettemp.
Task-number: QTBUG-4796
Reviewed-by: Robin Burchell
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Reviewed-by: Olivier Goffart
Reviewed-by: Robin Burchell
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
With proper checks for boundary conditions, we no longer need to protect
against reaching the terminating null character.
Reviewed-by: Robin Burchell
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Checking of boundary condition needs to happen whenever there is a
change. Checking anywhere else is useless.
This fixes an issue where we would overrun the placeholder if there was
a 'Z' next to the placeholder string.
Reviewed-by: Robin Burchell
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This removes knowledge about the structure of the filename template from
the randomization process and is a pre-requisite to adding Unicode
support to the code.
Task-number: QTBUG-4796
Reviewed-by: Robin Burchell
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The duplication was there to allow qmake and other tools to compile
without a full build of QtCore. Cleaning up this code justifies losing
the benefit of PID-tagged temporary files in those tools.
Reviewed-by: Olivier Goffart
Reviewed-by: Robin Burchell
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
There should be no semantic differences, otherwise.
Reviewed-by: Harald Fernengel
Reviewed-by: Robin Burchell
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
On Posix platforms, when attempting to atomically create file and obtain
descriptor, we only continue if we get an EEXIST error. If the path
points to a non-existing directory, we should get ENOENT and will fail
as well.
On Windows, the check was already ignored. We would detect the file does
not exist, attempt to obtain a handle upon return to
QTemporaryFileEngine::open and fail there without running "for a *very*
long time".
Checking if the directory exists beforehand is not only unnecessary it
also constitutes a race condition. Trusting the result of this check is
dangerous and doubly useless.
Reviewed-by: Olivier Goffart
Reviewed-by: Robin Burchell
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
There are exactly 2 uses of the _gettemp function: one for windows
platforms, one for all others. Windows requests a file name, others
request a valid file descriptor for that file name.
Despite the 2 distinct use cases, the code was full of #ifdefs to keep
never used code paths compiling.
With this change the qt_mkstemp wrapper is eliminated, together with
dead code inside if (doopen) {} blocks on Windows platforms. The more
proper Q_OS_WIN macro is preferred to Q_WS_WIN.
_gettemp is also changed to return the valid file descriptor on
non-Windows platforms.
Reviewed-by: Olivier Goffart
Reviewed-by: Robin Burchell
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The option to create a directory is never used, so let's drop it. There
are bigger issues with this code.
Reviewed-by: Olivier Goffart
Reviewed-by: Robin Burchell
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
... to also verify template prefix and corner cases with runs of less
than 6 Xs.
Reviewed-by: Olivier Goffart
Reviewed-by: Robin Burchell
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Task-number: QTBUG-4796
Reviewed-by: Olivier Goffart
Reviewed-by: Robin Burchell
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Reviewed-by: Olivier Goffart
Reviewed-by: Harald Fernengel
Reviewed-by: Robin Burchell
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
because the qobject_cast function do not have the right to access the
staticMetaObject.
|