Zibi Braniecki
fe12cd1036
Bug 1627809 - Add Localization::AddResourceId and Localization::RemoveResourceId for DOM to use. r=stas
...
Differential Revision: https://phabricator.services.mozilla.com/D70975
2020-04-30 17:56:24 +00:00
Zibi Braniecki
1427870732
Bug 1627809 - Move Localization.jsm construction to Localization constructor. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D70973
2020-04-30 18:22:38 +00:00
Zibi Braniecki
9211c5cc8a
Bug 1627809 - Remove unncessary eager attribute from Localization API. r=stas
...
Differential Revision: https://phabricator.services.mozilla.com/D70972
2020-04-30 17:55:38 +00:00
Emilio Cobos Álvarez
d55b448a0c
Bug 1633675 - Avoid various string copies in FluentBundle constructor. r=zbraniecki
...
We were copying the string in C++, then again in Rust...
Differential Revision: https://phabricator.services.mozilla.com/D73034
2020-04-29 20:11:30 +00:00
Sylvestre Ledru
51ca3d607b
no bug - lint doc: Update some old links r=ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D70576
--HG--
extra : moz-landing-system : lando
2020-04-13 19:48:48 +00:00
Zibi Braniecki
cd914eae85
Bug 1621674 - Settle on returning null for missing values/messages out of Localization. r=smaug,stas
...
Differential Revision: https://phabricator.services.mozilla.com/D70250
--HG--
extra : moz-landing-system : lando
2020-04-10 23:35:58 +00:00
Zibi Braniecki
a7712e985a
Bug 1621674 - Update tests to use Localization WebIDL. r=jfkthame,Mardak
...
Differential Revision: https://phabricator.services.mozilla.com/D66549
--HG--
extra : moz-landing-system : lando
2020-04-10 23:35:58 +00:00
Zibi Braniecki
fcdb32de94
Bug 1621674 - Unify Localization.jsm, mozILocalization and Localization WebIDL. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D66531
--HG--
extra : moz-landing-system : lando
2020-04-10 23:35:03 +00:00
Stefan Hindli
37b364e264
Backed out 3 changesets (bug 1621674) for causing xpcshell permafailures in browser/extensions/formautofill/test/unit/test_createRecords.js CLOSED TREE
...
Backed out changeset f45de944f20a (bug 1621674)
Backed out changeset 0b2fdf331bce (bug 1621674)
Backed out changeset 2f7e9c807020 (bug 1621674)
2020-04-08 00:49:16 +03:00
Zibi Braniecki
2f35997cd0
Bug 1621674 - Update tests to use Localization WebIDL. r=jfkthame,Mardak
...
Differential Revision: https://phabricator.services.mozilla.com/D66549
--HG--
extra : moz-landing-system : lando
2020-04-07 20:12:21 +00:00
Zibi Braniecki
7510f5c207
Bug 1621674 - Unify Localization.jsm, mozILocalization and Localization WebIDL. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D66531
--HG--
extra : moz-landing-system : lando
2020-04-07 18:03:46 +00:00
Razvan Maries
24116686ba
Backed out 3 changesets (bug 1621674) for newtab perma failures. CLOSED TREE
...
Backed out changeset f197d83fd8a1 (bug 1621674)
Backed out changeset 939beec809c1 (bug 1621674)
Backed out changeset a657cda5467e (bug 1621674)
2020-04-07 21:00:15 +03:00
Zibi Braniecki
401872b352
Bug 1621674 - Update tests to use Localization WebIDL. r=jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D66549
--HG--
extra : moz-landing-system : lando
2020-04-07 16:28:23 +00:00
Zibi Braniecki
804246b7c6
Bug 1621674 - Unify Localization.jsm, mozILocalization and Localization WebIDL. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D66531
--HG--
extra : moz-landing-system : lando
2020-04-07 16:28:12 +00:00
Sylvestre Ledru
504c3243d5
Bug 1617369 - Reformat intl/l10n/rust/fluent-ffi/ using rustfmt r=zbraniecki
...
Differential Revision: https://phabricator.services.mozilla.com/D68019
--HG--
extra : moz-landing-system : lando
2020-03-24 16:45:42 +00:00
Zibi Braniecki
626c2efa7d
Bug 1623778 - Improve error reporting for AddResource. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D67695
--HG--
extra : moz-landing-system : lando
2020-03-21 04:05:33 +00:00
Mihai Alexandru Michis
63f586a915
Backed out changeset 41722eea7dd5 (bug 1623778) for causing failures in l10n/test/mochitest/localization/test_format
...
CLOSED TREE
2020-03-21 04:28:33 +02:00
Zibi Braniecki
7f4b927d9e
Bug 1623778 - Improve error reporting for AddResource. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D67695
--HG--
extra : moz-landing-system : lando
2020-03-21 01:13:28 +00:00
Sylvestre Ledru
c5ea8090c4
Bug 1622328
- L10nRegistry.jsm: Add the license r=fluent-reviewers,zbraniecki
...
Depends on D66807
Differential Revision: https://phabricator.services.mozilla.com/D66808
--HG--
extra : moz-landing-system : lando
2020-03-13 19:10:53 +00:00
Zibi Braniecki
3fa4afd67f
Bug 1621024 - Skip reporting errors if the file is not found in the L10nRegistry.loadSync. r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D66538
--HG--
extra : moz-landing-system : lando
2020-03-16 15:49:58 +00:00
Zibi Braniecki
3f8c67d7fd
Bug 1560038 - Switch uses of FluentBundle to use fluent-rs. r=jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D57403
--HG--
extra : moz-landing-system : lando
2020-03-14 22:14:13 +00:00
Zibi Braniecki
e137e48a88
Bug 1560038 - Use i64 for storing epoch instead of usize. r=emilio
...
epoch is stored as double in ICU. Storing it as usize caused overflow on 32-bit Windows 7
which resulted in dates being formatted to epoch=0.
This patch switches to use f64 on the Rust side.
Depends on D66504
Differential Revision: https://phabricator.services.mozilla.com/D66872
--HG--
extra : moz-landing-system : lando
2020-03-14 22:14:13 +00:00
Zibi Braniecki
ea853ecb4b
Bug 1560038 - Align FluentDateTime skeleton construction with Intl.DateTimeFormat. r=jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D66504
--HG--
extra : moz-landing-system : lando
2020-03-14 22:14:13 +00:00
Razvan Maries
a34f5e0ded
Backed out 2 changesets (bug 1560038) for perma failures on browser_application_panel_list-single-worker.js. CLOSED TREE
...
Backed out changeset 7cd88f40fc85 (bug 1560038)
Backed out changeset 54dbe282c9ac (bug 1560038)
2020-03-14 00:43:41 +02:00
Zibi Braniecki
44eca5f333
Bug 1560038 - Switch uses of FluentBundle to use fluent-rs. r=jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D57403
--HG--
extra : moz-landing-system : lando
2020-03-11 23:29:05 +00:00
Zibi Braniecki
8334ed0644
Bug 1560038 - Align FluentDateTime skeleton construction with Intl.DateTimeFormat. r=jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D66504
--HG--
extra : moz-landing-system : lando
2020-03-13 19:02:21 +00:00
Mihai Alexandru Michis
a3ed8c38b3
Backed out changeset 396cfd215808 (bug 1560038) for causing dt failures in browser_application_panel_list-single-worker.js
...
CLOSED TREE
2020-03-12 00:32:24 +02:00
Zibi Braniecki
7c466415ee
Bug 1560038 - Switch uses of FluentBundle to use fluent-rs. r=jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D57403
--HG--
extra : moz-landing-system : lando
2020-03-11 15:42:07 +00:00
Zibi Braniecki
97c1c396b4
Bug 1560038 - Add FluentDateTime. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D61048
--HG--
extra : moz-landing-system : lando
2020-03-11 15:42:07 +00:00
Zibi Braniecki
18b3cdb6e8
Bug 1560038 - Add NumberFormat bindgen for Fluent. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D57402
--HG--
extra : moz-landing-system : lando
2020-03-11 15:38:12 +00:00
Zibi Braniecki
4cf04c19e6
Bug 1560038 - Add FluentBundle. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D54325
--HG--
extra : moz-landing-system : lando
2020-03-11 15:37:39 +00:00
Zibi Braniecki
312c9d7359
Bug 1560038 - Add FluentMessage and FluentPattern. r=emilio,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D54324
--HG--
extra : moz-landing-system : lando
2020-03-11 15:36:56 +00:00
Zibi Braniecki
51c9856f7e
Bug 1560038 - Add FluentResource. r=emilio,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D54323
--HG--
extra : moz-landing-system : lando
2020-03-11 15:42:33 +00:00
Zibi Braniecki
275c56f717
Bug 1560038 - Switch Localization IDL to use UTF8String for L10nArgs r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D58858
--HG--
extra : moz-landing-system : lando
2020-03-11 07:17:07 +00:00
Zibi Braniecki
be99e44ab9
Bug 1560038 - Fix tests in preparation for the swap to fluent-rs. r=stas
...
Differential Revision: https://phabricator.services.mozilla.com/D57401
--HG--
extra : moz-landing-system : lando
2020-03-11 04:29:26 +00:00
Daniel Varga
a2cbf61a81
Backed out 9 changesets (bug 1560038) for causing build bustage
...
CLOSED TREE
Backed out changeset 12069dae9b8d (bug 1560038)
Backed out changeset a0845cf79487 (bug 1560038)
Backed out changeset dc2406d01a63 (bug 1560038)
Backed out changeset 1b11616a5ee5 (bug 1560038)
Backed out changeset 06cdc27a39a7 (bug 1560038)
Backed out changeset a390456d9d26 (bug 1560038)
Backed out changeset 7e3d839a3e9d (bug 1560038)
Backed out changeset 0678db762fed (bug 1560038)
Backed out changeset 3b9b16532bf3 (bug 1560038)
2020-03-11 04:53:10 +02:00
Zibi Braniecki
4d2733ee86
Bug 1560038 - Switch uses of FluentBundle to use fluent-rs.
...
Differential Revision: https://phabricator.services.mozilla.com/D57403
Depends on D61048
--HG--
extra : rebase_source : 0be62fa98f0a91274c96a509eeafceb6da667894
2020-03-10 20:03:59 +02:00
Zibi Braniecki
aeceebc56b
Bug 1560038 - Add FluentDateTime.
...
Differential Revision: https://phabricator.services.mozilla.com/D61048
Depends on D57402
--HG--
extra : rebase_source : 5c400a6d96622aa4249eb4df6d6350298d692993
2020-03-10 20:03:59 +02:00
Zibi Braniecki
f3fb7c3716
Bug 1560038 - Add NumberFormat bindgen for Fluent.
...
Differential Revision: https://phabricator.services.mozilla.com/D57402
Depends on D54325
--HG--
extra : rebase_source : aa280aafee4f860bc597e43da29e9baff660e7bb
2020-03-10 20:30:09 +02:00
Zibi Braniecki
0114269ceb
Bug 1560038 - Add FluentBundle.
...
Differential Revision: https://phabricator.services.mozilla.com/D54325
Depends on D54324
--HG--
extra : rebase_source : 1e5118fcdaba1121b775c9afdee8264212c3a5e3
2020-03-10 14:16:07 +02:00
Zibi Braniecki
3d02e9e6cf
Bug 1560038 - Add FluentMessage and FluentPattern.
...
Differential Revision: https://phabricator.services.mozilla.com/D54324
Depends on D54323
--HG--
extra : rebase_source : 24e514ce2b188735a869584e140bc8334d4ab5a6
2020-03-10 14:15:33 +02:00
Zibi Braniecki
8b91a599a2
Bug 1560038 - Add FluentResource.
...
Differential Revision: https://phabricator.services.mozilla.com/D54323
Depends on D56641
--HG--
extra : rebase_source : 1087ad4b1f401d942f3be65a1a215b0ef7d1a10e
2020-03-10 20:05:06 +02:00
Zibi Braniecki
42a7b711f8
Bug 1560038 - Switch Localization IDL to use UTF8String for L10nArgs
...
Differential Revision: https://phabricator.services.mozilla.com/D58858
Depends on D57401
--HG--
extra : rebase_source : 83e372046314c15b34b96ae354838910fd3f17f5
2020-03-10 20:04:55 +02:00
Zibi Braniecki
cd3c354a56
Bug 1560038 - Fix tests in preparation for the swap to fluent-rs.
...
Differential Revision: https://phabricator.services.mozilla.com/D57401
--HG--
extra : rebase_source : aa3cff839e85e22e26209e89126d0af01c3ff5c5
2020-03-10 14:11:03 +02:00
Daniel Varga
22ab1c2ce6
Backed out 9 changesets (bug 1560038) for causing build bustages.
...
CLOSED TREE
Backed out changeset 350df98095f8 (bug 1560038)
Backed out changeset 56dd15fbeced (bug 1560038)
Backed out changeset 570aa7aaceb5 (bug 1560038)
Backed out changeset fc4da4a1c192 (bug 1560038)
Backed out changeset 7c69b0e5fd93 (bug 1560038)
Backed out changeset 1caf41590caf (bug 1560038)
Backed out changeset b4bf28bec6a8 (bug 1560038)
Backed out changeset e923de659c2b (bug 1560038)
Backed out changeset 7f1be4424898 (bug 1560038)
2020-03-10 22:22:40 +02:00
Zibi Braniecki
e61d360bfc
Bug 1560038 - Switch uses of FluentBundle to use fluent-rs. r=jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D57403
--HG--
extra : moz-landing-system : lando
2020-03-10 18:03:59 +00:00
Zibi Braniecki
b0cb42b186
Bug 1560038 - Add FluentDateTime. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D61048
--HG--
extra : moz-landing-system : lando
2020-03-10 18:03:59 +00:00
Zibi Braniecki
9f8601dc40
Bug 1560038 - Add NumberFormat bindgen for Fluent. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D57402
--HG--
extra : moz-landing-system : lando
2020-03-10 18:30:09 +00:00
Zibi Braniecki
fed784dcef
Bug 1560038 - Add FluentBundle. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D54325
--HG--
extra : moz-landing-system : lando
2020-03-10 12:16:07 +00:00
Zibi Braniecki
9cffa798e1
Bug 1560038 - Add FluentMessage and FluentPattern. r=emilio,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D54324
--HG--
extra : moz-landing-system : lando
2020-03-10 12:15:33 +00:00