1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 02:13:56 +09:00
ladybird/Userland/Applications/Spreadsheet
Timothy Flynn 115baa7e32 LibJS+Everywhere: Make PrimitiveString and Utf16String fallible
This makes construction of Utf16String fallible in OOM conditions. The
immediate impact is that PrimitiveString must then be fallible as well,
as it may either transcode UTF-8 to UTF-16, or create a UTF-16 string
from ropes.

There are a couple of places where it is very non-trivial to propagate
the error further. A FIXME has been added to those locations.
2023-01-08 12:13:15 +01:00
..
CellType LibJS: Replace standalone js_string() with PrimitiveString::create() 2022-12-07 16:43:06 +00:00
Readers Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
Tests Spreadsheet: Throw if lookup value doesn't exist and no default is given 2022-06-26 22:21:17 +01:00
Writers Spreadsheet: Port XSV writer to Core::Stream 2023-01-07 04:03:01 +03:30
Cell.cpp LibJS: Replace standalone js_string() with PrimitiveString::create() 2022-12-07 16:43:06 +00:00
Cell.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
CellSyntaxHighlighter.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
CellSyntaxHighlighter.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
CellTypeDialog.cpp LibGUI+Userland: Rename try_load_from_gml() -> load_from_gml() :^) 2023-01-07 14:39:30 +01:00
CellTypeDialog.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
CMakeLists.txt Everywhere: Mark dependencies of most targets as PRIVATE 2022-11-01 14:49:09 +00:00
CondFormatting.gml Spreadsheet: Make conditional-formatting condition-list scrollable 2022-06-30 11:53:50 +02:00
ConditionalFormatting.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
CondView.gml Spreadsheet: Use new layout system 2022-06-30 11:51:25 +02:00
csv_export.gml Userland: Replace empty GUI::Widgets in GML with GUI::Layout::Spacer 2022-09-29 08:31:15 -04:00
csv_import.gml Userland: Replace empty GUI::Widgets in GML with GUI::Layout::Spacer 2022-09-29 08:31:15 -04:00
ExportDialog.cpp LibGUI+Userland: Rename try_load_from_gml() -> load_from_gml() :^) 2023-01-07 14:39:30 +01:00
ExportDialog.h Spreadsheet: Port ExportDialog to Core::Stream 2023-01-07 04:03:01 +03:30
Forward.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
HelpWindow.cpp LibGUI+Everywhere: Use fallible Window::set_main_widget() everywhere :^) 2023-01-06 13:36:02 -07:00
HelpWindow.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
ImportDialog.cpp LibGUI+Userland: Rename try_load_from_gml() -> load_from_gml() :^) 2023-01-07 14:39:30 +01:00
ImportDialog.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
JSIntegration.cpp LibJS+Everywhere: Make PrimitiveString and Utf16String fallible 2023-01-08 12:13:15 +01:00
JSIntegration.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
main.cpp LibFileSystemAccessClient: Rename try_* functions to try_*_deprecated 2023-01-07 10:53:43 +00:00
Position.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
select_format_page.gml Userland: Replace empty GUI::Widgets in GML with GUI::Layout::Spacer 2022-09-29 08:31:15 -04:00
Spreadsheet.cpp LibJS: Replace standalone js_string() with PrimitiveString::create() 2022-12-07 16:43:06 +00:00
Spreadsheet.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
SpreadsheetModel.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
SpreadsheetModel.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
SpreadsheetView.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
SpreadsheetView.h Spreadsheet: Remove cursor keys from is_navigation 2023-01-07 03:46:52 +03:30
SpreadsheetWidget.cpp LibFileSystemAccessClient: Rename try_* functions to try_*_deprecated 2023-01-07 10:53:43 +00:00
SpreadsheetWidget.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Workbook.cpp Spreadsheet: Port ExportDialog to Core::Stream 2023-01-07 04:03:01 +03:30
Workbook.h Spreadsheet: Make file export functions return ErrorOr<> 2023-01-07 04:03:01 +03:30