Andrew McCreight
5dec0e0beb
Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
...
This patch was autogenerated by my decomponents.py
It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.
It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.
It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)
MozReview-Commit-ID: DeSHcClQ7cG
--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Coroiu Cristina
6276356615
Merge mozilla-central to autoland on a CLOSED TREE
2018-02-02 19:43:07 +02:00
André Bargull
9129fc5348
Bug 1430761: Update tzdata in ICU data files to 2018c. r=Waldo
2018-02-01 05:36:03 -08:00
Florian Quèze
2b1c8dccb6
Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop.
2018-02-01 20:45:22 +01:00
Zibi Braniecki
8cebbf96af
Bug 1435002 - Move Fluent's l10n.js to MozBeforeInitialXULLayout. r=smaug
...
MozReview-Commit-ID: GC9Yq9TxXyC
--HG--
extra : rebase_source : 10c9b5f1e6c62c12725f2814aabf28dbb175f0bf
2018-01-15 18:00:43 -08:00
Cosmin Sabou
7092b51729
Merge mozilla-central to autoland. a=merge on CLOSED TREE
2018-02-01 01:19:48 +02:00
Jonathan Kew
1640aa8219
Bug 1434169 - Update expectations in test_localeService_negotiateLanguages.js to NOT expect case/underscore normalization. r=gandalf
2018-01-31 20:28:51 +00:00
Jonathan Kew
12930d0cf2
Bug 1434169 - LocaleService::NegotiateLanguages should return locales in exactly the form they were provided in the availableLocales list, not case-normalized. r=gandalf
2018-01-31 20:28:51 +00:00
Zibi Braniecki
64594123bb
Bug 1426054 - Update Fluent in Gecko to 0.6. r=Pike
...
This upstream uses fluent.js revision ae1b55a.
MozReview-Commit-ID: 1IynCPWWN14
--HG--
extra : rebase_source : d76bd81668e447e7fe8b62cf0834f040c32f6982
2018-01-26 14:01:34 -08:00
Kris Maglione
918ed6c474
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178
Backed out 3 changesets (bug 1431533
) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
...
Backed out changeset a1eca62826a1 (bug 1431533
)
Backed out changeset 34c999fa006b (bug 1431533
)
Backed out changeset e2674287e57f (bug 1431533
)
2018-01-30 07:17:48 +02:00
Kris Maglione
6476f95b13
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb
Backed out 2 changesets (bug 1431533
) for ESlint failures on a CLOSED TREE
...
Backed out changeset 6e56f4c8843e (bug 1431533
)
Backed out changeset 12fc4dee861c (bug 1431533
)
2018-01-30 02:32:43 +02:00
Kris Maglione
c276bb9375
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
André Bargull
d59edfc08b
Bug 1422415 - Part 2: Call _sprintf_l with C-locale to ensure result doesn't contain locale-dependent decimal separator. r=Waldo
2017-12-05 04:24:41 -08:00
Zibi Braniecki
4bdf6bf95e
Bug 1428698 - Align intl::locale::Locale with BCP47. r=jfkthame
...
MozReview-Commit-ID: AT9MPppx99p
--HG--
extra : rebase_source : ef98f45c430822de0eb400d1256d61988e9cc1f9
2018-01-25 14:50:32 -08:00
Dorel Luca
f0dfa23b9e
Backed out changeset 804f26b2c6b8 (bug 1428698) for xpcshell failure on toolkit/mozapps/extensions/test/xpcshell/test_bug397778.js on a CLOSED TREE
...
--HG--
extra : amend_source : 0a86497ef3fed6c36a638ccc640d1eccbe14bce6
2018-01-26 03:43:51 +02:00
Zibi Braniecki
2f307daaf1
Bug 1428698 - Align intl::locale::Locale with BCP47. r=jfkthame
...
MozReview-Commit-ID: AT9MPppx99p
--HG--
extra : rebase_source : 5086b899f50f29785cfa8c07c6df03bc281e8529
2018-01-25 14:50:32 -08:00
Zibi Braniecki
0d01f18858
Bug 1428530 - Separate out mozilla::intl::Locale. r=jfkthame
...
MozReview-Commit-ID: IELFjNCoJEo
--HG--
extra : rebase_source : 305dfb77cfa071c699ab4a9af38f59bb37c94711
2018-01-06 00:23:09 -08:00
Henri Sivonen
5b05e804a9
Bug 1431025 - Use encoding_rs::mem::is_utf16_bidi() as the implementation of HasRTLChars(). r=jfkthame
...
MozReview-Commit-ID: KnaI7wIndVf
--HG--
extra : rebase_source : 6a00c8fc140c1cf070e8fa668e7e099f98621820
2018-01-18 14:28:15 +02:00
Henri Sivonen
a710d83a47
Bug 1428774 - Avoid surrogate math in HasRTLChars(). r=jfkthame
...
Behavior change: Certain unpaired high surrogates will result in
the text being considered RTL where that wasn't the case before.
MozReview-Commit-ID: JL7wiRjhslC
--HG--
extra : rebase_source : ecd521a97be8908bb839aca02d624d86d5b0337f
2018-01-09 10:55:41 +02:00
Andreea Pavel
9c23902d5f
Backed out changeset 994e33a96d17 (bug 1428530) for build bustage at z:\build\build\src\intl\locale\locale.h on a CLOSED TREE
2018-01-23 20:43:43 +02:00
Zibi Braniecki
9ca3cdc5a5
Bug 1428530 - Separate out mozilla::intl::Locale. r=jfkthame
...
MozReview-Commit-ID: IELFjNCoJEo
--HG--
extra : rebase_source : a735a893e93669af5b91951519ea9dadeb8123ad
2018-01-06 00:23:09 -08:00
Jonathan Kew
495385a338
Bug 1431672 - Add a pref to control whether underscore is treated as a word-forming character. r=m_kato
2018-01-22 10:19:30 +00:00
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