1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-21 15:15:07 +00:00
serenity/Userland/Libraries/LibJS/Runtime/Intl
Timothy Flynn 4f2bcebe74 LibUnicode+LibJS: Store locale keyword values as a single string
Previously, LibUnicode would store the values of a keyword as a Vector.
For example, the locale "en-u-ca-abc-def" would have its keyword "ca"
stored as {"abc, "def"}. Then, canonicalization would occur on each of
the elements in that Vector.

This is incorrect because, for example, the keyword value "true" should
only be dropped if that is the entire value. That is, the canonical form
of "en-u-kb-true" is "en-u-kb", but "en-u-kb-abc-true" does not change
for canonicalization. However, we would canonicalize that locale as
"en-u-kb-abc".
2021-09-08 21:08:48 +01:00
..
AbstractOperations.cpp LibJS: Implement Intl.ListFormat.prototype.format 2021-09-06 23:49:56 +01:00
AbstractOperations.h LibJS: Implement Intl.ListFormat.prototype.format 2021-09-06 23:49:56 +01:00
DisplayNames.cpp LibJS: Implement a nearly empty Intl.DisplayNames object 2021-08-26 22:04:09 +01:00
DisplayNames.h LibJS: Implement a nearly empty Intl.DisplayNames object 2021-08-26 22:04:09 +01:00
DisplayNamesConstructor.cpp LibJS: Implement Intl.DisplayNames.supportedLocalesOf() 2021-09-04 19:08:18 +01:00
DisplayNamesConstructor.h LibJS: Implement Intl.DisplayNames.supportedLocalesOf() 2021-09-04 19:08:18 +01:00
DisplayNamesPrototype.cpp LibJS: Extend Intl.DisplayNames.of to support currency tags 2021-08-27 12:32:24 +01:00
DisplayNamesPrototype.h LibJS: Implement Intl.DisplayNames.prototype.resolvedOptions 2021-08-26 22:04:09 +01:00
Intl.cpp LibJS: Implement a nearly empty Intl.ListFormat object 2021-09-06 23:49:56 +01:00
Intl.h LibJS: Implement Intl.getCanonicalLocales 2021-08-26 22:04:09 +01:00
ListFormat.cpp LibJS: Implement a nearly empty Intl.ListFormat object 2021-09-06 23:49:56 +01:00
ListFormat.h LibJS: Implement a nearly empty Intl.ListFormat object 2021-09-06 23:49:56 +01:00
ListFormatConstructor.cpp LibJS: Fix typos in Intl.ListFormat comments 2021-09-08 21:08:48 +01:00
ListFormatConstructor.h LibJS: Implement Intl.ListFormat.supportedLocalesOf 2021-09-06 23:49:56 +01:00
ListFormatPrototype.cpp LibJS: Fix typos in Intl.ListFormat comments 2021-09-08 21:08:48 +01:00
ListFormatPrototype.h LibJS: Implement Intl.ListFormat.prototype.resolvedOptions 2021-09-06 23:49:56 +01:00
Locale.cpp LibUnicode+LibJS: Store locale keyword values as a single string 2021-09-08 21:08:48 +01:00
Locale.h LibJS: Add a constructor to create an Intl.Locale object from a LocaleID 2021-09-04 13:51:40 +01:00
LocaleConstructor.cpp LibUnicode+LibJS: Store locale keyword values as a single string 2021-09-08 21:08:48 +01:00
LocaleConstructor.h LibJS: Implement a nearly empty Intl.Locale object 2021-09-02 17:56:42 +01:00
LocalePrototype.cpp LibJS: Implement Intl.Locale.prototype.minimize 2021-09-04 13:51:40 +01:00
LocalePrototype.h LibJS: Implement Intl.Locale.prototype.minimize 2021-09-04 13:51:40 +01:00