summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* QAbstractSocket: Check for engine validity on Unbuffered readsMarkus Goetz2011-02-241-2/+5
| | | | | | | | 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
* tst_qnetworkreply: fix the MiniHttpServer.Martin Petersson2011-02-241-1/+5
| | | | Reviewed-by: Markus Goetz
* tst_qnetworkProxyFactory: fix debug output.Martin Petersson2011-02-241-2/+2
| | | | Reviewed-by: Markus Goetz
* Fixed incorrect referral to an include file.axis2011-02-241-1/+1
| | | | | | | Better to make it relative to the profile. That way it is always found, regardless of where Qt is located. RevBy: Liang Qi
* tst_qnetworkreply: getErrors() only ignore warning for the specific testMartin Petersson2011-02-241-1/+6
| | | | Reviewed-by: Markus Goetz
* Check engine existence before increasing reference countJiang Jiang2011-02-241-3/+6
| | | | Reviewed-by: TrustMe
* Fixed library casing.axis2011-02-241-1/+1
| | | | RevBy: Trust me
* Fix Q_INVOKABLE declared after Q_PROPERTYOlivier Goffart2011-02-242-1/+29
| | | | | | | | | moc was starting to parse function one token too late. This was usually unnoticed because there is usually a semi colon, or a colon, or some other token that are ignored. But in this case, a Q_PROPERTY is not ignored, the parsing would fail. Reviewed-by: brad
* tst_qnetworkreply: small improvementsMartin Petersson2011-02-241-10/+15
| | | | Reviewed-by: Markus Goetz
* QNAM: Add a warning for misuse of the file backend.Martin Petersson2011-02-241-0/+2
| | | | | Task-number: QTBUG-17731 Reviewed-by: Markus Goetz
* Keep reference count for cached font engines in QTextEngineJiang Jiang2011-02-241-0/+15
| | | | | | | | So that if these font engines are deallocated elsewhere (by QFontCache for instance), we can still access them in QTextEngine. Task-number: QTBUG-17603 Reviewed-by: Eskil
* QNAM HTTP: Be more strict with HTTP channel stateMarkus Goetz2011-02-242-11/+30
| | | | | | | This fixes a case where finished() and finishedWithError() were both emitted for a single reply. Reviewed-by: Peter Hartmann
* tst_qnetworkreply: Add a test for broken gzip encodingMarkus Goetz2011-02-241-0/+27
|
* QNAM HTTP: Add qWarning() for double-finished() bugMarkus Goetz2011-02-231-0/+10
| | | | Proper bugfix will come with later commit.
* fix documentation typos in isLowSurrogate and requiresSurrogatesJeremy Katz2011-02-231-2/+2
| | | | Reviewed-by: Trust Me
* SSL backend: loat root certificates on demand on Unix (excluding Mac)Peter Hartmann2011-02-2312-15/+611
| | | | | | | | | | Previously, on initializing the first QSslSocket, we read all root certificates into memory (~ 150 files). Now, we tell OpenSSL where to find the root certificates, so that they can be loaded on demand (if supported, see 'man c_rehash' for details). Reviewed-by: Markus Goetz Task-number: QTBUG-14016
* tst_qnetworkreply: Fix httpProxyCommands() on Windows.Martin Petersson2011-02-221-1/+4
| | | | Reviewed-by: Markus Goetz
* do not test against imap.trolltech.comPeter Hartmann2011-02-211-5/+0
| | | | | | | The host seems to have closed the port and we should not use that server for testing anyway. Reviewed-by: Markus Goetz
* QNAM File: Switch back to use QFileMarkus Goetz2011-02-212-36/+18
| | | | | | | Using file engines directly does not anymore have the benefit intended. We now use QFile again as we did before. Reviewed-by: Martin Petersson
* tst_qnetworkreply: Skip known to be broken setReadBufferSize testingMarkus Goetz2011-02-211-2/+4
| | | | Reviewed-by: Martin Petersson
* Stabilize tst_qtimerOlivier Goffart2011-02-211-3/+5
| | | | | | | Using QTRY_VERIFY We should wait more if the timer events did not get received in time because the system was busy.
* QNAM HTTP: Define SynchronousRequestAttribute instead of enum hackMarkus Goetz2011-02-215-20/+18
| | | | Reviewed-by: Peter Hartmann
* QNAM HTTP: Fix compilation 2Markus Goetz2011-02-211-2/+8
|
* QNAM HTTP: Fix compilationMarkus Goetz2011-02-211-4/+6
| | | | Reviewed-by: Olivier Goffart
* tst_qnetworkreply: Fixes for building without SSL supportMarkus Goetz2011-02-211-0/+6
|
* QNAM: Threaded HTTP implementationMarkus Goetz2011-02-2117-507/+1272
| | | | | | | | | | | | | | HTTP requests are run in a separate thread now. This required some big changes in the QNetworkAccessHttpBackend. There is a new class QHttpThreadDelegate which lives in the HTTP thread and is the communication layer between HTTP code and QNetworkAccessHttpBackend. Communication is done via signals/slots. The synchronous HTTP code (private QtWebKit API) also had to be completely re-worked and uses its own thread now. Reviewed-by: Peter Hartmann Task-number: QTBUG-14162
* Avoid warning when seting a window iconOlivier Goffart2011-02-211-1/+1
| | | | | | | | | | QPixmap::handle(): Pixmap is not an X11 class pixmap The problem was that the QBitmap constructor would re-create a copy of the bitmap in a image (because we are using the raster graphicssystem) Reviewed-by: sroedal
* QNativeSocketEngine: Check for WSAEADDRNOTAVAIL on Windows.Martin Petersson2011-02-181-0/+5
| | | | | | This fixes the tst_qnetworkreply getFromUnreachableIp() test on Windows. Reviewed-by: Markus Goetz
* QAbstractSocket: compile without QT3SupportMartin Petersson2011-02-181-1/+1
| | | | Reviewed-by: Markus Goetz
* QNativeSocketEngine: Only do SIO_UDP_CONNRESET for UDP socketsMartin Petersson2011-02-181-9/+11
| | | | Reviewed-by: Markus Goetz
* tst_networkSelfTest: fix smbServer() testMartin Petersson2011-02-181-1/+1
| | | | | | fread() used in the wrong way so test failed on Windows. Reviewed-by: Markus Goetz
* QAbstractSocket: Do not always change notifier on setReadBufferSizeMartin Petersson2011-02-181-1/+1
| | | | | | | | When the connecting process is in progress we should not enable the read notifier. This will be done when we are connected. This fixes the tst_qnetworkreply proxyChange() on Windows. Reviewed-by: Markus Goetz
* Fix tst_v8Olivier Goffart2011-02-171-2/+2
|
* Fix tst_sunspider.cppOlivier Goffart2011-02-171-1/+1
| | | | It was unable to find the scripts
* Remove useless processEventOlivier Goffart2011-02-171-1/+0
| | | | | Task-number: QTBUG-17469 Reviewed-by: Joao
* Add experimental support for armCC on LinuxHarald Fernengel2011-02-115-2/+144
| | | | Reviewed by our Anttis
* Fixed resizing popups with QSizeGrip on X11Denis Dzyubenko2011-02-101-1/+3
| | | | | | | | | Qt::Popup implicitly means Qt::X11BypassWindowManagerHint, and according to ICCCM 4.1.5 window manager should not move or resize windows that have override-redirect flag set (i.e. X11BypassWindowManagerHint). Task-number: QTBUG-11447 Reviewed-by: Olivier Goffart
* Workaround public header depending on private in symbian^3Shane Kearns2011-02-081-1/+6
| | | | | | | f32file.h (public) depends on e32svr.h (private), and in symbian^3 the private headers have been moved to a different include path. Reviewed-by: axis
* Fix reversed conditionOlivier Goffart2011-02-081-1/+1
| | | | Introduced in my previous fix for QTBUG-17257
* Fix warning, unused parametter errorOlivier Goffart2011-02-081-2/+1
| | | | | | Use the Function not implemented error Reviewed-by: Joao
* Fixed mapFromGlobal in some window managers on X11Denis Dzyubenko2011-02-081-1/+16
| | | | | | | | | | | | The previous mapFromGlobal optimization in cdd776a91e65bf5c30cea1bab9823134a3f797d0 broke behavior in some window managers like metacity when resizing by dragging the top-left corner. Most likely it is a bad behaviour of the window manager (according to ICCCM 4.1.5 we should get a ConfigureNotify event with x and y in root coordinates if you consider this is a "movement" of a window). Reviewed-by: Olivier Goffart
* Removed obsolete code that was incorrectly handling ConfigureNotifyDenis Dzyubenko2011-02-081-13/+1
| | | | | | | | | | | The code in question was calling XSync and then processing ConfigureNotify requests, but only using the width/height information from the event, while ignoring the x,y properties. The code was consuming synthetic ConfigureNotify with x,y in root coordinate system that we are supposed to receive from the window manager, which broke mapFromGlobal/mapToGlobal behavior (after cdd776a91e65bf5c30cea1bab9823134a3f797d0) Reviewed-by: Olivier Goffart
* QMutex: do not use inline mutex in debug.Olivier Goffart2011-02-071-1/+8
| | | | | | | | Debugger tools (such as valgrind) hooks into QMutex::lock and QMutex::unlock. So we should continue to call this function if we want to keep those tools working Reviewed-by: brad
* Fix race condition between QEventLoop::exec and QThread::exitOlivier Goffart2011-02-074-2/+29
| | | | | | | As also mentioned in QTBUG-16692 Reviewed-by: brad Task-number: QTBUG-17257
* Remove QThreadData::mutexOlivier Goffart2011-02-071-2/+0
| | | | | | which does not seem to be used. Reviewed-by: Brad
* tst_qnetworkreply: Use proper test server hostnameMarkus Goetz2011-02-071-1/+1
| | | | Reviewed-by: Martin Petersson
* demo browser: Verbose output about Zerocopy usageMarkus Goetz2011-02-042-2/+8
|
* tst_qnetworkreply: Some additionsMarkus Goetz2011-02-041-1/+15
|
* QNAM: Delete old fileMarkus Goetz2011-02-041-84/+0
| | | | | Forgot to delete this file. Since 4.8 we use the QNetworkReplyDataImpl instead of a QNetworkAccessDataBackend
* QNAM: Move authentication cache to separate classMarkus Goetz2011-02-046-245/+424
| | | | | | | | Also make the authentication cache thread-safe by using a mutex and making QNetworkAuthenticationCredential a value-class. Reviewed-by: thiago