gecko-dev/intl/locale
Dan Minor 429ae74074 Bug 1426907 - Add OSPreferences::OverrideDateTimePattern method; r=zbraniecki
This new method allows for the user to override the long and short date and
time patterns by prefs. If no overrides are set or it fails while processing
the prefs, it will fallback to the existing methods for determining the patterns.
Since the user may have only overriden one of date or time, it is necessary to
be able to look up the other separately and combine the results.

This adds a prefix callback that watches the new prefs and flushes the cache if
they change. Otherwise, the user would have to restart the browser to see the
results of changing a pref, and would make testing more difficult. Unregistering
this callback required changes to the destructor, which was previously defined
separately on each operating system. A new RemoveObservers method has been added
to handle OS specific cleanup.

Differential Revision: https://phabricator.services.mozilla.com/D94433
2020-10-27 20:41:58 +00:00
..
android Bug 1426907 - Add OSPreferences::OverrideDateTimePattern method; r=zbraniecki 2020-10-27 20:41:58 +00:00
gtk Bug 1426907 - Add OSPreferences::OverrideDateTimePattern method; r=zbraniecki 2020-10-27 20:41:58 +00:00
mac Bug 1426907 - Add OSPreferences::OverrideDateTimePattern method; r=zbraniecki 2020-10-27 20:41:58 +00:00
rust Bug 1654807 - update thin-vec to 0.2.1 for potential endianess fix. r=froydnj 2020-09-14 17:32:40 +00:00
tests Bug 1426907 - Add OSPreferences::OverrideDateTimePattern method; r=zbraniecki 2020-10-27 20:41:58 +00:00
windows Bug 1426907 - Add OSPreferences::OverrideDateTimePattern method; r=zbraniecki 2020-10-27 20:41:58 +00:00
DateTimeFormat.cpp Bug 1426907 - Update OSPreferences API to use UTF-8 rather than UTF-16; r=zbraniecki 2020-10-27 20:45:19 +00:00
DateTimeFormat.h Bug 1669573 - Add DataTimeFormat::FormatDateTime; r=zbraniecki 2020-10-15 12:21:52 +00:00
LocaleService.cpp Bug 1656261 - Back out all recent StartupCache work r=RyanVM 2020-09-14 17:00:53 +00:00
LocaleService.h Bug 1607052 - Unify language identifier canonicalization in LocaleService and OSPreferences to use unic_langid, and extend GTK's RegionalPrefs reading to fallback on SystemLocales. r=jfkthame 2020-02-21 00:39:18 +00:00
MozLocale.cpp Bug 1616999 - Rename MozLocale::AddLikelySubtags to Maximize following ECMA402 Intl.Locale convention. r=jfkthame 2020-02-21 21:03:15 +00:00
MozLocale.h Bug 1620632 - Rename confusingly named types/macros for relocation handling of nsTArray. r=froydnj 2020-03-20 17:04:27 +00:00
MozLocaleBindings.h
OSPreferences.cpp Bug 1426907 - Add OSPreferences::OverrideDateTimePattern method; r=zbraniecki 2020-10-27 20:41:58 +00:00
OSPreferences.h Bug 1426907 - Add OSPreferences::OverrideDateTimePattern method; r=zbraniecki 2020-10-27 20:41:58 +00:00
PluralForm.jsm Bug 1613139 - Enable ESLint for intl/locale and intl/strres (automatic changes). r=zbraniecki 2020-02-05 09:04:33 +00:00
Quotes.cpp
Quotes.h
cldr-quotes.inc Bug 1613350 - Update localized quotation marks data to CLDR release 36.0. r=emilio 2020-02-05 12:49:07 +00:00
cldr-quotes.pl Bug 1613350 - Update localized quotation marks data to CLDR release 36.0. r=emilio 2020-02-05 12:49:07 +00:00
components.conf Bug 1464542: Part 3b - Add existing Services.jsm registrations to the new services cache. r=mccr8,geckoview-reviewers,agi 2020-07-09 21:42:25 +00:00
encodingsgroups.properties
language.properties
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
mozILocaleService.idl
mozIOSPreferences.idl Bug 1426907 - Update OSPreferences API to use UTF-8 rather than UTF-16; r=zbraniecki 2020-10-27 20:45:19 +00:00
nsCollation.cpp
nsCollation.h
nsCollationCID.h
nsCollationFactory.cpp
nsCollationFactory.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in intl. r=hsivonen 2020-03-04 09:11:10 +00:00
nsICollation.idl
nsLanguageAtomService.cpp Bug 1662309 - Update fluent-rs to 0.12. r=kamidphish 2020-09-02 20:06:41 +00:00
nsLanguageAtomService.h
nsLocaleConstructors.h
nsUConvPropertySearch.cpp
nsUConvPropertySearch.h
props2arrays.py Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00