Граф коммитов

337 Коммитов

Автор SHA1 Сообщение Дата
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