gecko-dev/intl/l10n
Dan Minor cbc20fad2b Bug 1728849 - Protect l10nregistry sources with mutex; r=platform-i18n-reviewers,gregtatum
This changes from using RefCell to Mutex. RefCell is suitable for
single-threaded applications, but we are seeing concurrent access here
leading to crashes when the sources are mutated at the same time that
bundles are being generated.

This appears to have a minimal effect on the criterion benchmarks. Most of the
results are within +/- 2.0% of the baseline, with a few slower (worst is 9%
slower) and a few faster (best is 7% faster).

Differential Revision: https://phabricator.services.mozilla.com/D140053
2022-03-28 13:54:36 +00:00
..
docs Bug 1753413 - fx doc: Remove whitespaces, trailing lines & windows CR r=andi,perftest-reviewers,sparky 2022-02-03 18:34:58 +00:00
rust Bug 1728849 - Protect l10nregistry sources with mutex; r=platform-i18n-reviewers,gregtatum 2022-03-28 13:54:36 +00:00
test Bug 1743659 - Part 2: Update Gecko's Localization to use the new l10nregistry-rs API r=zbraniecki,dminor,eemeli,smaug,emilio?,eemeli?,zbraniecki 2021-12-22 19:08:38 +00:00
FileSource.cpp Bug 1642415 - Use metasource in FileSource; r=platform-i18n-reviewers,extension-reviewers,gregtatum,zombie 2021-09-22 18:16:07 +00:00
FileSource.h Bug 1642415 - Use metasource in FileSource; r=platform-i18n-reviewers,extension-reviewers,gregtatum,zombie 2021-09-22 18:16:07 +00:00
FluentBindings.h
FluentBundle.cpp Bug 1719696 - Create a components bag abstraction for mozilla::intl::DateTimeFormat; r=anba,platform-i18n-reviewers,dminor 2021-09-13 20:52:59 +00:00
FluentBundle.h Bug 1613705 - [localization] part2: Switch Localization class to use localization-ffi. r=emilio,nika 2021-08-03 16:25:10 +00:00
FluentResource.cpp Bug 1672317 - [l10nfilesource] part3: Introduce L10nFileSource backed by l10nregistry-rs. r=nika,emilio 2021-07-29 21:30:25 +00:00
FluentResource.h Bug 1672317 - [l10nfilesource] part3: Introduce L10nFileSource backed by l10nregistry-rs. r=nika,emilio 2021-07-29 21:30:25 +00:00
FluentSyntax.jsm
L10nRegistry.cpp Bug 1743659 - Part 1: Update Gecko's L10nRegistry to use the new l10nregistry-rs API r=zbraniecki,dminor,eemeli,fluent-reviewers,webidl,smaug?,eemeli?,zbraniecki 2021-12-22 19:08:38 +00:00
L10nRegistry.h Bug 1743659 - Part 1: Update Gecko's L10nRegistry to use the new l10nregistry-rs API r=zbraniecki,dminor,eemeli,fluent-reviewers,webidl,smaug?,eemeli?,zbraniecki 2021-12-22 19:08:38 +00:00
Localization.cpp Bug 1748888 - Add ErrorResult parameter to PromiseNativeHandler callbacks r=smaug 2022-01-20 19:11:39 +00:00
Localization.h Bug 1743659 - Part 2: Update Gecko's Localization to use the new l10nregistry-rs API r=zbraniecki,dminor,eemeli,smaug,emilio?,eemeli?,zbraniecki 2021-12-22 19:08:38 +00:00
LocalizationBindings.h Bug 1613705 - [localization] part1: Introduce localization-ffi bindings for fluent-fallback. r=emilio,nika 2021-08-03 16:25:10 +00:00
README Bug 1613705 - [localization] part10: Remove Localization.jsm. r=platform-i18n-reviewers,dminor 2021-08-03 16:25:14 +00:00
RegistryBindings.h Bug 1660392 - [l10nregistry] part2: Add L10nRegistry WebIDL backed by l10nregistry-rs. r=nika,emilio 2021-07-30 16:47:47 +00:00
moz.build Bug 1742106 - Add basic C++ Localization gtests. r=nordzilla,eemeli,emilio 2021-11-22 21:57:34 +00:00

README

The content of this directory is partially sourced from the fluent.js project.

The following files are affected:
 - FluentSyntax.jsm

At the moment, the tool used to produce those files in fluent.js repository, doesn't
fully align with how the code is structured here, so we perform a manual adjustments
mostly around header and footer.