servo/components
Josh Matthews d8fc1d8bb8
Refactor common boilerplate out of serialize/transfer implementations (#35831)
* script: Create infrastructure for reducing hand-written serializable/transferrable implementations.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* script: Clone all serializable DOM interfaces.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* script: Deserialize all serializable DOM interfaces.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* script: Serialize all serializable DOM interfaces.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* script: Transfer-receive all transferable DOM interfaces.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* script: Transfer all transferable DOM interfaces.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* Formatting.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* script: Extract boilerplate from serialize/deserialize implementations.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* script: Extract boilerplate from transfer-receive.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* script: Extract boilerplate from transfer operation.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* Tidy fixes.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* script: Check transferability of all DOM interfaces.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* Clippy fixes.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* Clippy fixes.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* Remove unnecessary duplicate crate.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* Formatting.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

---------

Signed-off-by: Josh Matthews <josh@joshmatthews.net>
2025-03-15 13:58:56 +00:00
..
allocator Migrate to the 2024 edition (#35755) 2025-03-13 10:28:11 +00:00
background_hang_monitor Migrate to the 2024 edition (#35755) 2025-03-13 10:28:11 +00:00
bluetooth Migrate to the 2024 edition (#35755) 2025-03-13 10:28:11 +00:00
canvas Migrate to the 2024 edition (#35755) 2025-03-13 10:28:11 +00:00
compositing Migrate to the 2024 edition (#35755) 2025-03-13 10:28:11 +00:00
config Hide servo internal shadow roots from the inspector by default (#35958) 2025-03-13 13:08:24 +00:00
constellation constellation: Remove two unused messages to the Constellation (#35972) 2025-03-15 12:54:48 +00:00
deny_public_fields Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
devtools devtools: use correct id for browser_id and outer_window_id (#35884) 2025-03-13 11:39:06 +00:00
dom_struct script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
domobject_derive Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
fonts Migrate to the 2024 edition (#35755) 2025-03-13 10:28:11 +00:00
geometry servoshell: Allow overriding screen resolution with a command-line argument (#34038) 2024-10-30 11:54:13 +00:00
hyper_serde Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
jstraceable_derive Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
layout_2020 layout: Unify FlexItem::new() and FlexItemBox::main_content_size_info() (#35900) 2025-03-14 21:37:19 +00:00
layout_thread_2020 Use new stylo crate renames (#35898) 2025-03-12 00:02:12 +00:00
malloc_size_of Migrate to the 2024 edition (#35755) 2025-03-13 10:28:11 +00:00
media Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
metrics compositor: Make PipelineDetails and pending paint metrics per-WebView (#35701) 2025-03-04 02:31:23 +00:00
net Migrate to the 2024 edition (#35755) 2025-03-13 10:28:11 +00:00
pixels pixels: Fix webp detection (#35474) 2025-02-19 11:09:16 +00:00
profile Use strum to iterate through enum variants and get their names (#35933) 2025-03-13 12:00:31 +00:00
rand Migrate to the 2024 edition (#35755) 2025-03-13 10:28:11 +00:00
range Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
script Refactor common boilerplate out of serialize/transfer implementations (#35831) 2025-03-15 13:58:56 +00:00
script_bindings script: Implement HTMLOptgroupElement::Label (#35970) 2025-03-14 20:33:07 +00:00
servo Remove legacy layout (layout 2013) (#35943) 2025-03-13 07:26:57 +00:00
shared Refactor common boilerplate out of serialize/transfer implementations (#35831) 2025-03-15 13:58:56 +00:00
timers Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
url Eliminate to_shmem dependency from servo_url (#35897) 2025-03-11 00:33:39 +00:00
webdriver_server Various fixes for webdriver conformance tests (#35737) 2025-03-15 13:54:14 +00:00
webgpu Migrate to the 2024 edition (#35755) 2025-03-13 10:28:11 +00:00
webxr Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00