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

4665 Коммитов

Автор SHA1 Сообщение Дата
André Bargull 958926a675 Bug 1433303 - Part 2: Add Intl.Locale minimize() and maximize() functions. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D38875

--HG--
extra : moz-landing-system : lando
2019-07-29 09:26:55 +00:00
Nicholas Nethercote 18fae65f38 Bug 1563139 - Remove StaticPrefs.h. r=glandium
This requires replacing inclusions of it with inclusions of more specific prefs
files.

The exception is that StaticPrefsAll.h, which is equivalent to StaticPrefs.h,
and is used in `Codegen.py` because doing something smarter is tricky and
suitable for a follow-up. As a result, any change to StaticPrefList.yaml will
still trigger recompilation of all the generated DOM bindings files, but that's
still a big improvement over trigger recompilation of every file that uses
static prefs.

Most of the changes in this commit are very boring. The only changes that are
not boring are modules/libpref/*, Codegen.py, and ServoBindings.toml.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 01:10:23 +00:00
André Bargull 677e918830 Bug 1566410 - Part 6: Add units to ICU data file. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D38334

--HG--
extra : moz-landing-system : lando
2019-07-24 10:31:43 +00:00
Jonathan Kew 23aba052e2 Bug 1567437 - Add memory reporter for hyphenation data. r=njn
Differential Revision: https://phabricator.services.mozilla.com/D38721

--HG--
extra : moz-landing-system : lando
2019-07-23 09:11:00 +00:00
Boris Zbarsky 0f70d08ec8 Bug 1566595. Stop using [array] in nsIBinaryOutputStream. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D38387

--HG--
extra : moz-landing-system : lando
2019-07-22 20:27:39 +00:00
Ciure Andrei 98278afa46 Backed out changeset a858e4411532 (bug 1566595) for causing Windows MinGW builds bustages CLOSED TREE 2019-07-22 21:39:08 +03:00
Boris Zbarsky 9c74919340 Bug 1566595. Stop using [array] in nsIBinaryOutputStream. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D38387

--HG--
extra : moz-landing-system : lando
2019-07-22 14:52:04 +00:00
Francesco Lodolo (:flod) 6f73f2be58 Bug 1563673 - Add Fluent guidelines for reviewer to Firefox documentation r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D37038

--HG--
extra : moz-landing-system : lando
2019-07-16 14:20:34 +00:00
Sylvestre Ledru e77bfc655d Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-07-16 07:33:44 +00:00
André Bargull d8ea37c7c3 Bug 1564330: Update tzdata in ICU data files to 2019b. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D37541

--HG--
extra : moz-landing-system : lando
2019-07-10 15:50:28 +00:00
Jonathan Kew b4f5f05fb9 Bug 1421938 - Implement a mozilla::intl::QuotesForLang utility to return localized quotation marks for a given locale, based on CLDR data. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D36428

--HG--
extra : moz-landing-system : lando
2019-07-08 23:56:12 +00:00
shindli f5dea34efe Backed out 5 changesets (bug 1421938) for bustages in /builds/worker/workspace/build/src/layout/base/nsQuoteList.cpp CLOSED TREE
Backed out changeset 4e25a6db1f5b (bug 1421938)
Backed out changeset 11a8f9bc0418 (bug 1421938)
Backed out changeset f27980997dc5 (bug 1421938)
Backed out changeset adb2e2714c14 (bug 1421938)
Backed out changeset 33e38a62b400 (bug 1421938)
2019-07-09 02:52:38 +03:00
Jonathan Kew 531c3f1fe0 Bug 1421938 - Implement a mozilla::intl::QuotesForLang utility to return localized quotation marks for a given locale, based on CLDR data. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D36428

--HG--
extra : moz-landing-system : lando
2019-07-08 21:47:05 +00:00
shindli 2c12986a7f Backed out 5 changesets (bug 1421938) for causing a bustage in /builds/worker/workspace/build/src/intl/locale/cldr-quotes.inc:21:448 CLOSED TREE
Backed out changeset 3958f2af0e34 (bug 1421938)
Backed out changeset 89a0866d1aa0 (bug 1421938)
Backed out changeset f150702af11f (bug 1421938)
Backed out changeset b8ebd4d241e0 (bug 1421938)
Backed out changeset 1d38eb5eff6e (bug 1421938)
2019-07-08 23:09:34 +03:00
Jonathan Kew 54986d1806 Bug 1421938 - Implement a mozilla::intl::QuotesForLang utility to return localized quotation marks for a given locale, based on CLDR data. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D36428

--HG--
extra : moz-landing-system : lando
2019-07-08 12:13:28 +00:00
Sebastian Hengst 1179ccba33 Bug 1562642 - Part 2 - Add missing MPL2 headers: Remove undesired ~. a=bustage-fix 2019-07-08 12:02:35 +02:00
Sylvestre Ledru fc2eb5393c Bug 1562642 - Part 2 - Add missing MPL2 headers r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D37146

--HG--
extra : moz-landing-system : lando
2019-07-08 09:27:47 +00:00
Chris AtLee 8f13901785 Bug 1559975: Fix python2/3 compat in intl/ r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35342

--HG--
extra : moz-landing-system : lando
2019-07-05 14:28:18 +00:00
Zibi Braniecki b0ba25f8b9 Bug 1558602 - Allow DocumentL10n to use LocalizationSync. r=smaug,Pike
Differential Revision: https://phabricator.services.mozilla.com/D34584

--HG--
extra : moz-landing-system : lando
2019-07-01 17:56:57 +00:00
Zibi Braniecki 738b080795 Bug 1560342 - Add basic tests for Localization. r=stas
Differential Revision: https://phabricator.services.mozilla.com/D35587

--HG--
extra : moz-landing-system : lando
2019-06-26 17:04:36 +00:00
Zibi Braniecki 224a1bb5c4 Bug 1560342 - Replace generic `object` argument with a specific L10nArgs object for passing l10n arguments. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D35586

--HG--
extra : moz-landing-system : lando
2019-06-25 19:43:50 +00:00
Zibi Braniecki ae32fa44eb Bug 1560342 - Factor Localization out of DOMLocalization. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D35445

--HG--
extra : moz-landing-system : lando
2019-06-25 19:39:53 +00:00
Sylvestre Ledru 7f0da55b48 Bug 1560764 - intl/lwbrk/rulebrk.c: convert to utf-8 to mitigate a moz-phab issue r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D35621

--HG--
extra : moz-landing-system : lando
2019-06-26 04:21:10 +00:00
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