servo/components
Martin Robinson 0e616e0c5d
api: Flatten and simplify Servo preferences (#34966)
Flatten and simplify Servo's preferences code. In addition, have both
preferences and options passed in as arguments to `Servo::new()` and
make sure not to use the globally set preferences in `servoshell` (as
much as possible now).

Instead of a complex procedural macro to generate preferences, just
expose a very simple derive macro that adds string based getters and
setters.

- All command-line parsing is moved to servoshell.
- There is no longer the concept of a missing preference.
- Preferences no longer have to be part of the resources bundle because
  they now have reasonable default values.
- servoshell specific preferences are no longer part of the preferences
  exposed by the Servo API.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2025-01-14 13:54:06 +00:00
..
allocator Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
background_hang_monitor Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
bluetooth api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00
canvas webgl: shutdown webrender before acknowledging Exit message (#34917) 2025-01-09 09:24:50 +00:00
compositing api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00
config api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00
constellation api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00
deny_public_fields Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
devtools api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00
dom_struct Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
domobject_derive Upgrade rustc to 1.83 (#34793) 2025-01-01 09:38:28 +00:00
fonts api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00
geometry servoshell: Allow overriding screen resolution with a command-line argument (#34038) 2024-10-30 11:54:13 +00:00
hyper_serde Elide lifetimes where possible after rustup (#34824) 2025-01-03 18:54:44 +00:00
jstraceable_derive Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
layout Elide lifetimes where possible after rustup (#34824) 2025-01-03 18:54:44 +00:00
layout_2020 layout: Improve logic for block size of table (#34947) 2025-01-13 11:50:25 +00:00
layout_thread api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00
layout_thread_2020 api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00
malloc_size_of script: Move the FontContext to Window (#34845) 2025-01-07 04:44:31 +00:00
media Remove some unused dependencies (#34355) 2024-11-25 10:29:58 +00:00
metrics Remove some unused dependencies (#34355) 2024-11-25 10:29:58 +00:00
net api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00
pixels Optimized unmultiply_inplace to remove fp ops (#33582) 2024-09-30 19:39:27 +00:00
profile script: Eliminate code duplication in the task queue (#34798) 2025-01-01 13:50:52 +00:00
rand crypto: Begin SubtleCrypto implementation (#33628) 2024-10-08 03:51:08 +00:00
range Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
script api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00
servo api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00
shared api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00
timers script: Make timers per-process (#34581) 2024-12-24 09:53:35 +00:00
url Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
webdriver_server api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00
webgpu api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00