summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qlocale.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Doc fix: moved the cldr version outside of the double-to-string license headerDenis Dzyubenko2009-06-031-2/+2
|
* Removed an ifdef in QLocale that breaks the One Definition Rule.Denis Dzyubenko2009-06-021-1/+0
| | | | | | | | | | | From a merge request #553 by Gordon Schumacher: During a build internal to Qt, if a header included by qlocale.cpp itself includes qlocale.h, then QLOCALE_CPP will never be set. If you attempt to build qmake from its own .pro file, qmake_pch.h includes qtextstream.h, which (now) includes qlocale.h, thus causing a compile error trying to call the QSystemLocale(bool) function Inspired-by: Gordon Schumacher <gordon@rebit.com>
* improved string operations all over the placeThierry Bastian2009-05-281-2/+2
| | | | | used character operations whenever possible better usage of QLatin1String
* Some refactoring of windows specific code + a private class of animationsThierry Bastian2009-05-251-2/+2
|
* Fixed 'crazy' warnings about using a string instead of a characterThierry Bastian2009-05-251-2/+2
| | | | | | | Wherever I found that we were using a string instead of a single char I fixed the code. Reviewed-by: olivier
* Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qtSimon Hausmann2009-05-191-2/+2
|\
| * Clarifying what QLocale::C is and is notNils Christian Roscher-Nielsen2009-05-191-2/+2
| | | | | | | | Reviewed-by: David Boddie
* | Fix leak of global dataJoão Abecasis2009-05-081-0/+9
|/ | | | | | | Static variable was dynamically allocated but never freed. Task-number: 253013 Reviewed-by: Thiago
* String-to-number conversion functions should ignore trailing whitespaces.Denis Dzyubenko2009-03-301-3/+6
| | | | | | | | | | | | | | According to our documentation we should ignore leading and trailing whitespaces when converting a string to number with QLocale::toInt and similar functions. However that didn't work for some locales - for those ones that declare groupseparator as 0xa0 (which looks similar to space) since we provide a workaround to accept space as a group separator for those locales. And since the workaround was there for a long time it doesn't make sense to change the behavior and the fix is to explicitely remove leading and trailing whitespaces before doing any conversion. Reviewed-by: mariusSO
* Long live Qt 4.5!Lars Knoll2009-03-231-0/+7220