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

4836 Коммитов

Автор SHA1 Сообщение Дата
Masatoshi Kimura d729945e0b Bug 1557930 - Stop using ACString parameters in mozILocaleService and tests. r=zbraniecki
* `negotiateLanguages` should not silently truncate non-Latin1 chars.
* `setCharPref` will silently truncate non-Latin1 chars.
* Fixed JS extra warnings while I am here.

Differential Revision: https://phabricator.services.mozilla.com/D34273

--HG--
extra : moz-landing-system : lando
2019-06-08 17:21:58 +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
Boris Zbarsky 89baee69d9 Bug 1557501. Stop using [array] in nsIPrefBranch. r=njn
Differential Revision: https://phabricator.services.mozilla.com/D34032

--HG--
extra : moz-landing-system : lando
2019-06-07 01:01:12 +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
Cosmin Sabou bcd5ff3d98 Merge mozilla-central to autoland.
--HG--
extra : rebase_source : ec8335cc4fb4f7c2594b2b95cd6d5078af2be625
2019-06-03 19:24:20 +03:00
Henri Sivonen ae34dc651a Bug 1543077 part 4 - Have only one item for Japanese in the Text Encoding menu. r=Gijs,emk.
Differential Revision: https://phabricator.services.mozilla.com/D28634
2019-06-03 15:30:41 +03:00
Henri Sivonen 0a2e1dfc79 Bug 1543077 part 2 - Use mozilla::JapaneseDetector in the HTML parser. r=emk.
Differential Revision: https://phabricator.services.mozilla.com/D27793
2019-06-03 15:30:41 +03: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
Jonathan Kew 86d6d93739 Bug 1554998 - Fix the handling of numeric characters by word-break:break-all. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D32969

--HG--
extra : moz-landing-system : lando
2019-05-29 12:05:20 +00:00
Mihai Alexandru Michis 1dd6cb6ee5 Backed out 6 changesets (bug 1543077) for causing bc failures at docshell/test/browser/browser_bug1543077.js
Backed out changeset f593045cc48f (bug 1543077)
Backed out changeset 25449ba8aceb (bug 1543077)
Backed out changeset ccc438262e29 (bug 1543077)
Backed out changeset 4573c25b1ce0 (bug 1543077)
Backed out changeset 1cbaafb9373a (bug 1543077)
Backed out changeset 1a0e7ced8e47 (bug 1543077)

--HG--
extra : rebase_source : f04bf405303fe03776f0e70b03db076c0a41ae45
2019-05-27 12:00:21 +03:00
Henri Sivonen 533527938d Bug 1543077 part 4 - Have only one item for Japanese in the Text Encoding menu. r=emk,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D28634

--HG--
extra : moz-landing-system : lando
2019-05-27 07:55:27 +00:00
Henri Sivonen 1953910dd3 Bug 1543077 part 2 - Use mozilla::JapaneseDetector in the HTML parser. r=emk
Depends on D27792

Differential Revision: https://phabricator.services.mozilla.com/D27793

--HG--
extra : moz-landing-system : lando
2019-05-27 07:56:17 +00:00
Sylvestre Ledru d57d4905f1 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D30883

--HG--
extra : moz-landing-system : lando
2019-05-25 17:46:15 +00:00
arthur.iakab af8e458c5f Backed out changeset a296439a25ff (bug 1519636) for frequent Windows cppunit failures CLOSED TREE 2019-05-24 14:26:01 +03:00
Sylvestre Ledru c82ea97226 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D30883

--HG--
extra : moz-landing-system : lando
2019-05-24 09:59:17 +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
Sylvestre Ledru 993c03acb1 Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D31769

--HG--
extra : moz-landing-system : lando
2019-05-22 22:37:14 +00:00
Jonathan Kew d1e76014ab Bug 1011369 - Restrict some line-break behaviors to Chinese and Japanese contexts, as per spec. r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D30788

--HG--
extra : moz-landing-system : lando
2019-05-20 20:47:09 +00:00
Jonathan Kew 5cd611f65b Bug 1011369 - Implement loose|normal|strict line-break values by remapping the linebreak class of affected characters. r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D30787

--HG--
extra : moz-landing-system : lando
2019-05-20 20:46:57 +00:00
Jonathan Kew 9ac5b6c1af Bug 1011369 - Pass word-break and line-break properties to the line-breaker as two distinct enum class parameters. r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D30786

--HG--
extra : moz-landing-system : lando
2019-05-20 20:46:35 +00:00
Jonathan Kew eb2e0187f1 Bug 1531715 - Implement the CSS line-break property, with values "auto | anywhere". r=emilio
Note that the "loose | normal | strict" values are not yet parsed/implemented.

Differential Revision: https://phabricator.services.mozilla.com/D29817

--HG--
extra : moz-landing-system : lando
2019-05-20 20:46:07 +00:00
Jonathan Kew c5d721dff7 Bug 1550532 - Avoid auto-hyphenating capitalized words, except for German. r=emilio,mats
This affects a number of our existing reftests, so we'll need to update those
to not expect auto-hyphenation of a sentence-initial (capitalized) word.

(Hyphenation behavior is not sufficiently well-specified for this to be tested
at the WPT level, so we just use Gecko-specific reftests.)

Differential Revision: https://phabricator.services.mozilla.com/D30912

--HG--
extra : moz-landing-system : lando
2019-05-13 16:35:44 +00:00
Andreea Pavel accc389b66 Merge mozilla-inbound to mozilla-central. a=merge 2019-05-01 18:56:07 +03:00
Sylvestre Ledru e226046cb8 Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan
# ignore-this-changeset

Depends on D28954

Differential Revision: https://phabricator.services.mozilla.com/D28956

--HG--
extra : moz-landing-system : lando
2019-05-01 08:47:10 +00:00
André Bargull 868d7f1acd Bug 1543644: Include RBNF data for Japanese to support Gannen year representation. r=jwalden
ICU changes the numbering system of date formats which include an era marker
to "jpanyear". "jpanyear" is a rule-based numbering system and therefore the
RBNF data for the Japanese locale now need to be included.

Differential Revision: https://phabricator.services.mozilla.com/D27340

--HG--
extra : moz-landing-system : lando
2019-04-26 20:55:35 +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
Edwin Gao 9994405ece Bug 1544961 - comment on gtests that are disabled, disable ThreadUtils.IdleRunnableMethod and Timers.FindExpirationTime for windows10-aarch64 r=jmaher,gbrown,dmajor
Changes:
- added comments for tests being disabled
- disabled two additional tests in order to green the run

Differential Revision: https://phabricator.services.mozilla.com/D28085

--HG--
extra : moz-landing-system : lando
2019-04-23 00:21:37 +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
Edwin Gao 4b2a06ae0f Bug 1544961 - disable tests that cause gtest harness to crash on windows10-aarch64 r=jmaher,gbrown
Changes:
- most tests are skipped using `moz.build` configuration file.
- `MultiWriterQueue` had to be skipped with `define` clauses in the test file due to build bustages when its `moz.build` file was used.

Differential Revision: https://phabricator.services.mozilla.com/D27944

--HG--
extra : moz-landing-system : lando
2019-04-17 23:12:19 +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
Sylvestre Ledru 03fc65347c Bug 1542146 - Apply the change with the option StatementMacros from clang-format-8 r=andi
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D26280

