serenity/Userland/DevTools/HackStudio/Debugger
Andreas Kling 0264ae23bc LibWeb: Make CSS layout lazier
Instead of doing layout synchronously whenever something changes,
we now use a basic event loop timer to defer and coalesce relayouts.

If you did something that requires a relayout of the page, make sure
to call Document::set_needs_layout() and it will get coalesced with all
the other layout updates.

There's lots of room for improvement here, but this already makes many
web pages significantly snappier. :^)

Also, note that this exposes a number of layout bugs where we have been
relying on multiple relayouts to calculate the correct dimensions for
things. Now that we only do a single layout in many cases, these kind of
problems are much more noticeable. That should also make them easier to
figure out and fix. :^)
2021-10-06 17:14:22 +02:00
..
BacktraceModel.cpp HackStudio: Enable building HackStudio on x86_64 2021-08-02 00:57:06 +02:00
BacktraceModel.h Everywhere: Replace Model::update() with Model::invalidate() 2021-08-06 19:14:31 +02:00
BreakpointCallback.h
Debugger.cpp HackStudio: Enable building HackStudio on x86_64 2021-08-02 00:57:06 +02:00
Debugger.h HackStudio: Enable building HackStudio on x86_64 2021-08-02 00:57:06 +02:00
DebuggerGlobalJSObject.cpp LibJS: Convert internal_set() to ThrowCompletionOr 2021-09-29 23:49:53 +01:00
DebuggerGlobalJSObject.h LibJS: Convert internal_set() to ThrowCompletionOr 2021-09-29 23:49:53 +01:00
DebuggerVariableJSObject.cpp LibJS: Convert internal_set() to ThrowCompletionOr 2021-09-29 23:49:53 +01:00
DebuggerVariableJSObject.h LibJS: Convert internal_set() to ThrowCompletionOr 2021-09-29 23:49:53 +01:00
DebugInfoWidget.cpp HackStudio: Enable building HackStudio on x86_64 2021-08-02 00:57:06 +02:00
DebugInfoWidget.h
DisassemblyModel.cpp Everywhere: Replace Model::update() with Model::invalidate() 2021-08-06 19:14:31 +02:00
DisassemblyModel.h Everywhere: Replace Model::update() with Model::invalidate() 2021-08-06 19:14:31 +02:00
DisassemblyWidget.cpp HackStudio: Enable building HackStudio on x86_64 2021-08-02 00:57:06 +02:00
DisassemblyWidget.h
EvaluateExpressionDialog.cpp LibWeb: Make CSS layout lazier 2021-10-06 17:14:22 +02:00
EvaluateExpressionDialog.h
RegistersModel.cpp HackStudio: Fix ds => fs typo in fs changed check in RegistersModel 2021-08-21 08:41:27 +02:00
RegistersModel.h Everywhere: Replace Model::update() with Model::invalidate() 2021-08-06 19:14:31 +02:00
VariablesModel.cpp Everywhere: Replace Model::update() with Model::invalidate() 2021-08-06 19:14:31 +02:00
VariablesModel.h Everywhere: Replace Model::update() with Model::invalidate() 2021-08-06 19:14:31 +02:00