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

424 Коммитов

Автор SHA1 Сообщение Дата
Francesco Lodolo (:flod) 557468ff99 Bug 1735338 - Fix obsolete references (people, repos) in l10n docs, r=eemeli
Differential Revision: https://phabricator.services.mozilla.com/D128209
2021-10-22 09:58:04 +00:00
Dan Minor f62d42b1d9 Bug 1642415 - Add metasource to L10nFileSourceDescriptor; r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D125242
2021-09-22 18:16:08 +00:00
Dan Minor 451b4ef52f Bug 1642415 - Add unit tests for metasources; r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D125241
2021-09-22 18:16:08 +00:00
Dan Minor 2228681a5b Bug 1642415 - Update existing tests to pass metasource into createMock; r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D125240
2021-09-22 18:16:07 +00:00
Dan Minor 7e6caf3eeb Bug 1642415 - Use metasource in FileSource; r=platform-i18n-reviewers,extension-reviewers,gregtatum,zombie
Differential Revision: https://phabricator.services.mozilla.com/D125239
2021-09-22 18:16:07 +00:00
Dan Minor c5d2261220 Bug 1642415 - Remove unused L10nFileSource::Create method; r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D125238
2021-09-22 18:16:06 +00:00
Dan Minor 6e6201d36c Bug 1642415 - Use metasource in l10nregistry-ffi; r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D125237
2021-09-22 18:16:06 +00:00
Dan Minor 89a5ba9d69 Bug 1642415 - Update to l10nregistry to 0.3.0; r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D125235
2021-09-22 18:16:05 +00:00
Greg Tatum 129339b6b8 Bug 1719696 - Create a components bag abstraction for mozilla::intl::DateTimeFormat; r=anba,platform-i18n-reviewers,dminor
This patch will probably not compile on its own, but requires the SpiderMonkey
side as well. It aims at building a components bag interface that can be
then used in SpiderMonkey to back the ECMA 402 API.

Differential Revision: https://phabricator.services.mozilla.com/D123822
2021-09-13 20:52:59 +00:00
Dan Minor d8d32990af Bug 1719462 - Use ICUError in NumberFormat; r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D121410
2021-08-30 19:50:19 +00:00
Andi-Bogdan Postelnicu 2fc4f70e9b Bug 1725145 - Preparation for the hybrid build env. r=necko-reviewers,firefox-build-system-reviewers,valentin,glandium
Automatically generated path that adds flag `REQUIRES_UNIFIED_BUILD = True` to `moz.build`
when the module governed by the build config file is not buildable outside on the unified environment.

This needs to be done in order to have a hybrid build system that adds the possibility of combing
unified build components with ones that are built outside of the unified eco system.

Differential Revision: https://phabricator.services.mozilla.com/D122345
2021-08-25 10:46:17 +00:00
André Bargull e1b120bd3d Bug 1648137 - Part 7: Add support for new useGrouping value options to intl::NumberFormat. r=platform-i18n-reviewers,dminor
Change `mUseGrouping` to `mGrouping` and use an `enum` to represent the two
new additional modes "Always" and "Min2".

Differential Revision: https://phabricator.services.mozilla.com/D119747
2021-08-24 09:34:48 +00:00
Zibi Braniecki 3fa745e118 Bug 1726535 - Restore the ja-JP-macos -> ja-JP-mac L10nRegistry path overload. r=platform-i18n-reviewers,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D123133
2021-08-19 17:49:11 +00:00
Emilio Cobos Álvarez d55d09f108 Bug 1724889 - Clean up argument conversions to avoid copies and double-work. r=zbraniecki
At least this code seems to be doing twice the work in the common case:

  https://searchfox.org/mozilla-central/rev/0fec57c05d3996cc00c55a66f20dd5793a9bfb5d/intl/l10n/Localization.cpp#439,447

Change the code to follow the more common "arrays are out-params" style,
and use in-place construction and early-returning when possible.

Depends on D122203

