summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Make qhttpnetworkconnection autotest work with the new test serverShane Kearns2011-03-291-17/+31
| | | | | | | | | | | | Loosen requirements for generated error pages (these vary with exact version and locale of the web server). Don't care what the length is, but if a content-length header is sent then it should match the size of the error page data. (apache2 does send content-length for errors) Don't fail the gzip test if the server doesn't send a content-length header. That's a server bug rather than Qt. (apache2 doesn't send) Reviewed-by: Markus Goetz
* Symbian workaround for networkselftestShane Kearns2011-03-291-5/+11
| | | | | | | | | | | The frox ftp proxy closes connections using TCP RST instead of a normal TCP FIN. On symbian, this causes the received but unacknowledged preceding packet to be discarded (the "221 Goodbye" ftp response). As QNAM and QFTP don't care about this, the network self test won't either. (only for symbian, as windows and unix TCP/IP stacks retain the unacknowledged packet in the receive queue) Reviewed-by: Markus Goetz
* Bearer support for autotestsShane Kearns2011-03-292-1/+27
| | | | | | | Start default bearer when running network self test Fix typo in qnetworkreply test Reviewed-by: Markus Goetz
* Fix new http multipart test case on symbianShane Kearns2011-03-251-8/+5
| | | | | | | The new test added three reference data files required by the test, but these were not being included in the sis file. Reviewed-by: mread
* Merge remote branch 'earth/master' into symbian-socket-engineShane Kearns2011-03-25182-1958/+9501
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: src/network/access/qhttpnetworkconnectionchannel.cpp src/network/socket/qlocalsocket.cpp src/s60installs/bwins/QtCoreu.def src/s60installs/bwins/QtGuiu.def src/s60installs/bwins/QtTestu.def src/s60installs/eabi/QtCoreu.def src/s60installs/eabi/QtGuiu.def
| * Merge remote branch 'earth-team/master-i18n' into 4.8-earthDenis Dzyubenko2011-03-2417-2/+1842
| |\ | | | | | | | | | | | | Conflicts: src/corelib/tools/tools.pri
| | * Fixed a typo in the manual testDenis Dzyubenko2011-03-231-1/+1
| | | | | | | | | | | | Reviewed-by: trustme
| | * Bugfixing QLocale::weekdays and updating manual testZeno Albisser2011-03-221-8/+2
| | | | | | | | | | | | Reviewed-by: Denis Dzyubenko
| | * replaced weekendStart and weekendEnd with weekdays functionZeno Albisser2011-03-211-4/+7
| | | | | | | | | | | | | | | Reviewed-by: Denis Dzyubenko Task-number: QTBUG-17088
| | * Merge branch 'master-i18n' of scm.dev.nokia.troll.no:qt/qt-earth-team into ↵Denis Dzyubenko2011-03-173-0/+49
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | master-i18n Conflicts: src/corelib/tools/qlocale.h
| | | * Using list patterns to get a string from list in QLocale.Liang Qi2011-03-083-0/+49
| | | | | | | | | | | | | | | | | | | | Reviewed-by: Denis Dzyubenko Task-number: QTBUG-17097
| | * | Fixed the qlocale manual test app on symbian.Denis Dzyubenko2011-03-173-3/+10
| | | | | | | | | | | | | | | | Reviewed-by: trustme
| | * | Merge remote branch 'earth-team/master' into master-i18nDenis Dzyubenko2011-03-17309-1170/+20948
| | |\ \ | | | |/ | | |/| | | | | | | | | Conflicts: src/corelib/tools/qlocale.cpp
| | * | Added writing script support to QLocale.Denis Dzyubenko2011-03-022-16/+51
| | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-17105 Reviewed-by: trustme
| | * | Improved currency value to string conversion in QLocale.Denis Dzyubenko2011-02-253-10/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added a second, optional, argument to QLocale::toCurrencyString() that represents a currency symbol that is supposed to be added to the formatted string. Task-number: QTBUG-17100 Reviewed-by: Zeno Albisser Reviewed-by: Olivier Goffart
| | * | Merge branch 'master-i18n' of scm.dev.nokia.troll.no:qt/qt-earth-team into ↵Denis Dzyubenko2011-02-243-15/+43
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | master-i18n Conflicts: src/corelib/tools/qlocale.cpp
| | | * | Implemented QLocale::weekendStart and QLocale::weekendEndZeno Albisser2011-02-243-15/+43
| | | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: Denis Dzyubenko Task-number: QTBUG-17088
| | * | | QLocale improvements on unix/linux.Denis Dzyubenko2011-02-241-0/+3
| | |/ / | | | | | | | | | | | | | | | | | | | | There is no reason to re-read environment variables all the time. Reviewed-by: Zeno Albisser
| | * | Improved qlocale manualtestDenis Dzyubenko2011-02-2313-45/+469
| | | | | | | | | | | | | | | | Reviewed-by: trustme
| | * | Added UI languages property to QLocaleDenis Dzyubenko2011-02-236-2/+147
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The return value is a sorted list of locale names that could be used for presenting data to the user (i.e. for translations). Task-number: QTBUG-7329 Reviewed-by: Zeno Albisser
| | * | Added Misc Tab to QLocale manual test to test quotationZeno Albisser2011-02-225-2/+158
| | | | | | | | | | | | | | | | Reviewed-by: Denis Dzyubenko
| | * | Implemented QLocale::quoteString(...)Zeno Albisser2011-02-221-0/+16
| | | | | | | | | | | | | | | | | | | | Reviewed-by: Denis Dzyubenko Task-number: QTBUG-17096
| | * | Changed manual QLocale test to update FirstDayOfWeek automaticallyZeno Albisser2011-02-221-1/+2
| | | | | | | | | | | | | | | | Reviewed-by: Denis Dzyubenko
| | * | Merge remote branch 'earth-team/4.7-i18n' into master-i18nDenis Dzyubenko2011-02-211-0/+3
| | |\ \
| | | * | Fixes QLocale locale name parsing.Denis Dzyubenko2011-02-031-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow BCP47 dash as a language-country separator. This only changes it one way - parsing 'en-US' will work, but QLocale::name() will still return name with underscore as separator. Task-number: QTBUG-15835 Reviewed-by: João Abecasis
| | * | | Changed the qlocale autotestDenis Dzyubenko2011-02-181-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moc was failing on the string constructed using multiple quoted strings. The following fails to parse: "foo""bar". Reviewed-by: trustme
| | * | | Added a manual test for qlocaleDenis Dzyubenko2011-02-178-0/+930
| | | | | | | | | | | | | | | | | | | | Reviewed-by: Zeno Albisser
| | * | | Added currency support for QLocaleDenis Dzyubenko2011-02-171-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | REMARK: This commit is missing updated static cldr data in src/corelib/tools/qlocale_data_p.h that has been left out intentionally to avoid repository bloating. Before compiling make sure to update that file using the scripts util/local_database/cldr2qlocalexml.py and util/local_database/qlocalexml2cpp.py. Otherwise you will most likely experience segmentation faults. Task-number: QTBUG-17100 Reviewed-by: Zeno Albisser
| * | | | Fix tst_QVariant::qvariant_cast_QObjectOlivier Goffart2011-03-231-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | qvariant_cast_QObject_data was creating the QVariant wrong, The QVariant(int, void*) constructor take a pointer to the value of the type ObjectStar (hence a pointer to a pointer) Task-number: QTBUG-18257
| * | | | Remove the qdeclarativewebview autotest.Olivier Goffart2011-03-2320-733/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This does not belongs inside Qt, but inside the webkit repository. Acknowledged-by: Alan Alpert and Andreas Kling
| * | | | network API: add support for HTTP multipart messagesPeter Hartmann2011-03-224-0/+343
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds two new classes, QHttpPart and QHttpMultiPart, and two new overloads to QNetworkAccessManager: post(const QNetworkRequest &request, QHttpMultiPart *multiPart) and put(const QNetworkRequest &request, QHttpMultiPart *multiPart). With those classes, it is possible to do a HTTP POST with a multipart message in a memory-saving way: The data from the parts is not copied when read from a file or another QIODevice. Reviewed-by: Markus Goetz Task-number: QTBUG-6222
| * | | | QNAM HTTP: Fix bug with explicitly zero-length compressed responses.Andreas Kling2011-03-221-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the case of a response with e.g content-encoding "gzip" and content-length "0", the HTTP backend would incorrectly fall back to the "unspecified length" code path and wait for readyRead() forever. Task-number: QTBUG-18232 Reviewed-by: Markus Goetz
| * | | | SSL: send SNI extension only if not connecting to an IPPeter Hartmann2011-03-221-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | otherwise the host name and the name we send in the SNI header (the IP) would not match. Reviewed-by: Thiago Macieira Reviewed-by: Richard J. Moore Task-number: QTBUG-18258
| * | | | Merge remote-tracking branch 'origin/master'Olivier Goffart2011-03-21139-1181/+7118
| |\ \ \ \
| | * \ \ \ Merge branch 4.7 into qt-master-from-4.7Qt Continuous Integration System2011-03-181-21/+146
| | |\ \ \ \
| | | * \ \ \ Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2011-03-171-21/+146
| | | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1: Fix accidental population of the disk cache with partial content Fix disk cache interaction for range retrieval HTTP requests.
| | | | * | | | Fix accidental population of the disk cache with partial contentSimon Hausmann2011-03-171-0/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the disk cache does not support partial content, we should not try to store it in the cache altogether. Done-with: Jocelyn Turcotte Reviewed-by: Markus Goetz Reviewed-by: Peter Hartmann
| | | | * | | | Fix disk cache interaction for range retrieval HTTP requests.Simon Hausmann2011-03-171-21/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The disk cache API does not currently support retrieving partial content, it can only serve entire files. Therefore we disable the use of the cache for these kinds of requests, as indicated by the presence of the Range header field. Done-with: Jocelyn Turcotte Reviewed-by: Markus Goetz Reviewed-by: Peter Hartmann
| | * | | | | | Merge remote-tracking branch 'origin/4.7' into qt-master-from-4.7Thiago Macieira2011-03-179-12/+183
| | |\ \ \ \ \ \ | | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: tests/auto/declarative/qdeclarativetext/tst_qdeclarativetext.cpp
| | | * | | | | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integrationQt Continuous Integration System2011-03-174-1/+95
| | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: PathView doesn't update if preferred highlight range changes. Image.PreserveAspectFit has unexpected effect on Image's sourceSize Doc improvement for Image.fillMode.
| | | | * | | | | PathView doesn't update if preferred highlight range changes.Martin Jones2011-03-172-1/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Simply call refill() when they change. Change-Id: I45ab56cbcaf5c726ce4c4f23f66ee687a6d89dad Task-number: QTBUG-15356 Reviewed-by: Kevin Wu Won
| | | | * | | | | Image.PreserveAspectFit has unexpected effect on Image's sourceSizeMartin Jones2011-03-172-0/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The sourceSize should always be the size of the image, unless set otherwise. When calculating the size of an image with Image.PreserveAspectFit set the natural image size should be used for the calculation if no size has been set explicitly. Change-Id: I104b7d1c3c16aa5b4fc98b1f9078ed8ae997cf69 Task-number: QTBUG-16389 Reviewed-by: Joona Petrell
| | | * | | | | | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integrationQt Continuous Integration System2011-03-171-3/+3
| | | |\ \ \ \ \ \ | | | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: QDeclarativeView flickers when composited on MeeGo Re-enable lineHeight tests.
| | | | * | | | | Re-enable lineHeight tests.Yann Bodson2011-03-171-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These tests were disabled by 24d8e96624af91ab01a20c10625858300f16099b Change-Id: I5bf3e11dfb3c975415c3039b39a39c22984d2900
| | | * | | | | | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-water-staging into ↵Qt Continuous Integration System2011-03-161-11/+58
| | | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/qt-water-staging: Introduce QGraphicsItem::ItemStopsFocusHandling flag
| | | | * \ \ \ \ \ Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-water-team into 4.7Jan-Arve Sæther2011-03-1649-89/+2645
| | | | |\ \ \ \ \ \
| | | | * | | | | | | Introduce QGraphicsItem::ItemStopsFocusHandling flagMichael Hasselmann2011-03-161-11/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When set for an item, QGraphicsScene will skip focus handling for this item and everything underneath it (including focus-out). Allows users to reimplement custom focus handling. Use case: touch devices that implement panning. Here, focus-in has to happen only if no panning was triggered. Analogous, no focus-out should happen when panning was detected. Fixes the alternative proposal ("black holes for focus changes") of QTBUG-16343: QGraphicsView doesn't support focus change on mouse release. The previous test was only testing one scenario, which didn't give a good idea whether the flag was actually working as intended. Task-number: QTBUG-17505 Reviewed-by: Yoann Lopes Reviewed-by: Jan-Arve Sæther
| | | * | | | | | | | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integrationQt Continuous Integration System2011-03-164-0/+30
| | | |\ \ \ \ \ \ \ \ | | | | | |_|/ / / / / | | | | |/| | / / / / | | | | |_|_|/ / / / | | | |/| | | | | | * '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: Qt.include() used in WorkerScript is broken on Windows.
| | | | * | | | | | Qt.include() used in WorkerScript is broken on Windows.Martin Jones2011-03-164-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The script local filename was used to resolve the source URL rather than the script URL. Change-Id: I78aa23eadbd76e100bb872b6ac9459aa9a5ee5ce Task-number: QTBUG-17977 Reviewed-by: Aaron Kennedy
| | * | | | | | | | Merge remote-tracking branch 'origin/4.7' into HEADThiago Macieira2011-03-1612-10/+173
| | |\ \ \ \ \ \ \ \ | | | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure mkspecs/symbian-gcce/qmake.conf qmake/generators/metamakefile.cpp qmake/generators/win32/mingw_make.cpp src/corelib/global/global.pri src/corelib/global/qglobal.h src/opengl/qgl.cpp src/opengl/qwindowsurface_gl.cpp src/plugins/platforms/wayland/qwaylandbuffer.h tests/auto/qnetworkreply/tst_qnetworkreply.cpp tools/designer/src/components/formeditor/qdesigner_resource.cpp