gecko-dev/intl/locale
Makoto Kato 2a3c054c7b Bug 1394661 - Use user locale instead of system locale for font fallback. r=gandalf
Until Firefox 54, font fallback uses user locale.  Example, OS is Windows 10 JA with JA UI, Firefox uses JA font for fallback even if Firefox is US version.

But since we changed some locale code on Firefox 55 development cycle, there were some regressions such as bug 1346674.  So we changed fallback locale to system locale (instead of Firefox UX locale) for font selection by bug 1348259.

It isn't good for old compatibility, so we should use user locale for font fallback like Firefox 54.  Now we can get user locale by OSPreferences::GetRegionalPrefsLocales, use it for font fallback


MozReview-Commit-ID: 7qwDDeU1ZPt

--HG--
extra : rebase_source : 3a307dd239bea516e117961a944b714bc43a993c
2017-08-30 17:33:12 +09:00
..
android Bug 1384835 (part 3, attempt 2) - Remove the Preferences::Get*CString() variants that return nsAdoptingCString. r=froydnj. 2017-07-31 14:28:48 +10:00
gtk Bug 1380916 - Introduce OSPreferences::GetRegionalPrefsLocales. r=jfkthame 2017-07-13 10:40:40 -07:00
mac Bug 1380916 - Introduce OSPreferences::GetRegionalPrefsLocales. r=jfkthame 2017-07-13 10:40:40 -07:00
tests Bug 1391628 - Use fallback locale on nsICollation if locale is invalid. r=emk 2017-08-24 23:13:42 +09:00
unix Bug 1356263 - Remove nsLocaleService, nsILocaleService and ns*Locale APIs. r=m_kato 2017-08-03 02:33:51 -07:00
windows Bug 1356263 - Remove nsLocaleService, nsILocaleService and ns*Locale APIs. r=m_kato 2017-08-03 02:33:51 -07:00
DateTimeFormat.cpp Bug 1379905 - Switch mozIntl, datetimebox and DateTimeFormat to use GetRegionalPrefsLocales. r=jfkthame,smaug 2017-07-14 16:47:23 -07:00
DateTimeFormat.h Bug 1313625 - Remove nsIScriptableDateFormat. r=jfkthame 2017-08-03 16:46:55 +09:00
DateTimeFormatAndroid.cpp Bug 1343766 - Add DateTimeFomat without ICU for Android. r=emk 2017-03-10 12:58:21 +09:00
LocaleService.cpp Bug 1384835 (part 1, attempt 2) - Use nsA[C]String references instead of pointers for outparams of Get*String() pref functions. r=froydnj. 2017-07-31 10:52:51 +10:00
LocaleService.h Bug 1379420 - Introduce LocaleService::GetRegionalPrefsLocales. r=jfkthame 2017-07-08 13:54:04 -07:00
OSPreferences.cpp Bug 1380916 - Introduce OSPreferences::GetRegionalPrefsLocales. r=jfkthame 2017-07-13 10:40:40 -07:00
OSPreferences.h Bug 1380916 - Introduce OSPreferences::GetRegionalPrefsLocales. r=jfkthame 2017-07-13 10:40:40 -07:00
PluralForm.jsm Bug 1048850 - Part 2: make 'ruleNum' an object member to allow the property to be passed to content pages. r=Standard8 2015-11-18 17:09:34 +01:00
encodingsgroups.properties Bug 1369025 - Remove mozilla::dom::EncodingUtils. r=hsivonen 2017-06-17 11:54:40 +09:00
langGroups.properties
language.properties
moz.build Bug 1313625 - Remove nsIScriptableDateFormat. r=jfkthame 2017-08-03 16:46:55 +09:00
mozILocaleService.idl Bug 1379420 - Introduce LocaleService::GetRegionalPrefsLocales. r=jfkthame 2017-07-08 13:54:04 -07:00
mozIOSPreferences.idl Bug 1380916 - Introduce OSPreferences::GetRegionalPrefsLocales. r=jfkthame 2017-07-13 10:40:40 -07:00
nsCollation.cpp Bug 1391628 - Use fallback locale on nsICollation if locale is invalid. r=emk 2017-08-24 23:13:42 +09:00
nsCollation.h Bug 943287 - Part 3. nsICollation fallback version for Android. r=hsivonen 2017-03-23 13:43:38 +09:00
nsCollationAndroid.cpp Bug 1376638 - Minimize uses of prmem.h. r=glandium. 2017-06-30 19:05:41 -07:00
nsCollationCID.h
nsCollationFactory.cpp Bug 943287 - Part 2. Use ICU version of nsICollation on all platform. r=hsivonen 2017-03-23 13:42:49 +09:00
nsCollationFactory.h Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
nsICollation.idl Bug 1356263 - Remove nsLocaleService, nsILocaleService and ns*Locale APIs. r=m_kato 2017-08-03 02:33:51 -07:00
nsIPlatformCharset.h Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
nsLanguageAtomService.cpp Bug 1394661 - Use user locale instead of system locale for font fallback. r=gandalf 2017-08-30 17:33:12 +09:00
nsLanguageAtomService.h Bug 1373984 - Turn nsIDocument::mCharacterSet into mozilla::NotNull<const mozilla::Encoding*>. r=hsivonen 2017-06-18 20:37:50 +09:00
nsLocaleConstructors.h Bug 1313625 - Remove nsIScriptableDateFormat. r=jfkthame 2017-08-03 16:46:55 +09:00
nsPlatformCharset.h Bug 1351543 - Remove nsIPlatformCharset::GetDefaultCharsetForLocale. r=jfkthame 2017-03-31 10:40:19 +09:00
nsUConvPropertySearch.cpp Bug 1262324 (part 2) - Introduce nsUConvProp. r=emk. 2016-04-06 13:31:38 +10:00
nsUConvPropertySearch.h Bug 1262324 (part 2) - Introduce nsUConvProp. r=emk. 2016-04-06 13:31:38 +10:00
props2arrays.py Bug 1262324 (part 2) - Introduce nsUConvProp. r=emk. 2016-04-06 13:31:38 +10:00