Oriol Brufau
fdbfecf7dd
Upgrade Stylo to 2025-02-03 ( #35289 )
...
* Upgrade Stylo to 2025-02-03
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
* Fixup for https://phabricator.services.mozilla.com/D233218
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
* Fixup for https://phabricator.services.mozilla.com/D233758
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
* Fixup for https://phabricator.services.mozilla.com/D231255
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
* Update test expectations
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
---------
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2025-02-05 02:35:58 +00:00
chickenleaf
62f1dbebff
servoshell: Migrate to egui-file-dialog from tinyfiledialogs ( #34823 )
...
This is the first step toward completely replacing tinyfiledialogs with
an egui-based solution.
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
2025-02-04 18:24:24 +00:00
Josh Matthews
c0cef69108
Move more foundational types to script_bindings ( #35280 )
...
* script: Move DOMClass to script_bindings.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* script: Move DOMJSClass and get_dom_class to script_bindings.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* script: Move Castable/DerivedFrom/IDLInterface to script_bindings.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
---------
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
2025-02-04 10:36:30 +00:00
dependabot[bot]
b8ab820e3c
build(deps): bump syn from 2.0.96 to 2.0.98 ( #35272 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.96 to 2.0.98.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.96...2.0.98 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-03 21:29:03 +00:00
dependabot[bot]
9da5a8229e
build(deps): bump pin-project from 1.1.8 to 1.1.9 ( #35271 )
...
Bumps [pin-project](https://github.com/taiki-e/pin-project ) from 1.1.8 to 1.1.9.
- [Release notes](https://github.com/taiki-e/pin-project/releases )
- [Changelog](https://github.com/taiki-e/pin-project/blob/main/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/pin-project/compare/v1.1.8...v1.1.9 )
---
updated-dependencies:
- dependency-name: pin-project
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-03 21:28:09 +00:00
dependabot[bot]
805703f659
build(deps): bump core_maths from 0.1.0 to 0.1.1 ( #35273 )
...
Bumps [core_maths](https://github.com/robertbastian/core_maths ) from 0.1.0 to 0.1.1.
- [Commits](https://github.com/robertbastian/core_maths/commits )
---
updated-dependencies:
- dependency-name: core_maths
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-03 17:49:48 +00:00
dependabot[bot]
7f4a7f93e0
build(deps): bump cc from 1.2.10 to 1.2.11 ( #35270 )
...
Bumps [cc](https://github.com/rust-lang/cc-rs ) from 1.2.10 to 1.2.11.
- [Release notes](https://github.com/rust-lang/cc-rs/releases )
- [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.10...cc-v1.2.11 )
---
updated-dependencies:
- dependency-name: cc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-03 17:40:17 +00:00
dependabot[bot]
58e52a9885
build(deps): bump wayland-backend from 0.3.7 to 0.3.8 ( #35268 )
...
Bumps [wayland-backend](https://github.com/smithay/wayland-rs ) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/smithay/wayland-rs/releases )
- [Changelog](https://github.com/Smithay/wayland-rs/blob/master/historical_changelog.md )
- [Commits](https://github.com/smithay/wayland-rs/commits )
---
updated-dependencies:
- dependency-name: wayland-backend
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-03 17:36:45 +00:00
dependabot[bot]
72e0dd0a70
build(deps): bump wayland-scanner from 0.31.5 to 0.31.6 ( #35267 )
...
Bumps [wayland-scanner](https://github.com/smithay/wayland-rs ) from 0.31.5 to 0.31.6.
- [Release notes](https://github.com/smithay/wayland-rs/releases )
- [Changelog](https://github.com/Smithay/wayland-rs/blob/master/historical_changelog.md )
- [Commits](https://github.com/smithay/wayland-rs/commits )
---
updated-dependencies:
- dependency-name: wayland-scanner
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-03 17:35:49 +00:00
dependabot[bot]
0435ba67c5
build(deps): bump bytes from 1.9.0 to 1.10.0 ( #35266 )
...
Bumps [bytes](https://github.com/tokio-rs/bytes ) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/tokio-rs/bytes/releases )
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/bytes/compare/v1.9.0...v1.10.0 )
---
updated-dependencies:
- dependency-name: bytes
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-03 17:33:31 +00:00
Simon Wülker
6a2e37183c
Lay out the contents of slot elements ( #35220 )
...
* Make Slottable match layout/alignment of NonNull<Node>
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Implement ServoLayoutElement::slotted_nodes
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Bump mozjs
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Layout the contents of slot elements
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Implement ServoLayoutElement::assigned_slot
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* implement ServoLayoutElement::traversal_parent
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Simplify slottable name update
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Don't iterate over children of shadow hosts
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Recompute slot style when contents change
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Change match_slottable to a function instead of a macro
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Fix crown errors
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Update WPT expectations
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Reset a slottable's assigned slot when it's removed from the slot
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
---------
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
2025-02-02 20:49:42 +00:00
Oriol Brufau
3122de08f3
Let resolve_color()
take its parameter by reference ( #35247 )
...
Bumps Stylo to https://github.com/servo/stylo/pull/116
This way the callers don't have to clone it if they don't have ownership
or want to use the value later.
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2025-01-31 23:34:40 +00:00
dependabot[bot]
65012c170d
build(deps): bump cmake from 0.1.52 to 0.1.53 ( #35242 )
...
Bumps [cmake](https://github.com/rust-lang/cmake-rs ) from 0.1.52 to 0.1.53.
- [Release notes](https://github.com/rust-lang/cmake-rs/releases )
- [Changelog](https://github.com/rust-lang/cmake-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/cmake-rs/compare/v0.1.52...v0.1.53 )
---
updated-dependencies:
- dependency-name: cmake
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-31 18:15:55 +00:00
dependabot[bot]
9561f9d70d
build(deps): bump rustls from 0.23.21 to 0.23.22 ( #35243 )
...
Bumps [rustls](https://github.com/rustls/rustls ) from 0.23.21 to 0.23.22.
- [Release notes](https://github.com/rustls/rustls/releases )
- [Changelog](https://github.com/rustls/rustls/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustls/rustls/compare/v/0.23.21...v/0.23.22 )
---
updated-dependencies:
- dependency-name: rustls
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-31 18:15:25 +00:00
dependabot[bot]
2c0a57a26e
build(deps): bump aws-lc-rs from 1.12.1 to 1.12.2 ( #35244 )
...
Bumps [aws-lc-rs](https://github.com/aws/aws-lc-rs ) from 1.12.1 to 1.12.2.
- [Release notes](https://github.com/aws/aws-lc-rs/releases )
- [Commits](https://github.com/aws/aws-lc-rs/compare/v1.12.1...v1.12.2 )
---
updated-dependencies:
- dependency-name: aws-lc-rs
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-31 18:15:18 +00:00
dependabot[bot]
4242afcbe4
build(deps): bump webpki-roots from 0.26.7 to 0.26.8 ( #35240 )
...
Bumps [webpki-roots](https://github.com/rustls/webpki-roots ) from 0.26.7 to 0.26.8.
- [Release notes](https://github.com/rustls/webpki-roots/releases )
- [Commits](https://github.com/rustls/webpki-roots/compare/v/0.26.7...v/0.26.8 )
---
updated-dependencies:
- dependency-name: webpki-roots
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-31 18:15:13 +00:00
dependabot[bot]
22867c5046
build(deps): bump toml_edit from 0.22.22 to 0.22.23 ( #35241 )
...
Bumps [toml_edit](https://github.com/toml-rs/toml ) from 0.22.22 to 0.22.23.
- [Commits](https://github.com/toml-rs/toml/compare/v0.22.22...v0.22.23 )
---
updated-dependencies:
- dependency-name: toml_edit
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-31 18:02:00 +00:00
Martin Robinson
5466c27f6f
Finish the integration of webxr
into the Cargo workspace ( #35229 )
...
- Run `cargo fmt` on `webxr` and `webxr-api`
- Fix clippy warnings in the existing `webxr` code
- Integrate the new crates into the workspace
- Expose `webxr` via the libservo API rather than requiring embedders to
depend on it explicitly.
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2025-01-31 16:41:57 +00:00
Oriol Brufau
a4c6c205d2
Avoid starting transitions if values can't be interpolated ( #35234 )
...
Bumps Stylo to https://github.com/servo/stylo/pull/115
This is mainly to avoid firing events like `transitionstart` when the
transition isn't actually allowed.
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2025-01-31 16:37:59 +00:00
Oriol Brufau
006ec58598
Let animations&transitions fall back to discrete interpolation ( #34981 )
...
Bumps Stylo to https://github.com/servo/stylo/pull/109
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2025-01-30 20:36:55 +00:00
Jonathan Schwender
764feada30
Use aws-lc-rs as rust-tls provider ( #35106 )
...
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
2025-01-30 19:10:49 +00:00
Martin Robinson
534e78db53
Merge webxr repository ( #35228 )
...
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2025-01-30 19:07:35 +00:00
Delan Azabani
5e9de2cb61
Include WebViewId
into EmbedderMsg variants where possible ( #35211 )
...
`EmbedderMsg` was previously paired with an implicit
`Option<WebViewId>`, even though almost all variants were either always
`Some` or always `None`, depending on whether there was a `WebView
involved.
This patch adds the `WebViewId` to as many `EmbedderMsg` variants as
possible, so we can call their associated `WebView` delegate methods
without needing to check and unwrap the `Option`. In many cases, this
required more changes to plumb through the `WebViewId`.
Notably, all `Request`s now explicitly need a `WebView` or not, in order
to ensure that it is passed when appropriate.
Signed-off-by: Delan Azabani <dazabani@igalia.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2025-01-30 11:15:35 +00:00
dependabot[bot]
6de0331d7c
build(deps): bump xcomponent-sys from 0.3.0 to 0.3.1 ( #35217 )
...
Bumps [xcomponent-sys](https://github.com/openharmony-rs/ohos-sys ) from 0.3.0 to 0.3.1.
- [Changelog](https://github.com/openharmony-rs/ohos-sys/blob/main/CHANGELOG.md )
- [Commits](https://github.com/openharmony-rs/ohos-sys/commits )
---
updated-dependencies:
- dependency-name: xcomponent-sys
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-29 19:50:11 +00:00
dependabot[bot]
212fabf988
build(deps): bump serde_json from 1.0.137 to 1.0.138 ( #35216 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.137 to 1.0.138.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.137...v1.0.138 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-29 19:16:59 +00:00
dependabot[bot]
7ed3093db3
build(deps): bump bumpalo from 3.16.0 to 3.17.0 ( #35215 )
...
Bumps [bumpalo](https://github.com/fitzgen/bumpalo ) from 3.16.0 to 3.17.0.
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fitzgen/bumpalo/compare/3.16.0...3.17.0 )
---
updated-dependencies:
- dependency-name: bumpalo
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-29 17:48:32 +00:00
dependabot[bot]
41454d9334
build(deps): bump arkui-sys from 0.2.3 to 0.2.4 ( #35214 )
...
Bumps [arkui-sys](https://github.com/openharmony-rs/ohos-sys ) from 0.2.3 to 0.2.4.
- [Changelog](https://github.com/openharmony-rs/ohos-sys/blob/main/CHANGELOG.md )
- [Commits](https://github.com/openharmony-rs/ohos-sys/commits )
---
updated-dependencies:
- dependency-name: arkui-sys
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-29 17:47:28 +00:00
dependabot[bot]
023636beeb
build(deps): bump ohos-ime-sys from 0.1.3 to 0.1.4 ( #35213 )
...
Bumps [ohos-ime-sys](https://github.com/openharmony-rs/ohos-sys ) from 0.1.3 to 0.1.4.
- [Changelog](https://github.com/openharmony-rs/ohos-sys/blob/main/CHANGELOG.md )
- [Commits](https://github.com/openharmony-rs/ohos-sys/commits )
---
updated-dependencies:
- dependency-name: ohos-ime-sys
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-29 17:42:50 +00:00
dependabot[bot]
0137760c8a
build(deps): bump ohos-drawing-sys from 0.2.1 to 0.2.2 ( #35212 )
...
Bumps [ohos-drawing-sys](https://github.com/openharmony-rs/ohos-sys ) from 0.2.1 to 0.2.2.
- [Changelog](https://github.com/openharmony-rs/ohos-sys/blob/main/CHANGELOG.md )
- [Commits](https://github.com/openharmony-rs/ohos-sys/compare/v0.2.1...v0.2.2 )
---
updated-dependencies:
- dependency-name: ohos-drawing-sys
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-29 17:40:13 +00:00
Josh Matthews
a6218b42ea
bindings: Move string-related bindings code to script_bindings. ( #35172 )
...
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
2025-01-29 07:40:25 +00:00
dependabot[bot]
7f1eefc182
build(deps): bump hyper from 1.5.2 to 1.6.0 ( #35203 )
...
Bumps [hyper](https://github.com/hyperium/hyper ) from 1.5.2 to 1.6.0.
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v1.5.2...v1.6.0 )
---
updated-dependencies:
- dependency-name: hyper
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-28 17:50:45 +00:00
dependabot[bot]
c1e93de829
build(deps): bump unicode-ident from 1.0.15 to 1.0.16 ( #35202 )
...
Bumps [unicode-ident](https://github.com/dtolnay/unicode-ident ) from 1.0.15 to 1.0.16.
- [Release notes](https://github.com/dtolnay/unicode-ident/releases )
- [Commits](https://github.com/dtolnay/unicode-ident/compare/1.0.15...1.0.16 )
---
updated-dependencies:
- dependency-name: unicode-ident
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-28 17:44:07 +00:00
dependabot[bot]
dc4b25bd6e
build(deps): bump winnow from 0.6.24 to 0.6.25 ( #35201 )
...
Bumps [winnow](https://github.com/winnow-rs/winnow ) from 0.6.24 to 0.6.25.
- [Changelog](https://github.com/winnow-rs/winnow/blob/main/CHANGELOG.md )
- [Commits](https://github.com/winnow-rs/winnow/compare/v0.6.24...v0.6.25 )
---
updated-dependencies:
- dependency-name: winnow
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-28 17:37:24 +00:00
dependabot[bot]
ad1d4615d1
build(deps): bump ryu from 1.0.18 to 1.0.19 ( #35199 )
...
Bumps [ryu](https://github.com/dtolnay/ryu ) from 1.0.18 to 1.0.19.
- [Release notes](https://github.com/dtolnay/ryu/releases )
- [Commits](https://github.com/dtolnay/ryu/compare/1.0.18...1.0.19 )
---
updated-dependencies:
- dependency-name: ryu
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-28 17:35:19 +00:00
dependabot[bot]
c82424881a
build(deps): bump httparse from 1.9.5 to 1.10.0 ( #35200 )
...
Bumps [httparse](https://github.com/seanmonstar/httparse ) from 1.9.5 to 1.10.0.
- [Release notes](https://github.com/seanmonstar/httparse/releases )
- [Commits](https://github.com/seanmonstar/httparse/compare/v1.9.5...v1.10.0 )
---
updated-dependencies:
- dependency-name: httparse
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-28 17:35:04 +00:00
Martin Robinson
a1cf0cbf86
libservo: Stop using script_traits
in the embedding layer ( #35185 )
...
Many types used directly in the `libservo` API are in the
`script_traits` crate, which was created to break circular dependencies.
Move all API exposed types to `embedder_traits` which now contains types
exposed via the `libservo` embedding API. Also expose these at the root
of the `libservo` `servo` crate so that the API won't break when they
move around in the future.
The idea with `embedder_traits` in the future is that it contains types
that are available throughout servo because they are used in the
embedding API and thus should have minimal dependencies on other Servo
crates (a bit like `base`).
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2025-01-28 11:15:36 +00:00
dependabot[bot]
78b90030bd
build(deps): bump cpufeatures from 0.2.16 to 0.2.17 ( #35187 )
...
Bumps [cpufeatures](https://github.com/RustCrypto/utils ) from 0.2.16 to 0.2.17.
- [Commits](https://github.com/RustCrypto/utils/compare/cpufeatures-v0.2.16...cpufeatures-v0.2.17 )
---
updated-dependencies:
- dependency-name: cpufeatures
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-28 05:07:40 +00:00
dependabot[bot]
3bcab36248
build(deps): bump rustls-pki-types from 1.10.1 to 1.11.0 ( #35186 )
...
Bumps [rustls-pki-types](https://github.com/rustls/pki-types ) from 1.10.1 to 1.11.0.
- [Release notes](https://github.com/rustls/pki-types/releases )
- [Commits](https://github.com/rustls/pki-types/compare/v/1.10.1...v/1.11.0 )
---
updated-dependencies:
- dependency-name: rustls-pki-types
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-27 17:40:57 +00:00
Simon Wülker
859cc6ab9b
Fire slot change events when the slot content changes ( #35137 )
...
* Add the onslotchange attribute to ShadowRoot
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Add spec comments to MutationObserver::queue_mutation_observer_microtask
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Add DomRefCell::take
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Add spec comments to notify_mutation_observers
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Fire slotchange events when a slot changes
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* ./mach fmt
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Fix check for when to dispatch slot events
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Potentially fire slot change events in Node::remove
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Update WPT expectations
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* ./mach fmt
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Bump stylo
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Move "signal a slot change" into ScriptThread impl
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
---------
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
2025-01-27 14:13:22 +00:00
Martin Robinson
37695c8c8c
script: Do not set up an IPC route for every image load ( #35041 )
...
Instead of setting up a route for every image load in the DOM / Layout,
route all incoming image cache responses through the `ScriptThread`.
This avoids creating a set of file descriptor for every image that is
loaded.
This change requires having the `ImageCache` track the `PipelineId` of
the original the listener so that the `ScriptThread` can route it
properly to the correct `Window`.
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2025-01-25 09:39:04 +00:00
Delan Azabani
2ce7709b8b
libservo: Add an initial WebView data structure to the API ( #35119 )
...
This patch introduces a new handle-based webview API to libservo, with
two main design goals:
1. The lifetime of the handles controls the lifetime of the webview,
giving the embedder full control over exactly when webviews are
created and destroyed. This is consistent with how WebKitGTK’s
WebView works; the engine can only create webviews via a create
request, and can only destroy them via a close request.
2. All methods are infallible; if the constellation dies, the embedder
finds out when calling Servo::handle_events.
For the moment, the embedder is only responsible for creating the
WebView id, and not the internal TopLevelBrowsingContext data
structures. This is so that the ScriptThread is able to get a handle on
the new WebView's WindowProxy in the case that it's an auxiliary
browsing context. In the future, the embedder should also be responsible
for creating the TopLevelBrowsingContext and the ScriptThread should
have mechanism to associate the two views so that WebView creation is
always executed through the same code path in the embedding layer. For
now, it's enough that the embedder can get a handle to the new WebView
when it's creation is requested.
Once we replace EmbedderMsg with a webview delegate trait, we will pass
WebView handles to the embedder, rather than webview ids. We’ll also add
detailed docs, once the design settles.
Signed-off-by: Delan Azabani <dazabani@igalia.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2025-01-25 08:17:50 +00:00
Josh Matthews
af8d7c2de7
script: Move code generation and webidl files to new script_bindings crate. ( #35157 )
...
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
2025-01-24 20:47:43 +00:00
Samson
a88b59534f
chore: update wgpu to include pointer_composite_access WGSL language extension ( #35161 )
...
* Update wgpu
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
* Update expectations
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
---------
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2025-01-24 17:33:34 +00:00
DK Liao
a0eceee2ed
feat: Turn RenderingContext
into a trait ( #35052 )
...
* feat: turn RenderingContext into a trait
Signed-off-by: DK Liao <dklassic@gmail.com>
Add comment and handle drop error
Signed-off-by: DK Liao <dklassic@gmail.com>
Add doc comment
Signed-off-by: DK Liao <dklassic@gmail.com>
Allow make_current to propagate Error
Signed-off-by: DK Liao <dklassic@gmail.com>
Fix all make_current occurances
Signed-off-by: DK Liao <dklassic@gmail.com>
Move back to Rc<dyn RenderingContext>
Signed-off-by: DK Liao <dklassic@gmail.com>
fix android/ohos
Signed-off-by: DK Liao <dklassic@gmail.com>
Fix build
Signed-off-by: DK Liao <dklassic@gmail.com>
fix android/ohos again
Signed-off-by: DK Liao <dklassic@gmail.com>
* Fix macOS smoke test
Signed-off-by: DK Liao <dklassic@gmail.com>
* Add comment for create_texture and destroy_texture
Signed-off-by: DK Liao <dklassic@gmail.com>
* Improve comments written
Signed-off-by: DK Liao <dklassic@gmail.com>
---------
Signed-off-by: DK Liao <dklassic@gmail.com>
2025-01-24 02:39:39 +00:00
dependabot[bot]
527eaf628a
build(deps): bump unicode-ident from 1.0.14 to 1.0.15 ( #35150 )
...
Bumps [unicode-ident](https://github.com/dtolnay/unicode-ident ) from 1.0.14 to 1.0.15.
- [Release notes](https://github.com/dtolnay/unicode-ident/releases )
- [Commits](https://github.com/dtolnay/unicode-ident/compare/1.0.14...1.0.15 )
---
updated-dependencies:
- dependency-name: unicode-ident
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-23 17:34:40 +00:00
dependabot[bot]
be7aa0ca4f
build(deps): bump objc2-encode from 4.0.3 to 4.1.0 ( #35149 )
...
Bumps [objc2-encode](https://github.com/madsmtm/objc2 ) from 4.0.3 to 4.1.0.
- [Commits](https://github.com/madsmtm/objc2/compare/objc-encode-4.0.3...objc-encode-4.1.0 )
---
updated-dependencies:
- dependency-name: objc2-encode
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-23 17:32:12 +00:00
Delan Azabani
2db828f0c7
Add minimal libservo example using winit ( #35118 )
...
* Add minimal libservo example using winit
Signed-off-by: Delan Azabani <dazabani@igalia.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* CI: include examples in libservo compile test
Signed-off-by: Delan Azabani <dazabani@igalia.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* CI: build libservo with `continue-on-error`
Signed-off-by: Delan Azabani <dazabani@igalia.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
---------
Signed-off-by: Delan Azabani <dazabani@igalia.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2025-01-23 12:15:53 +00:00
dependabot[bot]
30365a8aba
build(deps): bump is-terminal from 0.4.13 to 0.4.15 ( #35127 )
...
Bumps [is-terminal](https://github.com/sunfishcode/is-terminal ) from 0.4.13 to 0.4.15.
- [Commits](https://github.com/sunfishcode/is-terminal/compare/v0.4.13...v0.4.15 )
---
updated-dependencies:
- dependency-name: is-terminal
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-22 17:57:51 +00:00
dependabot[bot]
eda520d274
build(deps): bump crunchy from 0.2.2 to 0.2.3 ( #35128 )
...
Bumps [crunchy](https://github.com/eira-fransham/crunchy ) from 0.2.2 to 0.2.3.
- [Commits](https://github.com/eira-fransham/crunchy/commits )
---
updated-dependencies:
- dependency-name: crunchy
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-22 17:57:30 +00:00
dependabot[bot]
ad9b364107
build(deps): bump rustix from 0.38.43 to 0.38.44 ( #35126 )
...
Bumps [rustix](https://github.com/bytecodealliance/rustix ) from 0.38.43 to 0.38.44.
- [Release notes](https://github.com/bytecodealliance/rustix/releases )
- [Changelog](https://github.com/bytecodealliance/rustix/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bytecodealliance/rustix/compare/v0.38.43...v0.38.44 )
---
updated-dependencies:
- dependency-name: rustix
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-22 17:54:43 +00:00