Differential Revision: https://phabricator.services.mozilla.com/D122204
2021-08-11 11:51:44 +00:00
Emilio Cobos Álvarez c225a14ce9 Bug 1724889 - Add missing includes and clean-up Localization.cpp. r=zbraniecki
Non-unified builds would choke on this file due to the missing includes.

Differential Revision: https://phabricator.services.mozilla.com/D122203
2021-08-11 11:51:44 +00:00
Zibi Braniecki 04555c0e1f Bug 1723886 - Remove mozILocalization. r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D121694
2021-08-04 15:40:29 +00:00
Zibi Braniecki 0aaa1c42b8 Bug 1723187 - Update l10nregistry-rs to handle sync-during-async overload, part2. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D121643
2021-08-03 23:44:50 +00:00
Zibi Braniecki 31f47cc980 Bug 1613705 - [localization] part10: Remove Localization.jsm. r=platform-i18n-reviewers,dminor
Depends on D113692

Differential Revision: https://phabricator.services.mozilla.com/D105586
2021-08-03 16:25:14 +00:00
Zibi Braniecki 92183f248d Bug 1613705 - [localization] part9: Update DOMLocalization to match Localization constructor. r=nika,emilio
Depends on D113691

Differential Revision: https://phabricator.services.mozilla.com/D113692
2021-08-03 16:25:13 +00:00
Zibi Braniecki 9e80b809ed Bug 1613705 - [localization] part8: Refactor SetIsSync to be SetAsync. r=platform-i18n-reviewers,dminor,emilio
Depends on D113571

Differential Revision: https://phabricator.services.mozilla.com/D113691
2021-08-03 16:25:13 +00:00
Zibi Braniecki dc735b20ee Bug 1613705 - [localization] part7: Re-enable custom locales argument to Localization. r=nika,emilio
Depends on D113570

Differential Revision: https://phabricator.services.mozilla.com/D113571
2021-08-03 16:25:12 +00:00
Zibi Braniecki 589182cc2e Bug 1613705 - [localization] part6: Fine tune error reporting to only report to automation and nightly. r=platform-i18n-reviewers,dminor
Depends on D113248

Differential Revision: https://phabricator.services.mozilla.com/D113570
2021-08-03 16:25:12 +00:00
Zibi Braniecki 2537b79bfa Bug 1613705 - [localization] part5: Refactor tests to use new API model. r=platform-i18n-reviewers,dminor
Depends on D113247

Differential Revision: https://phabricator.services.mozilla.com/D113248
2021-08-03 16:25:12 +00:00
Zibi Braniecki dec19059c5 Bug 1613705 - [localization] part4: Enable observer on Localization. r=emilio,nika
Depends on D111178

Differential Revision: https://phabricator.services.mozilla.com/D113247
2021-08-03 16:25:11 +00:00
Zibi Braniecki 879ddf9634 Bug 1613705 - [localization] part3: Introduce passing Registry to Localization to replace BundleGenerator argument. r=emilio,nika
Depends on D104789

Differential Revision: https://phabricator.services.mozilla.com/D111178
2021-08-03 16:25:11 +00:00
Zibi Braniecki 9f3aa2521f Bug 1613705 - [localization] part2: Switch Localization class to use localization-ffi. r=emilio,nika
Depends on D104788

Differential Revision: https://phabricator.services.mozilla.com/D104789
2021-08-03 16:25:10 +00:00
Zibi Braniecki 05db766a87 Bug 1613705 - [localization] part1: Introduce localization-ffi bindings for fluent-fallback. r=emilio,nika
Depends on D117349

