Closed Bug 1719748 Opened 2 years ago Closed 2 years ago

Unify SharedIntlData in SpiderMonkey

Categories

(Core :: Internationalization, task, P3)

task

Tracking

()

RESOLVED FIXED
94 Branch
Tracking Status
firefox94 --- fixed

People

(Reporter: gregtatum, Assigned: anba)

References

Details

(Whiteboard: [i18n-unification])

Attachments

(8 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

https://searchfox.org/mozilla-central/source/js/src/builtin/intl/SharedIntlData.cpp

There is a call to get the calendars, and there are some enumerations of locale information. This could be split into two bugs probably if someone wanted to do some smaller work.

We shouldn't start on this until we've unified more stuff. Blocking this on LanguageTag for now, we can revisit once that is complete.

Depends on: 1719746
Whiteboard: [i18n-unification]
Assignee: nobody → andrebargull
Status: NEW → ASSIGNED

Add GetDefaultLocale() to replace the two calls to uloc_getDefault().

Depends on D126493

Pushed by andre.bargull@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/c086451993cf
Part 1: Add an enumeration over the list of available locales. r=platform-i18n-reviewers,gregtatum
https://hg.mozilla.org/integration/autoland/rev/afe700a3d101
Part 2: Add Collator::GetFirstCase(). r=platform-i18n-reviewers,gregtatum
https://hg.mozilla.org/integration/autoland/rev/14276449fbef
Part 3: Replace ICU calls when determining the list of upper-case first locales. r=platform-i18n-reviewers,gregtatum
https://hg.mozilla.org/integration/autoland/rev/007974a9be0c
Part 4: Add TimeZone::GetAvailableTimeZones(). r=platform-i18n-reviewers,gregtatum
https://hg.mozilla.org/integration/autoland/rev/98c5261756e1
Part 5: Replace ICU calls when determining the list of available time zones. r=platform-i18n-reviewers,gregtatum
https://hg.mozilla.org/integration/autoland/rev/6b6c1a7f22a6
Part 6: Add an enumeration over the list of available locales. r=platform-i18n-reviewers,gregtatum
https://hg.mozilla.org/integration/autoland/rev/c9f7e931dda0
Part 7: Replace remaining ICU calls in SharedIntlData. r=platform-i18n-reviewers,gregtatum
https://hg.mozilla.org/integration/autoland/rev/73554dd49d46
Part 8: Add mozilla::intl::Locale::GetDefaultLocale(). r=platform-i18n-reviewers,gregtatum
You need to log in before you can comment on or make changes to this bug.