ladybird/Userland
Timothy Flynn c3abb1396c LibJS+LibWeb: Convert string view PrimitiveString instances to String
First, this adds an overload of PrimitiveString::create for StringView.
This overload will throw an OOM completion if creating a String fails.
This is not only a bit more convenient, but it also ensures at compile
time that all PrimitiveString::create(string_view) invocations will be
handled as String and OOM-aware.

Next, this wraps all invocations to PrimitiveString::create(string_view)
with MUST_OR_THROW_OOM.

A small PrimitiveString::create(DeprecatedFlyString) overload also had
to be added to disambiguate between the StringView and DeprecatedString
overloads.
2023-02-09 17:13:33 +00:00
..
Applets AK: Move Stream and SeekableStream from LibCore 2023-01-29 19:16:44 -07:00
Applications Piano: Show a progress window when exporting WAV 2023-02-08 20:07:37 -05:00
BuggieBox Userland: Add the BuggieBox program 2022-11-26 12:41:47 -07:00
Demos LibGUI+Userland: Switch order of parameters for InputBox::show 2023-02-04 18:46:39 -07:00
DevTools SQLStudio: Display real column names in the results tab 2023-02-03 20:34:45 +01:00
DynamicLoader Everywhere: Remove "LibC/" includes, add lint-rule against it 2023-01-07 10:01:37 -07:00
Games Everywhere: Use ReadonlySpan<T> instead of Span<T const> 2023-02-08 19:15:45 +00:00
Libraries LibJS+LibWeb: Convert string view PrimitiveString instances to String 2023-02-09 17:13:33 +00:00
Services Everywhere: Use ReadonlySpan<T> instead of Span<T const> 2023-02-08 19:15:45 +00:00
Shell AK: Move memory streams from LibCore 2023-01-29 19:16:44 -07:00
Utilities icc: Call video_full_range_flag_to_string() 2023-02-09 16:35:08 +00:00
CMakeLists.txt Userland: Add the BuggieBox program 2022-11-26 12:41:47 -07:00