1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 04:48:14 +00:00
serenity/Userland/Libraries/LibJS
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
..
Bytecode LibJS: Change ExecutionContext's arguments list to a MarkedValueList 2021-08-10 23:07:50 +02:00
Heap test-js: Add a mark_as_garbage method to force GC to collect that object 2021-09-08 08:53:02 +01:00
Runtime LibUnicode+LibJS: Store locale keyword values as a single string 2021-09-08 21:08:48 +01:00
Tests LibJS: Restore the environment if an exception is thrown in 'with' block 2021-09-08 20:37:39 +01:00
AST.cpp LibJS: Restore the environment if an exception is thrown in 'with' block 2021-09-08 20:37:39 +01:00
AST.h LibJS: Add support for public fields in classes 2021-09-01 13:39:14 +01:00
CMakeLists.txt LibJS: Implement a nearly empty Intl.ListFormat object 2021-09-06 23:49:56 +01:00
Console.cpp LibJS: Rename CallFrame => ExecutionContext 2021-06-24 19:28:00 +02:00
Console.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Forward.h LibJS: Implement a nearly empty Intl.ListFormat object 2021-09-06 23:49:56 +01:00
Interpreter.cpp LibJS: Change ExecutionContext's arguments list to a MarkedValueList 2021-08-10 23:07:50 +02:00
Interpreter.h LibJS: Drop "Record" suffix from all the *Environment record classes 2021-07-01 12:28:57 +02:00
Lexer.cpp LibJS: Clean up token constructor and use method instead for identifiers 2021-09-06 08:43:38 +01:00
Lexer.h LibJS: Fix some small remaining issues with parsing unicode escapes 2021-08-24 07:42:37 +01:00
MarkupGenerator.cpp LibJS: Remove unused includes out of Cell.h, move to the users 2021-08-01 08:10:16 +02:00
MarkupGenerator.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Parser.cpp LibJS: Fix that windows style line endings were not ignored or converted 2021-09-06 08:43:38 +01:00
Parser.h Everywhere: Prevent risky implicit casts of (Nonnull)RefPtr 2021-09-03 23:20:23 +02:00
SourceRange.h LibJS: Implement parsing and evaluation for AssignmentPatterns 2021-07-11 21:41:54 +01:00
SyntaxHighlighter.cpp LibJS: Remove unused header includes 2021-08-01 08:10:16 +02:00
SyntaxHighlighter.h LibWeb+LibSyntax: Implement nested syntax highlighters 2021-06-07 14:45:49 +04:30
Token.cpp LibJS: Fix that windows style line endings were not ignored or converted 2021-09-06 08:43:38 +01:00
Token.h LibJS: Clean up token constructor and use method instead for identifiers 2021-09-06 08:43:38 +01:00