ladybird/Libraries/LibWeb/Streams
Shannon Booth 637fd51595 LibWeb: Unify WebIDL C++ type generation
Represent WebIDL C++ types with a single CppType model that tracks
nullability, optional presence, and contained storage.

GC-like values now use GC::Ref/GC::Ptr directly, while containers choose
"plain", "Root", or "Conservative" container types depending on what
they contain. For example, sequence<Element> becomes a RootVector of
GC::Ref values, while sequence<SomeDictionary> becomes a
ConservativeVector only when the dictionary contains GC-like values.
This moves the generated bindings away from wrapping GC values in
GC::Root by default.

This has broad fallout as the types passed to interfaces for GC
objects changes almost fully across the board.
2026-05-23 18:26:12 +02:00
..
AbstractOperations.cpp LibWeb: Unify WebIDL C++ type generation 2026-05-23 18:26:12 +02:00
AbstractOperations.h LibWeb/Bindings: Generate struct definitions from IDL dictionaries 2026-05-09 10:49:49 +02:00
Algorithms.h LibWeb/Streams: Put algorithm definitions in a separate header file 2024-12-11 15:11:21 +01:00
ByteLengthQueuingStrategy.cpp LibWeb/Bindings: Generate struct definitions from IDL dictionaries 2026-05-09 10:49:49 +02:00
ByteLengthQueuingStrategy.h LibWeb/Bindings: Generate struct definitions from IDL dictionaries 2026-05-09 10:49:49 +02:00
ByteLengthQueuingStrategy.idl LibWeb+LibIDL: Remove support for #import directives during parsing 2026-04-24 20:08:29 +02:00
CountQueuingStrategy.cpp LibWeb/Bindings: Generate struct definitions from IDL dictionaries 2026-05-09 10:49:49 +02:00
CountQueuingStrategy.h LibWeb/Bindings: Generate struct definitions from IDL dictionaries 2026-05-09 10:49:49 +02:00
CountQueuingStrategy.idl LibWeb+LibIDL: Remove support for #import directives during parsing 2026-04-24 20:08:29 +02:00
GenericTransformStream.cpp LibWeb: Add the IDL for the GenericTransformStream mixin 2024-11-17 22:37:45 +01:00
GenericTransformStream.h LibWeb: Add the IDL for the GenericTransformStream mixin 2024-11-17 22:37:45 +01:00
GenericTransformStream.idl LibWeb+LibIDL: Remove support for #import directives during parsing 2026-04-24 20:08:29 +02:00
QueuingStrategy.h LibWeb/Bindings: Generate struct definitions from IDL dictionaries 2026-05-09 10:49:49 +02:00
QueuingStrategy.idl
QueuingStrategyInit.idl
ReadableByteStreamController.cpp LibWeb: Unify WebIDL C++ type generation 2026-05-23 18:26:12 +02:00
ReadableByteStreamController.h LibWeb: Unify WebIDL C++ type generation 2026-05-23 18:26:12 +02:00
ReadableByteStreamController.idl LibWeb+LibIDL: Remove support for #import directives during parsing 2026-04-24 20:08:29 +02:00
ReadableStream.cpp LibWeb: Unify WebIDL C++ type generation 2026-05-23 18:26:12 +02:00
ReadableStream.h LibWeb: Unify WebIDL C++ type generation 2026-05-23 18:26:12 +02:00
ReadableStream.idl LibWeb+LibIDL: Remove support for #import directives during parsing 2026-04-24 20:08:29 +02:00
ReadableStreamAsyncIterator.cpp LibWeb/Bindings: Generate struct definitions from IDL dictionaries 2026-05-09 10:49:49 +02:00
ReadableStreamAsyncIterator.h LibWeb/Bindings: Generate struct definitions from IDL dictionaries 2026-05-09 10:49:49 +02:00
ReadableStreamBYOBReader.cpp LibWeb: Unify WebIDL C++ type generation 2026-05-23 18:26:12 +02:00
ReadableStreamBYOBReader.h LibWeb: Unify WebIDL C++ type generation 2026-05-23 18:26:12 +02:00
ReadableStreamBYOBReader.idl LibWeb+LibIDL: Remove support for #import directives during parsing 2026-04-24 20:08:29 +02:00
ReadableStreamBYOBRequest.cpp LibWeb/Bindings: Emit one bindings header and cpp per IDL 2026-04-21 07:36:13 +02:00
ReadableStreamBYOBRequest.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
ReadableStreamBYOBRequest.idl
ReadableStreamDefaultController.cpp LibWeb: Unify WebIDL C++ type generation 2026-05-23 18:26:12 +02:00
ReadableStreamDefaultController.h LibWeb: Unify WebIDL C++ type generation 2026-05-23 18:26:12 +02:00
ReadableStreamDefaultController.idl
ReadableStreamDefaultReader.cpp LibJS+LibWeb: Allow instantiating DataBlock with an external buffer 2026-05-10 16:41:42 +02:00
ReadableStreamDefaultReader.h Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00
ReadableStreamDefaultReader.idl LibWeb+LibIDL: Remove support for #import directives during parsing 2026-04-24 20:08:29 +02:00
ReadableStreamGenericReader.cpp LibWeb: Unify WebIDL C++ type generation 2026-05-23 18:26:12 +02:00
ReadableStreamGenericReader.h LibWeb: Unify WebIDL C++ type generation 2026-05-23 18:26:12 +02:00
ReadableStreamGenericReader.idl
ReadableStreamOperations.cpp LibGC: Default-construct RootVector from the global heap 2026-05-20 20:37:55 +02:00
ReadableStreamOperations.h LibWeb: Avoid temporary stream chunks for fetch bytes 2026-05-15 15:20:33 +02:00
ReadableStreamPipeTo.cpp LibWeb: Register shutdown-on-close handler once in ReadableStreamPipeTo 2025-12-08 13:57:14 -05:00
ReadableStreamPipeTo.h LibWeb: Register shutdown-on-close handler once in ReadableStreamPipeTo 2025-12-08 13:57:14 -05:00
ReadableStreamTee.cpp LibJS+LibWeb: Use the unified Visitor for Variant-holding members 2026-05-15 08:51:17 +02:00
ReadableStreamTee.h LibWeb: Move ReadableStream AOs into their own file 2025-04-18 06:55:40 -04:00
Transformer.idl LibWeb/Streams: Convert Transformer to IDL bindings conversion 2026-05-09 10:49:49 +02:00
TransformStream.cpp LibWeb: Unify WebIDL C++ type generation 2026-05-23 18:26:12 +02:00
TransformStream.h LibWeb: Unify WebIDL C++ type generation 2026-05-23 18:26:12 +02:00
TransformStream.idl LibWeb+LibIDL: Remove support for #import directives during parsing 2026-04-24 20:08:29 +02:00
TransformStreamDefaultController.cpp LibWeb/Bindings: Emit one bindings header and cpp per IDL 2026-04-21 07:36:13 +02:00
TransformStreamDefaultController.h LibWeb: Move ReadableStream AOs into their own file 2025-04-18 06:55:40 -04:00
TransformStreamDefaultController.idl
TransformStreamOperations.cpp LibWeb/Streams: Convert Transformer to IDL bindings conversion 2026-05-09 10:49:49 +02:00
TransformStreamOperations.h LibWeb/Streams: Convert Transformer to IDL bindings conversion 2026-05-09 10:49:49 +02:00
UnderlyingSink.idl LibWeb/Streams: Convert UnderlyingSink to IDL bindings conversion 2026-05-09 10:49:49 +02:00
UnderlyingSource.idl LibWeb/Streams: Convert UnderlyingSource to IDL bindings conversion 2026-05-09 10:49:49 +02:00
WritableStream.cpp LibWeb: Unify WebIDL C++ type generation 2026-05-23 18:26:12 +02:00
WritableStream.h LibWeb: Unify WebIDL C++ type generation 2026-05-23 18:26:12 +02:00
WritableStream.idl LibWeb+LibIDL: Remove support for #import directives during parsing 2026-04-24 20:08:29 +02:00
WritableStreamDefaultController.cpp LibWeb: Unify WebIDL C++ type generation 2026-05-23 18:26:12 +02:00
WritableStreamDefaultController.h LibWeb: Unify WebIDL C++ type generation 2026-05-23 18:26:12 +02:00
WritableStreamDefaultController.idl LibWeb+LibIDL: Remove support for #import directives during parsing 2026-04-24 20:08:29 +02:00
WritableStreamDefaultWriter.cpp LibWeb: Unify WebIDL C++ type generation 2026-05-23 18:26:12 +02:00
WritableStreamDefaultWriter.h LibWeb: Unify WebIDL C++ type generation 2026-05-23 18:26:12 +02:00
WritableStreamDefaultWriter.idl LibWeb+LibIDL: Remove support for #import directives during parsing 2026-04-24 20:08:29 +02:00
WritableStreamOperations.cpp LibWeb/Streams: Convert UnderlyingSink to IDL bindings conversion 2026-05-09 10:49:49 +02:00
WritableStreamOperations.h LibWeb/Streams: Convert UnderlyingSink to IDL bindings conversion 2026-05-09 10:49:49 +02:00