summaryrefslogtreecommitdiff
path: root/Ladybird
AgeCommit message (Collapse)Author
2023-01-19Ladybird: Accept file dropsKarol Kosek
2023-01-19Ladybird: Add URL and 'open in background' parameters to new_tab()Karol Kosek
This will avoid loading starting about:blank page in places when we know exactly what we want to load. The opening in background part might be useful for future things like file drops and right-click open in new tab.
2023-01-19Ladybird: Move the initial blank page load to BrowserWindowKarol Kosek
Takes care of a FIXME :^)
2023-01-19Ladybird: Don't prepend 'about:' urls with an http:// schemeKarol Kosek
2023-01-19Ladybird: Set initial page when NOT connected to WebDriverKarol Kosek
This flips an if check condition, making the JS console work in new tabs again.
2023-01-18LibGfx+Ladybird+Userland: Don't sniff for TGA images with only raw bytesLiav A
Because TGA images don't have magic bytes as a signature to be detected, instead assume a sequence of ReadonlyBytes is a possible TGA image only if we are given a path so we could check the extension of the file and see if it's a TGA image. When we know the path of the file being loaded, we will try to first check its extension, and only if there's no match to a known decoder, based on simple extension lookup, then we would probe for other formats as usual with the normal sniffing method.
2023-01-17AK+Everywhere: Rename JsonObject::get() to ::get_deprecated()Sam Atkins
This is a preparatory step to making `get()` return `ErrorOr`.
2023-01-12LibWebView+Ladybird: Move preferred color scheme to ViewImplementationLinus Groh
2023-01-12LibWebView+Ladybird: Move text selection to ViewImplementationLinus Groh
2023-01-12LibWebView+Ladybird: Move running JavaScript to ViewImplementationLinus Groh
2023-01-12LibWebView+Ladybird: Move debug request to ViewImplementationLinus Groh
2023-01-12LibWebView+Ladybird: Move page loading to ViewImplementationLinus Groh
2023-01-12LibWebView+Ladybird: Move DOM inspection helpers to ViewImplementationLinus Groh
2023-01-12LibWebView+Ladybird: Move get source request to ViewImplementationLinus Groh
2023-01-12LibWebView+Ladybird: Move zoom logic to ViewImplementationLinus Groh
2023-01-12LibWebView+Ladybird: Begin de-duplicate WebView implementationsLinus Groh
This starts moving code equally shared between the OOPWV and Ladybird WebContentView implementations to WebView::ViewImplementation, beginning with the client state.
2023-01-12Ladybird: Add Ctrl+= as an alternate "zoom in" shortcutAndreas Kling
On many keyboards, Ctrl++ is actually Ctrl+Shift+=, and Ctrl+= makes more sense as it's symmetric with Ctrl+-. Both Firefox and Chrome already support this alternate shortcut, so let's be nice and support it in Ladybird as well. :^)
2023-01-12Ladybird: Use QKeySequence::StandardKey as much as possibleAndreas Kling
Let Qt pick the most appropriate native shortcut when it knows one.
2023-01-12Ladybird: Add "Copy" and "Select All" actions to the Edit menuAndreas Kling
2023-01-12Ladybird: Replace ColorScheme enum with Web::CSS::PreferredColorSchemeLinus Groh
This matches OutOfProcessWebView::set_preferred_color_scheme().
2023-01-12Ladybird: Implement zoom :^)Linus Groh
2023-01-12Ladybird: Set 'device pixels per CSS pixel' to device pixel ratio :^)Linus Groh
2023-01-11Ladybird: Use standard font paths in FontPluginQtLinus Groh
This makes vector fonts load on macOS, where /usr/share/fonts doesn't exist and Ladybird would only load the bitmap fonts from ./res/fonts in the SerenityOS resource root directory. Additionally, fonts in {/usr/share/local,~/.local}/fonts are now loaded on Linux.
2023-01-09Ladybird: Port to Core::Stream::FileKarol Kosek
2023-01-09Ladybird: Let Qt pick the reload shortcutAndreas Kling
This fixes an issue on platforms where Ctrl+R is the preferred native shortcut, and we were effectively trying to set it twice.
2023-01-08Ladybird: Add Qt's standard refresh key (F5) to reload shortcutsKarol Kosek
2023-01-07LibWebView+WebContent: Expose the Accessibility Tree to Other ProcessesJonah
This patch also stubs out notify_server_did_get_accessiblity_tree in ladybird since ViewImplementation now has it. However, this feature is still immature, so just stubbing out in ladybird for now. Once we have more robust support in Serenity (namely ARIA properties/state and accessible names and descriptions) we can port this functionality over.
2023-01-03Ladybird: Install SQLServer binaryDavide Cavalca
Install the SQLServer binary added in 2cb3ae1 so that it's actually available on the target system when doing a standalone build of Ladybird.
2023-01-03Ladybird: Remove separate LICENSE filenetworkException
Since ladybird is part of the serenity monorepo now there's no need to keep a separate LICENSE file around :^)
2022-12-30Ladybird: Tell Qt that we manually handle the Cookie headerLuke Wilde
In some cases, Qt would silently drop the Cookie header and start causing Cookie authenticated requests to start failing.
2022-12-30Ladybird: Fix typosNico Weber
2022-12-25Ladybird: Close inspector and JS console when tab closesMacDue
Keeping these around can lead to use-after-frees and crashes.
2022-12-25Ladybird: Add the node properties tabs to the inspectorMacDue
This now allows you to view the computed and resolved style values, along with the CSS variables of a node.
2022-12-25Ladybird: Reimplement the DOM inspector :^)MacDue
This has been broken since the switch to the multiprocess architecture (and even before then was very limited). This restores the previous functionally and also implements the ability to inspect individual elements (by selecting them in the tree view). The inspector also now correctly updates when navigating between pages.
2022-12-25Ladybird: Allow replacing underlying model of ModelTranslatorMacDue
2022-12-25Documentation: Move Ladybird BuildInstructions to DocumentationAndrew Kaster
Update Ladybird/README.md at the same time to reflect its new monorepo status.
2022-12-25Ladybird: Support building Ladybird as a non-top-level projectAndrew Kaster
The implementation assumes that Lagom is either the top level project, or included before Ladybird is.
2022-12-25Ladybird/WebDriver: Retrieve process environment in an OS-dependent wayTimothy Flynn
2022-12-25Ladybird/WebDriver: Move to using local socket files for WebDriver IPCTimothy Flynn
This allows us to use standard Serenity IPC infrastructure rather than manually creating FD-passing sockets. This also lets us use Serenity's WebDriver Session class, removing the copy previously used in Ladybird. This ensures any changes to Session in the future will be picked up by Ladybird for free.
2022-12-25Ladybird: Fix build after Gfx::load_system_theme() return type changeAndreas Kling
2022-12-25Ladybird: Migrate SQLServer to be launched as a singleton processTimothy Flynn
Rather than manually launching the SQLServer process, use SQLClient's new functionality to launch the server just once for all Ladybird instances. Quit the SQLServer process when it no longer has any connected clients.
2022-12-25Ladybird: Quit SQLServer when its connected client exitsTimothy Flynn
When Ladybird exits, SQLServer can get stuck spinning at 100% CPU after the socket connection is closed. This changes the client to quit the event loop when that disconnect happens to ensure that SQLServer is properly destroyed.
2022-12-25Ladybird: Fix build after ConsoleGlobalEnvironmentExtensions renameAndreas Kling
2022-12-25Ladybird: Implement SQLServer for Ladybird :^)Timothy Flynn
This adds a SQLServer binary for Ladybird to make use of Serenity's SQL implementation. This has to use the same IPC socket handling that was used to make WebContent and WebDriver work out-of-process. Unlike Serenity, Ladybird creates a new SQLServer instance for each Ladybird instance. In the future, we should try to make sure there is only one SQLServer instance at a time, and allow multiple Ladybird instances to communicate with it.
2022-12-25Ladybird: Do not domain match on cookie updatesTimothy Flynn
This matches a corresponding change to Serenity's Browser.
2022-12-25Ladybird/Documentation: Add cmake to macOS dependenciesThitat Auareesuksakul
2022-12-25Ladybird: Pass Gfx::IntPoint by valueMacDue
2022-12-25Ladybird: Pass Gfx::IntSize by valueMacDue
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