Truly independent web browser
Find a file
Andreas Kling e399b472e9 LibWeb: Make CSS::StyleProperties copy-on-write internally
This makes the way we've implemented the CSS `revert` keyword a lot less
expensive.

Until now, we were making a deep copy of all property values at the
start of each cascade origin. (Those are the values that `revert` would
bring us back to if encountered.)

With this patch, the revert property set becomes a shallow copy, and we
only clone the property set if the cascade ends up writing something.

This knocks a 5% profile item down to 1.3% on https://tailwindcss.com
2024-09-10 13:51:28 +02:00
.devcontainer Meta: Rename devcontainer to Ladybird 2024-07-11 08:48:15 -06:00
.github CI: Bump JamesIves/github-pages-deploy-action from 4.6.3 to 4.6.4 2024-09-03 10:14:43 -06:00
AK AK+LibURL: Move CopyOnWrite<T> from LibURL to AK 2024-09-10 13:51:28 +02:00
Base/res LibWebView: Alternate the color of inspector table rows 2024-09-08 09:45:39 +02:00
Documentation Documentation: Explain how to use the rebaseline-libweb-test script 2024-09-01 14:15:37 +02:00
Ladybird UI/Qt: Don't change LocationEdit cursor position on right click 2024-09-10 07:39:29 +02:00
Meta Meta: Remove HeaderCheck tool 2024-09-10 07:39:15 +02:00
Tests LibWeb: Add tests for justify-*: left/right 2024-09-10 10:40:07 +01:00
Toolchain Meta: Update vcpkg to the August 2024 release 2024-08-30 15:08:25 -04:00
Userland LibWeb: Make CSS::StyleProperties copy-on-write internally 2024-09-10 13:51:28 +02:00
.clang-format Meta: Support using clang-format on Objective-C++ files 2023-08-22 21:36:19 -04:00
.clang-tidy Everywhere: Remove references to the kernel 2024-06-03 10:53:53 +02:00
.clangd Meta: Add .clangd config file (with project-recommended defaults) 2024-07-09 04:40:52 -06:00
.editorconfig Meta: Add .editorconfig 2022-09-10 17:32:55 +01:00
.gitattributes LibGfx: Remove support for the various "portable" image formats 2024-06-17 21:57:35 +02:00
.gitignore Meta: Add provision for user-specified port variables to vcpkg 2024-07-07 15:56:59 +02:00
.gn Meta: Automatically generate a compilation database for clangd 2023-11-14 14:29:35 -05:00
.mailmap Meta: Update mailmap to use my ladybird.org email address 2024-08-15 13:58:38 +01:00
.pre-commit-config.yaml Meta: Update Documentation and CI for repo move 2024-06-03 10:53:53 +02:00
.prettierignore Meta: Remove home/anon directory from .prettierignore 2024-07-17 09:57:46 -06:00
.prettierrc Meta: Move prettier config files to the root of the repository 2020-08-24 18:21:33 +02:00
.swift-format Meta: Add swift-format configuration 2024-07-30 18:38:02 -06:00
.ycm_extra_conf.py Meta: Make YCM return flags as Python list 2024-07-06 14:50:43 -06:00
CMakeLists.txt CMake: Add proper sanitizer options for Swift files 2024-07-30 18:38:02 -06:00
CMakePresets.json CMake: Enable running unit tests with a Debug build/preset 2024-08-28 01:13:16 -06:00
CONTRIBUTING.md Documentation: Add a note about fetching git notes 2024-08-28 15:36:47 +02:00
flake.lock nix: Clean up files, use good practices 2024-03-25 14:19:34 -06:00
flake.nix Meta: Remove SerenityOS components not needed for Ladybird 2024-06-03 10:53:53 +02:00
ISSUES.md Meta: Add guidance on how to write reduced test cases 2024-07-25 16:59:09 +02:00
LICENSE Meta: Update root LICENSE to say Ladybird instead of SerenityOS 2024-06-04 07:25:44 +02:00
README.md Documentation: Add a getting started contributing guide 2024-08-17 11:51:06 -06:00
SECURITY.md Meta: Update security policy to include private vulnerability reporting 2024-08-23 12:06:05 -06:00
vcpkg-configuration.json Meta: Add overlay port for vulkan-loader 2024-07-07 15:56:59 +02:00
vcpkg.json Meta: Update simdutf to version 5.3.4 2024-08-30 15:08:25 -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
  • LibArchive: Archive file format support
  • LibUnicode: Unicode and locale support
  • LibAudio, 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.