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

522 Коммитов

Автор SHA1 Сообщение Дата
Gijs Kruitbosch dd128f510e Bug 1874321 - document how to run nightly with a custom language, r=cmkm,flod
Differential Revision: https://phabricator.services.mozilla.com/D198399
2024-01-15 18:20:51 +00:00
tjamesmac acbe1ec0e1 Bug 1868328 - Fix clippy warnings. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D196414
2024-01-09 10:03:42 +00:00
ogiorgis 111705f5fd Bug 1840493 - doc/rst: fix some languages declaration r=firefox-source-docs-reviewers,webdriver-reviewers,necko-reviewers,geckoview-reviewers,devtools-reviewers,profiler-reviewers,championshuttler,whimboo,nchevobbe,julienw,amejiamarmol
Differential Revision: https://phabricator.services.mozilla.com/D196268
2023-12-13 18:32:20 +00:00
Sylvestre Ledru d6cea3eede Bug 1519636 - Remove nbsp in the doc r=firefox-source-docs-reviewers,geckoview-reviewers,ahal,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D194782
2023-12-03 11:01:53 +00:00
Joel Maher 9d203b1d46 Bug 1859893 - batch 15 - migrate xpcshell.ini -> .toml. r=aryx,geckoview-reviewers,extension-reviewers,valentin,cookie-reviewers,pbz,owlish,robwu
Differential Revision: https://phabricator.services.mozilla.com/D194384
2023-11-24 14:41:35 +00:00
Eemeli Aro 8650501442 Bug 1854412 - Drop broken legacy links in l10n tutorial. r=bolsson
Differential Revision: https://phabricator.services.mozilla.com/D193530
2023-11-22 21:59:11 +00:00
Bryan Olsson fd6a7d6aea Bug 1854018 - How to Test Migration Recipes documentation update, r=flod DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D188641
2023-09-22 06:22:30 +00:00
Tom Marble 9e40a719f2 Bug 1850545 - convert .ini manifests to .toml: batch 3 chrome.ini (bis) r=jmaher,geckoview-reviewers,extension-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,places-reviewers,profiler-reviewers,m_kato,mak,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D187597
2023-09-13 18:28:32 +00:00
Markus Stange fa8bfb6bc7 Bug 1851263 - Rename nsIGlobalObject::AsInnerWindow to GetAsInnerWindow because it can return null. r=smaug
This is also the name that was originally suggested in https://bugzilla.mozilla.org/show_bug.cgi?id=218415#c53 .

Differential Revision: https://phabricator.services.mozilla.com/D187340
2023-09-04 04:06:30 +00:00
Bryan Olsson 3c5034b8b8 Bug 1850027 - Added Bryan Olsson to Fluent reviewer documentation, r=flod DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D186808
2023-08-24 17:16:34 +00:00
Eemeli Aro a5dabe8f0d Bug 1834305 - Remove intl/locale/PluralForm.sys.mjs as unused. r=nordzilla,devtools-reviewers
This library is now completely unused in m-c.

Differential Revision: https://phabricator.services.mozilla.com/D185699
2023-08-10 20:39:20 +00:00
Tooru Fujisawa 0d2a3514f2 Bug 1844956 - Part 2: Remove FluentSyntax.jsm. r=emilio
Depends on D184329

Differential Revision: https://phabricator.services.mozilla.com/D184330
2023-07-25 15:35:12 +00:00
Tooru Fujisawa d1c62e7a6e Bug 1844956 - Part 1: Use fluent-rs to collect TextElement in browser_misused_characters_in_strings.js. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D184329
2023-07-25 15:35:12 +00:00
Mike Hommey d07e416554 Bug 1841918 - Fix new l10nregistry-rs warnings with rustc 1.71. r=eemeli
Differential Revision: https://phabricator.services.mozilla.com/D182849
2023-07-06 09:51:30 +00:00
Mike Hommey de03354dee Bug 1837098 - Move l10nregistry tests to a separate crate. r=dminor,supply-chain-reviewers,eemeli
Differential Revision: https://phabricator.services.mozilla.com/D180159
2023-06-07 23:07:05 +00:00
Mike Hommey a13b4ea9e8 Bug 1836883. Avoid passing ref function arguments to Rc::from_raw. r=eemeli
It is unfortunately undefined behavior and leads to problems with LLVM
16.

