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
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
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
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
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
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
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
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
Zibi Braniecki
dd790b71b1
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-02 09:54:07 +00:00
Zibi Braniecki
880faad3d0
Bug 1723187 - Force sync load of a file if async load is in progress. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D121401
2021-07-30 18:08:09 +00:00
Zibi Braniecki
3846f277c5
Bug 1660392 - [l10nregistry] part4: Broadcast registry updates to IPC and LocaleService. r=nika,emilio,platform-i18n-reviewers,dminor
...
Depends on D105572
Differential Revision: https://phabricator.services.mozilla.com/D105583
2021-07-30 16:47:48 +00:00
Zibi Braniecki
d3b0c08941
Bug 1660392 - [l10nregistry] part3: Enable L10nRegistry IPC. r=nika,emilio,platform-i18n-reviewers,dminor
...
Depends on D102096
Differential Revision: https://phabricator.services.mozilla.com/D105572
2021-07-30 16:47:47 +00:00
Zibi Braniecki
f42090a25a
Bug 1660392 - [l10nregistry] part2: Add L10nRegistry WebIDL backed by l10nregistry-rs. r=nika,emilio
...
Depends on D105415
Differential Revision: https://phabricator.services.mozilla.com/D102096
2021-07-30 16:47:47 +00:00
Zibi Braniecki
f23494c7e7
Bug 1672317 - [l10nfilesource] part3: Introduce L10nFileSource backed by l10nregistry-rs. r=nika,emilio
...
Depends on D102102
Differential Revision: https://phabricator.services.mozilla.com/D103002
2021-07-29 21:30:25 +00:00
Zibi Braniecki
e0ee86ae33
Bug 1672317 - [l10nfilesource] part2: Vendor in l10nregistry-rs and fluent-fallback. r=dminor
...
Depends on D103184
Differential Revision: https://phabricator.services.mozilla.com/D102102
2021-07-29 21:30:25 +00:00
Zibi Braniecki
bcff9a7e2d
Bug 1672317 - [l10nfilesource] part1: Update fluent-rs to 0.15.0. r=dminor
...
Differential Revision: https://phabricator.services.mozilla.com/D103184
2021-07-29 21:30:24 +00:00
Noemi Erli
9009ea58e0
Backed out 9 changesets (bug 1672317) for causing toolchain bustages
...
Backed out changeset c7d16d1bbf56 (bug 1672317)
Backed out changeset 8367ff19d3ba (bug 1672317)
Backed out changeset cce54c20ec3c (bug 1672317)
Backed out changeset a5d67460e7bb (bug 1672317)
Backed out changeset b78f3e332d57 (bug 1672317)
Backed out changeset 3e84f9a521f4 (bug 1672317)
Backed out changeset 1aaa22cf7c13 (bug 1672317)
Backed out changeset d850981cf33c (bug 1672317)
Backed out changeset 944805ef4561 (bug 1672317)
2021-07-30 00:19:40 +03:00
Noemi Erli
b1bfbf5738
Bug 1672317 - fix build bustages r=fix CLOSED TREE
2021-07-29 21:04:49 +03:00
Zibi Braniecki
6b765f55cf
Bug 1672317 - [l10nfilesource] part3: Introduce L10nFileSource backed by l10nregistry-rs. r=nika,emilio
...
Depends on D102102
Differential Revision: https://phabricator.services.mozilla.com/D103002
2021-07-29 17:31:52 +00:00
Zibi Braniecki
24226b2070
Bug 1672317 - [l10nfilesource] part2: Vendor in l10nregistry-rs and fluent-fallback. r=dminor
...
Depends on D103184
Differential Revision: https://phabricator.services.mozilla.com/D102102
2021-07-29 17:31:51 +00:00
Zibi Braniecki
07bdd43754
Bug 1672317 - [l10nfilesource] part1: Update fluent-rs to 0.15.0. r=dminor
...
Differential Revision: https://phabricator.services.mozilla.com/D103184
2021-07-29 17:31:51 +00:00
Greg Tatum
bf5ee6077d
Bug 1705156 - Add a unified DateTimeFormat component; r=dminor,anba
...
This patch adds a DateTimeFormat class for use in the unified
internationalization API. Currently it's only targeting the
ICU code in the Fluent API. The plan is to use it in the Fluent DOM
code, as well as in SpiderMonkey as a centralized API for performing
datetime formatting.
Differential Revision: https://phabricator.services.mozilla.com/D114114
2021-05-27 23:03:43 +00:00
Dan Minor
0452666d00
Bug 1701695 - Add NumberFormat::TryCreate; r=tcampbell
...
This adds a fallible factory method to create new NumberFormat instances. This
allows us to report initialization errors at time of initialization, rather than
when format is called, and remove internal checks in the implementation for
successful initialization.
The existing fluent code assumes that creating a NumberFormat instance always
succeeds. This patch updates that code to handle failures.
Differential Revision: https://phabricator.services.mozilla.com/D114593
2021-05-12 17:22:51 +00:00
Brindusan Cristian
efd8dfd0cf
Backed out 9 changesets (bug 1701695) for causing xpcshell failures in test_messagecontext.js. CLOSED TREE
...
Backed out changeset e88dd41c0a90 (bug 1701695)
Backed out changeset 823ed70ef5fe (bug 1701695)
Backed out changeset 11f97bc74622 (bug 1701695)
Backed out changeset fdf12ac55593 (bug 1701695)
Backed out changeset abcf774d3b58 (bug 1701695)
Backed out changeset 4239fe67d69f (bug 1701695)
Backed out changeset 216472b634b9 (bug 1701695)
Backed out changeset 89ff5f91d8e9 (bug 1701695)
Backed out changeset 9c0dbc73dad2 (bug 1701695)
2021-05-11 15:25:46 +03:00
Dan Minor
7a648a32c3
Bug 1701695 - Add NumberFormat::TryCreate; r=tcampbell
...
This adds a fallible factory method to create new NumberFormat instances. This
allows us to report initialization errors at time of initialization, rather than
when format is called, and remove internal checks in the implementation for
successful initialization.
The existing fluent code assumes that creating a NumberFormat instance always
succeeds. This patch updates that code to handle failures.
Differential Revision: https://phabricator.services.mozilla.com/D114593
2021-05-11 11:37:40 +00:00
Dan Minor
726e11903f
Bug 1695937 - Switch FluentBundle to use intl::NumberFormat; r=zbraniecki,hsivonen,jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D107224
2021-04-08 14:56:33 +00:00
Butkovits Atila
15db4c5343
Backed out 2 changesets (bug 1695937) for causing bustages on FluentBundle.cpp.
...
Backed out changeset d17059c999a6 (bug 1695937)
Backed out changeset 232a570d6739 (bug 1695937)
2021-04-08 04:21:27 +03:00
Dan Minor
195f474c94
Bug 1695937 - Switch FluentBundle to use intl::NumberFormat; r=zbraniecki,hsivonen,jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D107224
2021-04-07 20:03:22 +00:00
Zibi Braniecki
a5fd18ba3a
Bug 1686275 - Update fluent-rs to 0.14. r=dminor
...
Differential Revision: https://phabricator.services.mozilla.com/D101474
2021-01-13 16:30:20 +00:00
Butkovits Atila
4fb654352b
Backed out changeset 1a9fcf5cbe17 (bug 1686275) for causing failures on test_formatMessages.html. CLOSED TREE
2021-01-13 06:47:00 +02:00
Butkovits Atila
99def9b5fb
Backed out changeset 1857d3125d92 (bug 1686275)
2021-01-13 06:45:12 +02:00
Brindusan Cristian
0ca7a4ae1e
Bug 1686275 - Fix build bustage. CLOSED TREE a=bustage-fix
2021-01-13 05:27:33 +02:00
Zibi Braniecki
1c1851d0fa
Bug 1686275 - Update fluent-rs to 0.14. r=dminor
...
Differential Revision: https://phabricator.services.mozilla.com/D101474
2021-01-13 02:50:44 +00:00
Dan Minor
5bc2b7d62a
Bug 1675789 - Do not used flipped characters for bidi pseudo-locale; r=zbraniecki
...
This switches to using accented characters without elongation for the bidi
pseudo-locale to improve readability. We received feedback that the
flipped characters were too difficult to read.
This also updates the test expectations.
Differential Revision: https://phabricator.services.mozilla.com/D96855
2020-11-13 13:23:12 +00:00
Dan Minor
74258d96fc
Bug 1675789 - Update fluent-pseudo to 0.2.3; r=zbraniecki
...
Differential Revision: https://phabricator.services.mozilla.com/D96853
2020-11-13 13:23:02 +00:00