servo/components/devtools
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
..
actors api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00
actor.rs Stop using time@0.1 in Servo (#33394) 2024-09-11 07:09:56 +00:00
build.rs Devtools device description: improve how Servo is advertised in Firefox's about:debugging (fixes #27528) (#32227) 2024-05-08 04:12:18 +00:00
Cargo.toml Create HttpStatus to safely deal with HTTP responses status. (#33581) 2024-09-29 18:23:48 +00:00
lib.rs Support syntax highlighting of arguments in the devtools console (#34810) 2025-01-02 18:47:52 +00:00
protocol.rs DevTools: Replace camel case variable names (#32726) 2024-07-08 11:18:35 +00:00