--HG--
extra : moz-landing-system : lando
2019-04-05 21:42:17 +00:00
Sylvestre Ledru 03c8e8c2dd Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D26098

--HG--
extra : moz-landing-system : lando
2019-04-05 21:41:42 +00:00
Csoregi Natalia ba58e936bd Backed out changeset 4ad80127f89f (bug 1519636) for bustage on MarkupMap.h and nsAccessibilityService.cpp. CLOSED TREE 2019-04-05 09:48:19 +03:00
Sylvestre Ledru d1c1878603 Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D26098

--HG--
extra : moz-landing-system : lando
2019-04-04 21:36:16 +00:00
Narcis Beleuzu 24dbe577a5 Backed out changeset 389b6bbd76db (bug 1519636) for bustages on MarkupMap.h . CLOSED TREE 2019-04-05 00:27:56 +03:00
Sylvestre Ledru 399dbd28fe Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D26098

--HG--
extra : moz-landing-system : lando
2019-04-04 20:12:23 +00:00
André Bargull 41b749957c Bug 1533481 - Part 9: Update Gecko to Unicode 12. r=jfkthame!
Summary:

- Add markers to generated files to discourage manual edits.
- Add generated file to clang-format-ignore.
- Handle currently not supported Georgian characters in the Perl script.

Reviewers: jfkthame

Reviewed By: jfkthame

Bug #: 1533481

Differential Revision: https://phabricator.services.mozilla.com/D25269

--HG--
extra : rebase_source : cb485b400638790af9cbe24867d6a25505888459
2019-04-04 12:46:18 +03:00
André Bargull 16d9e7dfcd Bug 1533481 - Part 5: Update in-tree ICU to release 64.1. r=jwalden!
--HG--
extra : rebase_source : 9dfdf09968fb65ba1288b5d79d8dd238c270e34f
2019-03-28 07:29:13 -07:00
André Bargull a6b52311ad Bug 1533481 - Part 4: Prepare update to ICU 64. r=jwalden!
Summary:

- ICU no longer supports removing resource files manually, instead the new data
  filter builder needs to be used.
- This includes test data, which also must be preserved in ICU 64.
- umutex.h contains an implicit call to `new` in ICU64 which needs to be allowed
  in check_vanilla_allocations.py.
- Drive-by: Make ICU with multiple jobs for faster rebuilds.

Reviewers: jwalden

Reviewed By: jwalden

Bug #: 1533481

Differential Revision: https://phabricator.services.mozilla.com/D25264

--HG--
extra : rebase_source : 9fde775ee9b189c84a29f69f11ebd955f0030b38
2019-04-04 11:52:54 +03:00
André Bargull 0786be3f1f Bug 1533481 - Part 3: Remove no longer needed ICU patches or update to apply cleanly. r=jwalden!
Summary:

- Local patches for bug 1504656 and bug 1513934 are now present upstream.
- Patch for bug 1172609 needed to be rebased to apply cleanly.
- Update patch for bug 1172609 to follow new static mutex handling in ICU.

Reviewers: jwalden

Reviewed By: jwalden

Bug #: 1533481

Differential Revision: https://phabricator.services.mozilla.com/D25263

--HG--
extra : rebase_source : 2e1d2974394e336d714b16642dd9d02b226300c2
2019-04-04 11:52:36 +03:00
Sylvestre Ledru ef0bfc3822 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D24168

--HG--
extra : moz-landing-system : lando
2019-03-31 15:12:55 +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
Emilio Cobos Álvarez 7d6f6c28d7 Bug 1536582 - Autogenerate Servo_ binding functions with cbindgen. r=boris
This depends on https://github.com/eqrion/cbindgen/pull/308. Other than that,
this should be ready to go.

There's still a bit more magic than what I'd like to eventually. I should be
able to make cbindgen not rename types if it doesn't know about them, or
something.

