Граф коммитов

4323 Коммитов

Автор SHA1 Сообщение Дата
Zibi Braniecki 314d9393b8 Bug 1443697 - Fix nits in Fluent for Firefox Developers. r=flod
MozReview-Commit-ID: 4QSBa01XXp3

--HG--
extra : rebase_source : 1d68adcced17cb5904f8a87aadc2f4a7309f17c1
2018-03-06 17:48:17 -08:00
Zibi Braniecki a17ecedb71 Bug 1438608 - Improve error reporting of Fluent missing strings. r=stas
MozReview-Commit-ID: 5HOsUGtDi3V

--HG--
extra : rebase_source : 14bae133efb1338813145c9c8a543302a1b0c0db
2018-03-06 01:25:23 -08:00
Zibi Braniecki e0dc62fb37 Bug 1363862 - Use Node.localize for fragment translation in Fluent DOM. r=stas
MozReview-Commit-ID: 1zAbSMapi86

--HG--
extra : rebase_source : 5b0ca1113bf99f6308db4655ebaec0ab6f2eb416
2018-03-01 16:49:37 -08:00
Zibi Braniecki db6356be2b Bug 1438655 - Add Introduction to Fluent for Firefox Developers. r=flod
MozReview-Commit-ID: 33v3OTFYRHi

--HG--
extra : rebase_source : 27c549ae74fd9f132a8066e864d570b9e3218e91
2018-02-27 23:52:26 -08:00
Matt Brubeck c01458e74e Bug 1381576 - Remove reference to obsolete encoding_rs/parallel-utf8 feature. r=ted
MozReview-Commit-ID: D5YdCGTBuL

--HG--
extra : source : 1ea18b70b170502da444405f233f925c58e1266d
2018-03-01 13:02:02 -08:00
shindli 0ba01aed1b Backed out 3 changesets (bug 1381576) for Bugzilla linting failure on a CLOSED TREE
Backed out changeset 3bc1743ad418 (bug 1381576)
Backed out changeset bbae7807c164 (bug 1381576)
Backed out changeset 1ea18b70b170 (bug 1381576)
2018-03-02 21:17:20 +02:00
Matt Brubeck 29e544108f Bug 1381576 - Remove reference to obsolete encoding_rs/parallel-utf8 feature. r=ted
MozReview-Commit-ID: D5YdCGTBuL

--HG--
extra : rebase_source : dea337046b7fb8491bb9c4d59b4d0c2e43cf6516
extra : histedit_source : d8abdea214803e323f0ac87d6916491a67513fc2
2018-03-01 13:02:02 -08:00
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