Commit Graph

4277 Commits

Author SHA1 Message Date
Francesco Lodolo (:flod)
653d91c87f Bug 1263437 - Add missing information for languages shipping in Firefox/Fennec: ach, cak, kab, lij, ltg, zam r=m_kato
MozReview-Commit-ID: 7HxOMEUZgyI

--HG--
extra : rebase_source : 28e543c077e3f7b767dda0eb73304fa516b59b97
2018-01-17 09:20:11 +01:00
Zibi Braniecki
48af78525e Bug 1430697 - Fix tests regression introduced in e140335f1237. r=gandalf
MozReview-Commit-ID: HBXb2ECaTF9

--HG--
rename : intl/l10n/test/dom/test_domloc_translateElement.html => intl/l10n/test/dom/test_domloc_translateElements.html
extra : rebase_source : b909c575f90c032a179478457361dc1075114523
2018-01-15 18:35:40 -08:00
Zibi Braniecki
5dce5171eb Bug 1389384 - Batch l10n mutations to one per paint. r=mossop
MozReview-Commit-ID: AbclA2lzTfT

--HG--
extra : rebase_source : 190d20cc82ca66134ebf71476c6c08126e898bd7
2017-12-16 21:42:58 -06:00
Gurzau Raul
98d53e9368 Backed out changeset 67f5e518f575 (bug 1389384) for failing xpcshell tests on intl/l10n/test/test_domlocalization.js on a CLOSED TREE 2018-01-13 01:42:59 +02:00
Zibi Braniecki
2d7fdf7ca8 Bug 1389384 - Batch l10n mutations to one per paint. r=mossop
MozReview-Commit-ID: AbclA2lzTfT

--HG--
extra : rebase_source : 2101fb1c0f713a389356fd85e4d26288a7581767
2017-12-16 21:42:58 -06:00
André Bargull
ca61705b43 Bug 1415827 - Update in-tree ICU to release 60.2. rs=Waldo 2017-12-18 08:54:56 -08:00
Henri Sivonen
381880a0e0 Bug 1428771 - Make UCS2_CHAR_IS_BIDI check for lead surrogates corresponding to U+1E800...U+1EFFF and rename to UTF16_CODE_UNIT_IS_BIDI. r=jfkthame
MozReview-Commit-ID: 9ZKF6SaN79n

--HG--
extra : rebase_source : 406f2647e65e2bdb97190b12564bafa6df39e6a8
2018-01-08 16:18:32 +02:00
Francesco Lodolo (:flod)
1d956ff4c6 Bug 1428366 - Add new plural rule (6 forms) for Welsh to PluralForm.jsm r=Pike
MozReview-Commit-ID: GJ87J9gtqQt

--HG--
extra : rebase_source : 063da20f9183bad79194af670599310d211ac20e
2018-01-08 08:50:38 +01:00
Jonathan Kew
9d2a5668d2 Bug 196175 - patch 2 - Override category of underscore for word-selection purposes so it is treated as a word-forming character, and update word-movement tests accordingly. r=m_kato 2018-01-03 10:02:39 +00:00
Florian Quèze
0f55cd45be Bug 1421992 - script-generated patch to replace do_execute_soon, do_print and do_register_cleanup with executeSoon, info and registerCleanupFunction, rs=Gijs. 2017-12-21 11:10:23 +01:00
Florian Quèze
032c961e0a Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents, rs=Gijs. 2017-12-21 11:08:17 +01:00
Masatoshi Kimura
a214244141 Bug 1425217 - Remove Encoding::ForName. r=hsivonen
MozReview-Commit-ID: JzJ2VYGRzf0

