Gurzau Raul
cd795da219
Backed out 2 changesets (bug 1532712) for mochitest failures at browser_policy_set_homepage.js on a CLOSED TREE.
...
Backed out changeset 1af088f5fc34 (bug 1532712)
Backed out changeset 5fb5272aec8e (bug 1532712)
2019-03-13 21:18:53 +02:00
Zibi Braniecki
54254e08a5
Bug 1532712 - Expose pause/resume observing methods on DocumentL10n. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D23244
--HG--
extra : moz-landing-system : lando
2019-03-13 16:39:41 +00:00
Zibi Braniecki
7e28ab1e17
Bug 1532226 - Move observers registration for Fluent DOM to C++. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D21898
--HG--
extra : moz-landing-system : lando
2019-03-05 02:16:14 +00:00
Christian Frey
fccf4fa2b5
Bug 1517493 - migrated pageInfo.dtd and pageInfo.properties to pageInfo.ftl r=jaws,flod,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D16931
--HG--
extra : moz-landing-system : lando
2019-02-22 15:26:15 +00:00
Oana Pop Rus
d259530ce5
Backed out changeset d28d0498bd7b (bug 1517493) for bc failures at browser_firstPartyIsolation_saveAs.js
2019-02-21 14:28:56 +02:00
Christian Frey
df96294465
Bug 1517493 Migrating pageInfo to Fluent r=jaws,flod,Gijs
...
Translating most string from pageInfo.properties and making pageInfo.js and security.js use Fluent
Differential Revision: https://phabricator.services.mozilla.com/D16931
--HG--
extra : moz-landing-system : lando
2019-02-21 11:31:05 +00:00
Staś Małolepszy
c2cf572a24
Bug 1526875 - Land intl/l10n/FluentSyntax.jsm r=zbraniecki
...
Differential Revision: https://phabricator.services.mozilla.com/D19391
--HG--
extra : moz-landing-system : lando
2019-02-20 16:45:16 +00:00
shindli
428bc0ca50
Backed out changeset cfb1a7fbbfa7 (bug 1517493) for bc failures in browser/base/content/test/static/browser_all_files_referenced.js
2019-02-18 22:49:05 +02:00
Christian Frey
59bf1f3f79
Bug 1517493 Migrating pageInfo to Fluent r=jaws,flod
...
Translating most string from pageInfo.properties and making pageInfo.js and security.js use Fluent
Differential Revision: https://phabricator.services.mozilla.com/D16931
--HG--
extra : moz-landing-system : lando
2019-02-07 06:31:04 +00:00
Sylvestre Ledru
41d1d79094
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D19663
--HG--
extra : moz-landing-system : lando
2019-02-15 08:15:57 +00:00
Brendan Dahl
74c580a4c5
Bug 1527733 - Remove special XUL DOM tree traversal. r=smaug
...
Move functionality out of XULDocument::AddElementToDocumentPost:
1) Convert all XUL link elements into HTML link elements which have
code to handle when they are added to the DOM.
2) Move handling of the end of a linkset element into nsXULElement's DoneAddingChildren callback.
3) Move document direction reset to where the root element is created.
Differential Revision: https://phabricator.services.mozilla.com/D19739
--HG--
extra : moz-landing-system : lando
2019-02-14 10:43:35 +00:00
Dorel Luca
efbf371fda
Backed out changeset f3a52e8d6861 (bug 1526875) for Browser-chrome failures. CLOSED TREE
2019-02-14 20:43:45 +02:00
Staś Małolepszy
11e921c983
Bug 1526875 - Land intl/l10n/FluentSyntax.jsm r=zbraniecki
...
Differential Revision: https://phabricator.services.mozilla.com/D19391
--HG--
extra : moz-landing-system : lando
2019-02-13 18:28:08 +00:00
Gijs Kruitbosch
87354fdcfd
Bug 1526925 - add a `hasSource` method to L10nRegistry to determine if a source is known, r=zbraniecki
...
Differential Revision: https://phabricator.services.mozilla.com/D19360
--HG--
extra : moz-landing-system : lando
2019-02-11 14:56:09 +00:00
Francesco Lodolo (:flod)
1da76eaf4a
Bug 1526805 - Fix broken links in Fluent documentation r=Pike
...
Differential Revision: https://phabricator.services.mozilla.com/D19329
--HG--
extra : moz-landing-system : lando
2019-02-11 08:52:21 +00:00
Zibi Braniecki
aee876626a
Bug 1524106 - Disconnect l10n root when destroying the document. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D18774
--HG--
extra : moz-landing-system : lando
2019-02-07 14:37:26 +00:00
Zibi Braniecki
614ca1e082
Bug 1523194 - Remove XPIDL for DOMLocalization and use do_ImportModule instead. r=jfkthame,kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D17780
--HG--
extra : moz-landing-system : lando
2019-02-07 01:52:45 +00:00
Zibi Braniecki
30d3a18c4e
Bug 1523457 - Don't call DocumentL10n::RemoveResourceIds during document's shutdown. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D17896
--HG--
extra : moz-landing-system : lando
2019-01-30 19:58:41 +00:00
Zibi Braniecki
4af0b84e22
Bug 1523457 - Revert a workaround from bug 1517544. r=jaws
...
Differential Revision: https://phabricator.services.mozilla.com/D17979
--HG--
extra : moz-landing-system : lando
2019-01-30 19:58:31 +00:00
Myk Melez
25349d2601
Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D17526
--HG--
extra : moz-landing-system : lando
2019-01-30 17:26:25 +00:00
Bogdan Tara
01884da282
Backed out 2 changesets (bug 1523457) for test_domloc* failures CLOSED TREE
...
Backed out changeset 05a81f3e0729 (bug 1523457)
Backed out changeset 23cef9112d5e (bug 1523457)
2019-01-30 17:45:55 +02:00
Zibi Braniecki
3b5ac4ab28
Bug 1523457 - Don't call DocumentL10n::RemoveResourceIds during document's shutdown. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D17896
--HG--
extra : moz-landing-system : lando
2019-01-30 14:50:20 +00:00
Zibi Braniecki
bb7ea940c9
Bug 1523457 - Revert a workaround from bug 1517544. r=jaws
...
Differential Revision: https://phabricator.services.mozilla.com/D17979
--HG--
extra : moz-landing-system : lando
2019-01-30 14:50:20 +00:00
Cosmin Sabou
599a15d354
Merge mozilla-inbound to mozilla-central. a=merge
2019-01-29 12:01:56 +02:00
Jared Wein
9602700aa7
Bug 1517544 - Don't update the translations if there are no Fluent resources left. r=zbraniecki
...
Differential Revision: https://phabricator.services.mozilla.com/D17850
--HG--
extra : moz-landing-system : lando
2019-01-28 22:10:20 +00:00
Zibi Braniecki
51cb6c2749
Bug 1518252 - Block layout on Fluent. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D17334
--HG--
extra : moz-landing-system : lando
2019-01-25 23:14:03 +00:00
Zibi Braniecki
47566628cd
Bug 1518252 - Make docl10n tests non-racy. r=Pike
...
Differential Revision: https://phabricator.services.mozilla.com/D17333
--HG--
extra : moz-landing-system : lando
2019-01-25 21:34:38 +00:00
Cosmin Sabou
d4afc5310c
Backed out 2 changesets (bug 1518252) for frequent clipboard failures on browser_jsterm_middle_click_paste.
...
Backed out changeset b6f80451898e (bug 1518252)
Backed out changeset 06114c66901f (bug 1518252)
--HG--
extra : rebase_source : 795b3a29b1344ce224207c4034f13d3d7f1a5c53
2019-01-24 02:50:54 +02:00
Zibi Braniecki
5e38c8a5a5
Bug 1518252 - Block layout on Fluent. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D17334
--HG--
extra : moz-landing-system : lando
2019-01-23 21:29:15 +00:00
Zibi Braniecki
9359df8494
Bug 1518252 - Make docl10n tests non-racy. r=Pike
...
Differential Revision: https://phabricator.services.mozilla.com/D17333
--HG--
extra : moz-landing-system : lando
2019-01-23 22:17:11 +00:00
Kris Maglione
e930b89c34
Bug 1514594: Part 3 - Change ChromeUtils.import API.
...
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8
This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:
ChromeUtils.import("resource://gre/modules/Services.jsm");
is approximately the same as the following, in the new model:
var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");
Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs
This was done using the followng script:
https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16750
--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
Francesco Lodolo (:flod)
2ba5ceb4f0
Bug 1521279 - Update Fluent migration documentation to include whitespaces trimming and parameter normalization r=Pike
...
1. Updated TERM_REFERENCE() example for Fluent syntax 0.8
2. Documented print parameter normalization (bug 1317336)
2. Documented whitespaces trimming (bug 1493184)
Differential Revision: https://phabricator.services.mozilla.com/D17104
--HG--
extra : moz-landing-system : lando
2019-01-21 15:00:00 +00:00
Jared Wein
64abb2f9b4
Bug 1518786 - Remove translations from the pending queue if there is a caller that is waiting on the specific translations. r=zbraniecki
...
Differential Revision: https://phabricator.services.mozilla.com/D16588
--HG--
extra : moz-landing-system : lando
2019-01-16 20:54:36 +00:00
Zibi Braniecki
a5339188fb
Bug 1509583 - Introduce LocalizationSync. r=stas
...
Differential Revision: https://phabricator.services.mozilla.com/D13340
--HG--
extra : moz-landing-system : lando
2019-01-11 00:25:49 +00:00
Zibi Braniecki
ef5c7af9be
Bug 1509609 - Provide a sync version of generateBundles for L10nregistry. r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D13166
--HG--
extra : moz-landing-system : lando
2019-01-11 00:19:37 +00:00
Emilio Cobos Álvarez
d2ed260822
Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug
...
Summary: Really sorry for the size of the patch. It's mostly automatic
s/nsIDocument/Document/ but I had to fix up in a bunch of places manually to
add the right namespacing and such.
Overall it's not a very interesting patch I think.
nsDocument.cpp turns into Document.cpp, nsIDocument.h into Document.h and
nsIDocumentInlines.h into DocumentInlines.h.
I also changed a bunch of nsCOMPtr usage to RefPtr, but not all of it.
While fixing up some of the bits I also removed some unneeded OwnerDoc() null
checks and such, but I didn't do anything riskier than that.
2019-01-03 17:48:33 +01:00
Emilio Cobos Álvarez
63814207cb
Bug 1516853 - Merge nsIDocument and nsDocument. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D15498
--HG--
extra : moz-landing-system : lando
2018-12-31 14:10:19 +00:00
Zibi Braniecki
6d0168184b
Bug 1513958 - Update Fluent.jsm to version 0.10.0. r=stas
...
Differential Revision: https://phabricator.services.mozilla.com/D14612
--HG--
extra : moz-landing-system : lando
2018-12-18 21:49:44 +00:00
Brindusan Cristian
7e98d25b74
Backed out changeset 97c242f0e91e (bug 1513958) for devtools failures on browser_aboutdebugging_serviceworker_push.js.
...
--HG--
extra : histedit_source : 352f613a355e129b78f846323ae1d92708892a36
2018-12-16 06:00:15 +02:00
Zibi Braniecki
65756bf552
Bug 1513958 - Update Fluent.jsm to version 0.10.0. r=stas
...
Differential Revision: https://phabricator.services.mozilla.com/D14612
--HG--
extra : moz-landing-system : lando
2018-12-16 02:23:27 +00:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Francesco Lodolo (:flod)
f502206960
Bug 1507441 - Replace FTL.VariantName with FTL.Identifier in existing recipes and documentation, fix nits in recipes r=stas
...
Differential Revision: https://phabricator.services.mozilla.com/D12001
--HG--
extra : moz-landing-system : lando
2018-11-15 12:48:09 +00:00
Csoregi Natalia
d45a83305b
Bug 1488973 - Followup for eslint failure. CLOSED TREE
...
--HG--
extra : amend_source : 608437e414f153580a51c5b5b85b7478a8b11f60
2018-10-24 21:56:27 +03:00
Zibi Braniecki
273622bfd8
Bug 1488973: Add tests for localisation of unprivileged content. r=flod,mossop
...
Depends on D7962
Differential Revision: https://phabricator.services.mozilla.com/D8138
--HG--
extra : moz-landing-system : lando
2018-10-24 17:42:34 +00:00
Zibi Braniecki
161f499d5e
Bug 1488973: Register locale sources in all processes. r=mossop
...
Depends on D7961
Differential Revision: https://phabricator.services.mozilla.com/D7962
--HG--
extra : moz-landing-system : lando
2018-10-24 17:42:09 +00:00
Zibi Braniecki
1109449691
Bug 1488973: Wrap privileged promises in a promise for the document we`re returning to. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D7961
--HG--
extra : moz-landing-system : lando
2018-10-24 17:41:46 +00:00
Narcis Beleuzu
b7b79b2538
Backed out 3 changesets (bug 1488973) for causing TV failures on browser_resource_uri.js
...
Backed out changeset 6eab8a1b17ce (bug 1488973)
Backed out changeset c06b2c594294 (bug 1488973)
Backed out changeset 819df51e3083 (bug 1488973)
2018-10-24 10:49:10 +03:00
Zibi Braniecki
5b050994a5
Bug 1488973: Add tests for localisation of unprivileged content. r=flod,mossop
...
Depends on D7962
Differential Revision: https://phabricator.services.mozilla.com/D8138
--HG--
extra : moz-landing-system : lando
2018-10-24 07:13:19 +00:00
Zibi Braniecki
16df4be7a6
Bug 1488973: Register locale sources in all processes. r=mossop
...
Depends on D7961
Differential Revision: https://phabricator.services.mozilla.com/D7962
--HG--
extra : moz-landing-system : lando
2018-10-23 18:59:19 +00:00
Zibi Braniecki
1b21b22d57
Bug 1488973: Wrap privileged promises in a promise for the document we`re returning to. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D7961
--HG--
extra : moz-landing-system : lando
2018-10-23 18:59:06 +00:00
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
Collin Wing
77d1436561
Bug 1484644 Whitelist title and tooltiptext for XUL r=zbraniecki
...
Differential Revision: https://phabricator.services.mozilla.com/D7627
--HG--
extra : moz-landing-system : lando
2018-10-03 17:47:45 +00:00
Nicholas Nethercote
8478f8d66e
Bug 1489047 - Change almost all DOMString occurrences in XPIDL files to AString. r=nika
...
Because they have almost identical semantics.
--HG--
extra : rebase_source : ea9074bcac2a1d190b88a5d1afc15997593659b7
2018-09-06 18:02:43 +10:00
Francesco Lodolo (:flod)
236f33b702
Bug 1494300 - Fix migration example for FTL.SelectExpression r=stas
...
Differential Revision: https://phabricator.services.mozilla.com/D6902
--HG--
extra : moz-landing-system : lando
2018-09-27 06:57:34 +00:00
Zibi Braniecki
70411b2b33
Bug 1493625 - Make LocaleService::IsAppLocaleRTL react to pseudo. r=flod,jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D6689
--HG--
extra : moz-landing-system : lando
2018-09-25 16:48:16 +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
Francesco Lodolo (:flod)
f8e0411407
Bug 1492052 - Add naming convention for Fluent messages to documentation r=zbraniecki
...
Differential Revision: https://phabricator.services.mozilla.com/D6124
--HG--
extra : moz-landing-system : lando
2018-09-18 16:06:55 +00:00
Brian Grinstead
aaf1aea124
Bug 1490457 - Add test for dynamically inserted localization links after parse;r=zbraniecki
...
Differential Revision: https://phabricator.services.mozilla.com/D5781
--HG--
extra : moz-landing-system : lando
2018-09-14 00:31:36 +00:00
Zibi Braniecki
164b059344
Bug 1490444 - Localization should register its observers. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D5574
--HG--
extra : moz-landing-system : lando
2018-09-11 23:40:39 +00:00
Zibi Braniecki
4bf900d584
Bug 1455649 - DocumentL10n, part 4 - Switch Preferences to use DocumentL10n API. r=smaug
...
--HG--
extra : rebase_source : 969d8ac56c3a033b707fab4508423407386abd35
2018-09-06 18:30:37 -07:00
Zibi Braniecki
e78d123097
Bug 1455649 - DocumentL10n, part 3 - Plug DocumentL10n life cycle into DOM hooks. r=smaug
...
--HG--
extra : rebase_source : d071878d22b5fd204db8367780ee22be22196773
2018-09-06 18:28:40 -07:00
Zibi Braniecki
431a5526d8
Bug 1455649 - DocumentL10n, part 1 - Add C++ DocumentL10n API. r=smaug
...
Summary:
DocumentL10n is a DOM C++ API which serves as a bridge between
nsIDocument and mozDOMLocalization APIs.
MozReview-Commit-ID: 8LfOR4Haqlu
Reviewers: smaug
Reviewed By: smaug
Subscribers: mossop, smaug
Bug #: 1455649
Differential Revision: https://phabricator.services.mozilla.com/D2904
--HG--
extra : rebase_source : f57f363532ecc3456fb9ada734bda5b63b5ba511
2018-09-06 18:20:18 -07: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
16229f69ef
Bug 1475903 - Add mozIDOMLocalization API. r=mossop
...
In order to use DOMLocalization from C++ we need an XPIDL interface.
mozIDOMLocalization exposes the class and functionality allowing DocumentL10n to hook into it.
MozReview-Commit-ID: GPMhw61LPEg
--HG--
extra : rebase_source : 65d6e2b84379e78201f0c8b674630d1f485aaf8c
2018-06-22 13:14:23 -07:00
Zibi Braniecki
a3c93fda4e
Bug 1480798 - Set document's directionality in Fluent. r=stas
...
Set document's directionality in Fluent.
Differential Revision: https://phabricator.services.mozilla.com/D2732
--HG--
extra : moz-landing-system : lando
2018-08-03 21:13:19 +00:00
Coroiu Cristina
83ac803dc6
Backed out changeset c0bf622859f6 (bug 1480798) for chrome failures at intl/l10n/test/dom/test_domloc.xul
2018-08-03 23:55:25 +03:00
Zibi Braniecki
0abff42b51
Bug 1480798 - Set document's directionality in Fluent. r=stas
...
Set document's directionality in Fluent.
Differential Revision: https://phabricator.services.mozilla.com/D2732
--HG--
extra : moz-landing-system : lando
2018-08-03 17:21:37 +00:00
Cosmin Sabou
0d26acc69a
Backed out changeset bfaeacf41b77 (bug 1475903) for causing leaks at nsTArray_base.
2018-08-02 10:39:02 +03:00
Zibi Braniecki
ee6c5d52d3
Bug 1475903 - Add mozIDOMLocalization API. r=mossop
...
In order to use DOMLocalization from C++ we need an XPIDL interface.
mozIDOMLocalization exposes the class and functionality allowing DocumentL10n to hook into it.
MozReview-Commit-ID: GPMhw61LPEg
--HG--
extra : rebase_source : 65d6e2b84379e78201f0c8b674630d1f485aaf8c
2018-06-22 13:14:23 -07:00
Andreea Pavel
7c754d1621
Backed out changeset fbbb0327f0f1 (bug 1475903) for failing intl/l10n/test/test_mozdomlocalization.js
2018-08-02 06:14:05 +03:00
Zibi Braniecki
0ce3ff104d
Bug 1475903 - Add mozIDOMLocalization API. r=mossop
...
In order to use DOMLocalization from C++ we need an XPIDL interface.
mozIDOMLocalization exposes the class and functionality allowing DocumentL10n to hook into it.
MozReview-Commit-ID: GPMhw61LPEg
--HG--
extra : rebase_source : 62d5909d9db8858c2ad1b4234d6f9b9be8da7efd
2018-06-22 13:14:23 -07:00
Axel Hecht
85cca5e505
bug 1478343, update Fluent migration docs, r=stas
...
The changes affecting the docs include:
Rename of EXTERNAL_ARGUMENT to VARIABLE_REFERENCE
Addition of TERM_REFERENCE
Docs already talk about variable references, too.
MozReview-Commit-ID: KUwPSqJyBn0
--HG--
extra : rebase_source : d1b8b3aa42716ba9884422687c8ae8946805bb1f
2018-07-26 11:17:57 +02: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
Paolo Amadini
78634a8074
Bug 1472716 - Part 1 - Whitelist the "value" attribute for XUL localization. r=gandalf
...
MozReview-Commit-ID: Gv9da9rqOrL
--HG--
extra : source : 8863ca47ea65aae4b136ea9cf80fb8eab33c0e90
2018-07-10 14:57:18 +01: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
Francesco Lodolo (:flod)
b8cbb8c7e1
Bug 1467183 - Add documentation for Fluent migrations, r=gandalf,Pike,stas
...
MozReview-Commit-ID: 8eaH4SaXfAu
--HG--
extra : rebase_source : a8af1c7613fd4dc50b6bedde45c8a2d61403ee8c
2018-06-07 18:19:00 +02:00
Kris Maglione
7b7264f453
Bug 1464548: Part 3 - Update callers to use defineLazyGlobalGetters. r=mccr8
...
MozReview-Commit-ID: 9APGewiDDYB
--HG--
extra : rebase_source : 2931dd0eec0e4206414b698a9700fc20d922eb3a
2018-05-25 17:02:29 -07:00
Francesco Lodolo (:flod)
fe5f3fd914
Bug 1467377 - Fix typos in Intl and L10n documentation r=gandalf
...
MozReview-Commit-ID: 9zP6j7COEiJ
--HG--
extra : rebase_source : 35b44964d38f53f62522d0709b18d7dfa1ca8a9a
2018-06-07 08:20:49 +02: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
1627230c81
Bug 1462958 - Avoid infinite recursion if resourceIds is empty. r=mossop
...
`generateContextsForLocale` didn't have a condition for when `resolvedLength`
equals `resourcesLength` which triggeres an infinite recursion when `resourceIds` is
empty.
MozReview-Commit-ID: Csy1ROTfbE2
--HG--
extra : rebase_source : 587477279ed89bf17cd3243ae291222ecd9d34b4
2018-05-19 20:14:00 -07:00
Zibi Braniecki
93ac8e7357
Bug 1461048 - Convert Fluent API calls to FluentDOM 0.3.0. r=mossop
...
MozReview-Commit-ID: K3eA8blcP2x
--HG--
extra : rebase_source : 8aca3e850d9c8f87e13aa5d1dcad588b9a272a94
2018-05-14 12:37:41 -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
0b6e1bc746
Bug 1455048
- Revert the workaround added to Fluent for microtasks bug. r=mossop
...
MozReview-Commit-ID: AFpNRPfJpm7
--HG--
extra : rebase_source : 8b6b8a0733651c96e46a0e24a3cd11dddd2d0aff
2018-04-18 11:05:19 -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