Differential Revision: https://phabricator.services.mozilla.com/D104788
2021-08-03 16:25:10 +00:00
Butkovits Atila 949da905e7 Backed out 19 changesets (bug 1613705) for causing build bustages complaining about Document.cpp. CLOSED TREE
Backed out changeset 2ee1091dd20d (bug 1613705)
Backed out changeset d377afc0b09f (bug 1613705)
Backed out changeset de9d4378f0ac (bug 1613705)
Backed out changeset 9843372abb6e (bug 1613705)
Backed out changeset 5fc5918e5905 (bug 1613705)
Backed out changeset a7aeae7afd49 (bug 1613705)
Backed out changeset 5d61617a5402 (bug 1613705)
Backed out changeset 85bf98573899 (bug 1613705)
Backed out changeset 175af8a1b8c2 (bug 1613705)
Backed out changeset 93fcb23d7898 (bug 1613705)
Backed out changeset 595529cd906f (bug 1613705)
Backed out changeset 9f3e2963d925 (bug 1613705)
Backed out changeset 442289058933 (bug 1613705)
Backed out changeset fc3b9acb0e81 (bug 1613705)
Backed out changeset 408983c64f7f (bug 1613705)
Backed out changeset 08b637fc3fcd (bug 1613705)
Backed out changeset 6ef0aafd2db0 (bug 1613705)
Backed out changeset d88b294e0a5e (bug 1613705)
Backed out changeset e6bebff87544 (bug 1613705)
2021-08-03 12:36:01 +03:00
Zibi Braniecki 3eb02c3644 Bug 1613705 - [localization] part10: Remove Localization.jsm. r=platform-i18n-reviewers,dminor
Depends on D113692

Differential Revision: https://phabricator.services.mozilla.com/D105586
2021-08-03 05:52:03 +00:00
Zibi Braniecki 36d143e8ba Bug 1613705 - [localization] part9: Update DOMLocalization to match Localization constructor. r=nika,emilio
Depends on D113691

Differential Revision: https://phabricator.services.mozilla.com/D113692
2021-08-03 05:52:03 +00:00
Zibi Braniecki de1ee6dbf1 Bug 1613705 - [localization] part8: Refactor SetIsSync to be SetAsync. r=platform-i18n-reviewers,dminor,emilio
Depends on D113571

Differential Revision: https://phabricator.services.mozilla.com/D113691
2021-08-03 05:52:03 +00:00
Zibi Braniecki d22418d41e Bug 1613705 - [localization] part7: Re-enable custom locales argument to Localization. r=nika,emilio
Depends on D113570

Differential Revision: https://phabricator.services.mozilla.com/D113571
2021-08-03 05:52:02 +00:00
Zibi Braniecki f8df4aa5e3 Bug 1613705 - [localization] part6: Fine tune error reporting to only report to automation and nightly. r=platform-i18n-reviewers,dminor
Depends on D113248

Differential Revision: https://phabricator.services.mozilla.com/D113570
2021-08-03 05:52:02 +00:00
Zibi Braniecki 7336dd1851 Bug 1613705 - [localization] part5: Refactor tests to use new API model. r=platform-i18n-reviewers,dminor
Depends on D113247

Differential Revision: https://phabricator.services.mozilla.com/D113248
2021-08-03 05:52:01 +00:00
Zibi Braniecki 67ae94fecc Bug 1613705 - [localization] part4: Enable observer on Localization. r=emilio,nika
Depends on D111178

Differential Revision: https://phabricator.services.mozilla.com/D113247
2021-08-03 05:52:01 +00:00
Zibi Braniecki 65b2ecfd3a Bug 1613705 - [localization] part3: Introduce passing Registry to Localization to replace BundleGenerator argument. r=emilio,nika
Depends on D104789

Differential Revision: https://phabricator.services.mozilla.com/D111178
2021-08-03 05:52:01 +00:00
Zibi Braniecki 294c93befa Bug 1613705 - [localization] part2: Switch Localization class to use localization-ffi. r=emilio,nika
Depends on D104788

Differential Revision: https://phabricator.services.mozilla.com/D104789
2021-08-03 05:52:00 +00:00
Zibi Braniecki e9823295ec Bug 1613705 - [localization] part1: Introduce localization-ffi bindings for fluent-fallback. r=emilio,nika
Depends on D117349

