servo/components/net
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
..
fetch add minimal implementation of FetchParams (#34833) 2025-01-12 14:37:25 +00:00
protocols Update all network-related dependencies to the latest versions (#34630) 2025-01-08 05:47:58 +00:00
tests api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00
async_runtime.rs api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00
Cargo.toml Add http2 feature for hyper-util (#34920) 2025-01-09 13:37:08 +00:00
connector.rs Update all network-related dependencies to the latest versions (#34630) 2025-01-08 05:47:58 +00:00
cookie.rs Upgrade rustc to 1.83 (#34793) 2025-01-01 09:38:28 +00:00
cookie_storage.rs net: Stop using both versions of the time crate in the cookie code (#33260) 2024-08-30 17:15:47 +00:00
decoder.rs api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00
filemanager_thread.rs api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00
hosts.rs Replace the lazy_static crate with std::sync::LazyLock in components/net (#33046) 2024-08-14 12:15:55 +00:00
hsts.rs api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00
http_cache.rs api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00
http_loader.rs add minimal implementation of FetchParams (#34833) 2025-01-12 14:37:25 +00:00
image_cache.rs api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00
lib.rs add minimal implementation of FetchParams (#34833) 2025-01-12 14:37:25 +00:00
local_directory_listing.rs api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00
mime_classifier.rs clippy: Fix a bunch of warnings in script (#32680) 2024-07-04 11:40:23 +00:00
resource_thread.rs api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00
storage_thread.rs build: upgrade rustc to 1.81.0 (#34270) 2024-12-12 07:26:16 +00:00
subresource_integrity.rs clippy: Fix warnings in components/net (#31626) 2024-03-13 09:40:04 +00:00
websocket_loader.rs build(deps): bump async-tungstenite from 0.28.0 to 0.28.2 (#34904) 2025-01-08 21:51:38 +00:00