summaryrefslogtreecommitdiff
path: root/src/corelib/tools/qlocale_win.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Updated year in copyright headerKai Koehne2014-03-261-1/+1
| | | | | | | | | | | | | | | | | | find . -path '*/3rdparty/*' -prune -o -type f -print | xargs -L1 sed -i -E 's/Copyright(.*) 2013 Digia/Copyright\1 2014 Digia/g' Manually patched files: demos/spectrum/3rdparty/fftreal/fftreal_wrapper.h demos/spectrum/3rdparty/fftreal/fftreal_wrapper.cpp src/3rdparty/s60/eiksoftkeyimage.h tools/qdoc3/test/qt-project.qdocconf tests/auto/qsharedpointer/nontracked.h tests/auto/qsharedpointer/nontracked.cpp Change-Id: I3f9074923b4d6bd4666258ab04f01476cc6e901c Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Sergio Ahumada <sahumada@blackberry.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Fix QLocale::standaloneMonthName when d->m_data == systemData()El Mehdi Fekari2013-05-211-0/+2
| | | | | | | | | | | | | | | | | At the moment if d->m_data == systemData() it calls systemLocale()->query but forgets about the standalone part so you get the wrong data This patch introduces the new enums so that backends can implement properly the standaloneMonthName feature properly. At the moment the Windows and Mac ones still return the monthName, the Unix and Blackberry ones return the data we store in months_data. cherry picked from qtbase/b1de018e9a1efcd0f9e298ae4c865197feb47895 Change-Id: I1054420dc696ed2be0d52bdc6567ebaf202faf12 Reviewed-by: Albert Astals Cid <albert.astals@canonical.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Update copyright year in Digia's license headersSergio Ahumada2013-01-131-1/+1
| | | | | | Change-Id: I52bf8ef0447b701b4ebf7d7d240013a72adb9425 Reviewed-by: Akseli Salovaara <akseli.salovaara@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Change copyrights from Nokia to DigiaIikka Eklund2012-09-291-24/+24
| | | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: I280c0a575987d1770e354b4948f1d4d767d711ea Reviewed-by: Simo Fält <simo.falt@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Update contact information in license headers.Sergio Ahumada2012-08-011-2/+2
| | | | | | | | | | | | | - Replace Nokia contact email address with Qt Project website. - Remove "All rights reserved" line from license headers. As in the past, to avoid rewriting various autotests that contain line-number information, an extra blank line has been inserted at the end of the license text to ensure that this commit does not change the total number of lines in the license header. Change-Id: Ie7ba62011752fcb149b99b26317c54f2a0cfa931 Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
* Fix a crash in QSystemLocalePrivate::uiLanguages().Friedemann Kleint2012-02-251-1/+1
| | | | | | | | | Use the correct calling convention. Discovered by the mimetype test in Qt 5. Change-Id: I79b97325dd69466885a64c238935107bf14e9a0d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
* Update year in Nokia copyright messages.Jason McDonald2012-01-111-1/+1
| | | | | | | | | Simple search and replace. This commit doesn't touch 3rd-party files, nor translations (where the change is not so simple and will be handled in a separate commit). Change-Id: I4e48513b8078a44a8cd272326685b25338890148 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Update licenseheader text in source files for qt4.8Jyri Tahtela2011-05-131-17/+17
| | | | | | | Updated version of LGPL and FDL licenseheaders. Apply release phase licenseheaders for all source files. Reviewed-by: Trust Me
* 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
* Added native language and country names (endonyms) to QLocale.Denis Dzyubenko2011-03-291-0/+27
| | | | | | Task-number: QTBUG-17092 Reviewed-by: Zeno Albisser Reviewed-by: Liang Qi
* QLocale fixes.Denis Dzyubenko2011-03-241-3/+3
| | | | | | 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
* 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-171-273/+352
| | | | | | | | 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
* Compile fix for Windows.Denis Dzyubenko2011-03-021-1/+1
| | | | Reviewed-by: trustme
* Added writing script support to QLocale.Denis Dzyubenko2011-03-021-4/+6
| | | | | Task-number: QTBUG-17105 Reviewed-by: trustme
* QLocale: Compile fix for Windows.Denis Dzyubenko2011-02-281-2/+1
| | | | Reviewed-by: trustme
* Fixed documentation for QLocaleDenis Dzyubenko2011-02-251-4/+0
| | | | | | Also added a forgotten license header for qlocale.qdoc Reviewed-by: trustme
* Improved currency value to string conversion in QLocale.Denis Dzyubenko2011-02-251-11/+59
| | | | | | | | | | 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
* Improved QLocale apiDenis Dzyubenko2011-02-251-1/+1
| | | | | | | Renames FormatCurrency enum value to CurrencyToString to match other enums. Task-number: related to QTBUG-17100 Reviewed-by: trustme
* Split monolithic qlocale.cpp into platform-specific filesDenis Dzyubenko2011-02-241-0/+757
This is just a refactoring change to split huge unreadable qlocale.cpp into multiple files. Reviewed-by: Zeno Albisser