jschwe · GitHub

jschwe

jschwe

jschwe

jschwe

jschwe

jschwe

Open

Merged

pull Bot pushed a commit to AKJUS/servo that referenced this pull request

May 22, 2026
…ervo#45079)
Currently some targets include `webxr` as a non-optional dependency
which leads to issues like servo#45027 where the features enabled for `webxr`
support conflict with other `servo` features.
Since `servo` crate already exposes `webxr` feature as a non-default
feature, it makes sense to also mark `webxr` crate as optional
dependency on all platforms.
Testing: The issue in servo#45027 is resolved by this fix and this has been
validated manually as part of servo#44984. However, there are no automated
tests in servo that validate WGL support specifically and WGL doesn't
seem to work in CI either. Since `servoshell` already enables `webxr`
feature unconditionally for `servo`, this should not cause any change in
the behaviour of servoshell.
Fixes: servo#45027
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>

@mukilan

@mukilan

mukilan marked this pull request as ready for review

May 25, 2026 09:56

@mukilan

@mukilan

mrobinson

mukilan

mrobinson

Sets up a basic servo C API crate.
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Add ServoEventLoopWaker & implement servo_api::EventLoopWaker for it.
Add servo_builder_set_event_loop_waker() and servo_builder_build()
to construct a Servo instance from the builder.
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Add servo_options_create/free and setters for all servo::Opts
fields.
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Add servo_preferences_create/free and getter/setter APIs for
bool, i64, u64, string, and [f64; 4] types.
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Add servo_free() and servo_setup_logging() for managing the
Servo instance returned by servo_builder_build().
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Add servo_rendering_context_create_software/free for creating
software rendering context. Add ServoWebViewBuilder with
create/free/set_url/build APIs for constructing WebViews.
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Currently only the `on_load_started` and `on_repaint_ready`
callbacks are implemented.
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Add a C integration test that creates a Servo instance, opens a
WebView, loads a page, waits for rendering via delegate callbacks,
takes a screenshot, and verifies pixel colors.
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
This undoes the previous clang-format but fixes the
declaration of pointer types.
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Alphabetize Cargo.toml, fix remaining variable names and
remove the array_4 preferences API.
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>

@mukilan

Move `servo-capi-tests` to the `tests/` directory.
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>

@mukilan

@mukilan

@mukilan

Merged

@eerii eerii mentioned this pull request

Jun 11, 2026

Merged

pull Bot pushed a commit to AKJUS/servo that referenced this pull request

Jun 11, 2026

This was referenced

Jun 12, 2026

Closed

Merged

Gae24 pushed a commit to Gae24/servo that referenced this pull request

Jun 12, 2026

Read the original on github.com ↗