Differential Revision: https://phabricator.services.mozilla.com/D180061
2023-06-06 08:55:21 +00:00
Mike Hommey 96c67f7c0b Bug 1836419 - Remove the serial_test dependency. r=nordzilla,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D179754
2023-06-02 21:49:16 +00:00
Kris Maglione fbc33fd683 Bug 1648545: Part 2 - Load SpecialPowers in XPCShellContentUtils. r=ahal,application-update-reviewers,nalexander,devtools-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D119449
2023-05-27 03:46:44 +00:00
Noemi Erli 06b68d0d45 Backed out 4 changesets (bug 1648545) for causing mass failures
Backed out changeset ac3d639547fa (bug 1648545)
Backed out changeset f63760c845f3 (bug 1648545)
Backed out changeset 652b48b10d37 (bug 1648545)
Backed out changeset 1ca7abd873d1 (bug 1648545)
2023-05-26 02:12:58 +03:00
Kris Maglione 1abe5de918 Bug 1648545: Part 2 - Load SpecialPowers in XPCShellContentUtils. r=ahal,application-update-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D119449
2023-05-25 22:04:31 +00:00
Greg Tatum a5ebe9f40b Bug 1830989 - Add a document.l10n.setArgs method; r=webidl,smaug,eemeli
Differential Revision: https://phabricator.services.mozilla.com/D176958
2023-05-08 14:24:54 +00:00
Dana Keeler f0596227b1 Bug 1811645 - avoid an American English colloquialism meaning "nonsense" r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D175802
2023-04-20 22:24:00 +00:00
serge-sans-paille 95a3a332df Bug 1824509 - Make intl/l10n buildable outside of a unified build environment r=andi
Differential Revision: https://phabricator.services.mozilla.com/D173609
2023-03-30 13:48:31 +00:00
Emilio Cobos Álvarez f3f4f3270c Bug 1819664 - Notify chrome docs when async translation work is done. r=smaug,Gijs
This prototypes the proposal in bug 1738056 comment 22.

Depends on D171359

Differential Revision: https://phabricator.services.mozilla.com/D171360
2023-03-04 00:04:21 +00:00
Emilio Cobos Álvarez 3d49ec4825 Bug 1819664 - Fix unsettled promise handling in Localization. r=smaug
Otherwise we have some promises that may never resolve. This causes
issues in
toolkit/content/tests/widgets/test_videocontrols_jsdisabled.html with
the previous patch, for example.

Differential Revision: https://phabricator.services.mozilla.com/D171564
2023-03-03 22:18:11 +00:00
Eemeli Aro 47c30f3625 Bug 1815410 - Add documentation for fluent.migrate TransformPattern. r=flod DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D169058
2023-02-07 17:44:10 +00:00
Sylvestre Ledru e2b52a1324 Bug 1807899 - Remove the trailing whitespace and Windows CR on md files r=linter-reviewers,necko-reviewers,marco,jesup
Differential Revision: https://phabricator.services.mozilla.com/D165662
2022-12-30 15:23:21 +00:00
Jonathan Kew 859eb99179 Bug 1806042 - Update tests to expect normal spaces rather than U+202F/2009 in formatted date/time strings. r=gregtatum
We'll need to revert this when we're ready to disable the workaround.

Depends on D165408

Differential Revision: https://phabricator.services.mozilla.com/D165409
2022-12-24 10:35:10 +00:00
Andrew McCreight ce28c41da0 Bug 1805931, part 2 - Automated removal of uses of ROOT and UNROOT CC macros. r=smaug
As of the prior patch, these are no longer needed. I removed
these with a script, then ran clang-format on the files, then
manually reverted a few unrelated changed from the formatter.

