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
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
Zibi Braniecki
e3ad17f498
Bug 1453480 - Update fluent to 0.6.4 and fluent-dom to 0.2.0. r=stas
...
MozReview-Commit-ID: La8uSw0sq4p
--HG--
extra : rebase_source : 27e3611a5bb7abc11e8663186c6e4b1812a7f34b
2018-04-11 13:06:35 -07:00
Zibi Braniecki
a715714c3c
Bug 1438613 - Remove explicit observer unregistering from Fluent. r=mossop
...
MozReview-Commit-ID: 3SavwzU9ZQD
--HG--
extra : rebase_source : 97a5a8d661d93ac3a35635bab527990b47d3b35c
2018-02-15 11:06:52 -08:00
Zibi Braniecki
314d9393b8
Bug 1443697
- Fix nits in Fluent for Firefox Developers. r=flod
...
MozReview-Commit-ID: 4QSBa01XXp3
--HG--
extra : rebase_source : 1d68adcced17cb5904f8a87aadc2f4a7309f17c1
2018-03-06 17:48:17 -08:00
Zibi Braniecki
a17ecedb71
Bug 1438608 - Improve error reporting of Fluent missing strings. r=stas
...
MozReview-Commit-ID: 5HOsUGtDi3V
--HG--
extra : rebase_source : 14bae133efb1338813145c9c8a543302a1b0c0db
2018-03-06 01:25:23 -08:00
Zibi Braniecki
e0dc62fb37
Bug 1363862 - Use Node.localize for fragment translation in Fluent DOM. r=stas
...
MozReview-Commit-ID: 1zAbSMapi86
--HG--
extra : rebase_source : 5b0ca1113bf99f6308db4655ebaec0ab6f2eb416
2018-03-01 16:49:37 -08:00
Zibi Braniecki
db6356be2b
Bug 1438655 - Add Introduction to Fluent for Firefox Developers. r=flod
...
MozReview-Commit-ID: 33v3OTFYRHi
--HG--
extra : rebase_source : 27c549ae74fd9f132a8066e864d570b9e3218e91
2018-02-27 23:52:26 -08:00
Brian Grinstead
97119973ca
Bug 1440094 - Remove imports to Console.jsm that only access the 'console' object;r=mossop
...
Importing this object is unnecessary after the updates to the WebIDL console from Bug 1425574
and the follow-ups blocking Bug 1430810. There are still callers that access Console.jsm
to create custom ConsoleAPI objects, but those will be handled separately.
MozReview-Commit-ID: 9ojFxtkpPId
--HG--
extra : rebase_source : 971bf99f709b8d2afe300f3693665724f747aa5e
2018-02-27 11:29:59 -08:00
Florian Quèze
682b1ec3b2
Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8.
2018-02-23 20:50:01 +01:00
Zibi Braniecki
e3306c96dc
Bug 1440188 - Fix eslint error from adding intl/l10n to eslint. r=gandalf
...
MozReview-Commit-ID: 8um44N5dZUv
--HG--
extra : rebase_source : 5d1a01c53a585bca9e396543bf29e3ee3b8565d9
2018-02-21 18:36:30 -08:00
Zibi Braniecki
c797a57c90
Bug 1428769 - Add intl/l10n to be covered by eslint. r=Pike
...
MozReview-Commit-ID: 6Mu1A8xkxn4
--HG--
extra : rebase_source : e62867d32b0062a6aa076572b85fb9cec7afb81a
2018-02-20 14:02:54 -10:00
Zibi Braniecki
5849ff1145
Bug 1431260 - Migrate LocaleService::AvailableLocales from ChromeRegistry to multilocale.txt. r=jfkthame
...
MozReview-Commit-ID: 6S4VaAvDako
--HG--
extra : rebase_source : ea6ae09971a7cbf617081836079cb875ffe4cb18
2018-02-13 23:41:39 -08:00
Zibi Braniecki
6078ba1b11
Bug 1439018 - Temporarily disable bidi isolation in Fluent due to Microsoft not supporting FSI/PDI. r=stas
...
MozReview-Commit-ID: FTJyG4UhQA
--HG--
extra : rebase_source : f1e77036d03778c602a3265df6f759a748cbf825
2018-02-19 22:24:40 -10:00
Zibi Braniecki
06102292c3
Bug 1437427 - Workaround promise/microtask bug with a callback in Fluent runtime. r=Pike
...
MozReview-Commit-ID: 9uJpEHHBv8w
--HG--
extra : rebase_source : f09277ad5f2ea4a61d1f7ba9b908b35af9dd3360
2018-02-13 12:26:31 -08:00
Zibi Braniecki
168adb6f0b
Bug 1438055 - Switch Fluent Localization class to use weak observers. r=mossop
...
MozReview-Commit-ID: 4R8OyziLRUo
--HG--
extra : rebase_source : 8a26c97c30e46af0a5f77060066046cd91ccb64c
2018-02-13 16:25:41 -08:00