Zibi Braniecki
403e3bbc2e
Bug 1500735 - Update cached-iterable in Fluent to 0.3.0. r=stas
...
Differential Revision: https://phabricator.services.mozilla.com/D9350
--HG--
extra : moz-landing-system : lando
2018-10-22 15:05:35 +00:00
Zibi Braniecki
56bbe2cfb3
Bug 1498960
- Update Fluent in Gecko to 0.9. r=stas
...
Differential Revision: https://phabricator.services.mozilla.com/D8689
--HG--
rename : intl/l10n/MessageContext.jsm => intl/l10n/Fluent.jsm
extra : moz-landing-system : lando
2018-10-20 16:35:50 +00:00
Mark Banner
ceaeb93550
Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central (automatic fixes). r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D8389
--HG--
extra : moz-landing-system : lando
2018-10-19 12:55:39 +00:00
Zibi Braniecki
83ea94f5ba
Bug 1491394 - Update callsites to use new mozILocaleService API. r=jfkthame
...
Depends on D5924
Differential Revision: https://phabricator.services.mozilla.com/D6339
--HG--
extra : moz-landing-system : lando
2018-09-21 15:30:37 +00:00
Zibi Braniecki
2ca5d37f91
Bug 1455649 - DocumentL10n, part 0 - Add `eager` parameter to mozDOMLocalization::AddResources to trigger I/O early. r=mossop
...
Reviewers: mossop
Reviewed By: mossop
Bug #: 1455649
Differential Revision: https://phabricator.services.mozilla.com/D5093
--HG--
extra : rebase_source : 82de0c5b28ddedb9f589e47f46b9eafe379a4fa1
2018-09-06 18:19:26 -07:00
Zibi Braniecki
a7959b6272
Bug 1483038 - Optimize L10nRegistry generator to early exit on missing resources. r=mossop
...
Optimize L10nRegistry generator to early exit on missing resources.
Differential Revision: https://phabricator.services.mozilla.com/D3394
--HG--
extra : moz-landing-system : lando
2018-09-04 16:57:52 +00:00
shindli
72702be2ca
Backed out changeset 6cd626758796 (bug 1483038) for ES lint failure in L10nRegistry
2018-09-04 19:45:06 +03:00
Zibi Braniecki
d5b262e43d
Bug 1483038 - Optimize L10nRegistry generator to early exit on missing resources. r=mossop
...
Optimize L10nRegistry generator to early exit on missing resources.
Differential Revision: https://phabricator.services.mozilla.com/D3394
--HG--
extra : moz-landing-system : lando
2018-08-30 18:00:35 +00:00
Zibi Braniecki
6ddc6d1828
Bug 1480881 - Upgrade Gecko to Fluent 0.6. r=stas
...
Upgrade Gecko to Fluent 0.6.
Differential Revision: https://phabricator.services.mozilla.com/D2740
--HG--
extra : moz-landing-system : lando
2018-08-07 00:08:29 +00:00
Zibi Braniecki
9abd8411b1
Bug 1384236 - Cache l10n resources differently in L10nRegistry. r=Pike
...
Switch to cache FTLResources per FileSource. This allows us to minimize
the memory impact of dynamic additions/removals of l10n resources to
a context on fly.
MozReview-Commit-ID: B9fxbkaU3oX
--HG--
extra : rebase_source : bc268352965c721b5692f2062a063f7fba091136
2018-06-22 12:03:24 -07:00
Gurzau Raul
1e95ba963d
Backed out changeset 24a8cf2131d1 (bug 1384236) for failing at extensions/test/xpcshell/test_webextension_langpack.js on a CLOSED TREE
2018-07-13 20:02:32 +03:00
Zibi Braniecki
cf5e5747be
Bug 1384236 - Cache l10n resources differently in L10nRegistry. r=Pike
...
Switch to cache FTLResources per FileSource. This allows us to minimize
the memory impact of dynamic additions/removals of l10n resources to
a context on fly.
MozReview-Commit-ID: B9fxbkaU3oX
--HG--
extra : rebase_source : efad7ec156baea0924e848acb29b62a1fe0aff40
2018-06-22 12:03:24 -07:00
Zibi Braniecki
6ab04fc7a2
Bug 1474786 - Update Fluent to master. r=stas
...
MozReview-Commit-ID: 5PMKF46TPVM
--HG--
extra : rebase_source : cb1efb34498c6d067cde90e5f999267ce91b08e9
2018-07-10 17:49:02 -07:00
Zibi Braniecki
a3bf95f8ee
Bug 1450781 - Enable pseudolocalization in Fluent. r=mossop
...
MozReview-Commit-ID: Cs8OubRRur4
--HG--
extra : rebase_source : 10f2ff4983d0785278a030d134a41582e4714f71
2018-06-01 12:37:13 -07:00
Zibi Braniecki
1c5fcde883
Bug 1453765 - Switch Fluent from warning to throwing errors when in debug/testing mode. r=Gijs
...
MozReview-Commit-ID: 1y7FTCPWRxb
--HG--
extra : rebase_source : fb4d20e383efd64bbdfce5ca1d78aca40716b57a
2018-05-22 20:49:29 -07:00
Zibi Braniecki
1fc028c7d8
Bug 1461048 - Update FluentDOM to 0.3.0. r=mossop
...
MozReview-Commit-ID: FKHICfiqXVr
--HG--
extra : rebase_source : 93258d2425509bbdc2a4a9e77b98ed87da526af0
2018-05-14 12:14:27 -07:00
Kris Maglione
a259026c9d
Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
...
This also removes any redundant Ci.nsISupports elements in the interface
lists.
This was done using the following script:
acecb401b7/processors/chromeutils-generateQI.jsm
MozReview-Commit-ID: AIx10P8GpZY
--HG--
extra : rebase_source : a29c07530586dc18ba040f19215475ac20fcfb3b
2018-04-22 20:55:06 -07:00
Zibi Braniecki
09e02253d3
Bug 1456565 - Fetch fallback locale eagerly in Fluent. r=stas
...
MozReview-Commit-ID: A9wBGxzdD2m
--HG--
extra : rebase_source : 5b8cd54faff389e9a94412b3ec928f1c36bdd4a2
2018-04-24 10:31:59 -07:00
Noemi Erli
f296f0fe18
Backed out changeset 7f536b6a56e9 (bug 1456565) for Linting failures on a CLOSED TREE
2018-04-27 02:12:56 +03:00
Zibi Braniecki
15975eb37c
Bug 1456565 - Fetch fallback locale eagerly in Fluent. r=stas
...
MozReview-Commit-ID: A9wBGxzdD2m
--HG--
extra : rebase_source : 1304e1e28a67b290c24f637ab68377e1d5c75646
2018-04-24 10:31:59 -07:00
Zibi Braniecki
4d776835e7
Bug 1450656 - Canonicalize ja-JP-mac to ja-JP-macos and use BCP47 version in Fluent. r=jfkthame
...
MozReview-Commit-ID: 2UbD2T8yyGm
--HG--
extra : rebase_source : 1e9f9c4ab8c97240edb3eb8e2e9d611fff907d7f
2018-04-10 14:19:05 -07:00
Zibi Braniecki
b4b2c33b2d
Bug 1453480 - Update fluent to 0.6.4 and fluent-dom to 0.2.0. r=stas
...
MozReview-Commit-ID: La8uSw0sq4p
--HG--
extra : source : 658fedb903d0f037289ffb80026ddea376400caa
2018-04-11 13:06:35 -07:00
Coroiu Cristina
7e1be34a07
Backed out 4 changesets (bug 1453480) for failing browser-chrome at browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_site_data.js on a CLOSED TREE
...
Backed out changeset 623b37fe0fe8 (bug 1453480)
Backed out changeset a3c36fa7ac0c (bug 1453480)
Backed out changeset 46a634d6853c (bug 1453480)
Backed out changeset 658fedb903d0 (bug 1453480)
2018-04-13 19:49:14 +03:00
Zibi Braniecki
a8f62de0ae
Bug 1453480 - Update fluent to 0.6.4 and fluent-dom to 0.2.0. r=stas
...
MozReview-Commit-ID: La8uSw0sq4p
--HG--
extra : rebase_source : 95181fb06ec75c36ebc2c234fdac68956b9e049e
2018-04-11 13:06:35 -07:00
Coroiu Cristina
5061cec60a
Backed out 3 changesets (bug 1453480, bug 1453878) for c2 failures at intl/l10n/test/dom/test_domloc_overlay.htm and browser-chrome failures at browser/components/preferences/in-content/tests/browser_fluent.js on a CLOSED TREE
...
Backed out changeset 8dd86546cc66 (bug 1453878)
Backed out changeset 6b5e7c13eb8c (bug 1453480)
Backed out changeset 385de3e4dca0 (bug 1453480)
2018-04-13 08:51:13 +03:00
Zibi Braniecki
cc0beb7960
Bug 1453878 - Follow-up to fluent-dom to 0.2.0 landing. r=gandalf
...
MozReview-Commit-ID: D5jgJWzrDlX
--HG--
extra : rebase_source : 316dd7c060ddc0c023f601f8bb8ab91640c19c4e
2018-04-12 22:20:05 -07:00
Zibi Braniecki
e3ad17f498
Bug 1453480 - Update fluent to 0.6.4 and fluent-dom to 0.2.0. r=stas
...
MozReview-Commit-ID: La8uSw0sq4p
--HG--
extra : rebase_source : 27e3611a5bb7abc11e8663186c6e4b1812a7f34b
2018-04-11 13:06:35 -07:00
Zibi Braniecki
a715714c3c
Bug 1438613 - Remove explicit observer unregistering from Fluent. r=mossop
...
MozReview-Commit-ID: 3SavwzU9ZQD
--HG--
extra : rebase_source : 97a5a8d661d93ac3a35635bab527990b47d3b35c
2018-02-15 11:06:52 -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
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
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
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
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
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
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
Zibi Braniecki
3ca67e913e
Bug 1347798 - Create a small per-document bindings for DOMLocalization. r=mossop
...
MozReview-Commit-ID: DfxIYVxyt9C
--HG--
extra : rebase_source : 8b7b31f268408dea46af6202c8943ff11a2c165e
2017-09-09 19:23:03 -07:00
Sebastian Hengst
6bba3e6d42
Backed out changeset e46cfa3b45ff (bug 1347798) because it will fail browser-chrome's browser_all_files_referenced.js. r=backout
2017-09-21 22:28:55 +02:00
Zibi Braniecki
f0b3f3cf16
Bug 1347798 - Create a small per-document bindings for DOMLocalization. r=mossop
...
MozReview-Commit-ID: DfxIYVxyt9C
--HG--
extra : rebase_source : 991b1603f3fc482ed385da0b68205566fa738c7b
2017-09-09 19:23:03 -07:00
Wes Kocher
4a0c680e2a
Backed out changeset f1ae02c8d697 (bug 1347798) for eslint failures a=backout
...
MozReview-Commit-ID: FfrPYVOjyji
2017-09-21 12:07:00 -07:00
Zibi Braniecki
c89f208415
Bug 1347798 - Create a small per-document bindings for DOMLocalization. r=mossop
...
MozReview-Commit-ID: DfxIYVxyt9C
--HG--
extra : rebase_source : 946084f272be3aee55c6690200a51bf78a141fa8
2017-09-09 19:23:03 -07:00
Zibi Braniecki
3523ff39ae
Bug 1394977 - Move L10nRegistry to use async iterators. r=mossop
...
MozReview-Commit-ID: 5szrQ1UWJ64
--HG--
extra : rebase_source : b72a952128d0b4aed9a142c0e4d4b30b26960f80
2017-09-08 23:19:49 -07:00
Zibi Braniecki
c5a354a1d6
Bug 1393928 - Expose intl/l10n .jsm APIs explicitly. r=mossop
...
MozReview-Commit-ID: Z57nlQJnQT
--HG--
extra : rebase_source : 5b6e5e804a14eef7847dfa1aada4588d401a43f6
2017-08-25 12:59:18 -07:00