1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-18 03:42:07 +00:00
serenity/Libraries/LibWeb
Nico Weber d8b6314018 Build: Support make's and ninja's restat optimization
After running a build command, make by default stat()s the command's
output, and if it wasn't touched, then it cancels all build steps
that were scheduled only because this command was expected to change
the output.

Ninja has the same feature, but it's opt-in behind the per-command
"restat = 1" setting. However, CMake enables it by default for all
custom commands.

Use Meta/write-only-on-difference.sh to write the output to a temporary
file, and then copy the temporary file only to the final location if the
contents of the output have changed since last time.
write-only-on-difference.sh automatically creates the output's parent
directory, so stop doing that in CMake.

Reduces the number of build steps that run after touching a file
in LibCore from 522 to 312.

Since we now no longer trigger the CMake special case "If COMMAND
specifies an executable target name (created by the add_executable()
command), it will automatically be replaced by the location of the
executable created at build time", we now need to use qualified paths to
the generators.

Somewhat related to #2877.
2020-08-04 15:58:08 +02:00
..
Bindings LibWeb: Add CharacterData and Text IDL interfaces 2020-08-03 20:50:45 +02:00
CodeGenerators LibWeb: Move HTML classes into the Web::HTML namespace 2020-07-28 18:55:48 +02:00
CSS LibWeb: Move the Page/Frame/EventHandler classes into Page/ 2020-07-28 19:28:29 +02:00
DOM LibWeb: Make sure that head and body always get the HTML element 2020-08-04 11:05:14 +02:00
HTML Unicode: s/codepoint/code_point/g 2020-08-03 19:06:41 +02:00
Layout Unicode: s/codepoint/code_point/g 2020-08-03 19:06:41 +02:00
Loader ProtocolServer+LibTLS: Pipe certificate requests from LibTLS to clients 2020-08-02 18:57:51 +02:00
Page Unicode: s/codepoint/code_point/g 2020-08-03 19:06:41 +02:00
Painting LibWeb: Switch to using AK::is and AK::downcast 2020-07-26 17:51:00 +02:00
Scripts LibWeb: Move CSS classes into the Web::CSS namespace 2020-07-26 20:05:15 +02:00
SVG LibWeb: Fix some SVG crashes/hangs 2020-08-02 19:16:40 +02:00
Tests LibWeb: Add a very basic test for Text node APIs ("data" and "length") 2020-08-03 20:53:26 +02:00
UIEvents LibWeb: Oops, provide the correct WrapperType for UIEvent 2020-07-28 19:40:11 +02:00
CMakeLists.txt Build: Support make's and ninja's restat optimization 2020-08-04 15:58:08 +02:00
DOMTreeModel.cpp LibWeb: Move DOM classes into the Web::DOM namespace 2020-07-26 20:05:15 +02:00
DOMTreeModel.h LibWeb: Move DOM classes into the Web::DOM namespace 2020-07-26 20:05:15 +02:00
Dump.cpp LibWeb: Move CSS classes into the Web::CSS namespace 2020-07-26 20:05:15 +02:00
Dump.h LibWeb: Move CSS classes into the Web::CSS namespace 2020-07-26 20:05:15 +02:00
FontCache.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
FontCache.h LibWeb: Use FlyString in FontCache keys 2020-05-26 23:45:48 +02:00
Forward.h LibWeb: Add CharacterData and Text IDL interfaces 2020-08-03 20:50:45 +02:00
LayoutTreeModel.cpp LibWeb: Move DOM classes into the Web::DOM namespace 2020-07-26 20:05:15 +02:00
LayoutTreeModel.h LibWeb: Move DOM classes into the Web::DOM namespace 2020-07-26 20:05:15 +02:00
Origin.h LibWeb: Add Origin concept (protocol, host, port tuple) 2020-04-07 23:01:45 +02:00
PageView.cpp LibWeb: Allow inserting text at the cursor by typing characters :^) 2020-08-02 17:34:50 +02:00
PageView.h LibWeb: Move the Page/Frame/EventHandler classes into Page/ 2020-07-28 19:28:29 +02:00
StylePropertiesModel.cpp LibWeb: Move CSS classes into the Web::CSS namespace 2020-07-26 20:05:15 +02:00
StylePropertiesModel.h LibWeb: Move CSS classes into the Web::CSS namespace 2020-07-26 20:05:15 +02:00
TreeNode.h LibWeb: Switch to using AK::is and AK::downcast 2020-07-26 17:51:00 +02:00
URLEncoder.cpp LibWeb: Use the URL encoder from AK instead of rolling a custom one 2020-06-15 17:56:00 +02:00
URLEncoder.h LibWeb: Use the URL encoder from AK instead of rolling a custom one 2020-06-15 17:56:00 +02:00
WebContentClient.cpp LibWeb: Make context menus work in WebContentView 2020-07-07 12:24:29 +02:00
WebContentClient.h LibWeb: Make context menus work in WebContentView 2020-07-07 12:24:29 +02:00
WebContentView.cpp LibWeb: Send key events to the WebContent process 2020-08-03 19:58:59 +02:00
WebContentView.h LibWeb: Send key events to the WebContent process 2020-08-03 19:58:59 +02:00
WebViewHooks.h LibWeb: Move DOM classes into the Web::DOM namespace 2020-07-26 20:05:15 +02:00