Age | Commit message (Collapse) | Author |
|
|
|
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.
|
|
Takes care of a FIXME :^)
|
|
|
|
This flips an if check condition, making the JS console work in new tabs
again.
|
|
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.
|
|
This is a preparatory step to making `get()` return `ErrorOr`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This starts moving code equally shared between the OOPWV and Ladybird
WebContentView implementations to WebView::ViewImplementation, beginning
with the client state.
|
|
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. :^)
|
|
Let Qt pick the most appropriate native shortcut when it knows one.
|
|
|
|
This matches OutOfProcessWebView::set_preferred_color_scheme().
|
|
|
|
|
|
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.
|
|
|
|
This fixes an issue on platforms where Ctrl+R is the preferred native
shortcut, and we were effectively trying to set it twice.
|
|
|
|
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.
|
|
Install the SQLServer binary added in 2cb3ae1 so that it's actually
available on the target system when doing a standalone build of
Ladybird.
|
|
Since ladybird is part of the serenity monorepo now there's no need to
keep a separate LICENSE file around :^)
|
|
In some cases, Qt would silently drop the Cookie header and start
causing Cookie authenticated requests to start failing.
|
|
|
|
Keeping these around can lead to use-after-frees and crashes.
|
|
This now allows you to view the computed and resolved style values,
along with the CSS variables of a node.
|
|
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.
|
|
|
|
Update Ladybird/README.md at the same time to reflect its new monorepo
status.
|
|
The implementation assumes that Lagom is either the top level project,
or included before Ladybird is.
|
|
|
|
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.
|
|
|
|
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.
|
|
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.
|
|
|
|
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.
|
|
This matches a corresponding change to Serenity's Browser.
|
|
|
|
|
|
|
|
Fix to build after JS::MarkupGenerator got converted to use
new string type:
https://github.com/SerenityOS/serenity/commit/112b3f73429eff7a3b6947c7fb45c62a0e5c0727
|
|
|