Simon Giesecke
9093e5e1bf
Bug 1673424 - Fix includes around JS/StructuredClone.h.
...
Differential Revision: https://phabricator.services.mozilla.com/D94762
Depends on D93568
2020-11-23 16:06:52 +00:00
Simon Giesecke
971b645fe3
Bug 1660470 - Add missing include directives/forward declarations. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D87865
2020-11-23 16:21:38 +00:00
Dan Minor
5bc2b7d62a
Bug 1675789 - Do not used flipped characters for bidi pseudo-locale; r=zbraniecki
...
This switches to using accented characters without elongation for the bidi
pseudo-locale to improve readability. We received feedback that the
flipped characters were too difficult to read.
This also updates the test expectations.
Differential Revision: https://phabricator.services.mozilla.com/D96855
2020-11-13 13:23:12 +00:00
Dan Minor
74258d96fc
Bug 1675789 - Update fluent-pseudo to 0.2.3; r=zbraniecki
...
Differential Revision: https://phabricator.services.mozilla.com/D96853
2020-11-13 13:23:02 +00:00
Bogdan Tara
944e17a779
Backed out 3 changesets (bug 1675789) for test_pseudo.js failures CLOSED TREE
...
Backed out changeset 96add4c0a255 (bug 1675789)
Backed out changeset 0e0fe4161436 (bug 1675789)
Backed out changeset dcd4e0412d54 (bug 1675789)
2020-11-13 04:21:54 +02:00
Dan Minor
a0c522b311
Bug 1675789 - Do not used flipped characters for bidi pseudo-locale; r=zbraniecki
...
This switches to using accented characters without elongation for the bidi
pseudo-locale to improve readability. We received feedback that the
flipped characters were too difficult to read.
Depends on D96854
Differential Revision: https://phabricator.services.mozilla.com/D96855
2020-11-12 21:30:01 +00:00
Dan Minor
8e9648faef
Bug 1675789 - Update fluent-pseudo to 0.2.3; r=zbraniecki
...
Differential Revision: https://phabricator.services.mozilla.com/D96853
2020-11-12 21:28:49 +00:00
Dan Minor
57441aa8cc
Bug 1673054 - Migrate uses of intl.uidirection to intl.l10n.pseudo; r=Gijs,zbraniecki
...
This also removes pref overrides from methods like LocaleService::IsLocaleRTL or
IntlService.getLocaleInfo, because it doesn't really make sense to override the
result of checking an arbitrary locale, the relevant use case is overriding the
result for the current app locale.
Removal of the intl.uidirection pref completely will be done in a separate bug.
Differential Revision: https://phabricator.services.mozilla.com/D96235
2020-11-09 15:33:39 +00:00
Zibi Braniecki
40fc79d8ea
Bug 1673539 - Multiply by 100 when using style percent in Fluent. r=dminor
...
Differential Revision: https://phabricator.services.mozilla.com/D94845
2020-10-29 16:21:54 +00:00
Ricky Stewart
02a7b4ebdf
Bug 1654103: Standardize on Black for Python code in `mozilla-central`.
...
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.
To produce this patch I did all of the following:
1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.
2. Run ./mach lint --linter black --fix
3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.
4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.
5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
Bogdan Tara
da1098d4aa
Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
...
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Ricky Stewart
c0cea3b0fa
Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
...
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.
To produce this patch I did all of the following:
1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.
2. Run ./mach lint --linter black --fix
3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.
4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.
5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-23 20:40:42 +00:00
Dorel Luca
1ff59cb7a3
Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE
2020-10-22 03:51:06 +03:00
Ricky Stewart
50762dacab
Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
...
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.
To produce this patch I did all of the following:
1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.
2. Run ./mach lint --linter black --fix
3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.
4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-21 21:27:27 +00:00
Dan Glastonbury
f5c6d9e6a5
Bug 1660393 - P3: Implement load_sync and load_async functions for L10n. r=zbraniecki,froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D89695
2020-10-21 05:48:10 +00:00
Sylvestre Ledru
0bb0c0e4cf
Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio,webdriver-reviewers,necko-reviewers,dragana,whimboo
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D92460
2020-10-06 16:12:13 +00:00
Zibi Braniecki
5bbfa14bf4
Bug 1667307 - Update fluent-rs to 0.13. r=kamidphish
...
Differential Revision: https://lando.services.mozilla.com/D91390/
2020-09-27 02:04:35 +02:00
Sylvestre Ledru
264cb8dba5
no bug - fx doc - Fix some rst warnings
...
Depends on D90832
Differential Revision: https://phabricator.services.mozilla.com/D90864
2020-09-22 06:26:42 +00:00
Alexis Beingessner
e5dd298d13
Bug 1654807 - update thin-vec to 0.2.1 for potential endianess fix. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D87019
2020-09-14 17:32:40 +00:00
Sylvestre Ledru
ba8d39bfb3
Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio
...
# ignore-this-changeset
Depends on D89392
Differential Revision: https://phabricator.services.mozilla.com/D89393
2020-09-07 19:57:24 +00:00
Zibi Braniecki
51dd2eebad
Bug 1662309 - Update fluent-rs to 0.12. r=kamidphish
...
Differential Revision: https://phabricator.services.mozilla.com/D88942
2020-09-02 20:06:41 +00:00
Butkovits Atila
c09561678c
Backed out changeset 1ea91616c192 (bug 1662309) for reftest failures. CLOSED TREE
2020-09-01 23:38:36 +03:00
Zibi Braniecki
f8a2cef646
Bug 1662309 - Update fluent-rs to 0.12. r=kamidphish
...
Differential Revision: https://phabricator.services.mozilla.com/D88942
2020-09-01 17:47:26 +00:00
Bogdan Tara
84922363f4
Backed out changeset ad6c81e11152 (bug 1662309) for CheckCapacity assertion failures CLOSED TREE
2020-09-01 09:40:56 +03:00
Zibi Braniecki
f16141c258
Bug 1662309 - Update fluent-rs to 0.12. r=kamidphish
...
Differential Revision: https://phabricator.services.mozilla.com/D88942
2020-09-01 04:15:51 +00:00
Nika Layzell
f60ca8ca4d
Bug 1656307 - Clean up some do_ImportModule calls with new overload, r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D85449
2020-08-04 21:39:52 +00:00
Axel Hecht
d8de3ed277
Bug 1615225, document cross-channel l10n, r=flod
...
Differential Revision: https://phabricator.services.mozilla.com/D70340
2020-07-07 09:54:00 +00:00
chocos
6492876c9d
Bug 1648959 - Done internal linking in docs in intl Directory DONTBUILD.r=championshuttler
...
Differential Revision: https://phabricator.services.mozilla.com/D81461
2020-07-01 19:31:35 +00:00
Simon Giesecke
cd8b8939b9
Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D80860
2020-07-01 08:29:29 +00:00
Aaron Klotz
5338289548
Bug 1648631: Part 3 - Update tests to work with the revised L10nRegistry API; r=zbraniecki,robwu
...
Depends on D81390
Differential Revision: https://phabricator.services.mozilla.com/D81391
2020-06-26 20:27:57 +00:00
Aaron Klotz
391ecb8515
Bug 1648631: Part 1 - Make L10nRegistryService._synchronizeSharedData() explicitly flush and convert source registration to accept arrays; r=zbraniecki
...
Setting a key/value pair on the parent process message manager's `sharedData`
initiates a pending runnable that runs at **idle priority**. If the current
thread never gets a chance to idle, then those registry changes will never be
synchronized.
This patch adds an explicit flush so that `_synchronizeSharedData` does indeed
actually synchronize.
We replace the scalar `registerSource`, `updateSource`, and `removeSource` with
variants that accept arrays instead. This allows us to process multiple
registration changes while deferring the synchronization until the entire list
has been processed. The scalar variants were removed to future-proof against
perf issues.
Differential Revision: https://phabricator.services.mozilla.com/D81243
2020-06-26 21:04:21 +00:00
Emilio Cobos Álvarez
7c995807da
Bug 1646936 - Generate a single metadata file in the objdir, and feed it to cbindgen. r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D80360
2020-06-26 10:41:26 +00:00
Coroiu Cristina
302c2fa31a
Backed out changeset 8f948dd74aba (bug 1646936) for SM and Toolchain failures on a CLOSED TREE
2020-06-26 13:08:09 +03:00
Emilio Cobos Álvarez
9c7c03bf30
Bug 1646936 - Generate a single metadata file in the objdir, and feed it to cbindgen. r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D80360
2020-06-26 09:37:16 +00:00
Dave Townsend
155fe87ea2
Bug 1642423: document.l10n.formatValues should accept simple strings as well as L10nKeys. r=zbraniecki
...
Differential Revision: https://phabricator.services.mozilla.com/D77857
2020-06-08 18:11:00 +00:00
Butkovits Atila
a561ed634b
Backed out changeset 3b5928fd85e5 (bug 1642423) for causing failure at test_getAttributes.html. CLOSED TREE
2020-06-06 00:32:42 +03:00
Dave Townsend
67bca5c4f4
Bug 1642423: document.l10n.formatValues should accept simple strings as well as L10nKeys. r=zbraniecki
...
Differential Revision: https://phabricator.services.mozilla.com/D77857
2020-06-05 19:57:05 +00:00
Zibi Braniecki
065441a790
Bug 1631593 - Lazify JSM initialization. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D71834
2020-06-04 17:02:01 +00:00
Zibi Braniecki
79c24a615e
Bug 1631593 - Cache bundles in Localization C++. r=jfkthame,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D71815
2020-05-31 07:12:31 +00:00
Zibi Braniecki
12279c73a3
Bug 1631593 - Move generateBundles to be stored on Localization C++. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D71814
2020-05-31 07:12:33 +00:00
Zibi Braniecki
df730b0525
Bug 1631593 - Move aIsSync to Localization C++. r=stas,jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D71679
2020-05-31 07:12:35 +00:00
Zibi Braniecki
099f8774bd
Bug 1631593 - Move resourceIds to Localization C++. r=stas,jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D71677
2020-05-31 07:12:38 +00:00
Zibi Braniecki
d8983ea51c
Bug 1631593 - Remove unused observers from JSM. r=stas
...
Differential Revision: https://phabricator.services.mozilla.com/D71676
2020-05-31 07:12:40 +00:00
Sylvestre Ledru
7de68c2cea
Bug 1642898 - Remove most of the references of black/whitelist within the doc r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D78000
2020-06-03 09:34:12 +00:00
Razvan Maries
5e4d4827aa
Backed out 6 changesets (bug 1631593) for perma failures on browser_aboutCertError_exception. CLOSED TREE
...
Backed out changeset f176af77900a (bug 1631593)
Backed out changeset 74b6fa2a1409 (bug 1631593)
Backed out changeset 7fbc8e2c4a4a (bug 1631593)
Backed out changeset 77ff0aee23f6 (bug 1631593)
Backed out changeset 90bde53721ac (bug 1631593)
Backed out changeset ea777b1a9380 (bug 1631593)
2020-05-31 09:58:41 +03:00
Zibi Braniecki
f549a16cc7
Bug 1631593 - Lazify JSM initialization. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D71834
2020-05-30 09:37:15 +00:00
Zibi Braniecki
2a163b0aca
Bug 1631593 - Cache bundles in Localization C++. r=jfkthame,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D71815
2020-05-30 09:37:02 +00:00
Zibi Braniecki
b99acebc08
Bug 1631593 - Move generateBundles to be stored on Localization C++. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D71814
2020-05-30 09:36:50 +00:00
Zibi Braniecki
780f61eb15
Bug 1631593 - Move aIsSync to Localization C++. r=stas,jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D71679
2020-05-30 09:36:37 +00:00
Zibi Braniecki
b7cc044565
Bug 1631593 - Move resourceIds to Localization C++. r=stas,jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D71677
2020-05-30 09:36:25 +00:00
Zibi Braniecki
8c851dc5cb
Bug 1631593 - Remove unused observers from JSM. r=stas
...
Differential Revision: https://phabricator.services.mozilla.com/D71676
2020-05-30 09:36:17 +00:00
Dorel Luca
134e648c76
Backed out 6 changesets (bug 1631593) for Assertion failure in xpcom/base/nsCycleCollector.cpp. CLOSED TREE
...
Backed out changeset 35b4cd4bb12a (bug 1631593)
Backed out changeset a20b9fb485fc (bug 1631593)
Backed out changeset 8ade55be1042 (bug 1631593)
Backed out changeset ee3255e55ab3 (bug 1631593)
Backed out changeset 7d5a3d1035dc (bug 1631593)
Backed out changeset 90972e768c33 (bug 1631593)
2020-05-19 20:02:59 +03:00
Zibi Braniecki
3e0c621a68
Bug 1631593 - Lazify JSM initialization. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D71834
2020-05-19 16:28:28 +00:00
Zibi Braniecki
a621e98eac
Bug 1631593 - Cache bundles in Localization C++. r=jfkthame,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D71815
2020-05-19 16:28:13 +00:00
Zibi Braniecki
907ab624b4
Bug 1631593 - Move generateBundles to be stored on Localization C++. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D71814
2020-05-19 16:28:05 +00:00
Zibi Braniecki
f6d6adc6b3
Bug 1631593 - Move aIsSync to Localization C++. r=stas,jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D71679
2020-05-19 16:27:58 +00:00
Zibi Braniecki
1b6968ba58
Bug 1631593 - Move resourceIds to Localization C++. r=stas,jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D71677
2020-05-19 16:30:42 +00:00
Zibi Braniecki
e014d9fa76
Bug 1631593 - Remove unused observers from JSM. r=stas
...
Differential Revision: https://phabricator.services.mozilla.com/D71676
2020-05-19 16:27:36 +00:00
Stas Malolepszy
dd59a74cce
Bug 1637254 - Update docs about fluent.migrate 0.9. r=Pike
...
Differential Revision: https://phabricator.services.mozilla.com/D75108
2020-05-14 06:30:05 +00:00
Nathan Froyd
d196dbda07
Bug 1636571 - use GeneratedFile template in intl/; r=firefox-build-system-reviewers,rstewart
...
The template is slightly nicer and slightly more modern.
Differential Revision: https://phabricator.services.mozilla.com/D74461
2020-05-08 20:36:10 +00:00
Zibi Braniecki
fe12cd1036
Bug 1627809 - Add Localization::AddResourceId and Localization::RemoveResourceId for DOM to use. r=stas
...
Differential Revision: https://phabricator.services.mozilla.com/D70975
2020-04-30 17:56:24 +00:00
Zibi Braniecki
1427870732
Bug 1627809 - Move Localization.jsm construction to Localization constructor. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D70973
2020-04-30 18:22:38 +00:00
Zibi Braniecki
9211c5cc8a
Bug 1627809 - Remove unncessary eager attribute from Localization API. r=stas
...
Differential Revision: https://phabricator.services.mozilla.com/D70972
2020-04-30 17:55:38 +00:00
Emilio Cobos Álvarez
d55b448a0c
Bug 1633675 - Avoid various string copies in FluentBundle constructor. r=zbraniecki
...
We were copying the string in C++, then again in Rust...
Differential Revision: https://phabricator.services.mozilla.com/D73034
2020-04-29 20:11:30 +00:00
Sylvestre Ledru
51ca3d607b
no bug - lint doc: Update some old links r=ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D70576
--HG--
extra : moz-landing-system : lando
2020-04-13 19:48:48 +00:00
Zibi Braniecki
cd914eae85
Bug 1621674 - Settle on returning null for missing values/messages out of Localization. r=smaug,stas
...
Differential Revision: https://phabricator.services.mozilla.com/D70250
--HG--
extra : moz-landing-system : lando
2020-04-10 23:35:58 +00:00
Zibi Braniecki
a7712e985a
Bug 1621674 - Update tests to use Localization WebIDL. r=jfkthame,Mardak
...
Differential Revision: https://phabricator.services.mozilla.com/D66549
--HG--
extra : moz-landing-system : lando
2020-04-10 23:35:58 +00:00
Zibi Braniecki
fcdb32de94
Bug 1621674 - Unify Localization.jsm, mozILocalization and Localization WebIDL. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D66531
--HG--
extra : moz-landing-system : lando
2020-04-10 23:35:03 +00:00
Stefan Hindli
37b364e264
Backed out 3 changesets (bug 1621674) for causing xpcshell permafailures in browser/extensions/formautofill/test/unit/test_createRecords.js CLOSED TREE
...
Backed out changeset f45de944f20a (bug 1621674)
Backed out changeset 0b2fdf331bce (bug 1621674)
Backed out changeset 2f7e9c807020 (bug 1621674)
2020-04-08 00:49:16 +03:00
Zibi Braniecki
2f35997cd0
Bug 1621674 - Update tests to use Localization WebIDL. r=jfkthame,Mardak
...
Differential Revision: https://phabricator.services.mozilla.com/D66549
--HG--
extra : moz-landing-system : lando
2020-04-07 20:12:21 +00:00
Zibi Braniecki
7510f5c207
Bug 1621674 - Unify Localization.jsm, mozILocalization and Localization WebIDL. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D66531
--HG--
extra : moz-landing-system : lando
2020-04-07 18:03:46 +00:00
Razvan Maries
24116686ba
Backed out 3 changesets (bug 1621674) for newtab perma failures. CLOSED TREE
...
Backed out changeset f197d83fd8a1 (bug 1621674)
Backed out changeset 939beec809c1 (bug 1621674)
Backed out changeset a657cda5467e (bug 1621674)
2020-04-07 21:00:15 +03:00
Zibi Braniecki
401872b352
Bug 1621674 - Update tests to use Localization WebIDL. r=jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D66549
--HG--
extra : moz-landing-system : lando
2020-04-07 16:28:23 +00:00
Zibi Braniecki
804246b7c6
Bug 1621674 - Unify Localization.jsm, mozILocalization and Localization WebIDL. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D66531
--HG--
extra : moz-landing-system : lando
2020-04-07 16:28:12 +00:00
Sylvestre Ledru
504c3243d5
Bug 1617369 - Reformat intl/l10n/rust/fluent-ffi/ using rustfmt r=zbraniecki
...
Differential Revision: https://phabricator.services.mozilla.com/D68019
--HG--
extra : moz-landing-system : lando
2020-03-24 16:45:42 +00:00
Zibi Braniecki
626c2efa7d
Bug 1623778 - Improve error reporting for AddResource. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D67695
--HG--
extra : moz-landing-system : lando
2020-03-21 04:05:33 +00:00
Mihai Alexandru Michis
63f586a915
Backed out changeset 41722eea7dd5 (bug 1623778) for causing failures in l10n/test/mochitest/localization/test_format
...
CLOSED TREE
2020-03-21 04:28:33 +02:00
Zibi Braniecki
7f4b927d9e
Bug 1623778 - Improve error reporting for AddResource. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D67695
--HG--
extra : moz-landing-system : lando
2020-03-21 01:13:28 +00:00
Sylvestre Ledru
c5ea8090c4
Bug 1622328
- L10nRegistry.jsm: Add the license r=fluent-reviewers,zbraniecki
...
Depends on D66807
Differential Revision: https://phabricator.services.mozilla.com/D66808
--HG--
extra : moz-landing-system : lando
2020-03-13 19:10:53 +00:00
Zibi Braniecki
3fa4afd67f
Bug 1621024 - Skip reporting errors if the file is not found in the L10nRegistry.loadSync. r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D66538
--HG--
extra : moz-landing-system : lando
2020-03-16 15:49:58 +00:00
Zibi Braniecki
3f8c67d7fd
Bug 1560038 - Switch uses of FluentBundle to use fluent-rs. r=jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D57403
--HG--
extra : moz-landing-system : lando
2020-03-14 22:14:13 +00:00
Zibi Braniecki
e137e48a88
Bug 1560038 - Use i64 for storing epoch instead of usize. r=emilio
...
epoch is stored as double in ICU. Storing it as usize caused overflow on 32-bit Windows 7
which resulted in dates being formatted to epoch=0.
This patch switches to use f64 on the Rust side.
Depends on D66504
Differential Revision: https://phabricator.services.mozilla.com/D66872
--HG--
extra : moz-landing-system : lando
2020-03-14 22:14:13 +00:00
Zibi Braniecki
ea853ecb4b
Bug 1560038 - Align FluentDateTime skeleton construction with Intl.DateTimeFormat. r=jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D66504
--HG--
extra : moz-landing-system : lando
2020-03-14 22:14:13 +00:00
Razvan Maries
a34f5e0ded
Backed out 2 changesets (bug 1560038) for perma failures on browser_application_panel_list-single-worker.js. CLOSED TREE
...
Backed out changeset 7cd88f40fc85 (bug 1560038)
Backed out changeset 54dbe282c9ac (bug 1560038)
2020-03-14 00:43:41 +02:00
Zibi Braniecki
44eca5f333
Bug 1560038 - Switch uses of FluentBundle to use fluent-rs. r=jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D57403
--HG--
extra : moz-landing-system : lando
2020-03-11 23:29:05 +00:00
Zibi Braniecki
8334ed0644
Bug 1560038 - Align FluentDateTime skeleton construction with Intl.DateTimeFormat. r=jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D66504
--HG--
extra : moz-landing-system : lando
2020-03-13 19:02:21 +00:00
Mihai Alexandru Michis
a3ed8c38b3
Backed out changeset 396cfd215808 (bug 1560038) for causing dt failures in browser_application_panel_list-single-worker.js
...
CLOSED TREE
2020-03-12 00:32:24 +02:00
Zibi Braniecki
7c466415ee
Bug 1560038 - Switch uses of FluentBundle to use fluent-rs. r=jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D57403
--HG--
extra : moz-landing-system : lando
2020-03-11 15:42:07 +00:00
Zibi Braniecki
97c1c396b4
Bug 1560038 - Add FluentDateTime. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D61048
--HG--
extra : moz-landing-system : lando
2020-03-11 15:42:07 +00:00
Zibi Braniecki
18b3cdb6e8
Bug 1560038 - Add NumberFormat bindgen for Fluent. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D57402
--HG--
extra : moz-landing-system : lando
2020-03-11 15:38:12 +00:00
Zibi Braniecki
4cf04c19e6
Bug 1560038 - Add FluentBundle. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D54325
--HG--
extra : moz-landing-system : lando
2020-03-11 15:37:39 +00:00
Zibi Braniecki
312c9d7359
Bug 1560038 - Add FluentMessage and FluentPattern. r=emilio,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D54324
--HG--
extra : moz-landing-system : lando
2020-03-11 15:36:56 +00:00
Zibi Braniecki
51c9856f7e
Bug 1560038 - Add FluentResource. r=emilio,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D54323
--HG--
extra : moz-landing-system : lando
2020-03-11 15:42:33 +00:00
Zibi Braniecki
275c56f717
Bug 1560038 - Switch Localization IDL to use UTF8String for L10nArgs r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D58858
--HG--
extra : moz-landing-system : lando
2020-03-11 07:17:07 +00:00
Zibi Braniecki
be99e44ab9
Bug 1560038 - Fix tests in preparation for the swap to fluent-rs. r=stas
...
Differential Revision: https://phabricator.services.mozilla.com/D57401
--HG--
extra : moz-landing-system : lando
2020-03-11 04:29:26 +00:00
Daniel Varga
a2cbf61a81
Backed out 9 changesets (bug 1560038) for causing build bustage
...
CLOSED TREE
Backed out changeset 12069dae9b8d (bug 1560038)
Backed out changeset a0845cf79487 (bug 1560038)
Backed out changeset dc2406d01a63 (bug 1560038)
Backed out changeset 1b11616a5ee5 (bug 1560038)
Backed out changeset 06cdc27a39a7 (bug 1560038)
Backed out changeset a390456d9d26 (bug 1560038)
Backed out changeset 7e3d839a3e9d (bug 1560038)
Backed out changeset 0678db762fed (bug 1560038)
Backed out changeset 3b9b16532bf3 (bug 1560038)
2020-03-11 04:53:10 +02:00
Zibi Braniecki
4d2733ee86
Bug 1560038 - Switch uses of FluentBundle to use fluent-rs.
...
Differential Revision: https://phabricator.services.mozilla.com/D57403
Depends on D61048
--HG--
extra : rebase_source : 0be62fa98f0a91274c96a509eeafceb6da667894
2020-03-10 20:03:59 +02:00
Zibi Braniecki
aeceebc56b
Bug 1560038 - Add FluentDateTime.
...
Differential Revision: https://phabricator.services.mozilla.com/D61048
Depends on D57402
--HG--
extra : rebase_source : 5c400a6d96622aa4249eb4df6d6350298d692993
2020-03-10 20:03:59 +02:00
Zibi Braniecki
f3fb7c3716
Bug 1560038 - Add NumberFormat bindgen for Fluent.
...
Differential Revision: https://phabricator.services.mozilla.com/D57402
Depends on D54325
--HG--
extra : rebase_source : aa280aafee4f860bc597e43da29e9baff660e7bb
2020-03-10 20:30:09 +02:00
Zibi Braniecki
0114269ceb
Bug 1560038 - Add FluentBundle.
...
Differential Revision: https://phabricator.services.mozilla.com/D54325
Depends on D54324
--HG--
extra : rebase_source : 1e5118fcdaba1121b775c9afdee8264212c3a5e3
2020-03-10 14:16:07 +02:00
Zibi Braniecki
3d02e9e6cf
Bug 1560038 - Add FluentMessage and FluentPattern.
...
Differential Revision: https://phabricator.services.mozilla.com/D54324
Depends on D54323
--HG--
extra : rebase_source : 24e514ce2b188735a869584e140bc8334d4ab5a6
2020-03-10 14:15:33 +02:00
Zibi Braniecki
8b91a599a2
Bug 1560038 - Add FluentResource.
...
Differential Revision: https://phabricator.services.mozilla.com/D54323
Depends on D56641
--HG--
extra : rebase_source : 1087ad4b1f401d942f3be65a1a215b0ef7d1a10e
2020-03-10 20:05:06 +02:00
Zibi Braniecki
42a7b711f8
Bug 1560038 - Switch Localization IDL to use UTF8String for L10nArgs
...
Differential Revision: https://phabricator.services.mozilla.com/D58858
Depends on D57401
--HG--
extra : rebase_source : 83e372046314c15b34b96ae354838910fd3f17f5
2020-03-10 20:04:55 +02:00
Zibi Braniecki
cd3c354a56
Bug 1560038 - Fix tests in preparation for the swap to fluent-rs.
...
Differential Revision: https://phabricator.services.mozilla.com/D57401
--HG--
extra : rebase_source : aa3cff839e85e22e26209e89126d0af01c3ff5c5
2020-03-10 14:11:03 +02:00
Daniel Varga
22ab1c2ce6
Backed out 9 changesets (bug 1560038) for causing build bustages.
...
CLOSED TREE
Backed out changeset 350df98095f8 (bug 1560038)
Backed out changeset 56dd15fbeced (bug 1560038)
Backed out changeset 570aa7aaceb5 (bug 1560038)
Backed out changeset fc4da4a1c192 (bug 1560038)
Backed out changeset 7c69b0e5fd93 (bug 1560038)
Backed out changeset 1caf41590caf (bug 1560038)
Backed out changeset b4bf28bec6a8 (bug 1560038)
Backed out changeset e923de659c2b (bug 1560038)
Backed out changeset 7f1be4424898 (bug 1560038)
2020-03-10 22:22:40 +02:00
Zibi Braniecki
e61d360bfc
Bug 1560038 - Switch uses of FluentBundle to use fluent-rs. r=jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D57403
--HG--
extra : moz-landing-system : lando
2020-03-10 18:03:59 +00:00
Zibi Braniecki
b0cb42b186
Bug 1560038 - Add FluentDateTime. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D61048
--HG--
extra : moz-landing-system : lando
2020-03-10 18:03:59 +00:00
Zibi Braniecki
9f8601dc40
Bug 1560038 - Add NumberFormat bindgen for Fluent. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D57402
--HG--
extra : moz-landing-system : lando
2020-03-10 18:30:09 +00:00
Zibi Braniecki
fed784dcef
Bug 1560038 - Add FluentBundle. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D54325
--HG--
extra : moz-landing-system : lando
2020-03-10 12:16:07 +00:00
Zibi Braniecki
9cffa798e1
Bug 1560038 - Add FluentMessage and FluentPattern. r=emilio,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D54324
--HG--
extra : moz-landing-system : lando
2020-03-10 12:15:33 +00:00
Zibi Braniecki
288da34db6
Bug 1560038 - Add FluentResource. r=emilio,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D54323
--HG--
extra : moz-landing-system : lando
2020-03-10 18:05:06 +00:00
Zibi Braniecki
603fc09fd5
Bug 1560038 - Switch Localization IDL to use UTF8String for L10nArgs r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D58858
--HG--
extra : moz-landing-system : lando
2020-03-10 18:04:55 +00:00
Zibi Braniecki
ee47c3b078
Bug 1560038 - Fix tests in preparation for the swap to fluent-rs. r=stas
...
Differential Revision: https://phabricator.services.mozilla.com/D57401
--HG--
extra : moz-landing-system : lando
2020-03-10 12:11:03 +00:00
Kris Maglione
c31aa68fb4
Bug 1535617: Part 2 - Clear weak references for most cycle collected objects on unlink. r=mccr8
...
This covers most cycle collected objects which support weak references, but
not the ones which inherit from a cycle collected class and don't do any cycle
collection on their own.
Differential Revision: https://phabricator.services.mozilla.com/D63962
--HG--
extra : moz-landing-system : lando
2020-02-25 19:44:39 +00:00
Zibi Braniecki
3d1443faf0
Bug 1613569 - Deduplicate resources when generating bundles. r=stas
...
Differential Revision: https://phabricator.services.mozilla.com/D62621
--HG--
extra : moz-landing-system : lando
2020-02-13 18:41:25 +00:00
Brian Grinstead
3d2d2d0ea7
Bug 1608281 - Automated rewrite away from reading properties on the global `this` in JSM files - round 1 r=mossop
...
This patch was generated with a script. It doesn't include all files:
- Files that use the preprocessor or fail to parse are skipped
- Files that are loaded as JSMs but don't use the .jsm extension are skipped (those will be renamed in Bug 1609269)
It was generated with the following command using d855222aa2/no-this-property-read.js
:
```
hg revert --all &&
cp .gitignore .rgignore &&
rg --files-without-match -g '*.jsm' '^#endif|^#include|^#filter' | jscodeshift --stdin --transform ~/Code/jsm-rewrites/no-this-property-read.js --ignore-pattern ./mobile/android/modules/Sanitizer.jsm --ignore-pattern ./js/xpconnect/tests/unit/syntax_error.jsm &&
./mach eslint `hg st | rg '^M ' | sed 's/^M //'`
```
Differential Revision: https://phabricator.services.mozilla.com/D60187
--HG--
extra : moz-landing-system : lando
2020-01-29 21:50:04 +00:00
Axel Hecht
c7b5617848
Bug 1601321, rework Fluent migration documentation, r=flod,stas
...
* Split existing migration document
* Add some overview on migration recipes
* Review legacy migration docs
* Not a lot of changes to the Fluent-to-Fluent parts, intentionally
The changes to the legacy docs are mostly driven by how much
a particular caveat bugged me. There's surely more to do on that doc.
Differential Revision: https://phabricator.services.mozilla.com/D59320
--HG--
rename : intl/l10n/docs/migrations/index.rst => intl/l10n/docs/migrations/fluent.rst
rename : intl/l10n/docs/migrations/index.rst => intl/l10n/docs/migrations/legacy.rst
rename : intl/l10n/docs/migrations/index.rst => intl/l10n/docs/migrations/localizations.rst
rename : intl/l10n/docs/migrations/index.rst => intl/l10n/docs/migrations/overview.rst
rename : intl/l10n/docs/migrations/index.rst => intl/l10n/docs/migrations/testing.rst
extra : moz-landing-system : lando
2020-01-10 16:56:03 +00:00
Zibi Braniecki
2627475cc8
Bug 1605489 - Do not report missing files from L10nRegistry.loadSync to the console. r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D58152
--HG--
extra : moz-landing-system : lando
2019-12-27 16:05:26 +00:00
Staś Małolepszy
7f46605b1e
Bug 1604839 - Update Fluent.jsm to @fluent/bundle 0.14.1. r=zbraniecki
...
Differential Revision: https://phabricator.services.mozilla.com/D57764
--HG--
extra : moz-landing-system : lando
2019-12-19 17:59:38 +00:00
Boris Zbarsky
75124bdd98
Bug 1517588. Use nsIPrincipal::IsSystemPrincipal instead of nsContentUtils::IsSystemPrincipal r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D53067
--HG--
extra : moz-landing-system : lando
2019-12-05 04:44:32 +00:00
Axel Hecht
074c50bcd7
Bug 1587046, fix mistakes in Fluent markup l10n doc, r=stas
...
There's a few mistakes in the Fluent markup docs, most found
by standard8:
- data-l10n-name is missing
- data-l10n-args needs to be valid JSON
- setAttributes lacks closing `);`
- No nested DOM support (that's not mentioned in the bug)
Differential Revision: https://phabricator.services.mozilla.com/D55831
--HG--
extra : moz-landing-system : lando
2019-12-04 17:23:09 +00:00
Axel Hecht
4dfde3744d
Bug 1599045 - part 3, Fluent is the status-quo, r=flod
...
Differential Revision: https://phabricator.services.mozilla.com/D55127
--HG--
extra : moz-landing-system : lando
2019-12-03 15:43:45 +00:00
Axel Hecht
abdae0cda5
Bug 1599045, part 2 - merge compare-locales docs into build docs, r=flod
...
The "Localization" docs in tools/compare-locales are really mostly
build, so merging that content into the builds doc.
Removing Android parts, add Fluent there, noting DTD deprecation.
Moving the glossary to the actual l10n docs.
With proper top-level structure, show 2 levels of l10n and intl
on the front-matter page.
Differential Revision: https://phabricator.services.mozilla.com/D55126
--HG--
rename : tools/compare-locales/docs/glossary.rst => intl/l10n/docs/glossary.rst
extra : moz-landing-system : lando
2019-12-03 15:43:10 +00:00
Axel Hecht
476d78e55c
Bug 1599045, part 1 - untangle l10n from intl documentation, r=flod
...
We'll be doing redirects at the final stage of this patch queue.
Differential Revision: https://phabricator.services.mozilla.com/D55124
--HG--
rename : intl/l10n/docs/index.rst => intl/l10n/docs/fluent/index.rst
rename : intl/l10n/docs/fluent_review.rst => intl/l10n/docs/fluent/review.rst
rename : intl/l10n/docs/fluent_tutorial.rst => intl/l10n/docs/fluent/tutorial.rst
rename : intl/l10n/docs/fluent_migrations.rst => intl/l10n/docs/migrations/index.rst
rename : intl/docs/localization.rst => intl/l10n/docs/overview.rst
extra : moz-landing-system : lando
2019-12-03 15:42:34 +00:00
Francesco Lodolo (:flod)
e0d471ca93
Bug 1587728 - Add documentation for Fluent to Fluent migrations r=Pike
...
Differential Revision: https://phabricator.services.mozilla.com/D48822
--HG--
extra : moz-landing-system : lando
2019-10-11 13:18:37 +00:00
Dave Townsend
1c67b00d98
Bug 1586216: Fallback to a synchronous channel load if the url preloader cannot load the ftl file. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D48726
--HG--
extra : moz-landing-system : lando
2019-10-09 17:50:33 +00:00
Zibi Braniecki
f2eed5bb3c
Bug 1580991 - Trigger DOMLocalization::OnChange from Localization::Observe. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D45759
--HG--
extra : moz-landing-system : lando
2019-09-13 10:08:26 +00:00
Axel Hecht
d638afbb1b
Bug 1574411, use fluent.pygments to syntax-highlight code blocks, r=ahal,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D42277
--HG--
extra : moz-landing-system : lando
2019-08-16 16:41:15 +00:00
Axel Hecht
d3cf6d2c83
Bug 1571671 - Enable RST linting on fluent docs in intl/l10n/docs. r=championshuttler
...
Differential Revision: https://phabricator.services.mozilla.com/D40831
--HG--
extra : moz-landing-system : lando
2019-08-09 19:20:59 +00:00
Axel Hecht
c3a71a9957
Bug 1321281, add test framework for Fluent migration recipes, r=flod,ahal
...
Basic test infrastructure for Fluent migration recipes, automate creating
a reference from recipe data, and running the recipe dry and wet.
There are no hard failures for diffs, as it might just be OK.
Differential Revision: https://phabricator.services.mozilla.com/D40200
--HG--
extra : moz-landing-system : lando
2019-08-08 11:54:30 +00:00
Zibi Braniecki
b87d8246a9
Bug 1501886 - Migrate menubar to Fluent. r=fluent-reviewers,Pike,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D34379
--HG--
extra : moz-landing-system : lando
2019-08-02 16:07:44 +00:00
Staś Małolepszy
157da38e6c
Bug 1568914 - Update Fluent to @fluent/bundle 0.14.0 r=zbraniecki,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D39400
--HG--
extra : moz-landing-system : lando
2019-07-30 13:21:59 +00:00
Francesco Lodolo (:flod)
6f73f2be58
Bug 1563673 - Add Fluent guidelines for reviewer to Firefox documentation r=Pike
...
Differential Revision: https://phabricator.services.mozilla.com/D37038
--HG--
extra : moz-landing-system : lando
2019-07-16 14:20:34 +00:00
Sebastian Hengst
1179ccba33
Bug 1562642 - Part 2 - Add missing MPL2 headers: Remove undesired ~. a=bustage-fix
2019-07-08 12:02:35 +02:00
Sylvestre Ledru
fc2eb5393c
Bug 1562642 - Part 2 - Add missing MPL2 headers r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D37146
--HG--
extra : moz-landing-system : lando
2019-07-08 09:27:47 +00:00
Zibi Braniecki
b0ba25f8b9
Bug 1558602 - Allow DocumentL10n to use LocalizationSync. r=smaug,Pike
...
Differential Revision: https://phabricator.services.mozilla.com/D34584
--HG--
extra : moz-landing-system : lando
2019-07-01 17:56:57 +00:00
Zibi Braniecki
738b080795
Bug 1560342 - Add basic tests for Localization. r=stas
...
Differential Revision: https://phabricator.services.mozilla.com/D35587
--HG--
extra : moz-landing-system : lando
2019-06-26 17:04:36 +00:00
Zibi Braniecki
224a1bb5c4
Bug 1560342 - Replace generic `object` argument with a specific L10nArgs object for passing l10n arguments. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D35586
--HG--
extra : moz-landing-system : lando
2019-06-25 19:43:50 +00:00
Zibi Braniecki
ae32fa44eb
Bug 1560342 - Factor Localization out of DOMLocalization. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D35445
--HG--
extra : moz-landing-system : lando
2019-06-25 19:39:53 +00:00
Zibi Braniecki
b4932e4709
Bug 1555662 - Register L10nRegistry sources using categories. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D34227
--HG--
extra : moz-landing-system : lando
2019-06-08 04:37:31 +00:00
Andreea Pavel
ab7673faaa
Backed out 2 changesets (bug 1555662) for multiple bc failures e.g browser_panelUINotifications_multiWindow.js on a CLOSED TREE
...
Backed out changeset 84c57f9dda5b (bug 1555662)
Backed out changeset ede8b931ee0d (bug 1555662)
2019-06-08 03:25:28 +03:00
Zibi Braniecki
6ca89e400f
Bug 1555662 - Register L10nRegistry sources using categories. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D34227
--HG--
extra : moz-landing-system : lando
2019-06-07 20:11:00 +00:00
Zibi Braniecki
0075d6e610
Bug 1552714 - Migrate all remaining callsites to use WebIDL DOMLocalization and remove mozIDOMLocalization and DOMLocalization.jsm. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D33200
--HG--
rename : intl/l10n/test/dom_overlays/test_same_id.html => dom/l10n/tests/mochitest/domoverlays/test_same_id.html
rename : intl/l10n/test/dom_overlays/test_same_id_args.html => dom/l10n/tests/mochitest/domoverlays/test_same_id_args.html
extra : moz-landing-system : lando
2019-06-06 16:32:49 +00:00
Zibi Braniecki
f01344c760
Bug 1552714 - Refactor constructors of mozILocalization and DOMLocalization to handle custom generateMessages. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D33198
--HG--
extra : moz-landing-system : lando
2019-06-06 16:32:41 +00:00
Zibi Braniecki
23627f4456
Bug 1552714 - Move DOM L10n tests from intl/l10n to dom/l10n. r=fluent-reviewers,smaug,Pike
...
Differential Revision: https://phabricator.services.mozilla.com/D33197
--HG--
rename : intl/l10n/test/browser.ini => dom/l10n/tests/mochitest/browser.ini
rename : intl/l10n/test/document_l10n/README.txt => dom/l10n/tests/mochitest/document_l10n/README.txt
rename : intl/l10n/test/document_l10n/non-system-principal/README.txt => dom/l10n/tests/mochitest/document_l10n/non-system-principal/README.txt
rename : intl/l10n/test/document_l10n/non-system-principal/browser_resource_uri.js => dom/l10n/tests/mochitest/document_l10n/non-system-principal/browser_resource_uri.js
rename : intl/l10n/test/document_l10n/non-system-principal/localization/test.ftl => dom/l10n/tests/mochitest/document_l10n/non-system-principal/localization/test.ftl
rename : intl/l10n/test/document_l10n/non-system-principal/test.html => dom/l10n/tests/mochitest/document_l10n/non-system-principal/test.html
rename : intl/l10n/test/dom/test_docl10n.html => dom/l10n/tests/mochitest/document_l10n/test_docl10n.html
rename : intl/l10n/test/dom/test_docl10n.xhtml => dom/l10n/tests/mochitest/document_l10n/test_docl10n.xhtml
rename : intl/l10n/test/dom/test_docl10n.xul => dom/l10n/tests/mochitest/document_l10n/test_docl10n.xul
rename : intl/l10n/test/dom/test_docl10n_initialize_after_parse.xhtml => dom/l10n/tests/mochitest/document_l10n/test_docl10n_initialize_after_parse.xhtml
rename : intl/l10n/test/dom/test_docl10n_initialize_after_parse.xul => dom/l10n/tests/mochitest/document_l10n/test_docl10n_initialize_after_parse.xul
rename : intl/l10n/test/dom/test_docl10n_ready_rejected.html => dom/l10n/tests/mochitest/document_l10n/test_docl10n_ready_rejected.html
rename : intl/l10n/test/dom/test_docl10n_removeResourceIds.html => dom/l10n/tests/mochitest/document_l10n/test_docl10n_removeResourceIds.html
rename : intl/l10n/test/dom/test_docl10n_unpriv_iframe.html => dom/l10n/tests/mochitest/document_l10n/test_unpriv_iframe.html
rename : intl/l10n/test/dom/test_domloc_attr_sanitized.html => dom/l10n/tests/mochitest/dom_localization/test_attr_sanitized.html
rename : intl/l10n/test/dom/test_domloc_connectRoot.html => dom/l10n/tests/mochitest/dom_localization/test_connectRoot.html
rename : intl/l10n/test/dom/test_domloc_disconnectRoot.html => dom/l10n/tests/mochitest/dom_localization/test_disconnectRoot.html
rename : intl/l10n/test/dom/test_domloc.xul => dom/l10n/tests/mochitest/dom_localization/test_domloc.xul
rename : intl/l10n/test/dom/test_domloc_getAttributes.html => dom/l10n/tests/mochitest/dom_localization/test_getAttributes.html
rename : intl/l10n/test/dom/test_domloc_mutations.html => dom/l10n/tests/mochitest/dom_localization/test_mutations.html
rename : intl/l10n/test/dom/test_domloc_overlay.html => dom/l10n/tests/mochitest/dom_localization/test_overlay.html
rename : intl/l10n/test/dom/test_domloc_overlay_missing_all.html => dom/l10n/tests/mochitest/dom_localization/test_overlay_missing_all.html
rename : intl/l10n/test/dom/test_domloc_overlay_missing_children.html => dom/l10n/tests/mochitest/dom_localization/test_overlay_missing_children.html
rename : intl/l10n/test/dom/test_domloc_overlay_repeated.html => dom/l10n/tests/mochitest/dom_localization/test_overlay_repeated.html
rename : intl/l10n/test/dom/test_domloc_overlay_sanitized.html => dom/l10n/tests/mochitest/dom_localization/test_overlay_sanitized.html
rename : intl/l10n/test/dom/test_domloc_repeated_l10nid.html => dom/l10n/tests/mochitest/dom_localization/test_repeated_l10nid.html
rename : intl/l10n/test/dom/test_domloc_setAttributes.html => dom/l10n/tests/mochitest/dom_localization/test_setAttributes.html
rename : intl/l10n/test/dom/test_domloc_translateElements.html => dom/l10n/tests/mochitest/dom_localization/test_translateElements.html
rename : intl/l10n/test/dom/test_domloc_translateFragment.html => dom/l10n/tests/mochitest/dom_localization/test_translateFragment.html
rename : intl/l10n/test/dom/test_domloc_translateRoots.html => dom/l10n/tests/mochitest/dom_localization/test_translateRoots.html
rename : dom/l10n/tests/mochitest/test_domoverlays_attributes.html => dom/l10n/tests/mochitest/domoverlays/test_attributes.html
rename : dom/l10n/tests/mochitest/test_domoverlays.xul => dom/l10n/tests/mochitest/domoverlays/test_domoverlays.xul
rename : dom/l10n/tests/mochitest/test_domoverlays_extra_text_markup.html => dom/l10n/tests/mochitest/domoverlays/test_extra_text_markup.html
rename : dom/l10n/tests/mochitest/test_domoverlays_functional_children.html => dom/l10n/tests/mochitest/domoverlays/test_functional_children.html
rename : dom/l10n/tests/mochitest/test_domoverlays_text_children.html => dom/l10n/tests/mochitest/domoverlays/test_text_children.html
rename : intl/l10n/test/mochitest.ini => dom/l10n/tests/mochitest/mochitest.ini
extra : moz-landing-system : lando
2019-06-06 16:32:39 +00:00
Zibi Braniecki
fdd3cb9cbd
Bug 1552714 - Move DocumentL10n to dom/l10n. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D32957
--HG--
rename : dom/webidl/DocumentL10n.webidl => dom/chrome-webidl/DocumentL10n.webidl
rename : intl/l10n/DocumentL10n.cpp => dom/l10n/DocumentL10n.cpp
rename : intl/l10n/DocumentL10n.h => dom/l10n/DocumentL10n.h
extra : moz-landing-system : lando
2019-06-06 16:31:44 +00:00
Zibi Braniecki
49972af017
Bug 1552714 - Refactor constructors. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D32956
--HG--
extra : moz-landing-system : lando
2019-06-06 16:31:37 +00:00
Zibi Braniecki
319ed7e3c9
Bug 1552714 - Extract DOMLocalization out of DocumentL10n. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D32397
--HG--
extra : moz-landing-system : lando
2019-06-06 16:31:25 +00:00
Zibi Braniecki
314d90ae91
Bug 1555340 - Check for pending mutations when Document creates PresShell. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D33378
--HG--
extra : moz-landing-system : lando
2019-06-03 10:00:47 +00:00
Zibi Braniecki
9e3c527610
Bug 1546432 - Move DocumentL10n to use mozILocalization. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D31554
--HG--
extra : moz-landing-system : lando
2019-05-21 19:22:36 +00:00
Zibi Braniecki
2a9aacbacb
Bug 1546432 - Add roots management to Mutations. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D31337
--HG--
extra : moz-landing-system : lando
2019-05-23 19:01:35 +00:00
Zibi Braniecki
2ee19983ae
Bug 1546432 - Migrate DocumentL10n to use dom::l10n::Mutations. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D28981
--HG--
extra : moz-landing-system : lando
2019-05-21 19:46:32 +00:00
Zibi Braniecki
fbc6e0304a
Bug 1546432 - Introduce mozilla::dom::l10n::Mutations. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D28979
--HG--
extra : moz-landing-system : lando
2019-05-21 19:21:54 +00:00
Zibi Braniecki
0e59a5d8f4
Bug 1544118
- Move nsINode::localize to use DocumentL10n::TranslateFragment. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D28269
--HG--
extra : moz-landing-system : lando
2019-04-24 10:35:37 +00:00
Zibi Braniecki
bf768d3bb3
Bug 1545312 - Make L10nRegistry handle removed sources. r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D28270
--HG--
extra : moz-landing-system : lando
2019-04-24 20:36:00 +00:00
Zibi Braniecki
d143f8ce30
Bug 1503657 - Migrate nsINode::localize and DOMLocalization.jsm to use DOMOverlays C++. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D27201
--HG--
extra : moz-landing-system : lando
2019-04-24 05:05:15 +00:00
Zibi Braniecki
0890bbe4c2
Bug 1503657 - Implement Fluent DOMOverlays in C++. r=smaug,Pike
...
Differential Revision: https://phabricator.services.mozilla.com/D27200
--HG--
extra : moz-landing-system : lando
2019-04-24 05:05:11 +00:00
Zibi Braniecki
d6b38f2162
Bug 1503657 - Land DOMOverlays tests prior to switch to C++. r=Pike
...
Differential Revision: https://phabricator.services.mozilla.com/D27199
--HG--
extra : moz-landing-system : lando
2019-04-24 05:03:28 +00:00
Andrew McCreight
f242e71c8a
Bug 1545822
- Clean up some whitespace in XPIDL files. r=froydnj
...
The attributes for an interface should be on the line right before the
interface.
Interface attributes should be separated by spaces.
Clean up some trailing whitespace in widget/.
Differential Revision: https://phabricator.services.mozilla.com/D28234
--HG--
extra : moz-landing-system : lando
2019-04-21 01:47:00 +00:00
Mike Conley
b5af04e2bf
Bug 1545125 - Notify DOMLocalization if the intl.uidirection pref has been changed. r=zbraniecki
...
This way, if the user updates the pref, we can properly set the localedir
on Fluent-translated documents.
Differential Revision: https://phabricator.services.mozilla.com/D27928
--HG--
extra : moz-landing-system : lando
2019-04-17 20:38:40 +00:00
Zibi Braniecki
a1791b1910
Bug 1534480 - Do not update Fluent DOM attributes if they match current ones. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D23063
--HG--
extra : moz-landing-system : lando
2019-04-16 20:45:52 +00:00
arthur.iakab
efa7bba713
Backed out changeset a8acb6aa4a52 (bug 1534480)for chrome mochitest failures on dom_overlays/test_same_attribute.html CLOSED TREE
2019-04-16 20:54:11 +03:00
Zibi Braniecki
c7b8eb7f7f
Bug 1534480 - Do not update Fluent DOM attributes if they match current ones. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D23063
--HG--
extra : moz-landing-system : lando
2019-04-16 16:29:38 +00:00
Brian Grinstead
911776d674
Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky
...
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the case where the script src is on the line below the script tag.
This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 3` argument.
Differential Revision: https://phabricator.services.mozilla.com/D27458
--HG--
extra : moz-landing-system : lando
2019-04-16 03:59:25 +00:00
Brian Grinstead
ede8c44ef2
Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky
...
This excludes dom/, otherwise the file size is too large for phabricator to handle.
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the simple case where the script src is on the same line as the tag.
This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 2` argument.
Differential Revision: https://phabricator.services.mozilla.com/D27456
--HG--
extra : moz-landing-system : lando
2019-04-16 03:50:44 +00:00
Brian Grinstead
6515f97bcb
Bug 1544322 - Part 1 - Remove the [type] attribute for one-liner <script> tags loading files in chrome://mochikit/content/ r=bzbarsky
...
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the simple case where the script src is on the same line as the tag.
This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 1` argument.
Differential Revision: https://phabricator.services.mozilla.com/D26812
--HG--
extra : moz-landing-system : lando
2019-04-15 20:56:58 +00:00
Gijs Kruitbosch
851325cbfe
Bug 1543493 - ensure DOM localization in XUL docs can localize content that includes an <image>, r=zbraniecki
...
Differential Revision: https://phabricator.services.mozilla.com/D26989
--HG--
extra : moz-landing-system : lando
2019-04-12 00:47:15 +00:00
Axel Hecht
08639a4653
Bug 1540089, doc fix for Fluent 0.9 Syntax, r=stas
...
Depends on D25403
Differential Revision: https://phabricator.services.mozilla.com/D25404
--HG--
extra : moz-landing-system : lando
2019-03-29 15:51:58 +00:00
Staś Małolepszy
3aa3bb6bc9
Bug 1539192 - Update to Fluent.jsm 0.12.0, FluentSyntax 0.12.0. r=zbraniecki
...
Update the vendored Fluent libraries to their latest versions, both supporting Fluent Syntax 0.9.
Differential Revision: https://phabricator.services.mozilla.com/D25043
--HG--
extra : moz-landing-system : lando
2019-03-27 20:43:33 +00:00
Zibi Braniecki
4f5881dda7
Bug 1483036 - Simplify the DocumentL10n::PromiseResolver handler. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D24451
--HG--
extra : moz-landing-system : lando
2019-03-26 15:05:21 +00:00
Zibi Braniecki
bb5e52fa01
Bug 1483036 - Report meaningful Promise values from FluentDOM C++ bits r=Gijs,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D24113
--HG--
extra : moz-landing-system : lando
2019-03-26 19:34:27 +00:00
championshuttler
677714a968
Bug 1536103 - Fix Sphinx Warning - Title Underline too short in 'mach doc'. r=ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D24536
--HG--
extra : moz-landing-system : lando
2019-03-22 19:30:34 +00:00
Zibi Braniecki
ee31c806ce
Bug 1532712 - Fix tests to await for gotoPref. r=gijs
...
Differential Revision: https://phabricator.services.mozilla.com//D23377
--HG--
extra : amend_source : 4f28d4b1dcc9be7cf3f981a9e17f78fe875e66b3
extra : histedit_source : 0b84776abd74cacac4c04861f5e21d74e15120ed
2019-03-13 19:43:50 +00:00
Zibi Braniecki
20e3e4f215
Bug 1532712 - Expose pause/resume observing methods on DocumentL10n. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com//D23244
--HG--
extra : histedit_source : 7278710f71d900dfdedcf68abbf8315f05cd44c6
2019-03-13 00:24:41 +00:00
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