Unify DisplayNames in SpiderMonkey
Categories
(Core :: Internationalization, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox97 | --- | fixed |
People
(Reporter: gregtatum, Assigned: gregtatum)
References
Details
(Whiteboard: [i18n-unification])
Attachments
(4 files, 2 obsolete files)
https://searchfox.org/mozilla-central/source/js/src/builtin/intl/DisplayNames.cpp
Most likely a mozilla::intl::DisplayNames
needs to be created.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
I have a local patch starting this, and I think it's going to have to depend on LanguageTags (Bug 1719746) as there is significant usage of that class here. With the fallbacking behavior, it's hard to negotiate the string usage. I would prefer the unified API just providing the final result and handling language tag canonicalization internally.
I've gone back and forth a bit on the design, and I think it will be simpler to not do it incrementally like I'm trying.
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
Assignee | ||
Comment 3•3 years ago
|
||
Depends on D129662
Assignee | ||
Comment 4•3 years ago
|
||
Depends on D130798
Assignee | ||
Comment 5•3 years ago
|
||
Depends on D130799
Assignee | ||
Comment 6•3 years ago
|
||
This simplifies the call sites that take Span locale, and ensures null
termination.
Assignee | ||
Comment 7•3 years ago
|
||
Depends on D131668
Assignee | ||
Comment 8•3 years ago
|
||
This will not build, but will provide a better diff for the changes.
Depends on D131669
Comment 9•3 years ago
|
||
Comment on attachment 9251640 [details]
Bug 1719735 - Naively rename intl/locale/DateTimeFormat to AppDateTimeFormat; r?#platform-i18n-reviewers!
Revision D131670 was moved to bug 1715892. Setting attachment 9251640 [details] to obsolete.
Updated•3 years ago
|
Comment 10•3 years ago
|
||
Assignee | ||
Comment 11•3 years ago
|
||
I'm only landing the first pieces of approved patches which Bug 1715892 is using. I still need review on the rest of the patch stack.
Comment 12•3 years ago
|
||
Backed out 6 changesets (Bug 1715892, Bug 1719735) for causing bc test failures.
Backout link
Push with failures
Failure Log
Assignee | ||
Updated•3 years ago
|
Comment 13•3 years ago
|
||
Assignee | ||
Updated•3 years ago
|
Comment 14•3 years ago
|
||
bugherder |
Assignee | ||
Comment 15•3 years ago
|
||
I landed the first part of the patch stack with Bug 1715892 while waiting for the final reviews on the DisplayNames patches.
Comment 16•3 years ago
|
||
Comment 17•3 years ago
|
||
bugherder |
Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Description
•