Masatoshi Kimura
94ba908683
Bug 1313625 - Remove nsIScriptableDateFormat. r=jfkthame
...
MozReview-Commit-ID: C9Ek1aQRD2
--HG--
extra : rebase_source : 793cd9be63d652adc00897e071cd5fecde75d293
extra : source : 95baddd007c7c039ebf224c9eea49d50dba212cd
2017-08-03 16:46:55 +09:00
Zibi Braniecki
64cd7643c9
Bug 1380916 - Introduce OSPreferences::GetRegionalPrefsLocales. r=jfkthame
...
Introduce a separate API for retrieving locale set from the host environment
used for regional preferences localization.
MozReview-Commit-ID: 3597QstZjS3
--HG--
extra : rebase_source : 2ac30ba2f2c9bd1ed308cfe7be88f6add4f0f5ae
2017-07-13 10:40:40 -07:00
Zibi Braniecki
a1a4f0b7c9
Bug 1346616 - Migrate callsites that are retrieving requested locale from pref, to use LocaleService::GetRequestedLocales. r=jfkthame,Pike
...
I'm adding a helper function mozILocaleService::GetRequestedLocale to simplify
most of the callsites that are looking for the first of the requested locales.
In most cases, I'm just matching the behavior of the code with reusing
LocaleService API instead of direct manipulation on the prefs.
That includes how I handle error case scenarios.
In case of sdk/l10n/locale.js I am reusing LocaleService heuristics over
the custom one from the file since the ones in LocaleService are just
more correct and unified accross the whole platform.
In case of FallbackEncoding I have to turn it into a nsIObserver to listen
to intl:requested-locales-changed.
MozReview-Commit-ID: 7rOr2CovLK
--HG--
extra : rebase_source : 883a91b249b6953b7872bfb9a8851e8be7257c7b
2017-03-11 18:43:11 -08:00
Sebastian Hengst
7b30105d39
Backed out changeset 60d72c2dd49d (bug 1346616) for eslint failure in DirectoryLinksProvider.jsm. r=backout on a CLOSED TREE
2017-04-18 00:48:16 +02:00
Zibi Braniecki
cce53c69bc
Bug 1346616 - Migrate callsites that are retrieving requested locale from pref, to use LocaleService::GetRequestedLocales. r=jfkthame,Pike
...
I'm adding a helper function mozILocaleService::GetRequestedLocale to simplify
most of the callsites that are looking for the first of the requested locales.
In most cases, I'm just matching the behavior of the code with reusing
LocaleService API instead of direct manipulation on the prefs.
That includes how I handle error case scenarios.
In case of sdk/l10n/locale.js I am reusing LocaleService heuristics over
the custom one from the file since the ones in LocaleService are just
more correct and unified accross the whole platform.
In case of FallbackEncoding I have to turn it into a nsIObserver to listen
to intl:requested-locales-changed.
MozReview-Commit-ID: 7rOr2CovLK
--HG--
extra : rebase_source : 2f166cf1746f389a035f7cf557edcadeacb10fa0
2017-03-11 18:43:11 -08:00
Florian Queze
37ff4fc7cc
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699
Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout
2017-04-14 23:39:22 +02:00
Florian Queze
95d4d20c17
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Zibi Braniecki
ccbf32129b
Bug 1354055 - Don't cache wrong result in OSPreferences::ReadSystemLocales on Android. r=jfkthame,rnewman
...
MozReview-Commit-ID: Li7wUQnC9Gz
--HG--
extra : rebase_source : 5cd5794e16dfdd9f3534fab0c83523f1abb55e6e
2017-04-06 13:00:02 +02:00
Phil Ringnalda
a8bb90e93a
Backed out changeset 5d3bc5f2c41f (bug 1354055) for mass Android reftest failures
2017-04-07 07:59:37 -07:00
Zibi Braniecki
847c06f3d1
Bug 1354055 - Don't cache wrong result in OSPreferences::ReadSystemLocales on Android. r=rnewman
...
MozReview-Commit-ID: Li7wUQnC9Gz
--HG--
extra : rebase_source : 6db7feb523c99634db468c3a674957163ec83142
2017-04-06 13:00:02 +02:00
Zibi Braniecki
5b976eeccb
Bug 1347272 - Move ChromeRegistry::IsLocaleRTL to LocaleService::IsAppLocaleRTL. r=jfkthame
...
MozReview-Commit-ID: BDhgIKNSOEL
--HG--
extra : rebase_source : 6a009ba4d397e6794e86c87c10982fdfb8e7ba08
2017-03-14 12:35:06 -07:00
Iris Hsiao
394f455b8e
Backed out changeset c7174ac72d14 (bug 1347272) for build bustage
...
--HG--
extra : amend_source : b4f3d5997190ce3db799e3586131cc3cb9ce034d
2017-03-28 18:16:33 +08:00
Zibi Braniecki
70c168c03f
Bug 1347272 - Move ChromeRegistry::IsLocaleRTL to LocaleService::IsAppLocaleRTL. r=jfkthame
...
MozReview-Commit-ID: BDhgIKNSOEL
--HG--
extra : rebase_source : 8440ae6b21887bae5142c86220f02092d1b12aed
2017-03-14 12:35:06 -07:00
Makoto Kato
7127efa43c
Bug 943287 - Part 3. nsICollation fallback version for Android. r=hsivonen
...
Beta and release channel of Android still turn off ICU. So we should add UTF-8 version of nsICollation for fallback.
Some people want to keep --enale-intl-api=no for faster build on developer environment, so even if non-Android, it will be required.
MozReview-Commit-ID: 3RcjqoVip1W
--HG--
rename : intl/locale/unix/nsCollationUnix.cpp => intl/locale/nsCollationAndroid.cpp
extra : rebase_source : 6844f32efe8c37b020f30bc745d4d4d8e95c4158
2017-03-23 13:43:38 +09:00
Makoto Kato
80c217bbec
Bug 943287 - Part 2. Use ICU version of nsICollation on all platform. r=hsivonen
...
nsICollation for macOS version uses ICU, so we should use it on all platform since nightly and aurora can use ICU on all platform.
MozReview-Commit-ID: 4nTzDCjOQXJ
--HG--
rename : intl/locale/tests/unit/test_collation_mac_icu.js => intl/locale/tests/unit/test_collation.js
extra : rebase_source : 3b47f9a521e79be929bb4c39d0c68b9438075e4c
2017-03-23 13:42:49 +09:00
Zibi Braniecki
b17d737c5b
Bug 1348797 - Add null-check to validTagChars test in LocaleService::NegotiateLanguages. r=jfkthame
...
--HG--
extra : amend_source : f6dde0867a6cf10b5b2f50c3cfcf3f383d708d28
2017-03-20 15:14:58 -04:00
Zibi Braniecki
71e93b5c82
Bug 1346611 - Introduce LocaleService::GetDefaultLocale. r=jfkthame
...
MozReview-Commit-ID: 8aMkbrh0SqI
--HG--
extra : rebase_source : fd05894d2fa613385bc236a0aee6ad9265e9d581
2017-03-14 13:04:59 -07:00
Makoto Kato
20cb071f24
Bug 1347431 - Skip some xpcshell tests that is failure on Android without ENABLE_INTL_API. r=snorp
...
Sicne some tests doesn't work with --with-intl-api=no, we should skip it on Android
MozReview-Commit-ID: IjlH3aQdiqb
--HG--
extra : rebase_source : ac6d91bf291f6268ea29bcb29180b2f5197e012c
2017-03-16 12:54:25 +09:00
Zibi Braniecki
7cb5e257c7
Bug 1346617 - Add LocaleService::SetRequestedLocales. r=jfkthame
...
MozReview-Commit-ID: FrziO9fOs3R
--HG--
extra : rebase_source : a2f1b5c31317c80666fbda334ea7bfcef28397b6
2017-03-12 12:34:56 -07:00
Zibi Braniecki
fbfa4998fa
Bug 1346819 - Port SanitizeAsBCP47 to LocaleService. r=baku,jfkthame
...
MozReview-Commit-ID: 2SXD5HaJPXr
--HG--
extra : rebase_source : 44404dfd577f13fde722ef5c13a29f853766786d
2017-03-13 08:31:43 -07:00
Zibi Braniecki
eb0f2e4c51
Bug 1344445 - Add LocaleService::GetRequestedLocales. r=jfkthame
...
MozReview-Commit-ID: 76xYTKk6OHh
--HG--
extra : rebase_source : 867dd72ad280ba0ec3ffe50bd254226436d76eea
2017-03-06 13:24:45 -08:00
Sebastian Hengst
67b7f2faa5
Backed out changeset 288bc41a2ffe (bug 1344445) for bustage due to unused variable rv at LocaleService.cpp:70:14. r=backout
2017-03-11 18:58:55 +01:00
Zibi Braniecki
fb5ca0e430
Bug 1344445 - Add LocaleService::GetRequestedLocales. r=jfkthame
...
MozReview-Commit-ID: 76xYTKk6OHh
--HG--
extra : rebase_source : 497cb0474ef414bb2690444bfa590b8f817f7392
2017-03-06 13:24:45 -08:00
Zibi Braniecki
76830b8830
Bug 1337694 - Add language negotiation heuristics to LocaleService. r=jfkthame
...
MozReview-Commit-ID: 1WjJiKgyaWA
--HG--
extra : rebase_source : 7baac37cf78599605ed274d7165ad8746626828c
2017-02-24 17:23:39 -08:00
Makoto Kato
989d78dec8
Bug 1344596 - Allow OSPreferences API without ENABLE_INTL_API. r=gandalf
...
Since we have to keep --with-intl-api=no setting, we allow OSPrefrences API wiout ENABLE_INTL_API.
MozReview-Commit-ID: 8sQHW6iq9Ss
--HG--
extra : rebase_source : 94e2efbeeb70f3edc519ffc9bfeaf7416ea1dc0e
2017-03-06 11:03:46 +09:00
Zibi Braniecki
fbabbc6c00
Bug 1308329 - Extend OSPreferences API to cover date/time styles. r=jfkthame
...
MozReview-Commit-ID: HnuWfS8UEDH
--HG--
extra : rebase_source : 6e09bb36c1d4fe89ed22c2fc5ef8de3ff8ed484d
2017-02-08 17:17:51 -08:00
Tooru Fujisawa
8abf3f1675
Bug 1340924
- Remove Iterator consumer from intl/. r=Pike
2017-02-22 16:11:34 +09:00
Zibi Braniecki
b8f991e41b
Bug 1335983 - Migrate nsCollation::CreateCollection to use LocaleService::GetAppLocale. r=jfkthame
...
MozReview-Commit-ID: 5GEnL7Kihpj
--HG--
extra : rebase_source : 413d880035b49da82db0530379425d31ac31a82e
2017-02-07 12:52:03 -08:00
Wes Kocher
a9ce32d9a5
Backed out 2 changesets (bug 1335983) for build bustage a=backout
...
Backed out changeset 5a9559ded976 (bug 1335983)
Backed out changeset de2b0d90e2da (bug 1335983)
MozReview-Commit-ID: 377KQDU1QqJ
2017-02-07 12:34:30 -08:00
Zibi Braniecki
6d98bad59d
Bug 1335983 - Migrate nsCollation::CreateCollection to use LocaleService::GetAppLocale. r=jfkthame
...
MozReview-Commit-ID: bJVrVj2dAS
--HG--
extra : rebase_source : f3a28e003415f0c58462a73b5fd987455e102fc5
2017-02-06 14:57:09 -08:00
Zibi Braniecki
6d4115599f
Bug 1336281 - Expose mozILocaleService. r=jfkthame
...
MozReview-Commit-ID: 3fTtad7tAg6
--HG--
extra : rebase_source : ae108187419d7b5698899cebe1ddb7aae46ae156
2017-02-05 12:29:39 -08:00
Makoto Kato
d2e954db28
Bug 1332565 - Turn off test_intl_on_worker.js test on Android's xpcshell. r=Waldo
...
MozReview-Commit-ID: HoZ7KvSsTix
2017-01-20 17:07:35 +09:00
Mark Banner
16e6d381ac
Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
...
MozReview-Commit-ID: 62Hp5ISxowJ
--HG--
extra : rebase_source : daa8efb3409031fea553f4fd0c9d0746e38dc308
extra : histedit_source : b4c23aacf678ba0d0ac9c09191a7c494ead11a08
2017-01-18 10:30:39 +00:00
Sebastian Hengst
b546cd8468
Bug 1310297 - Remove test annotations using b2g, mulet or gonk: intl. r=RyanVM
...
MozReview-Commit-ID: 6jNipDaL7br
--HG--
extra : rebase_source : 9186ab26dfc74cb2c4dbb24e5cb7279d6a8b33c2
2016-11-05 11:29:19 +01:00
Jonathan Kew
22a661f150
Bug 1301655 - pt 9 - Update test_bug22310.js to remove use of nsIScriptableDateFormat. r=gandalf
2016-10-28 12:04:07 +01:00
Arthur Edelstein
215601494b
Bug 1174386 - Make workers inherit the default Intl locale from the main thread, rather than using a bogus fallback value. r=jwalden, r=baku
...
--HG--
extra : rebase_source : 09f66db9914cdf865388669082f3efaca37ce558
2016-08-08 13:33:39 -07:00
Jeff Walden
5a875fc573
Backed out changeset c3f06ba15fda -- worker setup isn't happening quite as early as it was assumed to occur, so we have impermissible cross-thread happenings occurring sometimes. r=three-to-five-oranges-per-push-per-philor
2016-08-08 19:43:15 -07:00
Arthur Edelstein
099e7246db
Bug 1174386 - Make workers inherit the default Intl locale from the main thread, rather than using a bogus fallback value. r=jwalden
2016-08-08 13:33:39 -07:00
Ryan VanderMeulen
7543d4f06c
Bug 1261190 - Skip no-NO in test_bug22310.js for Win10 failures. r=smontagu
2016-04-07 09:08:22 -04:00
Gordon Su
2d53a19d16
Bug 1214169 - Always use ICU in nsCollationMacUC. r=emk.
2015-12-16 17:27:44 +09:00
Carsten "Tomcat" Book
08997000eb
Backed out 2 changesets (bug 1202902
) to recking bug 1202902
to be able to reopen inbound on a CLOSED TREE
...
Backed out changeset 647025383676 (bug 1202902
)
Backed out changeset d70c7fe532c6 (bug 1202902
)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
e7ef778c9d
Backed out 1 changesets (bug 1202902
) for causing merge conflicts to mozilla-central
...
Backed out changeset cfc1820361f5 (bug 1202902
)
--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6
Bug 1202902
- Scripted fix the world.
2015-10-06 14:00:31 -07:00
Anish
4063a569ed
Bug 958147 - Choose one of run-if or skip-if and get rid of the other.r=jmaher, mwargers
2015-03-03 08:46:37 -05:00
Chris Peterson
87ba345f81
Bug 1133289 - Remove nonstandard expression closures from intl/locale. r=smontagu
2015-01-24 23:53:08 -08:00
jp111
6137a8c380
Bug 958147 - Choose one of run-if or skip-if and get rid of the other. r=ted
2015-01-28 06:17:00 -05:00
Cosmin Malutan
eea1f5cc9b
Bug 1086527
- Make sure PluralForm.get can be called from strict mode. r=Mossop
2014-10-23 23:29:00 +02:00
Tooru Fujisawa
280d4d0517
Bug 1045958 - Use raw ICU instead of CoreServices API in Unicode collation on Mac OS X r=josh.
2014-10-08 22:43:47 +08:00
Andrew Halberstadt
d292ee73f1
Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester
2014-10-07 18:18:28 -04:00