Upgrade segmenter to ICU4X 1.4
Categories
(Core :: Internationalization, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox122 | --- | fixed |
People
(Reporter: TYLin, Assigned: m_kato)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
Attachments
(9 files, 1 obsolete file)
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 |
ICU4X 1.3 is schedule to be released soon, and it fixed bugs in Segmenter. We should upgrade it once it is released.
Reporter | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Note that when ICU4X 1.3 with complied_data feature, https://github.com/rust-lang/cargo/issues/10801 occurs. It means that ./mach vendor rust
copies unnecessary crates.
Reporter | ||
Comment 2•2 years ago
|
||
(In reply to Ting-Yu Lin [:TYLin] (UTC-8) from comment #0)
ICU4X 1.3 is schedule to be released soon, and it fixed bugs in Segmenter. We should upgrade it once it is released.
FYI. https://crates.io/crates/icu_segmenter/1.3.2
(In reply to Makoto Kato [:m_kato] from comment #1)
Note that when ICU4X 1.3 with complied_data feature, https://github.com/rust-lang/cargo/issues/10801 occurs. It means that
./mach vendor rust
copies unnecessary crates.
Yeah, introducing unnecessary crates into gecko is a pain ... Do we have any workaround in gecko?
Assignee | ||
Comment 3•2 years ago
|
||
Also, I file an issue as https://github.com/unicode-org/icu4x/issues/4109. This may be a bug of diplomat_runtime
.
Assignee | ||
Comment 4•2 years ago
|
||
Additional,
- We don't need
dictionary_wl_ext_v1
, but when usingcompiled_data
feature, it have to be required. - License is change to Unicode License V3 (https://www.unicode.org/license.txt). So we have to update
python/mozbuild/mozbuild/vendor/vendor_rust.py
and get approval for this license.
So we cannot upgrade to 1.3.2. So we have to wait for fixing comment #3 dictionary_wl_ext_v1
issue and at least.
Assignee | ||
Comment 5•2 years ago
|
||
Assignee | ||
Comment 6•2 years ago
|
||
Assignee | ||
Comment 7•2 years ago
|
||
Assignee | ||
Comment 8•2 years ago
|
||
Assignee | ||
Comment 9•2 years ago
|
||
Although icu_capi uses weak dependency syntax, cargo vendor doesn't support
it. So this command will copy unnecessary crates. To avoid it, we use modified
version of icu_capi.
Also, icu_capi's C++ headers isn't compatible with clang [*1].
From ICU4X 1.3, there are new icu_*_data crates to custom data file, instead of
icu_testdata.
*1 https://github.com/llvm/llvm-project/issues/70162
Depends on D192900
Assignee | ||
Comment 10•2 years ago
•
|
||
Asking whether Unicode License V3 is allowed (https://phabricator.services.mozilla.com/D193036).
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 11•2 years ago
|
||
By update-icu4x.sh script.
Depends on D192900
Assignee | ||
Comment 12•2 years ago
|
||
Remove unnecessary patches in Cargo.toml
Depends on D193880
Assignee | ||
Comment 13•2 years ago
|
||
Depends on D193881
Assignee | ||
Comment 14•2 years ago
|
||
Depends on D193882
Assignee | ||
Comment 15•2 years ago
|
||
Depends on D193883
Assignee | ||
Comment 16•2 years ago
|
||
Depends on D193884
Assignee | ||
Comment 17•2 years ago
|
||
Depends on D193885
Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 18•2 years ago
|
||
Since ICU4C 74 is backed out in tree, we don't land bug Bug 1806348 yet.
ICU4X 1.4 uses Unicode License V3, so we have to update license text.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 20•2 years ago
|
||
Comment 21•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/69f846d2ca22
https://hg.mozilla.org/mozilla-central/rev/3639285c0b4c
https://hg.mozilla.org/mozilla-central/rev/b3838936ce45
https://hg.mozilla.org/mozilla-central/rev/1bf11c6f147b
https://hg.mozilla.org/mozilla-central/rev/94260c8116da
https://hg.mozilla.org/mozilla-central/rev/1478a3bac570
https://hg.mozilla.org/mozilla-central/rev/676ce33ea864
https://hg.mozilla.org/mozilla-central/rev/980a2ae3ed27
https://hg.mozilla.org/mozilla-central/rev/7b7ac6e2bc52
Description
•