Boris Zbarsky
9de72a3ac6
Bug 1557793 part 2. Stop using [array] in nsIStringBundle. r=Pike
...
Differential Revision: https://phabricator.services.mozilla.com/D34196
--HG--
extra : moz-landing-system : lando
2019-06-11 15:51:51 +00:00
Jonathan Kew
d38df7fe45
Bug 1552121 - Suppress auto-hyphenation of words with any internal capital letters. r=mats
...
Differential Revision: https://phabricator.services.mozilla.com/D31408
--HG--
extra : moz-landing-system : lando
2019-06-10 11:51:30 +00:00
Jonathan Kew
3b316f9847
Bug 1557291 - Check the hyphenate-capitalized pref after resolving aliases/fuzzy matches. r=mats
...
Differential Revision: https://phabricator.services.mozilla.com/D33936
--HG--
extra : moz-landing-system : lando
2019-06-10 11:51:28 +00:00
Mihai Alexandru Michis
6c1bc67848
Backed out 3 changesets (bug 1557291, bug 1552121) for causing reftest failures in hyphenation-caps-1.html
...
Backed out changeset 3dd86c6f8468 (bug 1552121)
Backed out changeset c333e3fc63ca (bug 1552121)
Backed out changeset 0b09ba0356f8 (bug 1557291)
2019-06-10 14:47:58 +03:00
Jonathan Kew
1dd81b8e87
Bug 1552121 - Suppress auto-hyphenation of words with any internal capital letters. r=mats
...
Differential Revision: https://phabricator.services.mozilla.com/D31408
--HG--
extra : moz-landing-system : lando
2019-06-10 09:39:16 +00:00
Jonathan Kew
33ee21db75
Bug 1557291 - Check the hyphenate-capitalized pref after resolving aliases/fuzzy matches. r=mats
...
Differential Revision: https://phabricator.services.mozilla.com/D33936
--HG--
extra : moz-landing-system : lando
2019-06-10 09:39:16 +00:00
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