summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote branch 'qt-master/master'Eckhart Koppen2011-03-08335-2831/+11265
|\
| * Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-air-staging into ↵Qt Continuous Integration System2011-03-0715-918/+1255
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | master-integration * 'master' of scm.dev.nokia.troll.no:qt/qt-air-staging: Fix a typo in an EXPECT_FAIL dataset name. Fix a test naming issue. Improve Q_GLOBAL_STATIC macors. Tests build fix. Refactor qscriptjstestsuite to make it more maintainable Refactor qscriptv8testsuite to make it more maintainable
| | * Fix a typo in an EXPECT_FAIL dataset name.Jedrzej Nowacki2011-03-071-1/+1
| | | | | | | | | | | | | | | | | | | | | This is a bug introduced by 2817520cc3d1e9bf0125f34074bbdba8c31fca0f (Refactor qscriptjstestsuite). Reviewed-by: TrustMe
| | * Fix a test naming issue.Jedrzej Nowacki2011-03-072-34/+34
| | | | | | | | | | | | | | | | | | Project target of a test and test class must match so that all testcase names can be accurately determined even if a test fails to compile or run.
| | * Improve Q_GLOBAL_STATIC macors.Jedrzej Nowacki2011-03-072-63/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The patch fix small issues inside the macros. New features: - Class friendly. The macro can be used inside class declaration to define a static method instead of function. - Encapsulation. Smaller default namespace pollution by hiding all this_ variables inside a function. Reviewed-by: Joao
| | * Tests build fix.Jedrzej Nowacki2011-03-041-1/+1
| | | | | | | | | | | | | | | | | | Latest tests refactoring (8d74ef15220e778bc93fcae2fa072c3615f52dfa) didn't work well with a custom Qt namespace. Two tests: qscriptjstestsuite and qscriptv8testsuite should be fixed now.
| | * Refactor qscriptjstestsuite to make it more maintainableKent Hansen2011-03-035-611/+399
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the infrastructure introduced in commit 8d74ef15220e778bc93fcae2fa072c3615f52dfa to make the test use external configuration files for defining skipped tests and expected failures. Get rid of a lot of code that was previously duplicated from qscriptv8testsuite. Task-number: QTBUG-17903 Reviewed-by: Jedrzej Nowacki
| | * Refactor qscriptv8testsuite to make it more maintainableKent Hansen2011-03-038-223/+771
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the infrastructure for creating a dynamic test object to AbstractTestSuite, so that it can be reused by the qscriptjstestsuite test as well (change coming in next commit). Introduce configuration files for defining skipped tests and expected failures; this was previously embedded in the C++ code, which made it hard to update. Make it possible to override the default test locations through environment variables. This makes it easy to run the autotest against an external repository (e.g. WebKit or V8 trunk), and even different revisions of those repositories. Task-number: QTBUG-17903 Reviewed-by: Jedrzej Nowacki
| * | Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-earth-staging into ↵Qt Continuous Integration System2011-03-0453-638/+2109
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | master-integration * 'master' of scm.dev.nokia.troll.no:qt/qt-earth-staging: (40 commits) Readded a ';;' that was removed by mistake. Fixed mkspec detection for Symbian. Removed javascript-jit from default symbian-gcce build. QAbstractSocket: Check for socket state on Unbuffered reads Corrected a mismerge in GCCE link parameters. QAbstractSocket: Check for engine validity on Unbuffered reads tst_qnetworkreply: fix the MiniHttpServer. tst_qnetworkProxyFactory: fix debug output. Fixed incorrect referral to an include file. tst_qnetworkreply: getErrors() only ignore warning for the specific test Check engine existence before increasing reference count Fixed library casing. Fix Q_INVOKABLE declared after Q_PROPERTY tst_qnetworkreply: small improvements QNAM: Add a warning for misuse of the file backend. Keep reference count for cached font engines in QTextEngine QNAM HTTP: Be more strict with HTTP channel state tst_qnetworkreply: Add a test for broken gzip encoding QNAM HTTP: Add qWarning() for double-finished() bug fix documentation typos in isLowSurrogate and requiresSurrogates ...
| | * \ Merge remote branch 'earth/master' into masterJoão Abecasis2011-02-2853-638/+2109
| | |\ \
| | | * | Readded a ';;' that was removed by mistake.axis2011-02-281-0/+1
| | | | | | | | | | | | | | | | | | | | RevBy: Trust me
| | | * | Fixed mkspec detection for Symbian.axis2011-02-251-3/+2
| | | | | | | | | | | | | | | | | | | | RevBy: Liang Qi
| | | * | Removed javascript-jit from default symbian-gcce build.axis2011-02-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It fails the build anyway. RevBy: Liang Qi
| | | * | QAbstractSocket: Check for socket state on Unbuffered readsMarkus Goetz2011-02-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | | * | Corrected a mismerge in GCCE link parameters.axis2011-02-241-1/+1
| | | | | | | | | | | | | | | | | | | | RevBy: Trust me
| | | * | Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt into earth-masteraxis2011-02-24874-19632/+39788
| | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/network/access/qnetworkreplyimpl.cpp tests/auto/moc/tst_moc.cpp
| | | * | | 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