--HG--
extra : rebase_source : 38207daa923175d90b0319dae7e166164835af97
2017-12-08 00:31:55 +09:00
Jonathan Kew
1a613e00cb Bug 1424898 - patch 2 - De-virtualize nsIWordBreaker and rename to mozilla::intl::WordBreaker. r=m_kato
--HG--
rename : intl/lwbrk/nsSampleWordBreaker.cpp => intl/lwbrk/WordBreaker.cpp
rename : intl/lwbrk/nsIWordBreaker.h => intl/lwbrk/WordBreaker.h
2017-12-13 22:17:38 -06:00
Jonathan Kew
574a922078 Bug 1424898 - patch 1 - De-virtualize nsILineBreaker and rename to mozilla::intl::LineBreaker. r=m_kato
--HG--
rename : intl/lwbrk/nsJISx4051LineBreaker.cpp => intl/lwbrk/LineBreaker.cpp
rename : intl/lwbrk/nsILineBreaker.h => intl/lwbrk/LineBreaker.h
2017-12-13 22:17:32 -06:00
Jonathan Kew
c7374d78f3 Bug 1423408 - Allow line-break between ellipsis/leader dots and a following letter. r=masayuki 2017-12-12 16:21:55 -06:00
Eric Rahm
6058ba50a3 Bug 1423798 - Remove headers included for backwards compat in nsString.h. r=njn on a CLOSED TREE
Remove the headers included for "backwards compatibility" and just include them
where required.

--HG--
extra : source : e2beba7e6875120ebbbcadf24bcbcb5b86411a94
extra : amend_source : 11f07a27431cd468511f0bd45afe36150c6e342c
2017-12-06 19:36:57 -08:00
Csoregi Natalia
f488657fbd Backed out changeset e2beba7e6875 (bug 1423798) for failing Browser Chrome tests browser_temporary_permissions_expiry.js on Windows 7 debug. r=backout on a CLOSED TREE 2017-12-09 07:23:35 +02:00
Gurzau Raul
0fcc1a37e6 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-12-09 00:57:59 +02:00
Eric Rahm
74880b3483 Bug 1423798 - Remove headers included for backwards compat in nsString.h. r=njn
Remove the headers included for "backwards compatibility" and just include them
where required.

--HG--
extra : rebase_source : 03e703a81ed4b80f4f116ff36d8787464ce5acba
2017-12-06 19:36:57 -08:00
Cosmin Sabou
c191e25cf5 Merge mozilla-inbound to mozilla-central r=merge a=merge 2017-12-08 11:56:44 +02:00
Eric Rahm
07c97a5afe Bug 1423773 - Part 1: Remove usage of nsStringGlue.h. r=glandium
This removes an unnecessary level of indirection by replacing all
nsStringGlue.h instances with just nsString.h.

--HG--
extra : rebase_source : 340989240af4018f3ebfd92826ae11b0cb46d019
2017-12-06 16:52:51 -08:00
Sylvestre Ledru
9bfe27d903 Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: 7duJk2gSd4m

--HG--
extra : rebase_source : 7312fe276e561e8c034a5f6749774ae812727f9c
2017-12-07 22:09:15 +01:00
Zibi Braniecki
013a1dfb6b Bug 1423463 - Update the LocaleService to handle ja-JP-mac better. r=jfkthame
MozReview-Commit-ID: 9LzDgbIHnhW

--HG--
extra : rebase_source : d007274d6fed77ddb0b53765bb0f2a3abc689185
2017-12-07 11:51:31 -08:00
Bogdan Tara
8c4a5326da Backed out 1 changesets (bug 1423463) for failing due to syntax errors in /builds/worker/workspace/build/src/intl/locale/LocaleService.cpp r=backout on a CLOSED TREE
Backed out changeset 97f4bb99a1a9 (bug 1423463)
2017-12-07 19:43:03 +02:00
Zibi Braniecki
402ccab870 Bug 1423463 - Update the LocaleService to handle ja-JP-mac better. r=jfkthame
MozReview-Commit-ID: FdwMLcgdcvx

--HG--
extra : rebase_source : 07cb7739cd189ce49cbbc2520a7e8c2fc10a7b86
2017-12-05 23:10:37 -08:00
Zibi Braniecki
a5600cdb98 Bug 1414390 - Add intl.locale.requested locale list to replace general.useragent.locale. r=jfkthame,mossop
This patch moves us from using an old pref `general.useragent.locale`combined
with `intl.locale.matchOS` for retrieving user requested locale, to use a new
preference `intl.locale.requested` which stores a list of well-formed BCP47
language tags. If set to empty, the OS locales are used. If not set at all,
default locale is used.

We are also adding a piece of code to migrate from old to new system.


MozReview-Commit-ID: 854yQ1kC6Ee

--HG--
extra : rebase_source : c4a7171bc026f857f7878ee83d973ec01b536a84
2017-11-01 20:16:21 -07:00
Makoto Kato
153c591749 Bug 1032671 - Part 4. Font fallback should detect emoji range for color emoji font. r=jfkthame
MozReview-Commit-ID: AeqSLUU9GRH

