Florian Quèze
c546946f86
Bug 1433175 - remove by hands some variations of Cc,Ci,Cu definitions, r=Standard8.
2018-02-28 18:51:34 +01:00
Florian Quèze
c714053d73
Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop.
2018-02-28 18:51:33 +01:00
Brian Grinstead
97119973ca
Bug 1440094 - Remove imports to Console.jsm that only access the 'console' object;r=mossop
...
Importing this object is unnecessary after the updates to the WebIDL console from Bug 1425574
and the follow-ups blocking Bug 1430810. There are still callers that access Console.jsm
to create custom ConsoleAPI objects, but those will be handled separately.
MozReview-Commit-ID: 9ojFxtkpPId
--HG--
extra : rebase_source : 971bf99f709b8d2afe300f3693665724f747aa5e
2018-02-27 11:29:59 -08:00
Jonathan Kew
37d0b4ea9b
Bug 1440943 - Make GetScriptTagForCode safely return UNKNOWN tag if called with a script code that is out of range for the system ICU version. r=m_kato
2018-02-27 10:34:25 +00:00
Florian Quèze
682b1ec3b2
Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8.
2018-02-23 20:50:01 +01:00
Dorel Luca
6ad641c5c4
Merge mozilla-inboud to mozilla-central. a=merge
2018-02-22 11:59:54 +02:00
Jason Orendorff
a48654929c
Bug 1439665 - Part 1: #include some headers directly in files that use them. r=sfink.
...
"Include what you use."
--HG--
extra : rebase_source : 2239a380029e0efbc9dd3042459222a67c38d70f
extra : amend_source : 4453c32cc469caa592049167205666997f1a1e7b
extra : histedit_source : a533edd4a4d3d0642b08989e93674661d27baa6a%2C37d27eeef9580381ccc0de8507f60166dabf1730
2018-02-20 11:28:12 -06:00
Zibi Braniecki
6078ba1b11
Bug 1439018 - Temporarily disable bidi isolation in Fluent due to Microsoft not supporting FSI/PDI. r=stas
...
MozReview-Commit-ID: FTJyG4UhQA
--HG--
extra : rebase_source : f1e77036d03778c602a3265df6f759a748cbf825
2018-02-19 22:24:40 -10:00
Zibi Braniecki
e3306c96dc
Bug 1440188 - Fix eslint error from adding intl/l10n to eslint. r=gandalf
...
MozReview-Commit-ID: 8um44N5dZUv
--HG--
extra : rebase_source : 5d1a01c53a585bca9e396543bf29e3ee3b8565d9
2018-02-21 18:36:30 -08:00
Zibi Braniecki
c797a57c90
Bug 1428769 - Add intl/l10n to be covered by eslint. r=Pike
...
MozReview-Commit-ID: 6Mu1A8xkxn4
--HG--
extra : rebase_source : e62867d32b0062a6aa076572b85fb9cec7afb81a
2018-02-20 14:02:54 -10:00
Zibi Braniecki
5849ff1145
Bug 1431260 - Migrate LocaleService::AvailableLocales from ChromeRegistry to multilocale.txt. r=jfkthame
...
MozReview-Commit-ID: 6S4VaAvDako
--HG--
extra : rebase_source : ea6ae09971a7cbf617081836079cb875ffe4cb18
2018-02-13 23:41:39 -08:00
Zibi Braniecki
06102292c3
Bug 1437427 - Workaround promise/microtask bug with a callback in Fluent runtime. r=Pike
...
MozReview-Commit-ID: 9uJpEHHBv8w
--HG--
extra : rebase_source : f09277ad5f2ea4a61d1f7ba9b908b35af9dd3360
2018-02-13 12:26:31 -08:00
Zibi Braniecki
168adb6f0b
Bug 1438055 - Switch Fluent Localization class to use weak observers. r=mossop
...
MozReview-Commit-ID: 4R8OyziLRUo
--HG--
extra : rebase_source : 8a26c97c30e46af0a5f77060066046cd91ccb64c
2018-02-13 16:25:41 -08:00
Zibi Braniecki
b9f1a4ecba
Bug 1426063 - Add PLATFORM built-in to Fluent in Gecko. r=Pike
...
In order to allow localizations to produce different string depending on the
platform, we need to add a Gecko-specific built-in function to the MessageContext.
I'm explicitly listing the variables which we pass, rather than just passing the value
in order to ensure we don't start returning values we didn't plan for in case
the AppConstants.platform gets updated.
MozReview-Commit-ID: 1KZ6bf6zIY2
--HG--
extra : rebase_source : ce75c2c32bfb29b10b6ddbcaf6a71e2bf4cd4315
2017-12-20 14:25:10 -08:00
Zibi Braniecki
5fe1b2b553
Bug 1436790 - Update Fluent in Gecko to 0.6.2. r=Pike
...
MozReview-Commit-ID: BC2oTIGLips
--HG--
extra : rebase_source : b7d5122123ff49a2332d3848e235c0c6ae1c0921
2018-02-08 10:59:29 -08:00
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