| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Task-number: QTBUG-18149
Reviewed-by: Morten Sorvig
|
| |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Reviewed-by: trustme
|
|
|
|
|
|
|
|
| |
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
|
|\
| |
| |
| |
| | |
Conflicts:
src/corelib/tools/tools.pri
|
| |
| |
| |
| |
| |
| | |
Prepended non-static functions with a qt_ prefix as our policy says.
Reviewed-by: trustme
|
| |
| |
| |
| | |
Reviewed-by: trustme
|
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit 96e3f2358ffdeb12c141e8139cdfbc8b24a14700.
Conflicts:
src/corelib/tools/qlocale_win.cpp
|
| |
| |
| |
| | |
Reviewed-by: trustme
|
| |
| |
| |
| | |
Reviewed-by: Denis Dzyubenko
|
| |
| |
| |
| |
| | |
Reviewed-by: Denis Dzyubenko
Task-number: QTBUG-17088
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
master-i18n
Conflicts:
src/corelib/tools/qlocale.h
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | | |
Reviewed-by: Denis Dzyubenko
Task-number: QTBUG-17097
|
| | |
| | |
| | |
| | | |
Reviewed-by: Zeno Albisser
|
| | |
| | |
| | |
| | | |
Reviewed-by: trustme
|
| | |
| | |
| | |
| | |
| | |
| | | |
Added narrow day name support available on Windows Vista and newer.
Reviewed-by: Zeno Albisser
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | | |
Reviewed-by: Zeno Albisser
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Whenever we are asked to convert a date/time object to string, we should
respect the system digit substitution rules.
Reviewed-by: Zeno Albisser
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |\ \
| | | |
| | | |
| | | |
| | | | |
Conflicts:
src/corelib/tools/qlocale.cpp
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-by: axis
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | | |
Reviewed-by: trustme
|
| | |
| | |
| | |
| | |
| | |
| | | |
Fixes QLocale autotests on Windows.
Reviewed-by: trustme
|
| | |
| | |
| | |
| | | |
Reviewed-by: trustme
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | | |
Task-number: QTBUG-17105
Reviewed-by: trustme
|
| | |
| | |
| | |
| | | |
Reviewed-by: Liang Qi
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Create temp files on the same device as the QTDIR so that rename() will work
properly.
Reviewed-by: Liang Qi
|
| | |
| | |
| | |
| | | |
Reviewed-by: trustme
|
| | |
| | |
| | |
| | | |
Reviewed-by: trustme
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | | |
Reviewed-by: trustme
|
| | |
| | |
| | |
| | | |
Reviewed-by: trustme
|
| | |
| | |
| | |
| | |
| | |
| | | |
Also added a forgotten license header for qlocale.qdoc
Reviewed-by: trustme
|
| | |
| | |
| | |
| | | |
Reviewed-by: trustme
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | | |
Reviewed-by: Denis Dzyubenko
Task-number: QTBUG-17096
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Renames FormatCurrency enum value to CurrencyToString to match other enums.
Task-number: related to QTBUG-17100
Reviewed-by: trustme
|
| | |
| | |
| | |
| | | |
Reviewed-by: trustme
|
| | |
| | |
| | |
| | | |
Reviewed-by: trustme
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
master-i18n
Conflicts:
src/corelib/tools/qlocale.cpp
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Reviewed-by: Denis Dzyubenko
Task-number: QTBUG-17088
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
There is no reason to re-read environment variables all the time.
Reviewed-by: Zeno Albisser
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is just a refactoring change to split huge unreadable qlocale.cpp into
multiple files.
Reviewed-by: Zeno Albisser
|