servo/components/net
Martin Robinson a3c2471344
Fork Stylo's malloc_size_of into Servo (#34332)
This is unfortuante, but it's the only way to stop making Stylo's
`malloc_size_of` depend on so many of Servo's dependencies. This is an
important step on the way toward releasing Stylo as standalone software.
When possible, we defer to the implementation of `MallocSizeOf` that is
in the base class.

One benefit of this change is that we start properly measure the size of
WebRender types, which before were always set to zero.

In addition the `Measurable` class is removed in favor of simply
manually implementing `MallocSizeOf`, which doesn't require
uncomfortably modifying the shape of data structures.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2024-11-22 14:57:55 +00:00
..
fetch Remove referrer policy from document (#34263) 2024-11-19 12:45:10 +00:00
protocols Create HttpStatus to safely deal with HTTP responses status. (#33581) 2024-09-29 18:23:48 +00:00
tests Remove referrer policy from document (#34263) 2024-11-19 12:45:10 +00:00
async_runtime.rs Replace the lazy_static crate with std::sync::LazyLock in components/net (#33046) 2024-08-14 12:15:55 +00:00
Cargo.toml net: Refactor Decoder (#33611) 2024-10-02 16:59:31 +00:00
connector.rs Net: fold websocket and http tokio runtime into one (#31771) 2024-03-21 06:13:03 +00:00
cookie.rs Fix handling of __Secure- and __Host- Cookie prefixes (#33717) 2024-10-09 04:52:48 +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 net: Refactor Decoder (#33611) 2024-10-02 16:59:31 +00:00
filemanager_thread.rs Stop using time@0.1 in Servo (#33394) 2024-09-11 07:09:56 +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 doc(resources): Preferences, HstsPreloadList, RippyPNG (#33775) 2024-10-10 18:19:41 +00:00
http_cache.rs Fork Stylo's malloc_size_of into Servo (#34332) 2024-11-22 14:57:55 +00:00
http_loader.rs Remove referrer policy from document (#34263) 2024-11-19 12:45:10 +00:00
image_cache.rs net: Start reducing number of IPCs channels used for fetch with a FetchThread (#33863) 2024-10-16 16:53:24 +00:00
lib.rs net: Refactor Decoder (#33611) 2024-10-02 16:59:31 +00:00
local_directory_listing.rs clippy: Fix a bunch of warnings in script (#32680) 2024-07-04 11:40:23 +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 make protocol handlers registrable (#33104) 2024-08-22 04:11:16 +00:00
storage_thread.rs Replace .map_or(false with Option::is_some_and (#33468) 2024-09-16 10:03:52 +00:00
subresource_integrity.rs clippy: Fix warnings in components/net (#31626) 2024-03-13 09:40:04 +00:00
websocket_loader.rs Use ROUTER::add_typed_route instead of ROUTER::add_route everywhere (#33866) 2024-10-18 10:47:52 +00:00