Closed
Bug 1405993
Opened 7 years ago
Closed 7 years ago
Update our in-tree ICU to 60
Categories
(Core :: JavaScript: Internationalization API, enhancement, P2)
Core
JavaScript: Internationalization API
Tracking
()
RESOLVED
FIXED
mozilla59
People
(Reporter: anba, Assigned: anba)
References
Details
Attachments
(7 files, 1 obsolete file)
1.50 KB,
patch
|
nika
:
review+
|
Details | Diff | Splinter Review |
10.71 KB,
patch
|
Waldo
:
review+
|
Details | Diff | Splinter Review |
6.00 MB,
application/x-zip-compressed
|
Waldo
:
review+
|
Details |
254.15 KB,
patch
|
Waldo
:
review+
|
Details | Diff | Splinter Review |
2.20 KB,
patch
|
Waldo
:
review+
|
Details | Diff | Splinter Review |
2.22 KB,
patch
|
jfkthame
:
review+
|
Details | Diff | Splinter Review |
848 bytes,
patch
|
anba
:
review+
|
Details | Diff | Splinter Review |
ICU 60 is scheduled for release this month.
http://site.icu-project.org/download/60
Assignee | ||
Comment 1•7 years ago
|
||
:jfkthame, do we still need to regenerate any Unicode tables (bug 1376834, comment #1), or is this no longer an issue since bug 1402271 landed?
Thanks,
André
Flags: needinfo?(jfkthame)
Comment 2•7 years ago
|
||
We still have a small amount of Unicode data that we manage ourselves (because ICU doesn't provide it, or at least doesn't expose it in a form that's usable for us), but it's a vastly cut-down version of what we had previously.
The scripts used to maintain this remnant are in intl/unicharutil/tools; at the time of updating ICU, we should re-run genUnicodePropertyData.pl and genSpecialCasingData.pl there to refresh our data tables. (This is definitely needed if the ICU update bumps the Unicode version that's being supported, so that additional characters or scripts are being added, etc, but to be on the safe side we should probably do it even if the Unicode version is unchanged.)
Flags: needinfo?(jfkthame)
Updated•7 years ago
|
Priority: -- → P2
Assignee | ||
Comment 3•7 years ago
|
||
Try with ICU60-RC:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=f54890bdbfc55c03880c44d8485ce248105fd42f
- Static analysis busted (bug 1407298)
- Doesn't compile on Windows 2012
- Errors in layout/reftests/text-transform/{all-title.html, all-title-ref.html}, I guess because the update script removed "font-size: 12px;" from the CSS style sheets: https://hg.mozilla.org/try/rev/e921d316359036ae8d3e8e6b397756bb7b02da81
Assignee | ||
Comment 4•7 years ago
|
||
(In reply to André Bargull [:anba] from comment #3)
> - Doesn't compile on Windows 2012
Filed http://bugs.icu-project.org/trac/ticket/13411
Assignee | ||
Comment 5•7 years ago
|
||
New Try with the issues mentioned in comment #3 fixed looks good:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=9975fdb22ba0814156aa77e8fc1e72234d7ff8c5
Assignee | ||
Comment 6•7 years ago
|
||
ICU60 release is scheduled for Nov 1st (https://sourceforge.net/p/icu/mailman/message/36082968/).
Assignee | ||
Comment 7•7 years ago
|
||
Allow to call snprintf in ICU sources.
Attachment #8924271 -
Flags: review?(nika)
Assignee | ||
Comment 8•7 years ago
|
||
These patches are no longer necessary for ICU60.
u_setMemoryFunctions-callconvention-anachronism-msvc.diff
- https://ssl.icu-project.org/trac/ticket/13030
bug-1387476-timezone-detection.diff
- https://ssl.icu-project.org/trac/ticket/12770
bug-1380083
- http://bugs.icu-project.org/trac/ticket/13178
bug-1373763-convertToPosix-stack-value-out-of-scope.diff
- https://ssl.icu-project.org/trac/ticket/13263
bug-1387937.diff
- http://bugs.icu-project.org/trac/changeset/40324
Attachment #8924275 -
Flags: review?(jwalden+bmo)
Assignee | ||
Comment 10•7 years ago
|
||
Update to Unicode 10 for SpiderMonkey, so we stay consistent with the Unicode version used in ICU.
Attachment #8924279 -
Flags: review?(jwalden+bmo)
Assignee | ||
Comment 11•7 years ago
|
||
Looks like the CLDR data changed for "ar-MA-u-ca-islamicc", so we need to update this test.
Attachment #8924280 -
Flags: review?(jwalden+bmo)
Assignee | ||
Comment 12•7 years ago
|
||
Updated files after running genUnicodePropertyData.pl.
No changes for genSpecialCasingData.pl are present, except for bug 1407543.
Attachment #8924281 -
Flags: review?(jfkthame)
Assignee | ||
Comment 13•7 years ago
|
||
ICU update requires a CLOBBER.
Attachment #8924282 -
Flags: review+
Updated•7 years ago
|
Attachment #8924271 -
Flags: review?(nika) → review+
Updated•7 years ago
|
Attachment #8924275 -
Flags: review?(jwalden+bmo) → review+
Updated•7 years ago
|
Attachment #8924277 -
Flags: review?(jwalden+bmo) → review+
Updated•7 years ago
|
Attachment #8924279 -
Flags: review?(jwalden+bmo) → review+
Updated•7 years ago
|
Attachment #8924280 -
Flags: review?(jwalden+bmo) → review+
Updated•7 years ago
|
Attachment #8924281 -
Flags: review?(jfkthame) → review+
Comment 14•7 years ago
|
||
Do you plan to support --with-system-icu + ICU 59.1 downstream[1]? If not bump version in build/autoconf/icu.m4.
Both --without-system-icu (default) and --with-system-icu (+ icu-60.1 package) built fine with the patches here on FreeBSD.
[1] Some from https://repology.org/metapackage/icu/versions
Assignee | ||
Comment 15•7 years ago
|
||
(In reply to Jan Beich from comment #14)
> Do you plan to support --with-system-icu + ICU 59.1 downstream[1]? If not
> bump version in build/autoconf/icu.m4.
I don't think we need to bump the minimum required ICU version this time, because (at least currently) we don't use any new API from ICU60.
> Both --without-system-icu (default) and --with-system-icu (+ icu-60.1
> package) built fine with the patches here on FreeBSD.
Great, good to hear!
> [1] Some from https://repology.org/metapackage/icu/versions
Oh, that's a useful site! *bookmarked*
Assignee | ||
Comment 16•7 years ago
|
||
The current plan [1] is to wait with updating ICU until 58 goes beta, because we're quite late in the cycle. So basically in two weeks [2] we can land these patches.
[1] https://mozilla.logbot.info/jsapi/20171101#c13794706-c13794770
[2] https://wiki.mozilla.org/RapidRelease/Calendar
Assignee | ||
Comment 17•7 years ago
|
||
Rebase CLOBBER patch to apply cleanly on inbound.
Attachment #8924282 -
Attachment is obsolete: true
Attachment #8928467 -
Flags: review+
Assignee | ||
Comment 18•7 years ago
|
||
Try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=e338c45cccd3700ce8508efe0f080ea7f2de718b
Keywords: checkin-needed
Comment 19•7 years ago
|
||
Pushed by ebalazs@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/53015dab6075
Part 1: Don't report warnings for sprintf calls in ICU. r=mystor
https://hg.mozilla.org/integration/mozilla-inbound/rev/d6daf71433d2
Part 2: Remove no longer used ICU patches. r=Waldo
https://hg.mozilla.org/integration/mozilla-inbound/rev/00c94696d5a3
Part 3: Update in-tree ICU to release 60.1. rs=Waldo
https://hg.mozilla.org/integration/mozilla-inbound/rev/cf8f20a4de1b
Part 4: Update to Unicode 10 for SpiderMonkey. r=Waldo
https://hg.mozilla.org/integration/mozilla-inbound/rev/8f65e64a3b9e
Part 5: Updated expected results when formatting dates in ar-ma locale. r=Waldo
https://hg.mozilla.org/integration/mozilla-inbound/rev/a917acc8147c
Part 6: Regenerate Unicode files after ICU update. r=jfkthame
https://hg.mozilla.org/integration/mozilla-inbound/rev/e74e4ec2cb39
Part 7: Updating ICU requires a clobber. r=clobber
Keywords: checkin-needed
Comment 20•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/53015dab6075
https://hg.mozilla.org/mozilla-central/rev/d6daf71433d2
https://hg.mozilla.org/mozilla-central/rev/00c94696d5a3
https://hg.mozilla.org/mozilla-central/rev/cf8f20a4de1b
https://hg.mozilla.org/mozilla-central/rev/8f65e64a3b9e
https://hg.mozilla.org/mozilla-central/rev/a917acc8147c
https://hg.mozilla.org/mozilla-central/rev/e74e4ec2cb39
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox59:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Updated•7 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•