ladybird/Userland/Libraries/LibJS
Timothy Flynn a57e2f9a76 LibJS: Combine UTF-16 surrogate pairs when concatenating strings
In the following use case:

    "\ud834" + "\udf06"

We were previously combining these as two individual code points. When
concatenating strings, we must take care to combine the high surrogate
from the left-hand side with the low surrogate from the right-hand side.
2022-01-18 00:49:16 +00:00
..
Bytecode LibJS: Rename FunctionKind::{Regular => Normal} 2022-01-16 01:54:48 +01:00
Heap LibJS: Add Handle specialisation for Value 2022-01-05 11:21:38 +01:00
Runtime LibJS: Combine UTF-16 surrogate pairs when concatenating strings 2022-01-18 00:49:16 +00:00
Tests LibJS: Combine UTF-16 surrogate pairs when concatenating strings 2022-01-18 00:49:16 +00:00
AST.cpp LibJS: Rename FunctionKind::{Regular => Normal} 2022-01-16 01:54:48 +01:00
AST.h LibJS: Replace the custom unwind mechanism with completions :^) 2022-01-06 12:36:23 +01:00
CMakeLists.txt LibJS: Rename GeneratorObjectPrototype to GeneratorPrototype 2022-01-16 14:50:22 +01:00
Console.cpp LibJS: Implement console.time/timeLog/timeEnd() methods 2021-12-27 21:44:07 +01:00
Console.h LibJS: Implement console.time/timeLog/timeEnd() methods 2021-12-27 21:44:07 +01:00
Forward.h LibJS: Rename GeneratorObjectPrototype to GeneratorPrototype 2022-01-16 14:50:22 +01:00
Interpreter.cpp LibJS: Remove now unused VM::{set_,}last_value() 2022-01-08 23:43:03 +01:00
Interpreter.h LibJS: Convert Interpreter::run() to ThrowCompletionOr<Value> 2022-01-08 23:43:03 +01:00
Lexer.cpp LibJS: Detect invalid unicode and stop lexing at that point 2021-12-29 16:57:23 +01:00
Lexer.h LibJS: Detect invalid unicode and stop lexing at that point 2021-12-29 16:57:23 +01:00
MarkupGenerator.cpp LibJS+js: Pretty-print Date objects using the ToDateString AO 2022-01-15 20:13:48 +01:00
MarkupGenerator.h Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
Module.cpp
Module.h
Parser.cpp LibJS: Implement create_dynamic_function() according to the spec 2022-01-16 01:54:48 +01:00
Parser.h LibJS: Implement create_dynamic_function() according to the spec 2022-01-16 01:54:48 +01:00
Script.cpp
Script.h
SourceRange.h
SourceTextModule.cpp
SourceTextModule.h
SyntaxHighlighter.cpp
SyntaxHighlighter.h
Token.cpp LibJS: Disallow '\8' and '\9' in strict mode due to being octal escapes 2021-11-30 17:05:32 +00:00
Token.h Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00