Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-09-25 | LibWeb: Move DOMException from DOM/ to WebIDL/ | Linus Groh | |
2022-09-25 | LibWeb: Move ExceptionOr from DOM/ to WebIDL/ | Linus Groh | |
This is a concept fully defined in the Web IDL spec and doesn't belong in the DOM directory/namespace - not even DOMException, despite the name :^) | |||
2022-09-25 | LibWeb: Add CSS::Size to represent the full range of CSS size values | Andreas Kling | |
Until now, we've been using CSS::LengthPercentage, sometimes wrapped in Optional, to represent CSS sizes. This meant we could not support modern values like `min-content`, `max-content`, `fit-content(<length>)`. We were also conflating `none` and `auto` which made the `min-*` and `max-*` properties confusing. The new CSS::Size class covers all possible size values as individual substates. It'll be quite a bit of work to make all layout code aware of the additional features, this patch merely makes the new type available. | |||
2022-09-24 | LibWeb: Move WindowProxy from Bindings/ to HTML/ | Linus Groh | |
2022-09-24 | LibWeb: Move CallbackType from Bindings/ to WebIDL/ | Linus Groh | |
Let's stop putting generic types and AOs from the Web IDL spec into the Bindings namespace and directory in LibWeb, and instead follow our usual naming rules of 'directory = namespace = spec name'. The IDL namespace is already used by LibIDL, so Web::WebIDL seems like a good choice. | |||
2022-09-22 | LibWeb: Move extract_body() into Fetch | Linus Groh | |
2022-09-22 | LibWeb: Start fleshing out the ReadableStream interface | Linus Groh | |
This is so we can just assume it exists in Fetch APIs (while still skipping functionality that relies on a full implementation, of course). | |||
2022-09-20 | LibWeb: Implement "browsing context group" concept from the HTML spec | Andreas Kling | |
2022-09-18 | LibWeb: Add missing includes | Ben Wiederhake | |
This remained undetected for a long time as HeaderCheck is disabled by default. This commit makes the following file compile again: // file: compile_me.cpp #include <LibWeb/HTML/CrossOrigin/CrossOriginOpenerPolicy.h> // That's it, this was enough to cause a compilation error. Likewise for most other files touched by this commit. | |||
2022-09-18 | LibWeb: Rename Attribute to Attr | Andreas Kling | |
This name is not very good, but it's what the specification calls it. | |||
2022-09-16 | LibWeb: Add FilterValueListStyleValue | MacDue | |
This style value holds a list of CSS filter function calls e.g. blur(10px) invert() grayscale() It will be used to implement backdrop-filter, but the same style value can be used for the image filter property. (The name is a little awkward but it's referenced to as filter-value-list in the spec too). | |||
2022-09-15 | LibWeb: Resolve cyclic declaration/definitions involving Length | Ben Wiederhake | |
This remained undetected for a long time as HeaderCheck is disabled by default. This commit makes the following file compile again: // file: compile_me.cpp #include <LibWeb/CSS/GridTrackSize.h> // That's it, this was enough to cause a compilation error. | |||
2022-09-07 | LibWeb+WebContent: Add abstraction layer for event loop and timers | Andreas Kling | |
Instead of using Core::EventLoop and Core::Timer directly, LibWeb now goes through a Web::Platform abstraction layer instead. This will allow us to plug in Qt's event loop (and QTimer) over in Ladybird, to avoid having to deal with multiple event loops. | |||
2022-09-06 | LibWeb: Make DOMException GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make WorkerNavigator GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make WorkerLocation GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make IntersectionObserver GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make URL, URLSearchParams & URLSearchParamsIterator GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make ResizeObserver GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make IdleDeadline GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make Selection GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make Crypto GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make Headers and HeadersIterator GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make Blob and File GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make TextDecoder GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make TextEncoder GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make DOMRect, DOMRectReadOnly and DOMRectList GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make DOMPoint and DOMPointReadOnly GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make SubtleCrypto GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make Storage GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make XMLSerializer GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make TextMetrics GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make Path2D GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make CanvasGradient GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make ImageData GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make 2D and 3D canvas rendering contexts GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make AbortController GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make SVGLength and SVGAnimatedLength GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make History GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make MessageChannel GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make HTMLCollection and subclasses GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make MutationObserver GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make MutationRecord GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make NodeList GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make PerformanceTiming GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make CSS::Screen GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make DOMParser GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb+LibJS: Make the EventTarget hierarchy (incl. DOM) GC-allocated | Andreas Kling | |
This is a monster patch that turns all EventTargets into GC-allocated PlatformObjects. Their C++ wrapper classes are removed, and the LibJS garbage collector is now responsible for their lifetimes. There's a fair amount of hacks and band-aids in this patch, and we'll have a lot of cleanup to do after this. | |||
2022-09-06 | LibWeb: Make AbstractRange and subclasses GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make DOM::Event and all its subclasses GC-allocated | Andreas Kling | |