Truly independent web browser
Find a file
Aliaksandr Kalenik 403a9c6e00 LibIPC: Change TransportSocket to write large messages in small chunks
With this change TransportSocket becomes capable of sending large
messages without relying on workarounds, such as sending the message as
a shared memory file descriptor when it can't fully fit into the socket
buffer.

It's implemented by combining all enqueued messages into two buffers:
one for bytes and another for fds, and repeatedly attempts to write them
in smaller chunks, waiting for the socket to become writable again if
the receiver needs time to consume the data.

Another significant improvement brought by this change is that we no
longer drop messages queued for sending if the socket doesn't become
writable after a 100ms timeout. Instead, we return the message to the
send buffer and continue waiting for the socket to become writable.
2025-04-09 23:14:03 +02:00
.devcontainer
.github CI: Add nightly Swift jobs for both Linux and macOS 2025-04-03 16:47:48 -06:00
AK LibWeb/IDB: Add some debug output 2025-04-09 11:48:49 -06:00
Base/res LibWeb: Dispatch pointer events to ::backdrop originating element 2025-04-09 12:10:42 +01:00
Documentation Meta: Add a link job pool with a configurable size 2025-04-08 14:01:28 +02:00
Libraries LibIPC: Change TransportSocket to write large messages in small chunks 2025-04-09 23:14:03 +02:00
Meta LibWeb/IDB: Add some debug output 2025-04-09 11:48:49 -06:00
Services LibWeb/CSS: Don't resolve @import URLs until they are used 2025-04-09 18:45:57 +01:00
Tests LibJS: Inline the fast path of Value::to_i32() and simplify to_u32() 2025-04-09 22:06:49 +02:00
Toolchain Meta: Update vcpkg to latest main revision 2025-04-03 08:03:48 -06:00
UI LibWebView: Do not use AK::format to format search engine URLs 2025-04-06 13:45:10 +02:00
Utilities LibJS: Make Value() default-construct the undefined value 2025-04-05 11:20:26 +02:00
.clang-format
.clang-tidy
.clangd
.editorconfig
.gitattributes
.gitignore Meta: Add swiftly .swift-version to .gitignore 2025-04-03 16:47:48 -06:00
.gn
.mailmap
.pre-commit-config.yaml
.prettierignore
.prettierrc
.swift-format
.ycm_extra_conf.py
CMakeLists.txt UI/Qt: Migrate to LibWebView's autocomplete engine 2025-04-02 08:52:45 -04:00
CMakePresets.json Meta: Make the "Release" build type use -O3 and -flto 2025-04-01 13:44:05 +02:00
CODE_OF_CONDUCT.md
CONTRIBUTING.md
ISSUES.md
LICENSE
README.md
SECURITY.md
vcpkg-configuration.json
vcpkg.json Meta: Update curl to 8.13.0 2025-04-05 14:26:09 -04:00

Ladybird

Ladybird is a truly independent web browser, using a novel engine based on web standards.

Important

Ladybird is in a pre-alpha state, and only suitable for use by developers

Features

We aim to build a complete, usable browser for the modern web.

Ladybird uses a multi-process architecture with a main UI process, several WebContent renderer processes, an ImageDecoder process, and a RequestServer process.

Image decoding and network connections are done out of process to be more robust against malicious content. Each tab has its own renderer process, which is sandboxed from the rest of the system.

At the moment, many core library support components are inherited from SerenityOS:

  • LibWeb: Web rendering engine
  • LibJS: JavaScript engine
  • LibWasm: WebAssembly implementation
  • LibCrypto/LibTLS: Cryptography primitives and Transport Layer Security
  • LibHTTP: HTTP/1.1 client
  • LibGfx: 2D Graphics Library, Image Decoding and Rendering
  • LibUnicode: Unicode and locale support
  • LibMedia: Audio and video playback
  • LibCore: Event loop, OS abstraction layer
  • LibIPC: Inter-process communication

How do I build and run this?

See build instructions for information on how to build Ladybird.

Ladybird runs on Linux, macOS, Windows (with WSL2), and many other *Nixes.

How do I read the documentation?

Code-related documentation can be found in the documentation folder.

Get in touch and participate!

Join our Discord server to participate in development discussion.

Please read Getting started contributing if you plan to contribute to Ladybird for the first time.

Before opening an issue, please see the issue policy and the detailed issue-reporting guidelines.

The full contribution guidelines can be found in CONTRIBUTING.md.

License

Ladybird is licensed under a 2-clause BSD license.