summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Platform
AgeCommit message (Collapse)Author
2023-03-07LibWeb: Convert Platform::Timer to JS::SafeFunctionLuke Wilde
2023-01-12Userland: Replace remaining Core::Timer::construct()s with try_create()Sam Atkins
2023-01-06LibWeb: Use default system fonts for `serif`, `sans-serif`, etc.Andreas Kling
2022-12-06AK+Everywhere: Rename String to DeprecatedStringLinus Groh
We have a new, improved string type coming up in AK (OOM aware, no null state), and while it's going to use UTF-8, the name UTF8String is a mouthful - so let's free up the String name by renaming the existing class. Making the old one have an annoying name will hopefully also help with quick adoption :^)
2022-10-08LibWeb+WebContent: Add EventLoopPlugin::quit() virtualAndreas Kling
This allows you to customize breaking out of the system event loop.
2022-09-21LibWeb+WebContent: Move Serenity EventLoop and Font plugins into LibWebSam Atkins
These are exactly what's wanted by headless-browser too, so this saves us some duplication. LibWeb already links LibCore so it should not cause any issues for Ladybird.
2022-09-17LibWeb: Get default fonts via Platform::FontPluginAndreas Kling
Instead of asking Gfx::FontDatabase for the "default font" and the "default fixed-width font", we now proxy those requests out via the Platform::FontPlugin. This will allow Ladybird to use other default fonts as fallback.
2022-09-16LibWeb+LibWebView+WebContent: Add Web::Platform::ImageCodecPluginAndreas Kling
This replaces the previous Web::ImageDecoding::Decoder interface. While we're doing this, also move the SerenityOS implementation of this interface from LibWebView to WebContent. That means we no longer have to link with LibImageDecoderClient in applications that use a web view.
2022-09-08LibWeb+WebContent: Add abstraction layer for generic font familiesAndreas Kling
Instead of hard-coding the names of system fonts to use for the CSS generic fonts (like "sans-serif", "monospace", etc.) we now call out to a Platform::FontPlugin and ask for the generic names.
2022-09-07LibWeb+WebContent: Add abstraction layer for event loop and timersAndreas 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.