--HG--
extra : rebase_source : 3a3d0c70072b990d83b1304eb527f30307f6e944
2017-11-12 16:36:24 +09:00
Makoto Kato
b970e21a69 Bug 1032671 - Part 1. Add emoji presentation API for UTR#51. r=jfkthame
From ICU 57, ICU supports emoji presentation as draft API.

MozReview-Commit-ID: 6JgQMv4Ky9m

--HG--
extra : rebase_source : 60f451e7476f16ed48aeaccb1fc55d3962a2b4b2
2017-11-12 16:06:18 +09:00
Makoto Kato
fecccc72f6 Bug 943272 - Get rid of nsIPlatformCharset. r=emk
MozReview-Commit-ID: DVatkTEYA1q

--HG--
extra : rebase_source : f95d587d3af94c0e058dde5c98ab917d98fcc48a
2017-11-27 12:45:14 +09:00
Francesco Lodolo (:flod)
64e1bd8242 Bug 1415906 - Update references to Macedonian in PluralForm.jsm r=Pike
Also marked rule #14 as unused.

MozReview-Commit-ID: GbfHY5NKgms

--HG--
extra : rebase_source : a2bb662155302705e7702e4ef3f6108adf244a2f
2017-12-01 10:13:04 +01:00
Makoto Kato
1e66d08774 Bug 1418477 - Part 1. Should check error status of unum_open. r=jfkthame
We don't check error of unum_open, so we should check it.  Because
unum_setAttribute doesn't have UErrorCode parameter.

MozReview-Commit-ID: 3j7jeiKbdG

--HG--
extra : rebase_source : 61d0daf8f14f1a36623967d9d63648a8a88e25ae
2017-11-22 11:57:53 +09:00
Jonathan Kew
f793736782 Bug 1418724 - part 4 - Register for notifications from macOS when the user's locale preferences are updated. r=m_kato 2017-11-21 11:03:30 +00:00
Jonathan Kew
fe16ec91fd Bug 1418724 - part 3 - Make the OSPreferences service return the user's list of preferred languages from macOS, not just a single locale code. r=m_kato 2017-11-21 11:02:59 +00:00
Zibi Braniecki
fb1208b237 Bug 1418771 - Introduce LocaleService::LastFallbackLocale. r=jfkthame
MozReview-Commit-ID: 852mUquHOtW

--HG--
extra : rebase_source : f0ee91283a4a80001049d99d8b203f9c241136be
2017-11-16 00:09:15 -03:00
Francesco Lodolo (:flod)
618992092f Bug 1415896 - Update plural rule #3 (lv, ltg) for numbers ending in 0 r=Pike
MozReview-Commit-ID: IHhE3xg3nb0

--HG--
extra : rebase_source : 3135b6d5c716e1359ad7fc5ae21d6885e9918543
2017-11-17 11:13:47 +05:30
André Bargull
4d1b9920dd Bug 1405993 - Part 6: Regenerate Unicode files after ICU update. r=jfkthame
--HG--
extra : rebase_source : 058ef6104e2aafb407ee951d4b1dd1ab79b6b002
2017-11-01 12:10:08 -07:00
André Bargull
3296f48ec9 Bug 1405993 - Part 3: Update in-tree ICU to release 60.1. rs=Waldo
--HG--
extra : rebase_source : 468a4fc2e1fa7215b1224d998024a7121a05af62
2017-11-01 11:56:15 -07:00
André Bargull
db02e51a31 Bug 1405993 - Part 2: Remove no longer used ICU patches. r=Waldo
--HG--
extra : rebase_source : ef32ed7d42c283997ae0dac0db274f35fb5431f5
2017-11-01 11:48:48 -07:00
Makoto Kato
717646428c Bug 1416618 - Cannot show short date format (yy/MM/dd'('ddd')') correctly. r=jfkthame
On Windows 7, there is yy/mm/dd'('ddd')' as short date format of Japanese.
When selecting this, ddd isn't converted to day of the week correctly.

FindInReadable will update start position iterator even if not found. So when
using FindInReadable again, we have to reset start position iterator.

MozReview-Commit-ID: AoS1Txq3Twc

