1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-13 17:02:06 +00:00
serenity/Applications/Spreadsheet
Andreas Kling 6861c619c6 LibJS: Move most of Interpreter into VM
This patch moves the exception state, call stack and scope stack from
Interpreter to VM. I'm doing this to help myself discover what the
split between Interpreter and VM should be, by shuffling things around
and seeing what falls where.

With these changes, we no longer have a persistent lexical environment
for the current global object on the Interpreter's call stack. Instead,
we push/pop that environment on Interpreter::run() enter/exit.
Since it should only be used to find the global "this", and not for
variable storage (that goes directly into the global object instead!),
I had to insert some short-circuiting when walking the environment
parent chain during variable lookup.

Note that this is a "stepping stone" commit, not a final design.
2020-09-27 20:26:58 +02:00
..
CellType Spreadsheet: clang-format 2020-09-26 00:10:57 +02:00
Cell.cpp Spreadsheet: Add conditional formatting 2020-09-25 23:55:33 +02:00
Cell.h Spreadsheet: Add conditional formatting 2020-09-25 23:55:33 +02:00
CellSyntaxHighlighter.cpp Spreadsheet: Add a syntax highlighter to the cell editor 2020-08-24 19:15:07 +02:00
CellSyntaxHighlighter.h Spreadsheet: Add a syntax highlighter to the cell editor 2020-08-24 19:15:07 +02:00
CellTypeDialog.cpp Spreadsheet: Treat an empty format string as "default" 2020-09-25 23:55:33 +02:00
CellTypeDialog.h Spreadsheet: Add conditional formatting 2020-09-25 23:55:33 +02:00
CMakeLists.txt Spreadsheet: Add the 'Date' cell type 2020-09-25 23:55:33 +02:00
CondFormatting.json Spreadsheet: Add conditional formatting 2020-09-25 23:55:33 +02:00
ConditionalFormatting.h Spreadsheet: Add conditional formatting 2020-09-25 23:55:33 +02:00
CondView.json Spreadsheet: Add conditional formatting 2020-09-25 23:55:33 +02:00
Forward.h Spreadsheet: Add conditional formatting 2020-09-25 23:55:33 +02:00
HelpWindow.cpp Spreadsheet: Open help pages immediately when selecting them 2020-08-28 13:56:26 +02:00
HelpWindow.h Spreadsheet: Don't store help window's widgets in raw pointers 2020-08-28 13:56:19 +02:00
JSIntegration.cpp LibJS: Move most of Interpreter into VM 2020-09-27 20:26:58 +02:00
JSIntegration.h Spreadsheet: Add "final" to JS objects and tweak declarations 2020-09-08 14:11:43 +02:00
main.cpp Base+LibGUI+Spreadsheet: Add icons for Spreadsheet 2020-08-27 10:27:20 +02:00
Spreadsheet.cpp LibJS: Move most of Interpreter into VM 2020-09-27 20:26:58 +02:00
Spreadsheet.h Spreadsheet: Reorganise the sources a bit 2020-08-28 17:08:09 +02:00
SpreadsheetModel.cpp Spreadsheet: Add conditional formatting 2020-09-25 23:55:33 +02:00
SpreadsheetModel.h Spreadsheet: Don't advertise the SpreadsheetModel as sortable 2020-08-27 10:38:36 +02:00
SpreadsheetView.cpp Spreadsheet: Add conditional formatting 2020-09-25 23:55:33 +02:00
SpreadsheetView.h Spreadsheet: Add (limited) support for custom cell formatting 2020-08-29 17:42:03 +02:00
SpreadsheetWidget.cpp Spreadsheet: Do not clear cells when ctrl-selecting 2020-08-28 09:22:17 +02:00
SpreadsheetWidget.h Spreadsheet: Do not clear cells when ctrl-selecting 2020-08-28 09:22:17 +02:00
Workbook.cpp LibJS: Rename InterpreterScope => InterpreterExecutionScope 2020-09-21 14:35:12 +02:00
Workbook.h LibJS: Rename InterpreterScope => InterpreterExecutionScope 2020-09-21 14:35:12 +02:00