summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Improve slightly the performence of activateOlivier Goffart2011-03-311-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid the overhead of QObjectConnectionListVector::at(), when we know anyway which list to take. Reviewed-by: brad
| * | | Optimize QMetaObject::activate (remove call to QThreadData::current)Olivier Goffart2011-03-315-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | QThreadData::current is too slow, it needs to access the TLS The currentThreadId is much faster. Reviewed-by: Brad
| * | | Replace CL_MIN/CL_MAX by qMin/qMaxminiak2011-03-311-23/+20
| | | | | | | | | | | | | | | | | | | | Merge-request: 1011 Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
| * | | Remove ANSI function definitionsminiak2011-03-311-4/+0
| | | | | | | | | | | | | | | | | | | | Merge-request: 1011 Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
| * | | Fix window pixmap initialization strategyJacopo De Simoi2011-03-311-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a compositing manager is active, setting the window pixmap background to None for ARGB windows makes little sense. In this case the background should be transparent Merge-request: 1135 Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
| * | | Track compositingManagerRunning changesJacopo De Simoi2011-03-311-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use XFixes extension to track changes to the compositing manager in such a way that QX11Info::isCompositingManagerRunning() returns a valid result even if compositing has changed after the creation of the QApplication Many thanks to Fredrikh Hoglund for suggesting the correct approach Task-number: QTBUG-6044 Merge-request: 1133 Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
| * | | QSslSocket: fix setReadBufferSizeMartin Petersson2011-03-311-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This fix the qnetworkreply::ioPostToHttpsUploadProgress() auto test. Before the readbuffer where always limited to 1k for ssl sockets. Reviewed-by: Markus Goetz
| * | | Merge remote branch 'origin/master' into 4.8-earthDenis Dzyubenko2011-03-3130-299/+483
| |\ \ \
| * | | | Improved documentation for new QTranslator::load() overloadDenis Dzyubenko2011-03-291-8/+9
| | | | | | | | | | | | | | | | | | | | Reviewed-by: trustme
| * | | | Changed the #ifdef block in QLocale to check for Q_OS_WIN instead of WS.Denis Dzyubenko2011-03-291-1/+1
| | | | | | | | | | | | | | | | | | | | Reviewed-by: Jeremy Katz
| * | | | Fixed checking for default arguments in QLocale::toCurrencyString()Denis Dzyubenko2011-03-291-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We should check whether we got the default argument or the empty string that was provided by the user as toCurrencyString(123, QString("")) Reviewed-by: Zeno Albisser
| * | | | Use region name as a locale name on Mac.Denis Dzyubenko2011-03-291-31/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes the behavior as before we were returning the name that we read from System Preferences -> Language which represents the language for UI translation. Now that we have QLocale::uiLanguages() we don't need a hack that returned UI language as a locale name. This essentially reverts adb6eea3a135707a220c0b1c1cf8266321af9309. Reviewed-by: con
| * | | | Updated CLDR data for QLocale.Denis Dzyubenko2011-03-291-370/+561
| | | | | | | | | | | | | | | | | | | | Reviewed-by: trustme
| * | | | Added native language and country names (endonyms) to QLocale.Denis Dzyubenko2011-03-294-1/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-17092 Reviewed-by: Zeno Albisser Reviewed-by: Liang Qi
| * | | | Fix errors when compiling Qt with STLportCédric OCHS2011-03-281-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-18374 Reviewed-by: Olivier Goffart Merge-request: 1157
| * | | | QSslConfiguration: do not lazily construct the d-pointerPeter Hartmann2011-03-283-25/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...the private class is cheap anyway; and lazy construction lead to problems like setting an empty default configuration would crash etc. Reviewed-by: Markus Goetz Task-number: QTBUG-17550
| * | | | Merge remote branch 'origin/master' into 4.8-earthDenis Dzyubenko2011-03-28120-1159/+3148
| |\ \ \ \
| * | | | | Changed the return value of QLocale::matchingLocales().Denis Dzyubenko2011-03-282-9/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of returning a QStringList, return the list of QLocale objects that can be used directly. Reviewed-by: axis
| * | | | | Fix the leak of QAdoptedThread and all dependent objectsOlivier Goffart2011-03-284-6/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | if there is a QEventDispatcher in QAdoptedThread. QAdoptedThread is supposed to be destroyed when the QThreadData is destroyed. But QThreadData is ref-counted, and QEventDispatcher holds a reference to it. QEventDispatcher is supposed to be destroyed in QThreadPrivate::finish, which is supposed to be called from the destructor of QAdoptedThread. There is a circular dependence. We break it by calling finish in the callback that is called when the thread is finished. Task-number: QTBUG-17986 Reviewed-by: Brad
| * | | | | QtConcurrent: throw exception from destructorOlivier Goffart2011-03-281-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-18149 Reviewed-by: Morten Sorvig
| * | | | | 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-2415-8508/+10978
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | | | | 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-221-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: Denis Dzyubenko
| | * | | | | replaced weekendStart and weekendEnd with weekdays functionZeno Albisser2011-03-214-27/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-175-371/+441
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-084-1/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | | | | | 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-17394-3751/+11806
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-042-2/+28
| | | |/ / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-028-144/+385
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | | | | | 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