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
David Major
ed0b8f8653
Bug 1344615: Remove nsXPCOMStrings.{h,cpp} r=bsmedberg
...
These are now dead code.
MozReview-Commit-ID: AClU0Qx3kmN
--HG--
extra : rebase_source : df83cf89292da1519bb26027c11e14923d5c54a0
2017-03-06 17:52:54 +13:00
David Major
058a3a25a4
Bug 1344615: Rewrite a few straggling users of NS_String* APIs. r=bsmedberg
...
I've moved the body of the APIs into the few remaining callers.
MozReview-Commit-ID: 9ALoSmQHkGM
--HG--
extra : rebase_source : e0e747dec23424446b18d53ab65e4fa262e16554
2017-03-06 17:52:09 +13:00
Zibi Braniecki
d0bfa17fb3
Bug 1344141 - Do not BCP47 canonicalize languages from ChromeRegistry in LocaleService. r=jfkthame
...
MozReview-Commit-ID: I6xMPhZRUUv
--HG--
extra : rebase_source : 3ce24ccbaba2e51715c121e343b682cd6088bda4
2017-03-03 13:31:26 -08:00
Zibi Braniecki
1618c4af60
Bug 1342753 - Use app locale in DateTimeFormat.cpp, instead of OS locale. r=m_kato
...
MozReview-Commit-ID: SPsNYxe493
--HG--
extra : rebase_source : b611ad61c83577ac1d42adce504ceb1b3731f59e
2017-02-27 09:36:50 -08:00
Makoto Kato
3e05da0dfa
Bug 1225401 - Part 2. Update ICU source in tree after removing cities data. r=Waldo
...
MozReview-Commit-ID: 2LNAmneh2ew
2017-03-03 13:56:26 +09:00
Makoto Kato
d42aa067c3
Bug 1225401 - Part 1. Remove cities when syncing ICU source code. r=Waldo
...
MozReview-Commit-ID: ilVREadiJc
2017-03-03 13:56:24 +09:00
Makoto Kato
953af69fee
Backed out changeset 292d9e369264 (bug 1225401) due to conflict updating with Bug 1343493
...
MozReview-Commit-ID: yx1Zc42GGC
2017-03-03 14:17:16 +09:00
Makoto Kato
c131f38038
Backed out changeset 6696016a0198 (bug 1225401)
...
MozReview-Commit-ID: 3cpusAJRqTg
2017-03-03 14:16:09 +09:00
Makoto Kato
50bc417b49
Bug 1225401 - Part 2. Update ICU source in tree after removing cities data. r=Waldo
...
MozReview-Commit-ID: 2LNAmneh2ew
2017-03-03 13:56:26 +09:00
Makoto Kato
1730f1d75e
Bug 1225401 - Part 1. Remove cities when syncing ICU source code. r=Waldo
...
MozReview-Commit-ID: ilVREadiJc
2017-03-03 13:56:24 +09:00
André Bargull
e10fb026e9
Bug 1343493 - Update tzdata in ICU data files to 2017a. r=Waldo
2017-03-02 02:11:16 -08:00
Daniel Holbert
95a650ec1b
Bug 1343975: Get rid of all dos/windows linebreaks in Mozilla C++ code. r=ehsan
...
This is an automated patch, generated by the following command:
find . -name "*.h" -exec fromdos {} \; && \
find . -name "*.cpp" -exec fromdos {} \; && \
hg revert -C gfx/angle \
gfx/sfntly \
media/webrtc \
media/libstagefright \
media/openmax_il \
other-licenses
MozReview-Commit-ID: Gunlz3vE3h6
2017-03-02 13:08:29 -08:00
Carsten "Tomcat" Book
4a4777d1aa
merge mozilla-inbound to mozilla-central a=merge
2017-03-02 14:02:48 +01: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
Jonathan Kew
3c29d13703
Bug 1342686 - Fix up the handling of surrogates in nsJISx4051LineBreaker. r=emk
2017-03-01 22:47:56 +00:00
Jonathan Kew
fa483cbc9c
Bug 809020 - Use a shorter "conservative breaking" range at word edges when dealing with letters rather than punctuation etc., and adjust existing tests accordingly. r=masayuki
2017-03-01 22:47:56 +00:00
Benjamin Smedberg
3d381083df
Bug 1332639 - Remove the external unicharutil library which isn't used and is now unlinkable, r=emk
...
MozReview-Commit-ID: UOPsyIOB8O
--HG--
extra : rebase_source : 38c986684710f54565ad6c99bdb9865205ce0255
2017-02-27 13:38:39 -05:00
Ryan VanderMeulen
4fe12e81b5
Bug 1341653 - Add NEWS to the local hyphen checkout to more easily track future updates. r=tjr
2017-02-27 14:25:27 -05:00
Makoto Kato
797b5df988
Bug 1225696 - Part 3. Revert the order of kDateFormat. r=jorgk
...
MozReview-Commit-ID: A1gWYkHi28v
2017-02-24 20:33:53 +09:00
Tooru Fujisawa
8abf3f1675
Bug 1340924
- Remove Iterator consumer from intl/. r=Pike
2017-02-22 16:11:34 +09:00
Jonathan Kew
041dc3257f
Bug 1341094 - Update mozILocaleService.getAppLocales to avoid use of jsapi. r=smaug
2017-02-20 21:14:25 +00:00
Makoto Kato
5ad41e1593
Bug 1225696 - Part 1. Add kDateFormatMonthLong and kDateFormatYearMonthLong to DateTimeFormat. r=emk
...
MozReview-Commit-ID: CT2Gzd0AEXb
--HG--
extra : rebase_source : 6b98c53f5a88e38cd19081b8a2559685a69ecc36
2017-02-20 12:47:18 +09:00
Henri Sivonen
26a8c610e5
Bug 1336836 - Null-check mEncoder for XPCOM shutdown. r=emk.
...
MozReview-Commit-ID: G6UeBdUbK85
2017-02-16 08:40:30 +02:00
David Major
773fd87a6b
Bug 1338928: Add constexpr to static data under intl/ for better codegen on Windows. r=emk
...
MozReview-Commit-ID: I47OgjC0K5F
2017-02-15 15:08:31 +13:00
Wes Kocher
252dae269a
Merge inbound to central, a=merge
...
MozReview-Commit-ID: Gx7IszkCDZ4
2017-02-13 17:04:20 -08:00
Masatoshi Kimura
968e163fb5
Bug 1338758 - Handle success codes from nsIUnicodeDecoder in nsTextToSubURI::UnEscapeNonAsciiURI. r=m_kato
...
MozReview-Commit-ID: 43jAOFPYMeT
--HG--
rename : intl/uconv/tests/unit/test_bug699673.js => intl/uconv/tests/unit/test_unEscapeNonAsciiURI.js
extra : rebase_source : a8ae93c2209ed1285c7ec59bfdcadb1729e1587b
2017-02-11 20:40:58 +09:00
Gregory Moore
65e4e6d86d
Bug 1329841 - Added support into DateTimeFormat*.cpp for kDateFormatYearMonth and kDateFormatWeekday date format selectors. r=emk
...
MozReview-Commit-ID: 5LpCbpTUMKw
--HG--
rename : intl/locale/DateTimeFormatICU.cpp => intl/locale/DateTimeFormat.cpp
extra : rebase_source : e1f49db15578be0e3578da7c0b44898befc3dfae
2017-02-08 14:08:30 -08:00
Jonathan Kew
17fb7377be
Bug 1339119 - Actually use the locale from macOS instead of throwing it away in OSPreferences::ReadSystemLocales. r=gandalf
2017-02-13 17:51:13 +00:00
Jonathan Kew
2f76f2869c
Bug 1336281 followup - Unify the JS-callable and C++-only versions of LocaleService::GetAppLocale, and declare it as a read-only attribute in IDL. r=gandalf
2017-02-08 21:12:16 +00:00
Jonathan Kew
928fbd7db2
Bug 1337129 - Fix up #include paths used in unit tests for new intl services. r=gandalf
2017-02-08 21:12:14 +00:00
Wes Kocher
95ae929bd7
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: AY7XekuIyIs
2017-02-07 16:56:19 -08: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
Gregory Moore
d394752f2f
Bug 1331466 - Added functionality to FormatPRExplodedTime to take into account timezone information given in the PRExplodedTime parameter. r=emk
...
MozReview-Commit-ID: HsRi1Uwfdgq
--HG--
extra : rebase_source : fdbc52677e3d946990f95229f36915436b4d743a
extra : amend_source : b307a9b67f171c23a691bb0d561475efbcc984aa
2017-02-06 14:02:38 -08:00
Carsten "Tomcat" Book
092e5dc5f1
merge mozilla-inbound to mozilla-central a=merge
2017-02-07 14:08:46 +01:00
Makoto Kato
64e728ef62
Bug 1336879 - Use Vista+ API directly for nsWin32Locale. r=emk
...
MozReview-Commit-ID: FaPCetrI8JZ
2017-02-07 10:47:41 +09: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
Zibi Braniecki
1aa7bc8b32
Bug 1333184 - Introduce OSPreferences API. r=jfkthame
...
MozReview-Commit-ID: ALvLGtBmRgn
--HG--
extra : rebase_source : fb237beec41e7b93eeac862be285074acfc36a77
2017-02-05 11:41:43 -08:00
Zibi Braniecki
da241c5563
Bug 1332207 - Introduce mozilla::intl::LocaleService. r=jfkthame
...
MozReview-Commit-ID: AV1bvCt6tmP
--HG--
extra : rebase_source : 1951fbecf24d991d204c0bf00de3336878886df1
2017-01-25 15:58:14 -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
Benjamin Smedberg
ca77995f5d
Bug 1333826 - Remove SDK_FILES, SDK_LIBRARY, and related is_sdk support in the build goop, r=mshal
...
MozReview-Commit-ID: 52vPyDXdFte
--HG--
extra : rebase_source : c3217730bb70eb7319152dd07536b12f49d6a597
2017-01-30 11:24:10 -05:00
Joel Maher
46e9abd3d4
Bug 1333451 - add BUG_COMPONENT to intl/* files. r=m_kato
...
MozReview-Commit-ID: 8azgwps19Ep
2017-01-27 08:18:44 -05:00
Joel Maher
e659a245b9
Bug 1333451 - add BUG_COMPONENT to intl/* files. r=m_kato
...
MozReview-Commit-ID: 2yGHs5QaZzQ
2017-01-26 05:51:56 -05: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
Jonathan Kew
abeb0a335c
Bug 1331339 - Don't start a new script run when the current script appears in the next character's ScriptExtensions property, or next char is a cluster-extender. r=jrmuizel
2017-01-18 20:38:05 +00:00
Jonathan Kew
9730543082
Bug 1324716
- Update IDN blacklist. r=smontagu
2017-01-11 21:21:46 +00:00
Gregory Moore
c337ff9019
Bug 1301640 - Replaced per-platform variants of nsIDateTimeFormat with single, ICU-backed version that has static c++ callers. r=emk
...
Also removed unused format selectors and removed option to pass in a locale. Changed all callers to use new version.
MozReview-Commit-ID: Gq0b1c3C1eO
--HG--
rename : intl/locale/unix/nsDateTimeFormatUnix.cpp => intl/locale/DateTimeFormatUnix.cpp
extra : source : 7e747433d1c9fae8a0acb4090f61335fcc165e4c
2016-11-21 15:58:37 -08:00