summaryrefslogtreecommitdiff
path: root/Ladybird/ConsoleWidget.cpp
AgeCommit message (Collapse)Author
2023-04-30Ladybird: Let WebContent know if the current system theme is darkAndreas Kling
This means we now actually respect @media (prefers-color-scheme: dark) by default when in dark mode. :^)
2023-04-26Browser+Ladybird: Render text in the JS console with a monospace fontTimothy Flynn
2023-04-24Ladybird: Define AK_DONT_REPLACE_STD via CMake rather than in every fileTimothy Flynn
2023-04-23Ladybird: Implement the JavaScript console using a WebContentViewTimothy Flynn
This aligns the Ladybird console implementation with the Browser console a bit more, which uses OutOfProcessWebView for rendering console output. This allows us to style the console output to try and match the system theme. Using a WebContentView is simpler than trying to style the old QTextEdit widget, as the console output is HTML with built-in "-libweb-palette-*" colors. These will override any color we set on the QTextEdit widget.
2022-12-25Ladybird: Fix build with JS::MarkupGenerator's new string type usageAliaksandr Kalenik
Fix to build after JS::MarkupGenerator got converted to use new string type: https://github.com/SerenityOS/serenity/commit/112b3f73429eff7a3b6947c7fb45c62a0e5c0727
2022-12-25Ladybird: Update for AK::{String => DeprecatedString} renameLinus Groh
2022-12-25Ladybird: Port over ConsoleWidget from the SerenityOS BrowserAndreas Kling
While this adds a fair bit of widget code, we're also increasing code sharing by using the same bits in WebContentClient for interacting with the JS console. That said, we should look for more ways to share code here.