Differential Revision: https://phabricator.services.mozilla.com/D164829
2022-12-15 19:45:01 +00:00
Sylvestre Ledru baca9eb94e Bug 1802689 - cargo.toml: more consistency in the author names
Differential Revision: https://phabricator.services.mozilla.com/D163769
2022-12-13 09:14:44 +00:00
Sylvestre Ledru 04363d3827 Bug 1802689 - Add missing licenses info in Cargo.toml r=mhoye,necko-reviewers,kershaw,valentin
Differential Revision: https://phabricator.services.mozilla.com/D163157
2022-12-13 09:14:44 +00:00
Eemeli Aro f08c01b802 Bug 1804404 - Update l10n documentation due to DTD & .inc removal. r=flod
Differential Revision: https://phabricator.services.mozilla.com/D164047
2022-12-07 11:50:39 +00:00
Greg Tatum d3921e547e Bug 1685180 - Debug assert Fluent strings where replaced variables are not provided; r=nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D161996
2022-12-01 21:40:56 +00:00
André Bargull 86a29191ae Bug 1792775 - Part 11.1: Update expected test results in non-SpiderMonkey files. r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D162707
2022-11-23 17:56:18 +00:00
Noemi Erli 57fbfda9e8 Backed out 16 changesets (bug 1792775) for causing build bustage in TestDateIntervalFormat.cpp CLOSED TREE
Backed out changeset 240681aef215 (bug 1792775)
Backed out changeset e15aea6bb46b (bug 1792775)
Backed out changeset ee9cd4c8d5cd (bug 1792775)
Backed out changeset 0be61a39756f (bug 1792775)
Backed out changeset 7db4fb376f48 (bug 1792775)
Backed out changeset 7009b35a05a0 (bug 1792775)
Backed out changeset 5abc2704004e (bug 1792775)
Backed out changeset 6d76fe50cf35 (bug 1792775)
Backed out changeset d6300cbbf628 (bug 1792775)
Backed out changeset 8f5e0e60d195 (bug 1792775)
Backed out changeset 0b9cf0354dc0 (bug 1792775)
Backed out changeset 7136c85641b7 (bug 1792775)
Backed out changeset 486778427d64 (bug 1792775)
Backed out changeset 7acee89c2699 (bug 1792775)
Backed out changeset 654c5f659fed (bug 1792775)
Backed out changeset a60b1bc33f91 (bug 1792775)
2022-11-23 17:18:45 +02:00
André Bargull 0fedffe9f5 Bug 1792775 - Part 11.1: Update expected test results in non-SpiderMonkey files. r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D162707
2022-11-23 10:42:45 +00:00
Noemi Erli d26dc9e9e0 Backed out 13 changesets (bug 1792775) for causing bustages
Backed out changeset f2c8e2200194 (bug 1792775)
Backed out changeset 3392ce042fb6 (bug 1792775)
Backed out changeset f5461baa7c5a (bug 1792775)
Backed out changeset d810c2b2d0bd (bug 1792775)
Backed out changeset af6164024ade (bug 1792775)
Backed out changeset 8c97026ef2b5 (bug 1792775)
Backed out changeset d396bec29ac2 (bug 1792775)
Backed out changeset a9aaa2387313 (bug 1792775)
Backed out changeset a4461db138b7 (bug 1792775)
Backed out changeset a7b39a5105a9 (bug 1792775)
Backed out changeset 5e746d85926a (bug 1792775)
Backed out changeset 3ea531c10813 (bug 1792775)
Backed out changeset 78811cdadd63 (bug 1792775)
2022-11-23 11:48:28 +02:00
André Bargull 995289f140 Bug 1792775 - Part 11.1: Update expected test results in non-SpiderMonkey files. r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D162707
2022-11-23 08:43:23 +00:00
Butkovits Atila 6ded0f39e9 Backed out 2 changesets (bug 1685180) for causing Xpcshell failures at test_l10nCache.js. CLOSED TREE
Backed out changeset c05d7c567c19 (bug 1685180)
Backed out changeset be4603eff17c (bug 1685180)
2022-11-21 19:51:30 +02:00
Greg Tatum be1aa4d51d Bug 1685180 - Debug assert Fluent strings where replaced variables are not provided; r=nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D161996
2022-11-21 16:14:06 +00:00
Sylvestre Ledru 97f4c646c8 Bug 1801196 - remove unused crates r=xpcom-reviewers,nika,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D162334
2022-11-18 16:31:05 +00:00
Greg Tatum 24751e2521 Bug 1755216 - Vendor in fluent-fallback@0.7.0; r=nordzilla
Depends on D161733

Differential Revision: https://phabricator.services.mozilla.com/D161734
2022-11-17 16:00:17 +00:00
Csoregi Natalia 9550c6467f Bug 1800902 - Fix trailing whitespace. r=fix CLOSED TREE 2022-11-17 15:28:47 +02:00
Francesco Lodolo (:flod) 3c01cd430a Bug 1800902 - Remove comm-central from cross-channel generation, r=eemeli DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D162201
2022-11-17 12:11:40 +00:00
Greg Tatum 0f321c2172 Bug 1773733 - Remove some commented out code in l10n-registry; r=nordzilla
Depends on D159715

Differential Revision: https://phabricator.services.mozilla.com/D159716
2022-10-19 21:17:33 +00:00
Greg Tatum 4299b58786 Bug 1773733 - Add a README.md for l10nregistry-rs; r=nordzilla
Depends on D159714

Differential Revision: https://phabricator.services.mozilla.com/D159715
2022-10-19 21:17:32 +00:00
Greg Tatum caa67f36e3 Bug 1773733 - Add a fuzzing test for the l10nregistry; r=nordzilla
Depends on D159446

Differential Revision: https://phabricator.services.mozilla.com/D159714
2022-10-19 21:17:32 +00:00
Greg Tatum f0ed9daad0 Bug 1773733 - Remove locking and add a MetaSources struct; r=nordzilla
I believe the crashes are due to the metasources list being mutated
while the async iterators are running. This changes should fix this
issue if it is in fact the root cause. The scope of this patch is a bit
larger since it changes the implementation to use a proper MetaSources
struct.

This struct centralizes access and mutation to the MetaSources,
providing an ergonomic API that should be fairly idiomatic and similar
to other Rust APIs.

The Mutex is not needed as this code is not multi-threaded. The RefCell
should provide proper access controls for handling the mutation of the
MetaSources.

The MetaSources struct also favors a Vec<Vec<Rc<T>>> rather than
Vec<Vec<T>> so that it can be copied very cheaply for the async
iterators.

Differential Revision: https://phabricator.services.mozilla.com/D159446
2022-10-19 21:17:32 +00:00
Greg Tatum e055b8e94a Bug 1773733 - Add a bit more documentation to various pieces of the L10nRegistry; r=nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D159445
2022-10-19 21:17:31 +00:00
Greg Tatum 1a8e733b51 Bug 1773733 - Rename L10nRegistry methods to be consistent and idiomatic; r=nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D159444
2022-10-19 21:17:31 +00:00