But this removes most of the manual binding function implementations (all but
the ones that are declared via macros, which cbindgen doesn't see across).

I need to give up on the _Drop functions taking an Owned<T> because of
instantiation order fiasco. In order to define DefaultDelete I need Owned to be
complete, but I cannot do it after including the generated file since some
declarations already instantiate the specialization. Oh well.

Differential Revision: https://phabricator.services.mozilla.com/D24798

--HG--
rename : servo/components/style/cbindgen.toml => servo/ports/geckolib/cbindgen.toml
extra : moz-landing-system : lando
2019-03-30 20:18:33 +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
Liang-Heng Chen 624de11cb1 Bug 1492587 - spoof date picker to en-US when pref is set; r=zbraniecki,baku
spoof locale on datepicker to English when privacy.spoof_english == 2

Differential Revision: https://phabricator.services.mozilla.com/D19148

--HG--
extra : moz-landing-system : lando
2019-03-29 10:49:58 +00:00
Jonathan Kew 1327b56edd Bug 1529241 - Handle emoji-zwj sequences in unicode::ClusterIterator so that we avoid breaking them across lines or during selection. r=m_kato
Depends on D25100

Differential Revision: https://phabricator.services.mozilla.com/D25101

--HG--
extra : moz-landing-system : lando
2019-03-28 09:57:40 +00:00
Mark Banner dba6983e75 Bug 1415265 - Remove now unnecessary .eslintrc.js files or entries. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D23850

--HG--
extra : moz-landing-system : lando
2019-03-28 09:38:14 +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
Ian Moody 387d7bcb2c Bug 1539128 - Add fluent docs to the docs sidebar under Localization. r=flod
Differential Revision: https://phabricator.services.mozilla.com/D24879

--HG--
extra : moz-landing-system : lando
2019-03-26 13:47:55 +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
Emilio Cobos Álvarez 3fa7faebf8 Bug 1536176 - Use nsStaticAtom in nsLanguageAtomService. r=jfkthame
All lang groups are static, no point in doing refcounting.

Differential Revision: https://phabricator.services.mozilla.com/D23954

--HG--
extra : moz-landing-system : lando
2019-03-19 12:48:31 +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
Sylvestre Ledru 4aa92e3091 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D22514
2019-03-13 10:19:06 +01:00
Francesco Lodolo (:flod) 22636d2a89 Bug 1533435 - Create new plural for Slavic languages (bs, hr, sr) to account for different CLDR categories than Russian r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D22535

--HG--
extra : moz-landing-system : lando
2019-03-07 18:56:20 +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
Ryan Hunt 62b9ce54b9 Bug 1523969 part 11 - Move method definition inline comments to new line in 'intl/'. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D21111

--HG--
extra : rebase_source : d5c8dc992e78523893b857ec9ebc0cc5b1521b77
2019-02-25 16:08:21 -06:00
Jeff Walden 9b370ac30c Bug 1037100 - Replace a bunch of uses of Scoped with uses of UniquePtr in ICU-related code, and remove a couple pointless Scoped.h #includes. r=anba
--HG--
extra : rebase_source : 0172522f3e06e0f11eb4b462282734df97161f30
2019-02-25 15:02:01 -08: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
Jonathan Kew 67db6ca162 Bug 1358019 - Reimplement word-break:break-all to better match the CSS Text spec. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D19480

--HG--
extra : moz-landing-system : lando
2019-02-18 10:14:24 +00:00
Cosmin Sabou a4b19fcd61 Merge mozilla-inbound to mozilla-central. a=merge
--HG--
rename : browser/components/nsBrowserContentHandler.js => browser/components/BrowserContentHandler.jsm
2019-02-15 20:39:45 +02: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
Daniel Varga 1e9aa9e1fc Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE
--HG--
rename : browser/components/nsBrowserContentHandler.js => browser/components/BrowserContentHandler.jsm
2019-02-15 03:51:05 +02: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
Jonathan Kingston 3421b8fcff Bug 1520868 - Replacing AsyncOpen2 with AsyncOpen always r=valentin
Replacing js and text occurences of asyncOpen2
Replacing open2 with open

Differential Revision: https://phabricator.services.mozilla.com/D16885

--HG--
rename : layout/style/test/test_asyncopen2.html => layout/style/test/test_asyncopen.html
extra : moz-landing-system : lando
2019-02-12 16:08:25 +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
Kris Maglione 7adf89ebfb Bug 1524687: Part 6 - Convert intl modules to static registration. r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D18401

--HG--
extra : rebase_source : 384b14e66d9b12eb123c46edbdd57c5a3ed226fa
extra : source : f4ee175bc5bda170021c09456819bc9daeea6408
2019-01-24 15:58:31 -08:00
Csoregi Natalia ecd94d6986 Backed out 79 changesets (bug 1524687, bug 1524688) for crashes on mozilla::dom::ScreenOrientation::ScreenOrientation(nsPIDOMWindowInner *,nsScreen *). CLOSED TREE
Backed out changeset 68a001a42406 (bug 1524687)
Backed out changeset 328de611bcd3 (bug 1524688)
Backed out changeset 68cffca6927a (bug 1524687)
Backed out changeset 81dc12cc9257 (bug 1524688)
Backed out changeset c7c49f64048f (bug 1524688)
Backed out changeset fb23a0271da0 (bug 1524688)
Backed out changeset 0c1d1248e59e (bug 1524688)
Backed out changeset 9e9ec7de4160 (bug 1524688)
Backed out changeset de0b9993bd5d (bug 1524688)
Backed out changeset 92877cf4fe33 (bug 1524688)
Backed out changeset b4938f2ff8fd (bug 1524688)
Backed out changeset 230d2feaf941 (bug 1524688)
Backed out changeset 6c63bc240972 (bug 1524688)
Backed out changeset 0ad5465eace1 (bug 1524688)
Backed out changeset 1e75ce91029b (bug 1524688)
Backed out changeset 34a978503b1d (bug 1524688)
Backed out changeset 183602e8a30b (bug 1524688)
Backed out changeset 12a9135dc005 (bug 1524688)
Backed out changeset 978ef5dac9db (bug 1524688)
Backed out changeset 28105bf7bf6a (bug 1524688)
Backed out changeset a9fb74beaf2b (bug 1524688)
Backed out changeset fe106b369a72 (bug 1524688)
Backed out changeset e657e77d4271 (bug 1524688)
Backed out changeset 09f626870ad0 (bug 1524688)
Backed out changeset fe9b6695212e (bug 1524688)
Backed out changeset 995ea188bc31 (bug 1524688)
Backed out changeset 01c4d3edb1b0 (bug 1524688)
Backed out changeset 1bb7dfbb9f48 (bug 1524688)
Backed out changeset 56c61e0a1f45 (bug 1524688)
Backed out changeset c819943ff466 (bug 1524688)
Backed out changeset a1dd5cec066e (bug 1524688)
Backed out changeset 517838ee0c3c (bug 1524688)
Backed out changeset f509a5759fdf (bug 1524688)
Backed out changeset 56f5c8f0d708 (bug 1524688)
Backed out changeset 5746311ef859 (bug 1524688)
Backed out changeset df02f7d25212 (bug 1524688)
Backed out changeset c9846136d105 (bug 1524688)
Backed out changeset 2bd48db9cd0f (bug 1524688)
Backed out changeset ff120b4eeb79 (bug 1524688)
Backed out changeset fe583e7aae8d (bug 1524688)
Backed out changeset 18f156d6355a (bug 1524688)
Backed out changeset f4eaebbe2e0f (bug 1524688)
Backed out changeset bf6b18e23f69 (bug 1524688)
Backed out changeset dd89eb7e9b0d (bug 1524688)
Backed out changeset 4cbbb367ba0b (bug 1524688)
Backed out changeset 4ed0cf6be580 (bug 1524688)
Backed out changeset d8efb5ed62b1 (bug 1524688)
Backed out changeset ea347d57d73a (bug 1524688)
Backed out changeset 911689ef9f33 (bug 1524688)
Backed out changeset 28670fdc418d (bug 1524688)
Backed out changeset 38e1e42a0fb0 (bug 1524688)
Backed out changeset 35a5f031dd1e (bug 1524688)
Backed out changeset b586d55d76d5 (bug 1524688)
Backed out changeset 6dcacead1746 (bug 1524688)
Backed out changeset 9895239d8ac6 (bug 1524688)
Backed out changeset 25f982fd53bd (bug 1524688)
Backed out changeset 4fb0f0a59fe2 (bug 1524688)
Backed out changeset fdc6c4ed241a (bug 1524688)
Backed out changeset 5ce5986068f0 (bug 1524688)
Backed out changeset ab64ed7388ae (bug 1524688)
Backed out changeset 56607c5a301a (bug 1524688)
Backed out changeset 6b3684e7d8f9 (bug 1524688)
Backed out changeset ee28258a5724 (bug 1524688)
Backed out changeset 9201a7ea3c54 (bug 1524688)
Backed out changeset d5dca413e2da (bug 1524688)
Backed out changeset 68eb174a337b (bug 1524688)
Backed out changeset 625f71135038 (bug 1524687)
Backed out changeset 46e13c453538 (bug 1524687)
Backed out changeset 614be688767f (bug 1524687)
Backed out changeset 9c24919ac5c2 (bug 1524687)
Backed out changeset b9862758b98c (bug 1524687)
Backed out changeset 92d9e927deec (bug 1524687)
Backed out changeset f4ee175bc5bd (bug 1524687)
Backed out changeset 191afe83da2e (bug 1524687)
Backed out changeset c58caf41bb94 (bug 1524687)
Backed out changeset df95a56dae04 (bug 1524687)
Backed out changeset 10c69df4444d (bug 1524687)
Backed out changeset 219b84a58f50 (bug 1524687)
Backed out changeset e96e61bd282f (bug 1524687)

--HG--
rename : browser/components/migration/360seProfileMigrator.jsm => browser/components/migration/360seProfileMigrator.js
rename : browser/components/migration/ChromeProfileMigrator.jsm => browser/components/migration/ChromeProfileMigrator.js
rename : browser/components/migration/EdgeProfileMigrator.jsm => browser/components/migration/EdgeProfileMigrator.js
rename : browser/components/migration/FirefoxProfileMigrator.jsm => browser/components/migration/FirefoxProfileMigrator.js
rename : browser/components/migration/IEProfileMigrator.jsm => browser/components/migration/IEProfileMigrator.js
rename : browser/components/migration/ProfileMigrator.jsm => browser/components/migration/ProfileMigrator.js
rename : browser/components/migration/SafariProfileMigrator.jsm => browser/components/migration/SafariProfileMigrator.js
rename : browser/components/newtab/AboutNewTabService.jsm => browser/components/newtab/aboutNewTabService.js
rename : browser/components/BrowserContentHandler.jsm => browser/components/nsBrowserContentHandler.js
rename : browser/components/BrowserGlue.jsm => browser/components/nsBrowserGlue.js
rename : browser/components/payments/PaymentUIService.jsm => browser/components/payments/paymentUIService.js
rename : browser/components/protocolhandler/WebProtocolHandlerRegistrar.jsm => browser/components/protocolhandler/WebProtocolHandlerRegistrar.js
rename : devtools/startup/AboutDebuggingNewRegistration.jsm => devtools/startup/aboutdebugging-new-registration.js
rename : devtools/startup/AboutDebuggingRegistration.jsm => devtools/startup/aboutdebugging-registration.js
rename : devtools/startup/aboutdevtools/AboutDevToolsRegistration.jsm => devtools/startup/aboutdevtools/aboutdevtools-registration.js
rename : devtools/startup/AboutDevToolsToolboxRegistration.jsm => devtools/startup/aboutdevtoolstoolbox-registration.js
rename : devtools/startup/DevToolsStartup.jsm => devtools/startup/devtools-startup.js
rename : dom/base/ProcessSelector.jsm => dom/base/ProcessSelector.js
rename : dom/base/SlowScriptDebug.jsm => dom/base/SlowScriptDebug.js
rename : dom/base/ContentAreaDropListener.jsm => dom/base/contentAreaDropListener.js
rename : dom/browser-element/BrowserElementParent.jsm => dom/browser-element/BrowserElementParent.js
rename : dom/console/ConsoleAPIStorage.jsm => dom/console/ConsoleAPIStorage.js
rename : dom/html/HTMLMenuBuilder.jsm => dom/html/htmlMenuBuilder.js
rename : dom/media/PeerConnection.jsm => dom/media/PeerConnection.js
rename : dom/notification/NotificationStorage.jsm => dom/notification/NotificationStorage.js
rename : dom/presentation/PresentationDataChannelSessionTransport.jsm => dom/presentation/PresentationDataChannelSessionTransport.js
rename : dom/presentation/PresentationNetworkHelper.jsm => dom/presentation/PresentationNetworkHelper.js
rename : dom/presentation/provider/AndroidCastDeviceProvider.jsm => dom/presentation/provider/AndroidCastDeviceProvider.js
rename : dom/presentation/provider/PresentationControlService.jsm => dom/presentation/provider/PresentationControlService.js
rename : dom/push/Push.jsm => dom/push/Push.js
rename : dom/push/PushComponents.jsm => dom/push/PushComponents.js
rename : dom/system/NetworkGeolocationProvider.jsm => dom/system/NetworkGeolocationProvider.js
rename : layout/tools/recording/RecordingCmdLine.jsm => layout/tools/recording/recording-cmdline.js
rename : netwerk/dns/mdns/libmdns/DNSServiceDiscovery.jsm => netwerk/dns/mdns/libmdns/nsDNSServiceDiscovery.js
rename : netwerk/protocol/http/UAOverridesBootstrapper.jsm => netwerk/protocol/http/UAOverridesBootstrapper.js
rename : netwerk/protocol/http/WellKnownOpportunisticUtils.jsm => netwerk/protocol/http/WellKnownOpportunisticUtils.js
rename : services/fxaccounts/FxAccountsPush.jsm => services/fxaccounts/FxAccountsPush.js
rename : services/settings/RemoteSettingsComponents.jsm => services/settings/RemoteSettingsComponents.js
rename : services/sync/Weave.jsm => services/sync/Weave.js
rename : toolkit/components/asyncshutdown/nsAsyncShutdown.jsm => toolkit/components/asyncshutdown/nsAsyncShutdown.js
rename : toolkit/components/backgroundhangmonitor/BHRTelemetryService.jsm => toolkit/components/backgroundhangmonitor/BHRTelemetryService.js
rename : toolkit/components/captivedetect/CaptiveDetect.jsm => toolkit/components/captivedetect/captivedetect.js
rename : toolkit/components/cleardata/ClearDataService.jsm => toolkit/components/cleardata/ClearDataService.js
rename : toolkit/components/contentprefs/ContentPrefService2.jsm => toolkit/components/contentprefs/ContentPrefService2.js
rename : toolkit/components/crashes/CrashService.jsm => toolkit/components/crashes/CrashService.js
rename : toolkit/components/crashmonitor/nsCrashMonitor.jsm => toolkit/components/crashmonitor/nsCrashMonitor.js
rename : toolkit/components/downloads/DownloadLegacy.jsm => toolkit/components/downloads/DownloadLegacy.js
rename : toolkit/components/gfx/SanityTest.jsm => toolkit/components/gfx/SanityTest.js
rename : toolkit/components/mozintl/mozIntl.jsm => toolkit/components/mozintl/mozIntl.js
rename : toolkit/components/mozprotocol/MozProtocolHandler.jsm => toolkit/components/mozprotocol/mozProtocolHandler.js
rename : toolkit/components/normandy/ShieldContentProcess.jsm => toolkit/components/normandy/shield-content-process.js
rename : toolkit/components/DefaultCLH.jsm => toolkit/components/nsDefaultCLH.js
rename : toolkit/components/passwordmgr/LoginInfo.jsm => toolkit/components/passwordmgr/nsLoginInfo.js
rename : toolkit/components/passwordmgr/LoginManager.jsm => toolkit/components/passwordmgr/nsLoginManager.js
rename : toolkit/components/passwordmgr/LoginManagerPrompter.jsm => toolkit/components/passwordmgr/nsLoginManagerPrompter.js
rename : toolkit/components/places/ColorAnalyzer.jsm => toolkit/components/places/ColorAnalyzer.js
rename : toolkit/components/places/PageIconProtocolHandler.jsm => toolkit/components/places/PageIconProtocolHandler.js
rename : toolkit/components/places/PlacesCategoriesStarter.jsm => toolkit/components/places/PlacesCategoriesStarter.js
rename : toolkit/components/places/UnifiedComplete.jsm => toolkit/components/places/UnifiedComplete.js
rename : toolkit/components/places/PlacesExpiration.jsm => toolkit/components/places/nsPlacesExpiration.js
rename : toolkit/components/places/TaggingService.jsm => toolkit/components/places/nsTaggingService.js
rename : toolkit/components/processsingleton/ContentProcessSingleton.jsm => toolkit/components/processsingleton/ContentProcessSingleton.js
rename : toolkit/components/processsingleton/MainProcessSingleton.jsm => toolkit/components/processsingleton/MainProcessSingleton.js
rename : toolkit/components/prompts/src/Prompter.jsm => toolkit/components/prompts/src/nsPrompter.js
rename : toolkit/components/remotebrowserutils/RemoteWebNavigation.jsm => toolkit/components/remotebrowserutils/RemoteWebNavigation.js
rename : toolkit/components/satchel/FormHistoryStartup.jsm => toolkit/components/satchel/FormHistoryStartup.js
rename : toolkit/components/satchel/FormAutoComplete.jsm => toolkit/components/satchel/nsFormAutoComplete.js
rename : toolkit/components/satchel/InputListAutoComplete.jsm => toolkit/components/satchel/nsInputListAutoComplete.js
rename : toolkit/components/search/SearchService.jsm => toolkit/components/search/nsSearchService.js
rename : toolkit/components/search/SearchSuggestions.jsm => toolkit/components/search/nsSearchSuggestions.js
rename : toolkit/components/search/Sidebar.jsm => toolkit/components/search/nsSidebar.js
rename : toolkit/components/telemetry/TelemetryStartup.jsm => toolkit/components/telemetry/TelemetryStartup.js
rename : toolkit/components/terminator/TerminatorTelemetry.jsm => toolkit/components/terminator/nsTerminatorTelemetry.js
rename : toolkit/components/thumbnails/PageThumbsStorageService.jsm => toolkit/components/thumbnails/PageThumbsStorageService.js
rename : toolkit/components/timermanager/UpdateTimerManager.jsm => toolkit/components/timermanager/nsUpdateTimerManager.js
rename : toolkit/components/tooltiptext/TooltipTextProvider.jsm => toolkit/components/tooltiptext/TooltipTextProvider.js
rename : toolkit/components/url-classifier/UrlClassifierHashCompleter.jsm => toolkit/components/url-classifier/nsUrlClassifierHashCompleter.js
rename : toolkit/components/url-classifier/UrlClassifierLib.jsm => toolkit/components/url-classifier/nsUrlClassifierLib.js
rename : toolkit/components/url-classifier/UrlClassifierListManager.jsm => toolkit/components/url-classifier/nsUrlClassifierListManager.js
rename : toolkit/components/urlformatter/URLFormatter.jsm => toolkit/components/urlformatter/nsURLFormatter.js
rename : toolkit/components/utils/SimpleServices.jsm => toolkit/components/utils/simpleServices.js
rename : toolkit/components/xulstore/XULStore.jsm => toolkit/components/xulstore/XULStore.js
rename : toolkit/mozapps/downloads/HelperAppDlg.jsm => toolkit/mozapps/downloads/nsHelperAppDlg.js
rename : toolkit/mozapps/extensions/amContentHandler.jsm => toolkit/mozapps/extensions/amContentHandler.js
rename : toolkit/mozapps/extensions/amInstallTrigger.jsm => toolkit/mozapps/extensions/amInstallTrigger.js
rename : toolkit/mozapps/extensions/amWebAPI.jsm => toolkit/mozapps/extensions/amWebAPI.js
rename : toolkit/mozapps/handling/ContentDispatchChooser.jsm => toolkit/mozapps/handling/nsContentDispatchChooser.js
rename : toolkit/mozapps/update/UpdateService.jsm => toolkit/mozapps/update/nsUpdateService.js
rename : toolkit/mozapps/update/UpdateServiceStub.jsm => toolkit/mozapps/update/nsUpdateServiceStub.js
rename : uriloader/exthandler/WebHandlerApp.jsm => uriloader/exthandler/nsWebHandlerApp.js
2019-02-14 11:50:23 +02:00
Kris Maglione 28bef88d35 Bug 1524687: Part 6 - Convert intl modules to static registration. r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D18401

--HG--
extra : rebase_source : 2b2e5c21bbfb2742c2dffa945269f3a233c1fd63
2019-01-24 15:58:31 -08: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
Christian Holler df998e7c06 Bug 1522066 - Disable unused ICU code during build. r=froydnj,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D17341

--HG--
extra : moz-landing-system : lando
2019-01-31 12:22:10 +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
Randell Jesup 76bd9e73cc Bug 1522150: Add a DeferredTimers queue ahead of the normal Idle EventQueue r=froyd
* * *
Bug 1522150: Rename NS_IdleDispatch* functions since they take queue identifiers r=froyd
2019-01-26 12:18:05 -05: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
Ehsan Akhgari e5e885ae31 Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
# ignore-this-changeset

--HG--
extra : amend_source : 7221c8d15a765df71171099468e7c7faa648f37c
extra : histedit_source : a0cce6015636202bff09e35a13f72e03257a7695
2019-01-18 10:16:18 +01: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
Razvan Maries 642dd2cc11 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-01-11 17:33:16 +02:00
Zibi Braniecki abcd557c95 Bug 1509583 - Migrate region/language names resources to Fluent. r=flod,mossop
Differential Revision: https://phabricator.services.mozilla.com/D12807

--HG--
extra : moz-landing-system : lando
2019-01-11 00:23:50 +00:00
Zibi Braniecki 9436ebe59a Bug 1509583 - Refactor mozIntl.getRegions to mozIntl.getAvailableLocaleDisplayNames. r=jfkthame,MattN
Differential Revision: https://phabricator.services.mozilla.com/D13188

--HG--
extra : moz-landing-system : lando
2019-01-11 00:25:52 +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
Henri Sivonen 2daf725240 Bug 1514664 - Implement TextEncoder.encodeInto(). r=emk. 2019-01-11 12:35:17 +02:00
André Bargull 886e5f624e Bug 1543642 - Part 6: Update Gecko to Unicode 12.1. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com//D27355

--HG--
extra : amend_source : 925c7624138efa2da54b03302996bd5d960a8ab0
2019-04-23 16:46:16 +02:00
André Bargull c44e1b600e Bug 1543642 - Part 3: Update tzdata in ICU data files to 2019a. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com//D27352

--HG--
extra : amend_source : 151ef3ac4ace3fe7b9dcdf987575230bc633c798
2019-04-23 16:45:45 +02:00
André Bargull 609b56f708 Bug 1543642 - Part 2: Update in-tree ICU to release 64.2. r=jwalden
--HG--
extra : amend_source : e10719d9ef0593b38840e044b87ada042d499e01
2019-04-23 07:45:23 -07:00
André Bargull a04914be31 Bug 1543642 - Part 1: Update ICU patches to apply cleanly. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com//D27351

--HG--
extra : amend_source : 19629b0c42a9ce6fa1a5712afb24bc52c4b5b2a8
2019-04-23 16:45:11 +02:00
André Bargull 12266f8fb5 Bug 1517222: Update tzdata in ICU data files to 2018i. r=Waldo 2019-01-04 04:46:00 -08:00
bitnotri 542ea80ecd Bug 1461737 - Move nsstring-rs to a better location, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D15743

--HG--
rename : servo/support/gecko/nsstring/Cargo.toml => xpcom/rust/nsstring/Cargo.toml
rename : servo/support/gecko/nsstring/src/conversions.rs => xpcom/rust/nsstring/src/conversions.rs
rename : servo/support/gecko/nsstring/src/lib.rs => xpcom/rust/nsstring/src/lib.rs
extra : moz-landing-system : lando
2019-01-04 22:03:56 +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
André Bargull 7f8b902c81 Bug 1513934 - Import ICU patch to fix possible time zone misdetection on Windows 7. r=Waldo
--HG--
extra : amend_source : 9b0b4e865d1195b7124f74ea096d904a31b0cd71
2018-12-14 05:48:46 -08:00
André Bargull 47daacbeee Bug 1504656 - Add patch to workaround ICU bug in RelativeDateTimeCacheData::getRelativeDateTimeUnitFormatter. r=jwalden
--HG--
extra : rebase_source : f70c72f9aa04e1adceb88ddfd8764c0de20f43a8
2018-12-02 07:28:08 -08: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
Jonathan Kew 4e5cb484ab Bug 1404666 - patch 2 - Accelerate DateTimeFormat::FormatUDateTime by caching ICU UDateFormat objects instead of creating them afresh every time. r=gandalf 2018-12-18 11:42:04 +00:00
Jonathan Kew 572203b489 Bug 1404666 - patch 1 - Accelerate OSPreferences::GetDateTimePattern by caching patterns found for particular style/locale combinations. r=gandalf 2018-12-18 11:42:00 +00:00
Mark Banner 8c00ef3f30 Bug 1512052 - Add more .eslintrc.js files for test directories. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D13746

--HG--
extra : moz-landing-system : lando
2018-12-11 13:15:08 +00:00
Ciure Andrei ed617be144 Backed out 2 changesets (bug 1512052)for causing build bustages CLOSED TREE
Backed out changeset 4773a3f46c22 (bug 1512052)
Backed out changeset 2f48c5afbe57 (bug 1512052)

--HG--
rename : browser/components/attribution/test/xpcshell/.eslintrc.js => browser/components/attribution/test/.eslintrc.js
2018-12-05 05:47:39 +02:00
Mark Banner 8256078237 Bug 1512052 - Add more .eslintrc.js files for test directories. r=mossop
Depends on D13745

Differential Revision: https://phabricator.services.mozilla.com/D13746

--HG--
extra : moz-landing-system : lando
2018-12-04 22:27:35 +00:00
Tooru Fujisawa 7983faeb5d Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00
Benjamin Bouvier a7f1d173a0 Bug 1511383: Update vim modelines after clang-format; r=sylvestre
- modify line wrap up to 80 chars; (tw=80)
- modify size of tab to 2 chars everywhere; (sts=2, sw=2)

--HG--
extra : rebase_source : 7eedce0311b340c9a5a1265dc42d3121cc0f32a0
extra : amend_source : 9cb4ffdd5005f5c4c14172390dd00b04b2066cd7
2018-11-30 16:39:55 +01: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
Gabriele Svelto 19e52bebd4 Bug 1510582 - Remove useless inclusions of Services.h r=erahm
Differential Revision: https://phabricator.services.mozilla.com/D13240

--HG--
extra : moz-landing-system : lando
2018-11-28 17:25:23 +00:00
Ehsan Akhgari ca162bee20 Bug 1508472 - Part 4: Fourth batch of comment fix-ups in preparation for the tree reformat r=sylvestre
This is a best effort attempt at ensuring that the adverse impact of
reformatting the entire tree over the comments would be minimal.  I've used a
combination of strategies including disabling of formatting, some manual
formatting and some changes to formatting to work around some clang-format
limitations.

Differential Revision: https://phabricator.services.mozilla.com/D13193

--HG--
extra : moz-landing-system : lando
2018-11-28 09:16:55 +00:00
Jonathan Kew ed09f75270 Bug 1509849 - Revert the followup from bug 1503157 now that an empty locale string is handled properly by the Locale constructor. r=gandalf 2018-11-26 19:25:28 +00:00
Jonathan Kew eaf1e90086 Bug 1509849 - Treat an empty string as non-wellformed when creating Locale, but don't throw an assertion. r=gandalf 2018-11-26 19:25:11 +00:00
Csoregi Natalia 234c6b75f2 Merge inbound to mozilla-central. a=merge 2018-11-26 18:17:37 +02:00
Jonathan Kew 7d7d23522d Bug 1503157 followup - don't attempt to create a Locale from an empty lang string. r=me to fix crashtest on a CLOSED TREE 2018-11-26 12:30:53 +00:00
Jonathan Kew cb635a58c8 Bug 1503157 - Make selection of font preferences respect a script subtag in the lang attribute, if present. r=m_kato 2018-11-26 11:31:37 +00:00
Valentin Gosu 66d5164c37 Bug 1502097 - (Part 2) Define IDN blocklist as ranges of characters [ {firstChar, lastChar}* ] r=jfkthame,dragana
* Changes the format of the blocklist from a list of characters to a list of
  character ranges. Binary search still works, and it is easier to include
  large ranges of characters in the blocklist.
* Moves logic for handling the blocklist to IDNBlocklistUtils.h/.cpp
* Changes NS_EscapeURL to take a function that determines if a character
  is blocked. This way the type of the array doesn't matter.

Differential Revision: https://phabricator.services.mozilla.com/D12210

--HG--
extra : moz-landing-system : lando
2018-11-24 12:04:34 +00:00
Valentin Gosu 5f1a383a19 Bug 1502097 - (Part 1) Move pref network.IDN.blacklist_chars to separate hardcoded file IDNCharacterBlocklist.inc r=jfkthame,dragana
* Moves the value of the pref and also the fallback definition in nsTextToSubURI.cpp to a separate file.
* The file has better formatting, so we may follow its history more easily. Each range of consecutive values is defined on a separate line.
* Renames `blacklist` to `blocklist` for pref and variable names (for this individual pref. network.IDN.whitelist.* needs to be handled in a separate bug)
* Changes nsIDNService::mIDNBlocklist from being an nsString to sorted nsTArray<char16> and uses mozilla::BinarySearch() to check for characters.

Differential Revision: https://phabricator.services.mozilla.com/D12209

--HG--
extra : moz-landing-system : lando
2018-11-23 22:40:29 +00:00
Jonathan Watt 8009877bd7 Bug 1509057. Disable <input type=number> support for grouping separators in user input. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D12554

--HG--
extra : rebase_source : 7ae34793e15f626df16bba225c2077c05135d568
extra : amend_source : 429cf996b8c66a17025a6eeb8b1c2fce6a58a614
2018-11-02 10:10:42 +00:00
Magnus Melin 5e1f20c4d2 Bug 1507907 - null check result of CFDateFormatterCreate. r=gandalf 2018-11-19 21:55:32 +02: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
André Bargull f985d9152e Bug 1502530 - Part 2: Update tzdata in ICU data files to 2018g. r=Waldo 2018-11-06 02:52:01 -08:00
André Bargull 0e18194d01 Bug 1502530 - Part 1: Update tzdata updater to use new location. r=Waldo 2018-11-06 02:48:56 -08:00
Narcis Beleuzu 9b3f73e696 Merge mozilla-central to inbound. CLOSED TREE 2018-11-05 23:54:03 +02:00
vinoth e14aa2974e Bug 1504605 - Add Prefs to xpcshell test files for allowing usage of eval. r=ckerschb
Reviewers: ckerschb

Reviewed By: ckerschb

Subscribers: ckerschb

Bug #: 1504605

Differential Revision: https://phabricator.services.mozilla.com/D10850

--HG--
extra : rebase_source : 9abb395224bdfa7795516295babfd847ea2553f4
2018-11-05 16:41:45 +02:00
Ciure Andrei 46f758b8b5 Backed out changeset cb84a3ed7bdd (bug 1504557) for nsErrorService leakcheck failures CLOSED TREE 2018-11-05 05:17:40 +02:00
Ehsan Akhgari e95c3cca7d Bug 1504557 - Remove the XPCOM registration for nsErrorService r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D10848

--HG--
extra : moz-landing-system : lando
2018-11-05 00:43:41 +00:00
André Bargull 148e9c75e6 Bug 1499026 - Part 2: Update in-tree ICU to release 63.1. rs=Waldo
--HG--
rename : intl/icu/source/common/ulistformatter.cpp => intl/icu/source/i18n/ulistformatter.cpp
2018-11-01 06:32:25 -07:00
André Bargull 7820c86808 Bug 1499026 - Part 1: Update patches for ICU 63. r=Waldo 2018-11-01 06:31:35 -07:00
Ehsan Akhgari 7e258df307 Bug 1504557 - Remove the XPCOM registration for nsErrorService; r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D10848
2018-11-05 09:44:58 -05: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
Jeff Gilbert f2e0b47bd4 Bug 1499844 - Fix win64 clang-cl -Wformat warnings. r=ted
Differential Revision: https://phabricator.services.mozilla.com/D9027

--HG--
extra : moz-landing-system : lando
2018-10-23 14:18:15 +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
Cameron McCormack 4f45ef2141 Bug 1498755 - Part 3: Merge AssertIsMainThreadOrServo{FontMetrics,LangFontPrefsCache}Locked r=emilio
Depends on D8644

Differential Revision: https://phabricator.services.mozilla.com/D8645

--HG--
extra : moz-landing-system : lando
2018-10-14 00:05:50 +00:00
Sylvestre Ledru dd5741407b Bug 1498586 - Add clang-format off to avoid the reformatting of the data structures r=Ehsan
Too hard/impossible for the tool to format correctly these structs

Differential Revision: https://phabricator.services.mozilla.com/D8569

--HG--
extra : moz-landing-system : lando
2018-10-12 20:48:24 +00:00
Ursula Sarracini f7ffd78b62 Bug 1462415 - Delete onboarding system add-on r=Standard8,k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D7772

--HG--
extra : moz-landing-system : lando
2018-10-10 14:48:56 +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
Sylvestre Ledru d199598908 Bug 1496026 - Fix some trivial typos r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D7584

--HG--
extra : moz-landing-system : lando
2018-10-03 13:39:07 +00:00
Gurzau Raul 3295ecd3f1 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-02 19:07:23 +03:00
Henri Sivonen b8545f2cf8 Bug 1495067 - Make HasRTLChars() consider Hebrew presentation forms as RTL (again) and not consider U+FEFF as RTL (again). r=jfkthame
* Update encoding_rs to 0.8.8.
 * Change U+FEFD and U+FEFE to RTL in IS_RTL_PRESENTATION_FORM to make the
   Rust and C++ code agree on what's RTL.

MozReview-Commit-ID: CuK6fN4pojG

Differential Revision: https://phabricator.services.mozilla.com/D7285

--HG--
extra : moz-landing-system : lando
2018-10-02 14:24:15 +00: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 c2634d4438 Bug 1493220 - Migrate mozIOSPreferences to use Array<> interface. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D6524

--HG--
extra : moz-landing-system : lando
2018-09-22 07:49:05 +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
Zibi Braniecki 8fdbb6d26b Bug 1491394 - Migrate mozILocaleService to use Array<> interface. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D5924

--HG--
extra : moz-landing-system : lando
2018-09-21 15:30:24 +00:00
Francesco Lodolo (:flod) 701def8dcf Bug 1492118 - Correct reference to intl.regional_prefs.use_os_locales in locale documentation r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D6142

--HG--
extra : moz-landing-system : lando
2018-09-18 16:06:27 +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
Zibi Braniecki 7775d0c9c9 Bug 1491654 - Add lastFallbackLocale at the end of AppLocales. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D5985

--HG--
extra : moz-landing-system : lando
2018-09-18 08:44:47 +00:00
Zibi Braniecki 3a3372304e Bug 1491209 - Do not inject last fallback locale into requested locales. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D5839

--HG--
extra : moz-landing-system : lando
2018-09-14 10:15:40 +00:00
Brindusan Cristian 79316fbec0 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-09-14 12:56:57 +03:00
Jorg K 73b02cccc3 Bug 1490212 - Follow-up: Remove NS_{JA,RU,UK}*DETECTOR_CID defines. r=hsivonen 2018-09-14 01:07:00 +03: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
Jorg K 2ed840c40b Bug 1490212 - Remove the *XPCOMStringDetector classes. r=hsivonen 2018-09-12 10:11:00 +03: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
Ehsan Akhgari 38e3c284c9 Bug 1488659 - Part 2: Remove some dead code and mark the remaining detector classes as final; r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D5393
2018-09-10 07:59:42 -04:00
Ehsan Akhgari 15fb2860c4 Bug 1488659 - Part 1: Remove the XPCOM registrations for character detector classes; r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D5392
2018-09-10 07:59:42 -04:00
Sylvestre Ledru aa37bde79b Bug 1489454 - Remove all trailing whitespaces (again) r=Ehsan
This also includes moving some files to the regular format.

Differential Revision: https://phabricator.services.mozilla.com/D5249

--HG--
extra : moz-landing-system : lando
2018-09-07 14:47:51 +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
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
Ehsan Akhgari e85d8f7ebd Bug 1489018 - Remove the XPCOM component registration for nsCollation; r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D5110
2018-09-06 10:07:12 -04: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
Ehsan Akhgari 663b908ddf Bug 1488115 - Part 4: Remove nsUTF8ConverterService; r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D4875
2018-09-03 15:21:55 -04:00
Ehsan Akhgari bdd980ba91 Bug 1488115 - Part 3: Move nsIUTF8ConverterService::ConvertStringToUTF8() to nsMIMEHeaderParamImpl.cpp since that is the only consumer site; r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D4874
2018-09-03 14:58:50 -04:00
Ehsan Akhgari 1a28ba6ef6 Bug 1488115 - Part 1: Remove nsIUTF8ConverterService::ConvertURISpecToUTF8() since it is unused; r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D4872
2018-09-03 14:58:50 -04:00
Henri Sivonen cbab098175 Bug 1485343 - Avoid locale-dependent C standard library functions in FTP code. r=valentin
MozReview-Commit-ID: CXcluPKLwIv

Differential Revision: https://phabricator.services.mozilla.com/D4315

--HG--
extra : moz-landing-system : lando
2018-08-27 09:11:30 +00:00
Tiberius Oros 2ee9341d01 Merge inbound to mozilla-central. a=merge 2018-08-24 12:43:45 +03:00
Kris Maglione 2dee0aae3c Bug 1484496: Part 4b - Add intrinsic type information to most nsSimpleEnumerators. r=froydnj
This allows JS callers to automatically get the correct types during
interation, without having to explicitly specify them.

Differential Revision: https://phabricator.services.mozilla.com/D3728

--HG--
extra : rebase_source : b708f382d8ea571d199c669bfed5b5a7ca9ffac4
extra : histedit_source : 7df6feb82088c8a5ca45dc28fe4d2b852c177fee
2018-08-18 21:06:32 -07:00
Kris Maglione 65c28aa0ad Bug 1484496: Part 2 - Add common base class for all nsISimpleEnumerator implementations. r=froydnj
In order to allow JS callers to use nsISimpleEnumerator instances with the JS
iteration protocol, we'll need to additional methods to every instance. Since
we currently have a large number of unrelated implementations, it would be
best if they could share the same implementation for the JS portion of the
protocol.

This patch adds a stub nsSimpleEnumerator base class, and updates all existing
implementations to inherit from it. A follow-up will add a new base interface
to this class, and implement the additional functionality required for JS
iteration.

Differential Revision: https://phabricator.services.mozilla.com/D3725

--HG--
extra : rebase_source : ad66d7b266856d5a750c772e4710679fab9434b1
extra : histedit_source : a83ebffbf2f0b191ba7de9007f73def6b9a955b8
2018-08-18 14:22:47 -07:00
Zibi Braniecki e689296a8d Bug 1465042 - Rename Locale::IsValid to ::IsWellFormed. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D4025

--HG--
extra : moz-landing-system : lando
2018-08-23 18:21:38 +00:00
Henri Sivonen cca22e608a Bug 1473340 - Use bulk_write() in encoding_glue. r=nika
MozReview-Commit-ID: 7CpUiZFBpEn

Differential Revision: https://phabricator.services.mozilla.com/D3407

--HG--
extra : moz-landing-system : lando
2018-08-20 19:55:10 +00:00
André Bargull 026003522e Bug 1346211 - Part 5: Only remove 'exemplar city' names from ICU time zone names data files. r=Waldo
--HG--
extra : rebase_source : b8d72bac193198875fd8df965849e35c7b04e699
2018-07-24 03:07:14 -07:00
Henri Sivonen 3a52652295 Bug 1349528 - Use encoding_rs for normalizing USVString. r=smaug
MozReview-Commit-ID: 9uG6j8UdfKR

Differential Revision: https://phabricator.services.mozilla.com/D3413

--HG--
extra : moz-landing-system : lando
2018-08-16 10:15:07 +00:00
Thomas Wisniewski 78af5fd2ae Bug 1454590 - Align overrideMIMEType with the XMLHttpRequest Standard. r=hsivonen
MozReview-Commit-ID: 5k34F96jRPX

--HG--
extra : rebase_source : 95944acc3123406dbf490f2fd1837b8decaa3e0b
2018-08-13 16:12:10 -04:00
Henri Sivonen 3edc601325 Bug 1402247 - Use encoding_rs for XPCOM string encoding conversions. r=Nika,erahm,froydnj.
Correctness improvements:

 * UTF errors are handled safely per spec instead of dangerously truncating
   strings.

 * There are fewer converter implementations.

Performance improvements:

 * The old code did exact buffer length math, which meant doing UTF math twice
   on each input string (once for length calculation and another time for
   conversion). Exact length math is more complicated when handling errors
   properly, which the old code didn't do. The new code does UTF math on the
   string content only once (when converting) but risks allocating more than
   once. There are heuristics in place to lower the probability of
   reallocation in cases where the double math avoidance isn't enough of a
   saving to absorb an allocation and memcpy.

 * Previously, in UTF-16 <-> UTF-8 conversions, an ASCII prefix was optimized
   but a single non-ASCII code point pessimized the rest of the string. The
   new code tries to get back on the fast ASCII path.

 * UTF-16 to Latin1 conversion guarantees less about handling of out-of-range
   input to eliminate an operation from the inner loop on x86/x86_64.

 * When assigning to a pre-existing string, the new code tries to reuse the
   old buffer instead of first releasing the old buffer and then allocating a
   new one.

 * When reallocating from the new code, the memcpy covers only the data that
   is part of the logical length of the old string instead of memcpying the
   whole capacity. (For old callers old excess memcpy behavior is preserved
   due to bogus callers. See bug 1472113.)

 * UTF-8 strings in XPConnect that are in the Latin1 range are passed to
   SpiderMonkey as Latin1.

New features:

 * Conversion between UTF-8 and Latin1 is added in order to enable faster
   future interop between Rust code (or otherwise UTF-8-using code) and text
   node and SpiderMonkey code that uses Latin1.

MozReview-Commit-ID: JaJuExfILM9
2018-08-14 14:43:42 +03:00
Paul Bone a769b94ed4 Bug 1482002 - add nsCaseInsensitiveStringComparator default constructor r=bz
--HG--
extra : rebase_source : 33354a2466e0695350669d309713694ff5b7b6ca
extra : source : 45c85611bd318a4b788ae9884a78af2ebe99e30e
2018-08-09 14:37:30 +10: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
Zibi Braniecki a0c2cfd168 Bug 1479606 - Sync BCP47 language tags between processes, not lang tags. r=jfkthame
Sync BCP47 language tags between processes, not lang tags.

Differential Revision: https://phabricator.services.mozilla.com/D2579

--HG--
extra : moz-landing-system : lando
2018-07-31 21:42:37 +00: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
Jonathan Kew 98cb122caa Bug 1426827 - Treat Fitzpatrick skin-tone modifiers as cluster extenders when building textruns. r=m_kato 2018-07-25 09:38:10 +01:00
Jonathan Kew c5cd6a1621 Bug 1477010 - Treat plane-14 tag characters as cluster extenders when building textruns, so that emoji flag sequences behave as single units. r=m_kato 2018-07-25 09:38:07 +01:00
Kris Maglione 43de9e89bf Bug 1473135: Stop using ReentrantMonitor for string bundle mutexes. r=gandalf
MozReview-Commit-ID: HUfb47Eei7P

--HG--
extra : rebase_source : a6edf2f1163b799e9c62eb510d5e52e7a9d014b8
2018-07-20 17:20:00 -07:00
Margareta Eliza Balazs 9de29c1f5a Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-18 12:40:51 +03:00
Xidorn Quan 158c6391b2 Bug 1476485 - Remove pragma pack from nsUnicodeScriptCodes.h. r=jfkthame
MozReview-Commit-ID: LW64U7ccjVa

--HG--
extra : rebase_source : 0c95807a0a86be417d331c9f9b0a61ff2b04db23
2018-07-18 14:05:05 +10:00
Sylvestre Ledru 91907444b3 Bug 1468273 - Fix flake8/pep8 in intl/ r=froydnj
MozReview-Commit-ID: IDqjd7nBRS

--HG--
extra : rebase_source : 1679528701e0cab59fb827224f19eced9c8fda00
2018-06-10 14:25:47 +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
André Bargull 7f4e8b545f Bug 1466471 - Part 6: Import patch to fix case conversion bug. r=Waldo 2018-07-05 07:14:07 -07:00
André Bargull 19d00748a5 Bug 1466471 - Part 5: Regenerate Unicode files after ICU update. r=jfkthame 2018-06-22 05:02:03 -07:00
André Bargull 5f0b43c2d6 Bug 1466471 - Part 2: Update in-tree ICU to release 62.1. rs=Waldo 2018-06-22 04:40:26 -07:00
André Bargull e41342954e Bug 1466471 - Part 1: Update patches for ICU 62. r=Waldo 2018-06-22 04:39:39 -07:00
Kris Maglione 55220193dd Bug 1470771: Follow-up: Fix null deref in Windows GPU process. r=me 2018-06-30 16:37:51 -07:00