ladybird/Meta/CMake
Timothy Flynn 7bd8fd000f LibWeb: Generate dedicated methods to create Web constructors/prototypes
Currently, for each exposed interface, we generate one massive function
to create every Web constructor and prototype. In an effort to lazily
create these instead, this first step is to extract the creation of each
of these into its own method.

First, this generates a forwarding header for all IDL types. This is to
allow callers to remain unchanged without forcing them to include the
(very heavy) generated IDL headers. This header is included by LibWeb's
forwarding header.

Next, this defines a base template method on Web::Bindings::Intrinsics
to create a prototype/constructor pair. Specializations of this template
are now generated in a new .cpp file, IntrinsicDefinitions.cpp. The base
Intrinsics class is updated to use this new method, and will continue to
cache the result.

Last, some WebAssembly classes are updated to use this new mechanism.
They were using some ad hoc cache keys that are now in line with the
generated specializations.

That one massive function is still used to invoke these specializations,
so they are not lazy as of this commit.
2023-01-10 16:08:14 +01:00
..
Superbuild Meta: Move UCD/CLDR/TZDB downloaded artifacts to Build/caches 2022-12-24 09:46:28 -05:00
all_the_debug_macros.cmake Kernel: Remove the NE2000 PCI network adapter driver 2023-01-08 21:51:59 +01:00
check_for_dependencies.cmake Meta: Do not log CMake version on each CMake invocation 2022-09-11 21:40:15 +01:00
cmake-version.cmake Toolchain+Meta: Add script to build CMake from source 2022-12-13 11:36:14 +01:00
code_generators.cmake CMake: Don't mess with absolute compile_ipc() source paths 2022-10-06 11:23:53 +02:00
common_compile_options.cmake Meta: Move compiler flags into standalone CMake files 2022-05-14 17:53:06 +02:00
common_options.cmake BindingsGenerator+CMake: Keep track of IDL dependencies 2022-12-13 11:31:24 +01:00
commonmark_spec.cmake Everywhere: Move commonmark.spec.json to /home/anon/Tests 2022-03-20 22:20:59 +01:00
flac_spec_tests.cmake Meta+Tests: Allow running FLAC spec tests 2022-09-02 23:54:50 +01:00
jakt.cmake Meta: Update jakt build support for fully bootstrapped compiler 2022-09-09 11:23:42 +02:00
lagom_compile_options.cmake Lagom: Don't compile with -fPIC on WIN32 2022-12-13 21:53:29 +00:00
lagom_options.cmake Lagom: Add option to build Ladybird as part of a Lagom build 2022-12-25 07:58:58 -07:00
lagom-install-config.cmake Meta: Update jakt build support for fully bootstrapped compiler 2022-09-09 11:23:42 +02:00
libgl_generators.cmake LibGL: Generate the API wrappers 2022-12-20 10:42:31 +01:00
libweb_generators.cmake LibWeb: Generate dedicated methods to create Web constructors/prototypes 2023-01-10 16:08:14 +01:00
locale_data.cmake Meta: Move UCD/CLDR/TZDB downloaded artifacts to Build/caches 2022-12-24 09:46:28 -05:00
pnp_ids.cmake Meta: Remove unused "prefix" variable from invoke_generator() helper 2022-10-16 21:16:48 +02:00
processor-count.cmake Meta: Print error if cmake does not exist 2022-10-16 17:49:18 +02:00
serenity_compile_options.cmake Meta: Force compilation with DWARF revision 4 2022-12-28 11:53:41 +01:00
serenity_components.cmake Meta: Properly ignore targets which don't have a component name 2022-10-15 13:12:42 +02:00
serenity_options.cmake CMake: Pass NO_POLICY_SCOPE to options cmake helpers 2022-12-14 12:43:12 +01:00
setup_ccache.cmake Meta: Detect ccache being passed as the compiler 2022-12-12 21:34:09 -07:00
time_zone_data.cmake Meta: Move UCD/CLDR/TZDB downloaded artifacts to Build/caches 2022-12-24 09:46:28 -05:00
unicode_data.cmake Meta: Move UCD/CLDR/TZDB downloaded artifacts to Build/caches 2022-12-24 09:46:28 -05:00
utils.cmake CMake: Fall back to the Web Archive when downloading files 2022-12-21 09:13:50 +00:00
wasm_spec_tests.cmake Meta+CMake: Extract Wasm spec tests into the binary directory 2022-12-14 20:29:43 +03:30