servo/components
Martin Robinson 77cfca65c4
script: Eliminate code duplication in the task queue (#34798)
Instead of creating a type for each `TaskSource` variety have each `TaskSource`
hold the same kind of sender (this was inconsistent before, but each
sender was effectively the same trait object), a pipeline, and a
`TaskSourceName`. This elminates the need to reimplement the same
queuing code for every task source.

In addition, have workers hold their own `TaskManager`. This allows just
exposing the manager on the `GlobalScope`. Currently the `TaskCanceller`
is different, but this will also be eliminated in a followup change.

This is a the first step toward having a shared set of `Sender`s on
`GlobalScope`.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2025-01-01 13:50:52 +00:00
..
allocator
background_hang_monitor Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
bluetooth Upgrade rustc to 1.83 (#34793) 2025-01-01 09:38:28 +00:00
canvas Upgrade rustc to 1.83 (#34793) 2025-01-01 09:38:28 +00:00
compositing Upgrade rustc to 1.83 (#34793) 2025-01-01 09:38:28 +00:00
config script: Add stub interface for AbortController. (#34519) 2024-12-10 07:31:04 +00:00
config_plugins
constellation Upgrade rustc to 1.83 (#34793) 2025-01-01 09:38:28 +00:00
deny_public_fields
devtools Implement console.trace (#34629) 2024-12-18 23:45:06 +00:00
dom_struct
domobject_derive Upgrade rustc to 1.83 (#34793) 2025-01-01 09:38:28 +00:00
fonts Upgrade rustc to 1.83 (#34793) 2025-01-01 09:38:28 +00:00
geometry
hyper_serde Upgrade rustc to 1.83 (#34793) 2025-01-01 09:38:28 +00:00
jstraceable_derive
layout script: Manage <iframe> sizes in Window (#34643) 2024-12-16 15:05:33 +00:00
layout_2020 Upgrade rustc to 1.83 (#34793) 2025-01-01 09:38:28 +00:00
layout_thread script: Manage <iframe> sizes in Window (#34643) 2024-12-16 15:05:33 +00:00
layout_thread_2020 script: Manage <iframe> sizes in Window (#34643) 2024-12-16 15:05:33 +00:00
malloc_size_of Upgrade rustc to 1.83 (#34793) 2025-01-01 09:38:28 +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 Upgrade rustc to 1.83 (#34793) 2025-01-01 09:38:28 +00:00
pixels
profile script: Eliminate code duplication in the task queue (#34798) 2025-01-01 13:50:52 +00:00
rand
range
script script: Eliminate code duplication in the task queue (#34798) 2025-01-01 13:50:52 +00:00
servo chore: remove WindowMethods::rendering_context (#34780) 2025-01-01 08:26:23 +00:00
shared script: Eliminate code duplication in the task queue (#34798) 2025-01-01 13:50:52 +00:00
timers script: Make timers per-process (#34581) 2024-12-24 09:53:35 +00:00
url
webdriver_server Upgrade rustc to 1.83 (#34793) 2025-01-01 09:38:28 +00:00
webgpu Update wgpu for supporting TextureView.usage (#34721) 2024-12-21 05:18:27 +00:00