ladybird/Meta/Lagom/Tools/CodeGenerators/LibWeb
Jonathan Gamble 4e48ba36bd LibWeb: Better handling of union types in IDL code generation
First check if a string is a member of the enum before attempting
numeric conversion. This generates correct code for fields like:

AudioContextOptions {
  latencyHint: AudioContextLatencyCategory | double;
}
2026-01-26 18:46:39 +01:00
..
BindingsGenerator LibWeb: Better handling of union types in IDL code generation 2026-01-26 18:46:39 +01:00
CMakeLists.txt LibWeb: Generate the "Numeric Factory" OM methods on the CSS namespace 2025-09-11 17:06:44 +01:00
GenerateAriaRoles.cpp Everywhere: Rename serenity_main to ladybird_main 2025-07-08 09:17:16 -04:00
GenerateCSSDescriptors.cpp LibWeb: Include PropertyID.h in fewer header files 2025-10-27 14:50:54 +00:00
GenerateCSSEnums.cpp Everywhere: Rename serenity_main to ladybird_main 2025-07-08 09:17:16 -04:00
GenerateCSSEnvironmentVariable.cpp LibWeb+CodeGenerators: Generate EnvironmentVariable enum and functions 2025-08-07 16:38:29 +02:00
GenerateCSSKeyword.cpp LibWeb: Enable EXPLICIT_SYMBOL_EXPORT 2025-08-23 16:04:36 -06:00
GenerateCSSMathFunctions.cpp LibWeb: Support non-fixed <random-value-sharing> 2025-12-01 11:00:33 +00:00
GenerateCSSMediaFeatureID.cpp Everywhere: Rename serenity_main to ladybird_main 2025-07-08 09:17:16 -04:00
GenerateCSSNumericFactoryMethods.cpp LibWeb: Generate the "Numeric Factory" OM methods on the CSS namespace 2025-09-11 17:06:44 +01:00
GenerateCSSPropertyID.cpp LibWeb: Optimize getComputedStyle() to avoid layout when possible 2026-01-26 12:40:36 +01:00
GenerateCSSPseudoClass.cpp LibWeb/CSS: Support legacy selector aliases for pseudo-classes 2025-12-18 14:50:27 +01:00
GenerateCSSPseudoElement.cpp LibWeb: Parse the ::part() pseudo-element selector 2025-12-08 09:44:32 +00:00
GenerateCSSStyleProperties.cpp LibWeb/CSS: Use FlyString const& for property name IDL parameters 2025-10-02 13:46:04 +01:00
GenerateCSSTransformFunctions.cpp Everywhere: Rename serenity_main to ladybird_main 2025-07-08 09:17:16 -04:00
GenerateCSSUnits.cpp LibWeb/CSS: Generate canonical/compatible unit functions 2025-09-12 13:45:41 +02:00
GenerateNamedCharacterReferences.cpp AK: Store hash with HashTable entry to avoid expensive equality checks 2025-09-18 22:37:18 +02:00
GenerateWindowOrWorkerInterfaces.cpp LibWeb: Enable EXPLICIT_SYMBOL_EXPORT 2025-08-23 16:04:36 -06:00
GeneratorUtil.h CodeGenerators: Move some utilities out of GenerateCSSStyleProperties 2025-03-27 11:53:09 +00:00