summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove 2 QSKIP from tst_qnetworkdiskcacheShane Kearns2011-03-291-6/+0
| | | | | | | Skipped because of open C bug, but these tests are passing in N8 with symbian socket & file engines Reviewed-by: Markus Goetz
* Add bearer startup to qabstractnetworkcache autotestShane Kearns2011-03-291-0/+26
| | | | | | This avoids the test starting and stopping the WLAN for each test case Reviewed-by: Markus Goetz
* 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
* Ensure shared network session deleted from correct threadShane Kearns2011-03-291-1/+6
| | | | | | | | | Due to threaded http, the shared QNetworkSession can have its last reference removed from a http delegate thread. To avoid this deadlocking use a deleteLater custom deleter so that the QNS is deleted from the thread it has affinity for. 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
* Performance: use select poll for timeout of 0msShane Kearns2011-03-291-30/+37
| | | | | | | | A timer of 0ms completes on the next kernel tick (up to 0.999ms) There is a poll GetOpt we can use instead that doesn't require using a timer to cancel the select ioctl. Reviewed-by: Markus Goetz
* Update DEF filesShane Kearns2011-03-287-15/+178
|
* 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-251031-14425/+48704
|\ | | | | | | | | | | | | | | | | | | | | 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
| * Use QByteArray::isEmpty instead of isNull in QLocaleDenis Dzyubenko2011-03-242-4/+4
| | | | | | | | | | | | | | | | When checking whether the environment variable is set or not, check for its length by using isEmpty as the envvar can be set to an empty string. Task-number: QTBUG-15321 Reviewed-by: Zeno Albisser
| * Fixed documentation for QLocaleDenis Dzyubenko2011-03-243-17/+17
| | | | | | | | Reviewed-by: trustme
| * Improved performance of mapFromGlobal/mapToGlobal on X11Denis Dzyubenko2011-03-241-0/+28
| | | | | | | | | | | | | | | | We don't call XTranslateCoordinates anymore, but use the toplevel window offset that we already store to convert between screen coordinates and widget coordinates. Reviewed-by: João Abecasis
| * Merge remote branch 'earth-team/master-i18n' into 4.8-earthDenis Dzyubenko2011-03-2440-8620/+13579
| |\ | | | | | | | | | | | | Conflicts: src/corelib/tools/tools.pri
| | * QLocale fixes.Denis Dzyubenko2011-03-245-28/+28
| | | | | | | | | | | | | | | | | | Prepended non-static functions with a qt_ prefix as our policy says. Reviewed-by: trustme
| | * Fixed a typo in the manual testDenis Dzyubenko2011-03-231-1/+1
| | | | | | | | | | | | Reviewed-by: trustme
| | * Revert "Added short time format support on Windows."Denis Dzyubenko2011-03-231-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 96e3f2358ffdeb12c141e8139cdfbc8b24a14700. Conflicts: src/corelib/tools/qlocale_win.cpp
| | * QLocale: Compile fix for windowsDenis Dzyubenko2011-03-221-44/+43
| | | | | | | | | | | | Reviewed-by: trustme
| | * Bugfixing QLocale::weekdays and updating manual testZeno Albisser2011-03-222-15/+5
| | | | | | | | | | | | Reviewed-by: Denis Dzyubenko
| | * replaced weekendStart and weekendEnd with weekdays functionZeno Albisser2011-03-215-31/+27
| | | | | | | | | | | | | | | 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-1710-374/+530
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | master-i18n Conflicts: src/corelib/tools/qlocale.h
| | | * Updated CLDR data for QLocale.Liang Qi2011-03-081-371/+394
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a temporary commit and meant to be removed before merging the branch into Qt as we don't want to bloat the repository size by updating CLDR every time we make a small change to QLocale, but do that only once when we are done. Reviewed-by: trustme
| | | * Using list patterns to get a string from list in QLocale.Liang Qi2011-03-089-4/+137
| | | | | | | | | | | | | | | | | | | | Reviewed-by: Denis Dzyubenko Task-number: QTBUG-17097
| | * | Cache some values to improve digit substitution on Windows.Denis Dzyubenko2011-03-171-27/+42
| | | | | | | | | | | | | | | | Reviewed-by: Zeno Albisser
| | * | Fixed the qlocale manual test app on symbian.Denis Dzyubenko2011-03-173-3/+10
| | | | | | | | | | | | | | | | Reviewed-by: trustme
| | * | Narrow day name on WindowsDenis Dzyubenko2011-03-171-3/+20
| | | | | | | | | | | | | | | | | | | | | | | | Added narrow day name support available on Windows Vista and newer. Reviewed-by: Zeno Albisser
| | * | Refactored QLocale on Windows.Denis Dzyubenko2011-03-173-274/+358
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added LocaleChanged system locale enum that is queried whenever we detect that the system locale is changed. This should make it easier to have cached values in the system locale implementations. Reviewed-by: Zeno Albisser
| | * | Use digit substitution on Windows for currency formatting.Denis Dzyubenko2011-03-171-1/+4
| | | | | | | | | | | | | | | | Reviewed-by: Zeno Albisser
| | * | Added digit substitution for date/time on Windows.Denis Dzyubenko2011-03-171-7/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Whenever we are asked to convert a date/time object to string, we should respect the system digit substitution rules. Reviewed-by: Zeno Albisser
| | * | Added short time format support on Windows.Denis Dzyubenko2011-03-171-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | Merge remote branch 'earth-team/master' into master-i18nDenis Dzyubenko2011-03-171032-24035/+46417
| | |\ \ | | | | | | | | | | | | | | | | | | | | Conflicts: src/corelib/tools/qlocale.cpp
| | * | | Improved QLocale::quoteString.Denis Dzyubenko2011-03-071-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Whenever the system locale doesn't return the proper alternate quotes we should try the standard quotes before falling back to the CLDR data. Reviewed-by: trustme
| | * | | Extended documentation for QLocale.Denis Dzyubenko2011-03-041-9/+28
| | | | | | | | | | | | | | | | | | | | Reviewed-by: axis
| | * | | Added convenience script enum values to QLocale.Denis Dzyubenko2011-03-043-2/+30
| | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apparently SimplifiedHan and TraditionalHan are not widely used terms, hence adding convenience names SimplifiedChineseScript and TraditionalChineseScript. Also added the missing documentation for the Script enum. Reviewed-by: trustme
| | * | Fixed spelling in the comment.Denis Dzyubenko2011-03-041-1/+1
| | | | | | | | | | | | | | | | Reviewed-by: trustme
| | * | Fixed parsing on the locale name in QLocale.Denis Dzyubenko2011-03-031-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | Fixes QLocale autotests on Windows. Reviewed-by: trustme
| | * | Compile fix for Windows.Denis Dzyubenko2011-03-021-1/+1
| | | | | | | | | | | | | | | | Reviewed-by: trustme
| | * | Updated CLDR data for QLocale.Denis Dzyubenko2011-03-021-4023/+4194
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a temporary commit and meant to be removed before merging the branch into Qt as we don't want to bloat the repository size by updating CLDR every time we make a small change to QLocale, but do that only once when we are done. Reviewed-by: trustme
| | * | Added writing script support to QLocale.Denis Dzyubenko2011-03-0213-182/+613
| | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-17105 Reviewed-by: trustme
| | * | Use the localized represantion of AM/PM string when converting time.Denis Dzyubenko2011-03-011-2/+2
| | | | | | | | | | | | | | | | Reviewed-by: Liang Qi
| | * | Fixed CLDR to QLocale generator.Denis Dzyubenko2011-03-011-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Create temp files on the same device as the QTDIR so that rename() will work properly. Reviewed-by: Liang Qi
| | * | QLocale: Compile fix for Windows.Denis Dzyubenko2011-02-281-2/+1
| | | | | | | | | | | | | | | | Reviewed-by: trustme
| | * | Compile fix on Mac for QLocale.Denis Dzyubenko2011-02-281-1/+1
| | | | | | | | | | | | | | | | Reviewed-by: trustme
| | * | Fixed querying QLocale::uiLanguage on Linux.Denis Dzyubenko2011-02-281-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Handle the case when the LC_MESSAGES only contains the language but not the country code. Also fixes qstring conversion - we cannot use fromRawData as the data is a local array that will be destroyed. Reviewed-by: trustme
| | * | Compile fix for Qt in namespace.Denis Dzyubenko2011-02-281-2/+2
| | | | | | | | | | | | | | | | Reviewed-by: trustme
| | * | Compile fix.Denis Dzyubenko2011-02-251-0/+2
| | | | | | | | | | | | | | | | Reviewed-by: trustme
| | * | Fixed documentation for QLocaleDenis Dzyubenko2011-02-256-60/+112
| | | | | | | | | | | | | | | | | | | | | | | | Also added a forgotten license header for qlocale.qdoc Reviewed-by: trustme
| | * | Fixed the generator script for qlocale after splitting the sources.Denis Dzyubenko2011-02-251-12/+12
| | | | | | | | | | | | | | | | Reviewed-by: trustme
| | * | Improved currency value to string conversion in QLocale.Denis Dzyubenko2011-02-257-70/+163
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | fixed QLocale::quoteString() to allow for QSystemLocale implementationZeno Albisser2011-02-256-29/+34
| | | | | | | | | | | | | | | | | | | | Reviewed-by: Denis Dzyubenko Task-number: QTBUG-17096