Update our in-tree ICU to 70
Categories
(Core :: Internationalization, enhancement)
Tracking
()
People
(Reporter: anba, Assigned: anba)
References
(Regressed 1 open bug)
Details
Attachments
(16 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
Also updates to CLDR 40 and Unicode 14 and brings various bug fixes and improvements.
Release notes: https://icu.unicode.org/download/70
| Assignee | ||
Comment 1•4 years ago
|
||
Remove the patches for bug 1636984, bug 1648137, and bug 1714933 because the
underlying bugs were fixed in ICU 70 resp. the local patches were backports from
the ICU development branch.
And update the local patches for Sorbian to apply cleanly on ICU 70.
| Assignee | ||
Comment 2•4 years ago
|
||
Update to ICU 70.1 by running "update-icu.sh" with "maint/maint-70" as the target.
| Assignee | ||
Comment 3•4 years ago
|
||
Update to Unicode 14 by running ./make_unicode.py --version=UNIDATA.
| Assignee | ||
Comment 4•4 years ago
|
||
Update to Unicode 14 by running genUnicodePropertyData.pl and genSpecialCasingData.pl.
Depends on D129925
| Assignee | ||
Comment 5•4 years ago
|
||
Update language tag mappings by running ./make_intl_data.py langtags core.zip.
The direct invocation ./make_intl_data.py langtags doesn't work, because
"https://unicode.org/Public/cldr/40/core.zip" was incorrectly generated and
contains another "core.zip" file within "core.zip".
Depends on D129926
| Assignee | ||
Comment 6•4 years ago
|
||
Add the new numbering system "tnsa" and then update numbering systems by
by running ./make_intl_data.py numbering.
Adding "tnsa" to ECMA-402 is tracked at https://github.com/tc39/ecma402/pull/614.
ECMA-402 allows to support additional numbering systems, so even before that PR,
it's okay to support "tnsa". (https://tc39.es/ecma402/#annex-implementation-dependent-behaviour)
Depends on D129927
| Assignee | ||
Comment 7•4 years ago
|
||
Update measurement units by running ./make_intl_data.py units.
Depends on D129928
| Assignee | ||
Comment 8•4 years ago
|
||
Depends on D129929
| Assignee | ||
Comment 9•4 years ago
|
||
Our previous heuristic no longer works, so we now have to patch ICU directly to
support detecting the approximately sign.
Depends on D129930
| Assignee | ||
Comment 10•4 years ago
|
||
This is no longer necessary after part 9.
Depends on D129931
| Assignee | ||
Comment 11•4 years ago
|
||
Depends on D129932
| Assignee | ||
Comment 12•4 years ago
|
||
Requiring at least ICU 70 allows to clean-up code in the next patch of this stack.
Depends on D129933
| Assignee | ||
Comment 13•4 years ago
|
||
Number range formatting is stable in ICU 70, which means we can remove
MOZ_INTL_HAS_NUMBER_RANGE_FORMAT and MOZ_INTL_PLURAL_RULES_HAS_SELECT_RANGE.
The following bugs have been fixed in ICU 70, so we can remove the workarounds
for them:
- https://unicode-org.atlassian.net/browse/ICU-21109
- https://unicode-org.atlassian.net/browse/ICU-21622
- https://unicode-org.atlassian.net/browse/ICU-21641
- https://unicode-org.atlassian.net/browse/ICU-21683
- https://unicode-org.atlassian.net/browse/ICU-21685
- https://unicode-org.atlassian.net/browse/ICU-21686
Depends on D129934
| Assignee | ||
Comment 14•4 years ago
|
||
https://unicode-org.atlassian.net/browse/ICU-21684 has been fixed in ICU 70,
so we no longer have to restrict the maximum positive exponent to 99'999. ICU
allows exponents up to 999'999'999, but formatting a number that large
requires multiple minutes in ICU. If we limit the maximum positive exponent to
9'999'999, we allow numbers much larger than just 99'999, while still
keeping the time needed to format the string at an acceptable level.
Depends on D129935
| Assignee | ||
Comment 15•4 years ago
|
||
Depends on D129936
| Assignee | ||
Comment 16•4 years ago
|
||
Comment 17•4 years ago
|
||
Hi André, these patches wedged Lando when they tried to land. We had to revert the repository to a known-good state to un-break things. Given that most of the people who know Lando are off until next week, can you please hold off on trying to re-land these patches until they're back? Feel free to reach out on Element to coordinate.
| Assignee | ||
Comment 18•4 years ago
|
||
Sure. Thanks for the info. I guess the conduit room is the best place to get in touch with the folks who know about Lando, right?
FWIW, here's the email I got from Lando about the failed request:
Your request to land D129937 failed.
See https://lando.services.mozilla.com/D129937/ for details.
Reason:
Aborting, could not apply patch buffer for 129921, 504440.
(255, b'', b"abort: abandoned transaction found!\n(run 'hg recover' to clean up transaction)")
Comment 19•4 years ago
|
||
(In reply to André Bargull [:anba] from comment #18)
Sure. Thanks for the info. I guess the conduit room is the best place to get in touch with the folks who know about Lando, right?
Yes, exactly the right place. EST is going to be the best hours to discuss during with respect to who'll be around.
Comment 20•4 years ago
|
||
Comment 21•4 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/ddb7978dfd7c
https://hg.mozilla.org/mozilla-central/rev/6826f1884d06
https://hg.mozilla.org/mozilla-central/rev/8f74f6afa9db
https://hg.mozilla.org/mozilla-central/rev/d1b1ebc61bd3
https://hg.mozilla.org/mozilla-central/rev/c16119298a63
https://hg.mozilla.org/mozilla-central/rev/c81dbbfa120b
https://hg.mozilla.org/mozilla-central/rev/ee994717b6cb
https://hg.mozilla.org/mozilla-central/rev/9939757f5b22
https://hg.mozilla.org/mozilla-central/rev/4635ffd59b2a
https://hg.mozilla.org/mozilla-central/rev/9405f9389e29
https://hg.mozilla.org/mozilla-central/rev/a6cbb70bc84e
https://hg.mozilla.org/mozilla-central/rev/31f4bb2c3ca6
https://hg.mozilla.org/mozilla-central/rev/6d19255a7b6f
https://hg.mozilla.org/mozilla-central/rev/d65b061dd308
https://hg.mozilla.org/mozilla-central/rev/c75ac4fa3429
https://hg.mozilla.org/mozilla-central/rev/a1b606f473a0
Updated•4 years ago
|
Updated•4 years ago
|
Description
•