--HG--
extra : rebase_source : 2f02189d0288e833debb2d4ca47efbca632924e5
2017-11-14 10:53:51 +09:00
Dylan Roeh
ebd39f9ce0 Bug 1337078 - Improve the use of Android API in OSPreferences r=snorp
Add BrowserLocaleManager.refreshLocales, a native function which calls OSPreferences::Refresh, and BrowserLocaleManager.getLocale, which returns the current locale string. Use these in place of observing modification of the intl.locale.os pref.
2017-11-10 09:20:04 -06:00
Francesco Lodolo (:flod)
e16c6fe647 Bug 1396724 - Add plural rule for Shuar language to intl/locale/PluralForm.jsm r=Pike
MozReview-Commit-ID: 5HOVoaBHlGu

--HG--
extra : rebase_source : 9e04aa4f2026ac0349cdb1d245f18f8984bf6568
2017-09-05 08:37:55 +02:00
Makoto Kato
945aa85d0c Bug 1292486 - Get rid of nsIUnicodeNormalizer interface. r=jfkthame
m-c and c-c don't use nsIUnicodeNormalizer interface now.

MozReview-Commit-ID: DGK7wBrcrob

--HG--
extra : rebase_source : 9260435fb2d4455b45920971c105a8d502c4e53e
extra : histedit_source : cf2863ebff742f160f30e6a15517f07490f1e6a6
2017-10-20 17:35:34 +09:00
Zibi Braniecki
73ec17fff9 Bug 1414872 - Fix always adding source locale to requested locales fallback chain. r=jfkthame
MozReview-Commit-ID: CwvBkEJqQRi

--HG--
extra : rebase_source : 13274b1a6dbe0a7d1538ae42c0c1a2a40af11efa
2017-11-06 09:01:35 -08:00
Zibi Braniecki
d7b8f3b63e Bug 1414186 - Use GetUserPreferredUILanguages for OSPreferences::SystemLocales. r=jfkthame
MozReview-Commit-ID: LId0mLIpfWQ

--HG--
extra : rebase_source : 256e1f5db5a7429e2ef692bb2b9ee818521bb12d
2017-11-03 00:51:05 -07:00
Zibi Braniecki
bbadabd3ce Bug 1410731 - Use multilocale.json as a locale set for L10nRegistry sources. r=mossop
MozReview-Commit-ID: 4SsInmlt1C4

--HG--
extra : rebase_source : bf2e00d5545d9becb5b3fad25d4e24e196cadd20
2017-10-22 11:09:44 -07:00
André Bargull
04879cba6b Bug 1411957 - Part 2: Update tzdata in ICU data files to 2017c. r=Waldo
MozReview-Commit-ID: IHLvaaTEIPm
2017-10-26 23:10:51 +09:00
Chris Manchester
c86173526a Bug 1403346 - Replace all uses of ALLOW_COMPILER_WARNINGS with a template, remove ALLOW_COMPILER_WARNINGS. r=glandium
MozReview-Commit-ID: 1G2o4fy74cf
2017-10-25 15:12:09 -07:00
Zibi Braniecki
f50ce10902 Bug 1410733 - Add an en-US locale as a hard fallback for LocaleService::RequestedLocales. r=jfkthame
MozReview-Commit-ID: LPS3PaeykEh

--HG--
extra : rebase_source : 5ab83371ccfad13f02bf276055fdf9cba7e80a9e
2017-10-22 11:00:09 -07:00
Nika Layzell
1b1ba4879a Bug 1403213 - Move nsstring into servo/support/gecko/nsstring, r=froydnj
MozReview-Commit-ID: 8ucStGkxmj7

--HG--
rename : xpcom/rust/nsstring/gtest/Test.cpp => xpcom/rust/gtest/nsstring/Test.cpp
rename : xpcom/rust/nsstring/gtest/test.rs => xpcom/rust/gtest/nsstring/test.rs
extra : rebase_source : 509a2ab1aa569e8f3ef0955dcdfa36b53ce5e234
2017-10-23 15:37:25 -04:00
Sebastian Hengst
3beb11d7e8 Backed out changeset 84f325dfaa00 (bug 1410733) for failing xpcshell's intl/l10n/test/test_localization.js on debug. r=backout
--HG--
extra : amend_source : 1567ed5f595a3e725d4003e7897c11ca78d03ee1
2017-10-24 18:57:39 +02:00