| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Whenever we are asked to convert a date/time object to string, we should
respect the system digit substitution rules.
Reviewed-by: Zeno Albisser
|
|
|
|
|
|
|
| |
Since Windows 7 there is a new TIME_NOSECONDS flag that is supposed to be used
whenever short time format is requested.
Reviewed-by: Zeno Albisser
|
|\
| |
| |
| |
| | |
Conflicts:
src/corelib/tools/qlocale.cpp
|
| |
| |
| |
| |
| |
| |
| |
| | |
We need to set the state properly after we have been disconnected.
Also fix the HTTP layer, it needs to handle the disconnect
when reading.
Reviewed-by: Peter Hartmann
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The cache ends up dog-slow because of poor distribution in hashing
of QStrings, and even with a better hashing function, computing the
result on the fly is still faster.
Tested with WebCore.pro, on Linux processing time goes from 58 to
8 seconds, and on Windows from 105 to 65 seconds.
Reviewed-by: Marius Storm-Olsen
|
| |
| |
| |
| | |
Reviewed-by: Oswald Buddenhagen
|
| |
| |
| |
| | |
Reviewed-by: Oswald Buddenhagen
|
| |
| |
| |
| | |
Reviewed-by: Peter Hartmann
|
| |
| |
| |
| |
| |
| | |
Task-number: QT-4658
Task-number: QT-3494
Reviewed-by: Peter Hartmann
|
| |
| |
| |
| |
| |
| |
| |
| | |
... so that an application that uses SecureProtocols can make use of
updates to a Qt version without being recompiled.
Reviewed-by: Markus Goetz
Reviewed-by: Richard J. Moore
|
| |
| |
| |
| |
| |
| |
| |
| | |
We have changed 'Use in build' for VS2010 to now use "Excluded From
Build" to have the same as in VS2008. This will enable post build
event again for VS2010.
Reviewed-by: Joerg Bornemann
|
| |
| |
| |
| |
| |
| |
| |
| | |
With this patch, we only use SNI functionality when the SSL version
supports it (meaning when using TLS), otherwise the function call
would trigger a warning.
Reviewed-by: Markus Goetz
|
| |
| |
| |
| |
| |
| |
| |
| | |
... and introduce a new enum SecureProtocols.
Switching the default version is better for compatibility (e.g.
servers using this option will understand both TLS and SSL 3).
Reviewed-by: Markus Goetz
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
currently there are 3 supported protocols: SSL2, SSL3 and TLS1. SSL2
is considered insecure and should not be used anymore. This commit
offers an option to use both TLS1 and SSL3, leaving SSL2 out.
Part-of-the-patch-by: Darren Lissimore
Reviewed-by: Markus Goetz
Task-number: QTBUG-12338
|
| |
| |
| |
| |
| | |
Task-number: QTBUG-13055
Reviewed-by: Markus Goetz
|
| |
| |
| |
| |
| | |
Task-number: QTBUG-13593
Reviewed-by: Richard Moe Gustavsen
|
| |
| |
| |
| |
| | |
Task-number: QTBUG-13055
Reviewed-by: Olivier Goffart
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Connect a new channel only when there is no one currently available.
Only pair the request with the channel once we know if it got connected
or not. This leads to faster sending on requests as we reuse already
connected channels that became free in the meanwhile.
Task-number: QTBUG-17084
Reviewed-by: Markus Goetz
Reviewed-by: Peter Hartmann
|
| |
| |
| |
| | |
Reviewed-by: Markus Goetz
|
| |
| |
| |
| |
| | |
Task-number: QTBUG-14807
Reviewed-by: Markus Goetz
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
SNI = Server Name Indication. The function "SSL_ctrl()" has been there
since always in OpenSSL, but not with the specific enum
SSL_CTRL_SET_TLSEXT_HOSTNAME, so let's avoid the call for older
versions.
Additionally, fix the resolving of SSL_CTX_load_verify_locations for
Symbian (is not used in Symbian yet).
Reviewed-by: Markus Goetz
|
| |
| |
| |
| |
| |
| |
| | |
Introduced a ClosingState for the channel to better track the state
of the socket.
Reviewed-by: Markus Goetz
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Phonon exports template instantiations. These exports get weak symbol
binding, which is correct according to the C++ ABI, but the problem
is that elf2e32 has a bug which does not transfer the weak symbols
correctly to the dso file. Therefore, the example will work if you
have a prebuilt Qt version and use GCCE, but not if you build Qt from
scratch using GCCE.
For normal non-template symbols it is not a problem since they get
global bindings. RVCT also produces global bindings.
RevBy: Shane Kearns
|
| |
| |
| |
| |
| |
| |
| | |
The data returned by constData() will not be null-terminated if the QByteArray
was created from an existing raw data with QByteArray::fromRawData().
Reviewed-by: Oswald Buddenhagen
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Instead of relying on the old behavior of the deprecated QString(QByteArray)
constructor which stops copying the byte array at the null termination
character if there is one embedded in the array, we copy the whole provided
QByteArray object into the QString when QStringBuilder is used.
Reviewed-by: Harald Fernengel
|
| |
| |
| |
| |
| |
| |
| |
| | |
When QSplashScreen waits for the window to be fully shown, we shouldn't
re-enter the event loop by processing posted events.
Reviewed-by: axis
Reviewed-by: Olivier Goffart
|
| | |
|
| |
| |
| |
| |
| |
| | |
when QT_NO_CAST_FROM_ASCII is not defined, the string is assigned
to an string with more than ascii.
So if the codecForLocale is not latin1, it would fail.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
QString() is a no-op if string is already a QString
And it fixes the compilation if other types are use that do not have
toLocal8Bit such as QStringBuilder.
WebKit trunk has an instance of such usage.
Reviewed-by: Joao
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When reading large files that are greater in size than the
TEXTSTREAM_BUFFERSIZE buffer, calling pos() caused erroneous buffer
positioning. The cause of this was QTextStreamPrivate::readBufferOffset
value being updated, but QTextStreamPrivate::readConverterSavedStateOffset
was not. Usually, if pos() is called, it is called multiple times. Since
QTextStreamPrivate::readConverterSavedStateOffset was never reset,
QTextStreamPrivate::readBufferOffset would accumulate the wrong position
and QTextStreamPrivate::consume() will 'discard' the wrong number of
bytes from the buffer.
Task-number: QTBUG-9814
Merge-request: 2569
Reviewed-by: Olivier Goffart <olivier.goffart@nokia.com>
|
| |
| |
| |
| | |
Reviewed-by: Benjamin Poulain
|
| | |
|
| |
| |
| |
| |
| |
| | |
That occured with the removal of the qt3support dependency.
The setIcon call was added after the merge request was created.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Revert "Revert the integration of the merge request 2286."
This reverts commit e3edad83a1e6e99a551d40d4118352435c6dd710.
This had been submitted in the Qt 4.7, but reverted because
the change was to intrusive to be pushed in a stable branch.
Now re-apply the change in master.
Conflicts:
tools/qtconfig/mainwindowbase.cpp
tools/qtconfig/mainwindowbase.h
tools/qtconfig/paletteeditoradvancedbase.cpp
tools/qtconfig/paletteeditoradvancedbase.h
tools/qtconfig/paletteeditoradvancedbase.ui
tools/qtconfig/previewwidgetbase.cpp
tools/qtconfig/previewwidgetbase.h
tools/qtconfig/previewwidgetbase.ui
tools/tools.pro
|
| |
| |
| |
| |
| |
| |
| | |
... by defining it ourselves. That symbol is missing in the header files
for Symbian.
Reviewed-by: Shane Kearns
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
TLS is backward compatible, so servers only supporting SSL 3 should
still work. All browsers send a TLS 1.0 Client Hello these days.
However, some servers apparently have problems with a TLS handshake
(and a SNI message); for now, wait and see how many of them are
broken and either add a fallback to SSLv3 or blacklist them (i.e.
set the used SSL version for those servers explicitly).
Reviewed-by: Markus Goetz
|
| |
| |
| |
| | |
Task-number: QTBUG-1352
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This allows to set the sslPeerName even when not using
connectToHostEncrypted, but rather connectToHost + startClientEncryption
Task-number: QTBUG-1352
Merge-request: 1110
Reviewed-by: Peter Hartmann <peter.hartmann@nokia.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
As suggested by p--hartmann in a comment for MR 1574.
Task-number: QTBUG-1352
Merge-request: 1110
Reviewed-by: Peter Hartmann <peter.hartmann@nokia.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
...to client QSslSocket connections when supported by openssl as per
task tracker id #188841
Merge-request: 1574
Reviewed-by: Peter Hartmann <peter.hartmann@nokia.com>
|
| |\ |
|
| | |
| | |
| | |
| | | |
RevBy: Trust me
|
| | |
| | |
| | |
| | | |
RevBy: Liang Qi
|
| | |
| | |
| | |
| | |
| | |
| | | |
It fails the build anyway.
RevBy: Liang Qi
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In the Unbuffered QTcpSocket mode the read() call could
go to the socket engine even though we are not connected right now.
Reviewed-by: Peter Hartmann
|
| | |
| | |
| | |
| | | |
RevBy: Trust me
|
| | |\
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
src/network/access/qnetworkreplyimpl.cpp
tests/auto/moc/tst_moc.cpp
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Do not call read() if the socket engine is already invalid.
This could happen when using the Unbuffered QTcpSocket mode which
is currently only used inside QNetworkAccessManager.
Reviewed-by: Shane Kearns
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-by: Markus Goetz
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-by: Markus Goetz
|