qt5base-lts/util
Edward Welbourne bb6a73260e Support digit-grouping correctly
Read three more values from CLDR and add a byte to the bit-fields at
the end of QLocaleData, indicating the three group sizes. This adds
three new parameters to various low-level formatting functions. At the
same time, rename ThousandsGroup to GroupDigits, more faithfully
expressing what this (internal) option means.

This replaces commit 27d1391280 with a
fuller implementation that handles digit-grouping in any of the ways
that CLDR supports. The formerly "Indian" formatting now also applies
to at least some locales for Bangladesh, Bhutan and Sri Lanka.

Fixed Costa Rica currency formatting test that wrongly put a separator
after the first digit; the locale (in common with several Spanish
locales) requires at least two digits before the first separator.

[ChangeLog][QtCore][Important Behavior Changes] Some locales require
more than one digit before the first grouping separator; others use
group sizes other than three. The latter was partially supported (only
for India) at 5.15 but is now systematically supported; the former is
now also supported.

Task-number: QTBUG-24301
Fixes: QTBUG-81050
Change-Id: I4ea4e331f3254d1f34801cddf51f3c65d3815573
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2020-07-14 14:52:08 +02:00
..
accessibilityinspector Use Qt::SplitBehavior in preference to QString::SplitBehavior 2020-02-28 15:37:11 +01:00
aglfn Updated license headers 2016-01-21 18:55:18 +00:00
cmake configurejson2cmake: Use a context manager for file special handling 2020-07-13 10:51:43 +02:00
corelib/qurl-generateTLDs Use QList instead of QVector in util 2020-07-07 20:34:48 +02:00
edid Minor grammar fixup 2018-08-03 18:11:24 +00:00
glgen Remove the openglextensions module 2020-06-10 09:35:04 +02:00
gradientgen Use QList instead of QVector in util 2020-07-07 20:34:48 +02:00
harfbuzz
includemocs QtCore: include mocs 2017-05-05 03:03:30 +00:00
integrity
lexgen Use QList instead of QVector in util 2020-07-07 20:34:48 +02:00
locale_database Support digit-grouping correctly 2020-07-14 14:52:08 +02:00
plugintest Updated license headers 2016-01-21 18:55:18 +00:00
qfloat16-tables Merge remote-tracking branch 'origin/5.13' into 5.14 2019-11-06 11:41:19 +01:00
unicode Use QList instead of QVector in util 2020-07-07 20:34:48 +02:00
x86simdgen Move qsimd* from corelib/tools to corelib/global 2020-03-26 09:15:32 +01:00
xkbdatagen Updated license headers 2016-01-21 18:55:18 +00:00