Differential Revision: https://phabricator.services.mozilla.com/D104788
2021-08-03 05:52:00 +00:00
Zibi Braniecki 63410ff0f6 Bug 1723187 - Update l10nregistry-rs to handle sync-during-async overload. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D121543
2021-08-02 17:42:20 +00:00
Matjaz Horvat ee30b4c3f1 Bug 1711028: Update the "accented" pseudo l10n strategy with markers. r=dminor,flod
The updated strategy wraps parts of strings in square brackets, and hence
"marks" the beginning and the end of the part of the string.

Differential Revision: https://phabricator.services.mozilla.com/D121078
2021-08-02 16:44:25 +00:00
Cosmin Sabou 3564c330b3 Backed out 11 changesets (bug 1613705) for several test failures. CLOSED TREE
Backed out changeset 4e690882b6af (bug 1613705)
Backed out changeset 302e7a75affc (bug 1613705)
Backed out changeset 626b40e3aad1 (bug 1613705)
Backed out changeset 1cbab987bb7d (bug 1613705)
Backed out changeset 2213917abb30 (bug 1613705)
Backed out changeset c89aa0375690 (bug 1613705)
Backed out changeset 6466027c5767 (bug 1613705)
Backed out changeset 6c188c4b38bf (bug 1613705)
Backed out changeset 8d0c087b9896 (bug 1613705)
Backed out changeset 3404fd6725f1 (bug 1613705)
Backed out changeset c9cfbba15d90 (bug 1613705)
2021-08-02 14:04:29 +03:00
Zibi Braniecki c1bb7ded3f Bug 1613705 - [localization] part10: Remove Localization.jsm. r=platform-i18n-reviewers,dminor
Depends on D113692

Differential Revision: https://phabricator.services.mozilla.com/D105586
2021-08-02 09:54:11 +00:00
Zibi Braniecki 458a2494df Bug 1613705 - [localization] part9: Update DOMLocalization to match Localization constructor. r=nika,emilio
Depends on D113691

Differential Revision: https://phabricator.services.mozilla.com/D113692
2021-08-02 09:54:10 +00:00
Zibi Braniecki c5240d354f Bug 1613705 - [localization] part8: Refactor SetIsSync to be SetAsync. r=platform-i18n-reviewers,dminor,emilio
Depends on D113571

Differential Revision: https://phabricator.services.mozilla.com/D113691
2021-08-02 09:54:10 +00:00
Zibi Braniecki 791fb0ec84 Bug 1613705 - [localization] part7: Re-enable custom locales argument to Localization. r=nika,emilio
Depends on D113570

Differential Revision: https://phabricator.services.mozilla.com/D113571
2021-08-02 09:54:10 +00:00
Zibi Braniecki e27c29555a Bug 1613705 - [localization] part6: Fine tune error reporting to only report to automation and nightly. r=platform-i18n-reviewers,dminor
Depends on D113248

Differential Revision: https://phabricator.services.mozilla.com/D113570
2021-08-02 09:54:09 +00:00
Zibi Braniecki 87960777c7 Bug 1613705 - [localization] part5: Refactor tests to use new API model. r=platform-i18n-reviewers,dminor
Depends on D113247

Differential Revision: https://phabricator.services.mozilla.com/D113248
2021-08-02 09:54:09 +00:00
Zibi Braniecki 6f3c026ec7 Bug 1613705 - [localization] part4: Enable observer on Localization. r=emilio,nika
Depends on D111178

Differential Revision: https://phabricator.services.mozilla.com/D113247
2021-08-02 09:54:08 +00:00
Zibi Braniecki 2ea7cbbaf1 Bug 1613705 - [localization] part3: Introduce passing Registry to Localization to replace BundleGenerator argument. r=emilio,nika
Depends on D104789

Differential Revision: https://phabricator.services.mozilla.com/D111178
2021-08-02 09:54:08 +00:00
Zibi Braniecki bcc80223e2 Bug 1613705 - [localization] part2: Switch Localization class to use localization-ffi. r=emilio,nika
Depends on D104788

Differential Revision: https://phabricator.services.mozilla.com/D104789
2021-08-02 09:54:07 +00:00