1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-13 18:57:35 +00:00
serenity/Userland/Applications/Spreadsheet
Mandar Kulkarni b0ff91ff09 Spreadsheet: Make convert_from_string() return Optional<size_t>
Earlier, we were using 0 value for characters not found in "map".

We should return failure for invalid inputs.
So, I have changed the return type of function to Optional<size_t>.

Also changed caller to handle Optional return.
2021-08-09 14:14:07 +04:30
..
CellType Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Readers Tests: Generate data in memory for TestXSV benchmark case 2021-07-06 17:22:45 +02:00
Writers AK+Userland: Move AK/TestSuite.h into LibTest and rework Tests' CMake 2021-04-25 09:36:49 +02:00
Cell.cpp Spreadsheet: Remove 'return (...)' workaround in conditional formatting 2021-06-17 01:08:27 +04:30
Cell.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CellSyntaxHighlighter.cpp Spreadsheet: Remove the offset used for exception TextRanges 2021-06-17 01:08:27 +04:30
CellSyntaxHighlighter.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CellTypeDialog.cpp Everywhere: Replace Vector<T*> with nonnull entries with Vector<T&> 2021-06-08 19:14:24 +02:00
CellTypeDialog.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CMakeLists.txt Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
CondFormatting.gml Everywhere: Remove empty {} from GML objects 2021-03-29 09:10:23 +02:00
ConditionalFormatting.h LibGUI: Rename ScrollableWidget => AbstractScrollableWidget 2021-05-03 21:03:13 +02:00
CondView.gml Everywhere: Change font properties to be described in GML 2021-03-29 09:10:23 +02:00
csv_export.gml Spreadsheet: Add an export wizard, and support for custom CSV exports 2021-03-22 07:43:58 +01:00
csv_import.gml Spreadsheet: Show the error (if any) in csv import dialog's preview 2021-03-28 11:46:47 +02:00
ExportDialog.cpp Applications: Remove unused header includes 2021-08-01 08:10:16 +02:00
ExportDialog.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Forward.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
HelpWindow.cpp Everywhere: Replace Model::update() with Model::invalidate() 2021-08-06 19:14:31 +02:00
HelpWindow.h AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
ImportDialog.cpp Applications: Remove unused header includes 2021-08-01 08:10:16 +02:00
ImportDialog.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
JSIntegration.cpp LibJS+Spreadsheet: Use js_string(VM&, ...) overload more 2021-08-08 21:32:58 +01:00
JSIntegration.h LibJS: Rewrite most of Object for spec compliance :^) 2021-07-04 22:07:36 +01:00
main.cpp Userland: Add GUI::Window::add_menu() and use it everywhere 2021-07-21 21:24:26 +02:00
Position.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
select_format_page.gml Spreadsheet: Add an import wizard, and add support for custom CSV files 2021-03-22 07:43:58 +01:00
Spreadsheet.cpp Spreadsheet: Make convert_from_string() return Optional<size_t> 2021-08-09 14:14:07 +04:30
Spreadsheet.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
SpreadsheetModel.cpp Everywhere: Replace Model::update() with Model::invalidate() 2021-08-06 19:14:31 +02:00
SpreadsheetModel.h Everywhere: Replace Model::update() with Model::invalidate() 2021-08-06 19:14:31 +02:00
SpreadsheetView.cpp Everywhere: Replace Model::update() with Model::invalidate() 2021-08-06 19:14:31 +02:00
SpreadsheetView.h TableView: Do not select input on keydown 2021-07-11 22:07:57 +02:00
SpreadsheetWidget.cpp Applications: Remove unused header includes 2021-08-01 08:10:16 +02:00
SpreadsheetWidget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Workbook.cpp Applications: Remove unused header includes 2021-08-01 08:10:16 +02:00
Workbook.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00