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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Phil Ringnalda
8cb8e27250
Backed out changeset 97dbcd99280d (bug 1394977) for xpcshell failures in test_localization.js
...
MozReview-Commit-ID: 1ZyUZB7cigl
2017-09-08 22:21:00 -07:00
Zibi Braniecki
b45802f003
Bug 1394977 - Move L10nRegistry to use async iterators. r=mossop
...
MozReview-Commit-ID: I6KuXyoItOQ
--HG--
extra : rebase_source : 97c1ada528e3a1536ea64905023e5fa41311a9a6
2017-08-29 01:06:47 -07:00
Zibi Braniecki
b7a3ab7ad6
Bug 1347799 - Add DOMLocalization module for the new Localization API. r=mossop
...
MozReview-Commit-ID: Kw0U6I0E94F
--HG--
extra : rebase_source : 7f3ea6507bade3cd9d4afe45960340273cdb6bac
2017-08-25 11:16:30 -07:00