Delan Azabani
b29afd0f20
CI: fix self-hosted runners in Linux builds
...
Signed-off-by: Delan Azabani <dazabani@igalia.com >
2024-09-10 14:42:13 +08:00
Delan Azabani
ce57cc80c2
wip
...
Signed-off-by: Delan Azabani <dazabani@igalia.com >
2024-09-10 14:42:13 +08:00
Oriol Brufau
f1ad364ec2
Fix reordering of table-header-group and table-footer-group ( #33383 )
...
We weren't moving a table-header-group to the front if it was the first
row group. However, there might still be preceding rows that don't
belong to any row group.
And similarly, we weren't moving a table-footer-group to the end if it
was the last row group. However, there might still be following rows
that don't belong to any row group.
This patch fixes the logic, and enables existing tests from Microsoft
that were missing a reference.
Signed-off-by: Oriol Brufau <obrufau@igalia.com >
Co-authored-by: Martin Robinson <mrobinson@igalia.com >
2024-09-09 23:20:48 +00:00
webbeef
193f592617
Send less title changes to the embedder ( #33287 )
...
Instead of sending a title change for each incremental parsing change, we now do it when:
- the element is bound to the tree.
- the parser is done with the element (in pop()).
- the title content changes after the parsing, eg. using document.title .
Signed-off-by: webbeef <me@webbeef.org >
2024-09-09 22:41:02 +00:00
Andriy Sultanov
e5150dbda1
Propagate CanGc from Document::new() ( #33386 )
...
* Add canGc as a parameter to autogenerated trait methods
Signed-off-by: Andriy Sultanov <sultanovandriy@gmail.com >
* Propagate CanGc from Document::new()
Signed-off-by: Andriy Sultanov <sultanovandriy@gmail.com >
---------
Signed-off-by: Andriy Sultanov <sultanovandriy@gmail.com >
2024-09-09 22:38:01 +00:00
Simon Wülker
10e5bb72d9
Initial support for <link rel="prefetch"> ( #33345 )
...
* Properly store link relations
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de >
* Send fetch request for prefetch links
We don't actually *do* anything with the response yet
(handle errors etc) but its a first step.
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de >
* Fire load/error events for prefetch loads
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de >
* Set prefetch destination/cors setting correctly
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de >
* Update WPT expectations
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de >
* Fix ./mach test-tidy errors
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de >
* Set correct "Accept" value for prefetch requests
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de >
* Add spec text to individual steps
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de >
---------
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de >
2024-09-09 18:52:56 +00:00
Cristian Brinza
2993577ac0
script: Added missing spec step in Location::SetHash ( #33380 )
...
* Implement missing spec step in Location::SetHash
Signed-off-by: crbrz <cristianb@gmail.com >
* Fixed wrong URL fragment when hash set to empty string
Signed-off-by: crbrz <cristianb@gmail.com >
* Add WPT tests
Signed-off-by: crbrz <cristianb@gmail.com >
---------
Signed-off-by: crbrz <cristianb@gmail.com >
2024-09-09 16:58:26 +00:00
Simon Wülker
cc3c69b953
implement console.timeLog ( #33377 )
...
* Implement console.timeLog
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de >
* Adjust WPT expectations
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de >
---------
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de >
2024-09-09 16:48:49 +00:00
Taym Haddadi
8c0a566860
Fix devtool crashs after entering window.location in console ( #33381 )
...
Signed-off-by: Taym <haddadi.taym@gmail.com >
2024-09-09 15:09:06 +00:00
Martin Robinson
d169a82d2e
layout: Implement proper absolute child position for flexbox ( #33346 )
...
This implements the requirements outlined in the [flexbox specification]
about how to position absolute children of flex containers. We must
establish a static position rectangle (to use if all insets are auto)
and also align the child into that rectangle.
[flebox specification]: https://drafts.csswg.org/css-flexbox/#abspos-items
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
Co-authored-by: Oriol Brufau <obrufau@igalia.com >
2024-09-09 14:44:16 +00:00
webbeef
a3a86d5913
script: Implement TextEncoder::encodeInto() ( #33360 )
...
* Implement TextEncoder::encodeInto()
Signed-off-by: webbeef <me@webbeef.org >
* Update components/script/dom/textencoder.rs
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
* Update components/script/dom/textencoder.rs
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
---------
Signed-off-by: webbeef <me@webbeef.org >
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
Co-authored-by: Martin Robinson <mrobinson@igalia.com >
2024-09-09 14:40:12 +00:00
Mukilan Thiyagarajan
52a447b1e3
android: make aarch64 the default target ( #33379 )
...
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com >
2024-09-09 14:38:01 +00:00
Martin Robinson
8842fe9df5
script: Use time@0.3 for input elements and do conversion in a &str trait ( #33355 )
...
This changes converts all input element parsing and normalization to use
`time` instead of `chrono`. `time` is used by our dependencies, so it
makes sense to work toward removing the Servo dependency on chrono.
In addition, parsing and normalization also moves to a trait on &str to
prepare for the possibility of all script parsers moving to a separate
crate that can have unit tests written against it.
Code duplication is eliminated when possible and more conversion is done
using integer types. These two things together mean we pass more tests
now.
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
2024-09-09 14:33:16 +00:00
Samson
687f356db9
webgpu: Factor out swapchain to separate file ( #33367 )
...
* Move some stuff to swapchain.rs
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Use typed WebGPUContextId instead of u64
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Extract create_swapchain function and move more stuff in it
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* extract destroy_swapchain
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* extract swapchain_present
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* extract update_wr_image callback
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* fixup
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
---------
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2024-09-09 13:29:04 +00:00
Daniel Adams
938fd8c12f
webxr: Update XRInputSource gamepad index to be -1 ( #33369 )
...
* Update XRInputSource gamepad index to be -1
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Update test expectations
Signed-off-by: Daniel Adams <msub2official@gmail.com >
---------
Signed-off-by: Daniel Adams <msub2official@gmail.com >
2024-09-09 11:07:56 +00:00
Delan Azabani
9cfbaf92e5
CI: fix self-hosted runners in try-label builds ( #33373 )
...
Signed-off-by: Delan Azabani <dazabani@igalia.com >
2024-09-09 04:43:25 +00:00
Oriol Brufau
4d0bef0ac3
Remove unused imports ( #33371 )
...
Signed-off-by: Oriol Brufau <obrufau@igalia.com >
2024-09-09 03:02:24 +00:00
Delan Azabani
8bb739b818
CI: use self-hosted runners for Linux build jobs ( #33321 )
...
* CI: use self-hosted runners for Linux build jobs
Signed-off-by: Delan Azabani <dazabani@igalia.com >
* Set ccache and incremental env variables when not self-hosted
Signed-off-by: Delan Azabani <dazabani@igalia.com >
* Force GitHub-hosted runner when in upload mode
Signed-off-by: Delan Azabani <dazabani@igalia.com >
* Revert s/python/python3/ now that our image has python
Signed-off-by: Delan Azabani <dazabani@igalia.com >
* Remove stray comment in timeout workflow
Signed-off-by: Delan Azabani <dazabani@igalia.com >
* Update description of runner-select job
Signed-off-by: Delan Azabani <dazabani@igalia.com >
* Apply suggestions from code review
Address couple minor naming / formatting nits
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
---------
Signed-off-by: Delan Azabani <dazabani@igalia.com >
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
Co-authored-by: Martin Robinson <mrobinson@igalia.com >
2024-09-08 15:06:44 +00:00
Martin Robinson
e70507ca40
tidy: Fix rustdoc warnings and add a tidy check for a common URL issue ( #33366 )
...
This change fixes all rustdoc errors and also adds a tidy check for a
very common rustdoc URL issue. Eventually rustdoc warnings should likely
cause the build to fail, but this catches those issues sooner in order
to not waste so much developer time.
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
2024-09-08 15:04:19 +00:00
webbeef
f6ae050077
net: use saturating_sub when substracting durations to prevent underflows ( #33341 )
...
* net: use saturating_sub when substracting durations to prevent underflows
Signed-off-by: webbeef <me@webbeef.org >
* Add regression test. (#1 )
* Add regression test.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
---------
Signed-off-by: webbeef <me@webbeef.org >
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
Co-authored-by: Josh Matthews <josh@joshmatthews.net >
2024-09-08 07:36:27 +00:00
Servo WPT Sync
85823edd01
Update web-platform-tests to revision b'ec9b870fec350e59e9db48ae2858e914a07f38d6' ( #33359 )
...
Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org >
2024-09-08 01:41:09 +00:00
Simon Wülker
1c6fb1a7ba
Set empty object as console prototype ( #33358 )
...
* Remove console prototype hack
The console object has an empty object as its prototype,
not the realm object prototype.
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de >
* Update WPT expectations
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de >
---------
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de >
2024-09-07 23:10:47 +00:00
Martin Robinson
f3f96c3393
layout: Do not use orthogonal baselines in flex layout ( #33347 )
...
When a baseline is orthogonal to the main flexbox axis, it should not
take part in baseline alignment. This change does that for column flex.
While there is no support for vertical writing modes, this change is
made to be as writing mode-agnostic as possible.
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
Co-authored-by: Oriol Brufau <obrufau@igalia.com >
2024-09-07 22:08:48 +00:00
Taym Haddadi
a43e296436
Fix devtool crashs after clicking Enable connection prompt ( #33305 )
...
* Fix devtool crashs after clicking Enable connection prompt
Signed-off-by: Taym <haddadi.taym@gmail.com >
* Use early error return
Signed-off-by: Taym <haddadi.taym@gmail.com >
---------
Signed-off-by: Taym <haddadi.taym@gmail.com >
2024-09-07 20:58:16 +00:00
Samson
567c3185f8
chore: Update wgpu ( #33357 )
...
* 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 >
2024-09-07 20:28:36 +00:00
Taym Haddadi
152e62022a
Move convert_label to Into implementation ( #33348 )
...
Signed-off-by: Taym <haddadi.taym@gmail.com >
2024-09-06 21:58:13 +00:00
dependabot[bot]
bc04f94a30
build(deps): bump wayland-cursor from 0.31.5 to 0.31.6 ( #33351 )
...
Bumps [wayland-cursor](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-cursor
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>
2024-09-06 17:48:38 +00:00
dependabot[bot]
5d85f283c7
build(deps): bump cpufeatures from 0.2.13 to 0.2.14 ( #33350 )
...
Bumps [cpufeatures](https://github.com/RustCrypto/utils ) from 0.2.13 to 0.2.14.
- [Commits](https://github.com/RustCrypto/utils/compare/cpufeatures-v0.2.13...cpufeatures-v0.2.14 )
---
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>
2024-09-06 17:42:13 +00:00
dependabot[bot]
3fb4833c88
build(deps): bump bytemuck from 1.17.1 to 1.18.0 ( #33349 )
...
Bumps [bytemuck](https://github.com/Lokathor/bytemuck ) from 1.17.1 to 1.18.0.
- [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md )
- [Commits](https://github.com/Lokathor/bytemuck/compare/v1.17.1...v1.18.0 )
---
updated-dependencies:
- dependency-name: bytemuck
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>
2024-09-06 17:34:44 +00:00
Martin Robinson
c24c7d8e4d
layout: Lay out absolutes in atomic containing blocks ( #33336 )
...
When inline atomics establish containing blocks for absolute
descendants, layout should happen with those atomics as the containing
block. This ensures that the absolute descendents have the correct
containing block and Fragment parent. This wasn't happening before and
this change fixes that.
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
Co-authored-by: Oriol Brufau <obrufau@igalia.com >
2024-09-06 13:42:45 +00:00
Samson
ebed9218f2
webgpu: Move actual Create* implementations from GPUDevice to Self ( #33320 )
...
* Move actual Create* implementations from `GPUDevice` to Self
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* move Create*Pipeline to Self::create
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* `parse_render_pipeline` outside`GPURenderPipeline::create`
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
---------
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2024-09-05 19:48:16 +00:00
Martin Robinson
312cf0df08
script: Create a CrossProcessInstant to enable serializable monotonic time ( #33282 )
...
Up until now, Servo was using a very old version of time to get a
cross-process monotonic timestamp (using `time::precise_time_ns()`).
This change replaces the usage of old time with a new serializable
monotonic time called `CrossProcessInstant` and uses it where `u64`
timestamps were stored before. The standard library doesn't provide this
functionality because it isn't something you can do reliably on all
platforms. The idea is that we do our best and then fall back
gracefully.
This is a big change, because Servo was using `u64` timestamps all over
the place some as raw values taken from `time::precise_time_ns()` and
some as relative offsets from the "navigation start," which is a concept
similar to DOM's `timeOrigin` (but not exactly the same). It's very
difficult to fix this situation without fixing it everywhere as the
`Instant` concept is supposed to be opaque. The good thing is that this
change clears up all ambiguity when passing times as a `time::Duration`
is unit agnostic and a `CrossProcessInstant` represents an absolute
moment in time.
The `time` version of `Duration` is used because it can both be negative
and is also serializable.
Good things:
- No need too pass around `time` and `time_precise` any longer.
`CrossProcessInstant` is also precise and monotonic.
- The distinction between a time that is unset or at `0` (at some kind
of timer epoch) is now gone.
There still a lot of work to do to clean up timing, but this is the
first step. In general, I've tried to preserve existing behavior, even
when not spec compliant, as much as possible. I plan to submit followup
PRs fixing some of the issues I've noticed.
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
2024-09-05 18:50:09 +00:00
dependabot[bot]
35baf056f6
build(deps): bump serde_json from 1.0.127 to 1.0.128 ( #33333 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.127 to 1.0.128.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/1.0.127...1.0.128 )
---
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>
2024-09-05 17:41:39 +00:00
dependabot[bot]
5d30f8f3cc
build(deps): bump rustix from 0.38.35 to 0.38.36 ( #33332 )
...
Bumps [rustix](https://github.com/bytecodealliance/rustix ) from 0.38.35 to 0.38.36.
- [Release notes](https://github.com/bytecodealliance/rustix/releases )
- [Commits](https://github.com/bytecodealliance/rustix/compare/v0.38.35...v0.38.36 )
---
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>
2024-09-05 17:35:24 +00:00
dependabot[bot]
a59f295fa2
build(deps): bump wayland-scanner from 0.31.4 to 0.31.5 ( #33330 )
...
Bumps [wayland-scanner](https://github.com/smithay/wayland-rs ) from 0.31.4 to 0.31.5.
- [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>
2024-09-05 17:35:05 +00:00
dependabot[bot]
004fd0281b
build(deps): bump wayland-client from 0.31.5 to 0.31.6 ( #33331 )
...
Bumps [wayland-client](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-client
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>
2024-09-05 17:31:46 +00:00
dependabot[bot]
5350edb6ea
build(deps): bump ohos-sys from 0.3.0 to 0.3.1 ( #33329 )
...
Bumps [ohos-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: ohos-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>
2024-09-05 17:28:57 +00:00
dependabot[bot]
0ee1a5e82c
build(deps): bump rustfix from 0.8.4 to 0.8.5 ( #33328 )
...
Bumps [rustfix](https://github.com/rust-lang/cargo ) from 0.8.4 to 0.8.5.
- [Changelog](https://github.com/rust-lang/cargo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/cargo/commits )
---
updated-dependencies:
- dependency-name: rustfix
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>
2024-09-05 17:22:24 +00:00
dependabot[bot]
aa8c8f8153
build(deps): bump tokio-util from 0.7.11 to 0.7.12 ( #33326 )
...
Bumps [tokio-util](https://github.com/tokio-rs/tokio ) from 0.7.11 to 0.7.12.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-util-0.7.11...tokio-util-0.7.12 )
---
updated-dependencies:
- dependency-name: tokio-util
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>
2024-09-05 17:19:35 +00:00
dependabot[bot]
e271a47c06
build(deps): bump wayland-backend from 0.3.6 to 0.3.7 ( #33327 )
...
Bumps [wayland-backend](https://github.com/smithay/wayland-rs ) from 0.3.6 to 0.3.7.
- [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>
2024-09-05 17:19:30 +00:00
dependabot[bot]
66544c39cc
build(deps): bump tokio-stream from 0.1.15 to 0.1.16 ( #33325 )
...
Bumps [tokio-stream](https://github.com/tokio-rs/tokio ) from 0.1.15 to 0.1.16.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-stream-0.1.15...tokio-stream-0.1.16 )
---
updated-dependencies:
- dependency-name: tokio-stream
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>
2024-09-05 17:16:27 +00:00
webbeef
7e493ba865
minibrowser: Reset the location field when switching tabs ( #33316 )
...
Signed-off-by: webbeef <me@webbeef.org >
2024-09-05 13:45:11 +00:00
dependabot[bot]
e6ee879d2a
build(deps): bump cc from 1.1.15 to 1.1.16 ( #33317 )
...
Bumps [cc](https://github.com/rust-lang/cc-rs ) from 1.1.15 to 1.1.16.
- [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.1.15...cc-v1.1.16 )
---
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>
2024-09-05 13:33:47 +00:00
atbrakhi
0f24b8c823
Add tracing events ( #33189 )
...
Signed-off-by: atbrakhi <atbrakhi@igalia.com >
2024-09-05 12:11:12 +00:00
Oriol Brufau
37e1c3385e
Treat align-self: normal as stretch on flex items ( #33314 )
...
According to https://drafts.csswg.org/css-align/#align-flex
It was being treated as `auto` instead.
Signed-off-by: Oriol Brufau <obrufau@igalia.com >
2024-09-05 11:15:41 +00:00
Ben
8263fe5495
Added some keyboard shortcuts for focusing tabs ( #33319 )
...
Currently Cmd/Ctrl + [1-9] and Ctrl + PageUp/Down, since they are
present in most major browsers.
Signed-off-by: Benjamin Vincent Schulenburg <bennyschulenburg@gmx.de >
2024-09-05 10:38:29 +00:00
Daniel Adams
75c7712905
webxr: Add some missing internal checks/validation ( #33318 )
...
* Ensure depthFar is non-negative
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Properly append default features in requestSession
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Ensure XRRigidTransform init members have finite values
Signed-off-by: Daniel Adams <msub2official@gmail.com >
---------
Signed-off-by: Daniel Adams <msub2official@gmail.com >
2024-09-05 03:39:27 +00:00
Andriy Sultanov
aadc212b95
jsstring_to_str should accept a NonNull argument for the JS string ( #33306 )
...
Instead of asserting the raw pointer is not null, force callers to
produce a NonNull pointer.
Signed-off-by: Andriy Sultanov <sultanovandriy@gmail.com >
2024-09-05 03:25:49 +00:00
Delan Azabani
642c25d9a7
CI: use monitor API for self-hosted runners ( #33315 )
...
Signed-off-by: Delan Azabani <dazabani@igalia.com >
2024-09-04 17:11:32 +00:00
Taym Haddadi
00389cf007
Transform convert_* functions in gpuconvert.rs to From/TryFrom implementations ( #33302 )
...
Signed-off-by: Taym <haddadi.taym@gmail.com >
2024-09-04 16:03:59 +00:00
Delan Azabani
c0ced7a524
Make tracing available on all platforms, with or without perfetto ( #33301 )
...
* Make tracing available on all platforms
Signed-off-by: Delan Azabani <dazabani@igalia.com >
* Gate perfetto support behind its own feature
Signed-off-by: Delan Azabani <dazabani@igalia.com >
---------
Signed-off-by: Delan Azabani <dazabani@igalia.com >
2024-09-04 12:56:29 +00:00
Ben
891562be8e
servoshell: Add close buttons and increase interactivity of tabs ( #33244 )
...
* Improved the minibrowser tab bar
Added a close button for each tab as well as another button for opening
a new tab, also changed the styling so it looks more like other
browsers.
Signed-off-by: Benjamin Vincent Schulenburg <bennyschulenburg@gmx.de >
* Make sure to restore the egui visuals after drawing a browser tab
Signed-off-by: Benjamin Vincent Schulenburg <bennyschulenburg@gmx.de >
* Only use colors from the current theme for the minibrowser tabbar
That way we can easily switch between light and dark mode
Signed-off-by: Benjamin Vincent Schulenburg <bennyschulenburg@gmx.de >
---------
Signed-off-by: Benjamin Vincent Schulenburg <bennyschulenburg@gmx.de >
2024-09-04 11:31:23 +00:00
Samson
3c6ca33832
webgpu: Support pipeline-overridable constants ( #33291 )
...
* Impl pipeline constants
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* More relaxed lifetimes
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Update expectations
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Replace convert function with `From` implementation
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
---------
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2024-09-04 11:31:07 +00:00
Daniel Adams
a976db3ec0
Update layout of servoshell android app ( #33294 )
...
* Update layout of servoshell android app
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Remove gap after loop/idle text
Signed-off-by: Daniel Adams <msub2official@gmail.com >
---------
Signed-off-by: Daniel Adams <msub2official@gmail.com >
2024-09-04 11:30:52 +00:00
Simon Wülker
961fcfc46d
Only handle most recent resize event in script thread ( #33297 )
...
This avoids having to do unnecessary layout work and
prevents resize events from accumulating, which looks
weird.
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de >
2024-09-04 11:30:39 +00:00
Simon Wülker
fc5f8e9237
Implement HTMLQuoteElement "cite" attribute ( #33307 )
...
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de >
2024-09-04 11:29:59 +00:00
dependabot[bot]
febb4f24c4
build(deps): bump syn from 2.0.76 to 2.0.77 ( #33285 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.76 to 2.0.77.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.76...2.0.77 )
---
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>
2024-09-04 10:28:03 +00:00
atbrakhi
ba7e53264d
Add initial support for tracing and tracing-perfetto ( #33188 )
...
Signed-off-by: atbrakhi <atbrakhi@igalia.com >
Co-authored-by: Delan Azabani <dazabani@igalia.com >
2024-09-04 08:24:29 +00:00
Samson
abe532dd2f
CI: Force github hosted runners and remove concurrency on select-runner job ( #33308 )
...
temporary fix for #33276
Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com >
2024-09-04 08:23:40 +00:00
Oriol Brufau
27d87f104e
Fix intrinsic sizing of column flex containers ( #33299 )
...
From https://drafts.csswg.org/css-flexbox-1/#intrinsic-cross-sizes ,
> The min-content/max-content cross size of a single-line flex container
> is the largest min-content contribution/max-content contribution
> (respectively) of its flex items.
We were using the min/max-content size instead of the min/max-content
contribution.
Signed-off-by: Oriol Brufau <obrufau@igalia.com >
2024-09-04 06:44:31 +00:00
Simon Wülker
e43e477842
Implement compact/type attributes for HTMLUListElement ( #33303 )
...
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de >
2024-09-04 06:17:27 +00:00
dependabot[bot]
93cd8d1ba4
build(deps): bump indexmap from 2.4.0 to 2.5.0 ( #33284 )
...
Bumps [indexmap](https://github.com/indexmap-rs/indexmap ) from 2.4.0 to 2.5.0.
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.4.0...2.5.0 )
---
updated-dependencies:
- dependency-name: indexmap
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>
2024-09-04 04:59:01 +00:00
Samson
e857cdf022
Hack around DCO not in MQ ( #33290 )
...
See https://github.com/servo/servo/pull/33283#issuecomment-2325240423
Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com >
2024-09-03 07:56:03 +00:00
Delan Azabani
4b96d8ef36
CI: label self-hosted runners with run id to aid debugging ( #33283 )
...
Signed-off-by: Delan Azabani <dazabani@igalia.com >
2024-09-03 07:55:55 +00:00
Taym Haddadi
6c0394bc80
Impl PartialEq and Eq for DomObject ( #33212 )
...
* Impl PartialEq and Eq for DomObject
Signed-off-by: Taym <haddadi.taym@gmail.com >
* move to Eq and PartialEq to domobject_derive
Signed-off-by: Taym <haddadi.taym@gmail.com >
---------
Signed-off-by: Taym <haddadi.taym@gmail.com >
2024-09-02 09:50:46 +00:00
Jonathan Schwender
31e84a8c48
ohos: Enable Webgl context creation on OH 5.0 ( #33257 )
...
* ohos: Enable Webgl context creation on OH 5.0
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
* Bump surfman to 0.9.8
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
---------
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
2024-09-02 07:00:11 +00:00
Jonathan Schwender
c9548d82ef
bootstrap: Avoid needless sudo when pkgs are installed ( #33281 )
...
- Previously on fedora `./mach bootstrap` would always detect it needs to
reinstall packages and require root permissions.
- use custom queryformat for `rpm -qa` to to just get the package name
(e.g. `openssl-libs` instead of `openssl-libs-3.2.2-3.fc40.i686`
- Use a list to store the output result instead of one string
- Fedora (40) installs `zlib-ng` instead of `zlib` and `libjpeg-turbo` instead
of `libjpeg`, meaning that `rpm` / dnf commands report `zlib` as not installed.
Specifying the actually installed package avoids this problem.
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
2024-09-02 06:56:38 +00:00
Jonathan Schwender
35ca050bfb
android: Fix install ( #33277 )
...
self.config["android"]["target"] is unset, causing an exception.
We can just use self.target.triple() instead.
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com >
2024-09-01 20:17:34 +00:00
Josh Matthews
a62612a025
Make all platforms use a delay during cookie tests. ( #33279 )
...
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
2024-09-01 20:07:46 +00:00
dependabot[bot]
12a782dc20
build(deps): bump glslopt from 0.1.10 to 0.1.11 ( #33268 )
...
Bumps [glslopt](https://github.com/jamienicol/glslopt-rs ) from 0.1.10 to 0.1.11.
- [Commits](https://github.com/jamienicol/glslopt-rs/commits )
---
updated-dependencies:
- dependency-name: glslopt
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>
2024-09-01 17:28:08 +00:00
dependabot[bot]
06778e3643
build(deps): bump object from 0.36.3 to 0.36.4 ( #33269 )
...
Bumps [object](https://github.com/gimli-rs/object ) from 0.36.3 to 0.36.4.
- [Changelog](https://github.com/gimli-rs/object/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gimli-rs/object/compare/0.36.3...0.36.4 )
---
updated-dependencies:
- dependency-name: object
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>
2024-09-01 15:28:38 +00:00
Daniel Adams
9fdaf9bf0c
Update FakeXRDevice to support updating bounds ( #33271 )
...
* Update FakeXRDevice to support updating bounds
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Add missing spec link
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Mark secondaryViews as optional in FakeXRDevice.setViews
Signed-off-by: Daniel Adams <msub2official@gmail.com >
---------
Signed-off-by: Daniel Adams <msub2official@gmail.com >
2024-09-01 11:58:32 +00:00
Servo WPT Sync
3453d9fdad
Update web-platform-tests to revision b'5d8ec746ed021738e7ee0cee92ad1a1814ba00fe' ( #33274 )
...
Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org >
2024-09-01 01:40:45 +00:00
Oriol Brufau
3acc9edd82
Fix various issues with replaced elements in flex layout ( #33263 )
...
In particular, this takes into account that flex items may be stretched,
and if they have an aspect ratio, we ma6y need to convert the stretched
size through the ratio.
Signed-off-by: Oriol Brufau <obrufau@igalia.com >
Co-authored-by: Martin Robinson <mrobinson@igalia.com >
2024-08-30 23:39:18 +00:00
Cristian Brinza
4ae2610c24
fonts: Enable fast text shaping on Windows ( #33123 )
...
* Use patched dwrote
Signed-off-by: crbrz <cristianb@gmail.com >
* Enable fast text shaping
Signed-off-by: crbrz <cristianb@gmail.com >
* Add fast text shape test
Signed-off-by: crbrz <cristianb@gmail.com >
* Update dwrote to 0.11.1
Signed-off-by: crbrz <cristianb@gmail.com >
---------
Signed-off-by: crbrz <cristianb@gmail.com >
2024-08-30 23:16:26 +00:00
Martin Robinson
6f333a8e29
net: Stop using both versions of the time crate in the cookie code ( #33260 )
...
`std::time` is good enough for us here. `cookie` is using `time 0.3`,
but Servo can convert to standard library types when getting data from
`cookie`. This reduces our direct dependencies and removes more use of
the very old `time 0.1` series.
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
2024-08-30 17:15:47 +00:00
dependabot[bot]
1e9344cb5c
build(deps): bump tokio from 1.39.3 to 1.40.0 ( #33270 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.39.3 to 1.40.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.39.3...tokio-1.40.0 )
---
updated-dependencies:
- dependency-name: tokio
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>
2024-08-30 17:08:41 +00:00
Samson
5e89643fa7
chore: Update wgpu to 34bb9e4ceb45a5b1cfc5df6aa2b2e201cc55372c ( #33266 )
...
* Update wgpu to include local const
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* set expectations
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
---------
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2024-08-30 16:38:34 +00:00
Martin Robinson
a4ceb82ef5
script: Stop using time in DOM timers ( #33262 )
...
This switches to using `std::time` types for DOM timer operations, which
allows removing our custom time units in favor of `Duration`.
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
2024-08-30 15:20:44 +00:00
Jonathan Schwender
8a0c7487e7
ohos: Present on vsync signals ( #33117 )
...
Rely on callbacks from the vertical synchronization driver,
to drive presentation.
Future commits will base animation updates and touchless
gestures like fling off these vsync events.
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com >
2024-08-30 13:25:50 +00:00
Martin Robinson
a58d816319
net: Stop using legacy time in the HTTP and CORS caches ( #33259 )
...
This is part of switching away from using a very old version of `time`.
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
2024-08-30 12:54:02 +00:00
Samson
817a91f2ac
webgpu: Clean up GPUCommandEncoders and add some validation ( #33223 )
...
* TextureUsages::from_bits_retain
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Fixup CreateBindGroupLayout
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* GPUExtent3D checking and converting
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Cleanup GPUCommandEncoders and some TODOs
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* validate gpuorigin3d
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* validate GPUColor
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* set good expect
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
---------
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2024-08-30 11:23:17 +00:00
Martin Robinson
83a40c5180
script: Stop using legacy time for Document::reflow_timeout ( #33258 )
...
Use `std::time` from the Rust standard library instead. This is one step
toward removing our use of the legacy `time` crate which has security
issues.
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
2024-08-30 08:00:34 +00:00
Oriol Brufau
cd8b803368
Use the proper aspect ratio in flexbox ( #33256 )
...
When computing the automatic minimum size, flex layout was using the
natural aspect ratio, ignoring the `aspect-ratio` property.
`ReplacedContent::inline_size_over_block_size_intrinsic_ratio()` is now
made private to avoid more accidental uses.
Signed-off-by: Oriol Brufau <obrufau@igalia.com >
Co-authored-by: Martin Robinson <mrobinson@igalia.com >
2024-08-30 06:28:14 +00:00
dependabot[bot]
13cbcf614a
build(deps): bump ohos-sys from 0.2.2 to 0.3.0 ( #33253 )
...
Bumps [ohos-sys](https://github.com/openharmony-rs/ohos-sys ) from 0.2.2 to 0.3.0.
- [Changelog](https://github.com/openharmony-rs/ohos-sys/blob/main/CHANGELOG.md )
- [Commits](https://github.com/openharmony-rs/ohos-sys/compare/v0.2.2...v0.3.0 )
---
updated-dependencies:
- dependency-name: ohos-sys
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>
2024-08-29 17:02:03 +00:00
Oriol Brufau
4bf941bc8a
Fix automatic minimum size for column flexbox ( #33248 )
...
`main_content_size_info()` was always assigning the main-axis automatic
minimum size into the inline axis. But in a column flexbox, the main
axis corresponds to the block axis.
Signed-off-by: Oriol Brufau <obrufau@igalia.com >
2024-08-29 16:55:44 +00:00
Cristian Brinza
9ea02fa4b4
Fix minibrowser scroll by keyboard ( #33252 )
...
* Fix minibrowser scroll by keyboard
Signed-off-by: crbrz <cristianb@gmail.com >
* Apply suggested change
Co-authored-by: Josh Matthews <josh@joshmatthews.net >
Signed-off-by: Cristian Brinza <cristianb@gmail.com >
---------
Signed-off-by: crbrz <cristianb@gmail.com >
Signed-off-by: Cristian Brinza <cristianb@gmail.com >
Co-authored-by: Josh Matthews <josh@joshmatthews.net >
2024-08-29 16:39:08 +00:00
Cristian Brinza
99bd6afa81
Pass keyboard events to WebView on Windows ( #33225 )
...
* Pass keyboard events to webview on Windows
Signed-off-by: crbrz <cristianb@gmail.com >
* Refactor WebViewManager::handle_key_from_window
Signed-off-by: crbrz <cristianb@gmail.com >
---------
Signed-off-by: crbrz <cristianb@gmail.com >
2024-08-29 16:06:35 +00:00
Samson
8dd40ed2bd
mach: Add test-speedometer command and --bmf-output to speedometer and dromaeo ( #33247 )
...
* Allow exporting Dromaeo results as BMF JSON
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Add speedometer runner
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
---------
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2024-08-29 15:58:57 +00:00
Oriol Brufau
0643aa4708
Handle aspect ratios in ReplacedContent::inline_content_sizes ( #33240 )
...
We were only handling the aspect ratio of a replaced element when
computing its min/max-content contribution, but not when computing
the min/max-content size. Now both cases will take it into account.
Signed-off-by: Oriol Brufau <obrufau@igalia.com >
2024-08-29 15:38:59 +00:00
Martin Robinson
3f93de7f54
layout: Stop using unicode-segmentation in layout ( #33250 )
...
`layout` already uses `icu_segmentation` so there's no need to pull in
another segmenter. This reduces the number of segmenters used in the
crate to 2 from 3.
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
2024-08-29 14:51:39 +00:00
Oriol Brufau
93abdf7cb5
layout: Add an indefinite containing block for intrinsic sizing ( #33204 )
...
When computing the min-content or max-content size of an element we
need to ignore `inline-size`, `min-inline-size` and `max-inline-size`.
However, we should take the block-axis sizing properties into account.
That's because the contents could have percentages depending on them,
which can then affect their inline size via an aspect ratio.
Therefore, this patch adds `IndefiniteContainingBlock`, which is similar
to `ContainingBlock`, but it allows an indefinite inline-size. This
struct is then passed arround during intrinsic sizing.
More refinement will be needed in follow-up patches in order to fully
address the problem.
Signed-off-by: Oriol Brufau <obrufau@igalia.com >
Co-authored-by: Martin Robinson <mrobinson@igalia.com >
2024-08-29 14:10:46 +00:00
Oriol Brufau
46dbe4ce32
Obey min and max cross sizes of flex items ( #33242 )
...
When laying out the contents of a flex item, we used to resolve their
cross-axis percentages against the preferred cross size of the item.
Now we will take the min and max cross sizes into account.
Signed-off-by: Oriol Brufau <obrufau@igalia.com >
Co-authored-by: Martin Robinson <mrobinson@igalia.com >
2024-08-29 11:24:23 +00:00
Oriol Brufau
59c74c874a
Obey min-block-size and max-block-size in floats ( #33241 )
...
We were using the unclamped `box_size.block` instead of `block_size`.
Signed-off-by: Oriol Brufau <obrufau@igalia.com >
2024-08-29 11:24:07 +00:00
Jonathan Schwender
e8d0f85f52
Bump xi_unicode to latest version ( #33246 )
...
* Bump xi_unicode to latest version
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
* dep: update XI_LINE_BREAKING_CLASS_ZWJ constant to 42
This matches the value returned by xi-unicode's linebreak_property
for `u200D` codepoint in v0.3.0 of the crate.
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com >
---------
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com >
Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com >
2024-08-29 10:43:13 +00:00
Martin Robinson
65c2e75379
ci: Fix the WPT export job after the repository change ( #33228 )
...
The GitHub search API is a bit sensitive. There isn't a great way to
search for the repository organization and the branch name when looking
for open PRs. Instead use the bot username as the author name, which
should likely have been having before. This fixes the WPT export job.
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
2024-08-29 09:26:04 +00:00
dependabot[bot]
89421b70ad
build(deps): bump rustc_version from 0.4.0 to 0.4.1 ( #33236 )
...
Bumps [rustc_version](https://github.com/djc/rustc-version-rs ) from 0.4.0 to 0.4.1.
- [Release notes](https://github.com/djc/rustc-version-rs/releases )
- [Commits](https://github.com/djc/rustc-version-rs/compare/v0.4.0...v0.4.1 )
---
updated-dependencies:
- dependency-name: rustc_version
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>
2024-08-29 08:19:00 +00:00
Daniel Adams
5ffdce9aee
servoshell: Enable OpenXR by default and remove old WebVR prefs, adjust XrDiscovery initialization ( #33245 )
...
* Remove WebVR prefs, enable OpenXR by default
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Prefer OpenXR if available, otherwise use GLWindow
Signed-off-by: Daniel Adams <msub2official@gmail.com >
---------
Signed-off-by: Daniel Adams <msub2official@gmail.com >
2024-08-29 05:06:57 +00:00
Mukilan Thiyagarajan
1aff31fd96
wpt: fix path to wpt-prefs.json ( #33243 )
...
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com >
2024-08-29 04:37:35 +00:00
Samson
c69acd1848
Fix run_dromaeo.py ( #33239 )
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2024-08-28 19:03:42 +00:00
dependabot[bot]
b2a9184ddc
build(deps): bump euclid from 0.22.10 to 0.22.11 ( #33238 )
...
Bumps [euclid](https://github.com/servo/euclid ) from 0.22.10 to 0.22.11.
- [Release notes](https://github.com/servo/euclid/releases )
- [Commits](https://github.com/servo/euclid/commits )
---
updated-dependencies:
- dependency-name: euclid
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>
2024-08-28 17:45:38 +00:00
dependabot[bot]
3d0c4f9ea8
build(deps): bump filetime from 0.2.24 to 0.2.25 ( #33234 )
...
Bumps [filetime](https://github.com/alexcrichton/filetime ) from 0.2.24 to 0.2.25.
- [Commits](https://github.com/alexcrichton/filetime/compare/0.2.24...0.2.25 )
---
updated-dependencies:
- dependency-name: filetime
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>
2024-08-28 17:36:05 +00:00
dependabot[bot]
1e47361537
build(deps): bump webxr from 06cf810 to 7656508 ( #33233 )
...
Bumps [webxr](https://github.com/servo/webxr ) from `06cf810` to `7656508`.
- [Commits](06cf8102e1...7656508fdc )
---
updated-dependencies:
- dependency-name: webxr
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-28 17:35:06 +00:00
dependabot[bot]
0a9fe1beb2
build(deps): bump rustix from 0.38.34 to 0.38.35 ( #33232 )
...
Bumps [rustix](https://github.com/bytecodealliance/rustix ) from 0.38.34 to 0.38.35.
- [Release notes](https://github.com/bytecodealliance/rustix/releases )
- [Commits](https://github.com/bytecodealliance/rustix/compare/v0.38.34...v0.38.35 )
---
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>
2024-08-28 17:32:56 +00:00
dependabot[bot]
64b31b6e6a
build(deps): bump webrender from c0bcdd0 to 8468e81 ( #33231 )
...
Bumps [webrender](https://github.com/servo/webrender ) from `c0bcdd0` to `8468e81`.
- [Release notes](https://github.com/servo/webrender/releases )
- [Commits](c0bcdd024a...8468e81608 )
---
updated-dependencies:
- dependency-name: webrender
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-28 17:21:34 +00:00
Callum Leslie
87f437d230
fix clippy warning for clamp pattern in webgl_thread ( #33230 )
...
Signed-off-by: Callum Leslie <git@cleslie.uk >
2024-08-28 17:01:13 +00:00
Simon Wülker
7c4ba51f51
Don't allow minibrowser tab titles to be empty ( #33229 )
...
* avoid unnecessary clones when setting tab title in minibrowser
This is of course not a performance issue, but rather just bad style.
Especially since the url doesn't even need to be .clone()'d
in the first place.
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de >
* Don't allow empty tab titles in minibrowser
These look very confusing. If the page has no title
its better to fall back to the url instead of displaying
absolutely nothing. (This is what firefox seems to do
too)
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de >
---------
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de >
2024-08-28 16:57:28 +00:00
Callum Leslie
ef42ac0dfc
Fix several clippy warnings in components/devtools ( #33227 )
...
Signed-off-by: Callum Leslie <git@cleslie.uk >
2024-08-28 16:36:43 +00:00
Chocolate Pie
590527176e
layout: Add initial support for clip-path: [<basic-shape> || <shape-box>] ( #33107 )
...
* Turn on clip-path tests and add results
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
* enhance: Add support for `clip-path: [<basic-shape> || <shape-box>]`
Signed-off-by: Chocolate Pie <106949016+chocolate-pie@users.noreply.github.com >
* Changes from review
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
---------
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
Signed-off-by: Chocolate Pie <106949016+chocolate-pie@users.noreply.github.com >
Co-authored-by: Martin Robinson <mrobinson@igalia.com >
2024-08-28 15:00:34 +00:00
Oriol Brufau
f810983fd2
Remove unused import ( #33226 )
...
Signed-off-by: Oriol Brufau <obrufau@igalia.com >
2024-08-28 14:09:25 +00:00
Samson
fe44010000
mach: Extract binary select into common_command_arguments ( #33205 )
...
* Extract binary select into common_command_arguments
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* fixups
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Small English edit
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
---------
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
Co-authored-by: Martin Robinson <mrobinson@igalia.com >
2024-08-28 12:07:02 +00:00
Martin Robinson
b29b614775
ci: Use Servo's wpt repository for WPT export ( #33224 )
...
This switches the WPT export script to use Servo's fork the `wpt`
upstream repository. The reasoning is that Servo developers's can fix
issues with branches there. This isn't possible because no one has
permissions to the servo-wpt-sync fork of the repository.
I have given `servo-wpt-sync` write persmissions to `servo/wpt`.
This also updates the tests a bit to reflect the new default repository.
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
2024-08-28 11:29:51 +00:00
Taym Haddadi
bb5547a5d0
Fix panic in parser-reentrancy-customelement.window.js ( #33162 )
...
* Try to fix panic in parser-reentrancy-customelement.window.js
Signed-off-by: Taym <haddadi.taym@gmail.com >
* ./mach fmt
Signed-off-by: Taym <haddadi.taym@gmail.com >
* Only return with ToTokenizerMsg::End and continue for others
Signed-off-by: Taym <haddadi.taym@gmail.com >
---------
Signed-off-by: Taym <haddadi.taym@gmail.com >
2024-08-28 11:01:21 +00:00
Oriol Brufau
9639d36550
Remove width and height presentational hints for <canvas> ( #33211 )
...
According to HTML, the `width` and `height` attributes should only set
the natural sizes and the aspect ratio.
The `width` and `height` properties should stay as `initial` by default.
Signed-off-by: Oriol Brufau <obrufau@igalia.com >
Co-authored-by: Martin Robinson <mrobinson@igalia.com >
2024-08-28 10:20:18 +00:00
Martin Robinson
a6b9640c99
compositor: Do not parse the Cargo.lock file while building ( #33222 )
...
The compositor's `build.rs` script was parsing the `Cargo.lock` file in
order to tag WebRender captures with the WebRender version. The embedder
already knows what version of Servo we are using, which should be enough
to infer the WebRender revision. This changes does that and generally
does a bit of cleaning up of how captures are done.
- The name of the capture directory is now `webrender-captures`
- There is console output now when captures are done. Before it was hard
to know if it succeeded.
- Simplify the Compositor constructor a little to avoid passing
arguments so much.
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
2024-08-28 08:36:54 +00:00
Mukilan Thiyagarajan
5092cece7a
wpt: fix the path to wpt-prefs.json on WPT runner ( #33220 )
...
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com >
2024-08-28 07:50:16 +00:00
Jonathan Schwender
6de7848aff
android: Remove unused imports in android.rs ( #33218 )
...
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
2024-08-28 03:51:00 +00:00
atbrakhi
2037884469
Fix clippy wanings in layout ( #33215 )
...
Signed-off-by: atbrakhi <atbrakhi@igalia.com >
2024-08-27 20:53:43 +00:00
Samson
12661c1920
Update wgpu ( #33209 )
...
no gfx_select macro and some minor changes to passes
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2024-08-27 20:31:31 +00:00
webbeef
1b48bd18aa
Basic tab strip for the minibrowser ( #33100 )
...
This implements a simple tab system for servoshell:
- The egui part uses the built-in SelectableLabels components and
display the full tab title on hover.
- WebView structs now hold all the state for each WebView. When we
need "global" state, we return the focused WebView state, eg.
for the load status since it's still global in the UI.
- New keyboard shortcut: [Cmd-or-Ctrl]+[W] to close the current tab.
- New keyboard shortcut: [Cmd-or-Ctrl]+[T] to create a new tab.
- The new tab content is loaded from the 'servo:newtab' url using a
couple of custom protocol handlers.
Signed-off-by: webbeef <me@webbeef.org >
2024-08-27 20:17:33 +00:00
dependabot[bot]
a0ff57cea1
build(deps): bump bytemuck from 1.17.0 to 1.17.1 ( #33214 )
...
Bumps [bytemuck](https://github.com/Lokathor/bytemuck ) from 1.17.0 to 1.17.1.
- [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md )
- [Commits](https://github.com/Lokathor/bytemuck/compare/v1.17.0...v1.17.1 )
---
updated-dependencies:
- dependency-name: bytemuck
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>
2024-08-27 17:20:09 +00:00
Martin Robinson
87027d2e5c
Remove measurement of layout query wait time ( #33210 )
...
Now that the script thread and the layout thread are the same the wait
time effectively zero, so there's no need to measure it. This also
removes one dependency and removes one use of legacy time.
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
2024-08-27 16:01:48 +00:00
Oriol Brufau
50eb69a7e0
Allow creating a ContentSizes from Au ( #33208 )
...
No change in behavior, it just simplies some code a little bit.
Signed-off-by: Oriol Brufau <obrufau@igalia.com >
2024-08-27 15:22:47 +00:00
Oriol Brufau
dbd0a79b3e
Allow caching IndependentFormattingContext::inline_content_sizes() ( #33207 )
...
For non-replaced formatting contexts, this method redirected directly to
`NonReplacedFormattingContextContents::inline_content_sizes()`, which
has the actual logic for the computation.
Thus it was bypassing the cache, which is handled in
`NonReplacedFormattingContext::inline_content_sizes()`.
Therefore, this patch redirects to the latter.
Signed-off-by: Oriol Brufau <obrufau@igalia.com >
2024-08-27 13:43:50 +00:00
Jonathan Schwender
2537234090
ohos: Add FFI-APIs to navigate back and forward ( #33206 )
...
To be useful it requires using the latest version of the OH demo ArkTS app,
but it is still compatible with older versions, as the newly added FFI functions
will simply be unused in such a case.
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
2024-08-27 11:48:17 +00:00
Delan Azabani
658df79d88
CI: use self-hosted runners for Windows build jobs ( #33081 )
...
* CI: use self-hosted Windows runners in main workflow
Signed-off-by: Delan Azabani <dazabani@igalia.com >
* Fix a couple of robustness issues by generating a unique build id
Signed-off-by: Delan Azabani <dazabani@igalia.com >
* Work around needs-context expressions being busted in concurrency
Signed-off-by: Delan Azabani <dazabani@igalia.com >
* CI: use self-hosted Windows runners in try and try-label workflows
Signed-off-by: Delan Azabani <dazabani@igalia.com >
* Rename windows workflow back for simplicity
Signed-off-by: Delan Azabani <dazabani@igalia.com >
* Clarify why the copy resources step is for GitHub-hosted jobs only
Signed-off-by: Delan Azabani <dazabani@igalia.com >
* Fix cancelled status problem by dispatching instead of calling
Signed-off-by: Delan Azabani <dazabani@igalia.com >
* Tweak retry strategy to avoid hitting REST API rate limits
Signed-off-by: Delan Azabani <dazabani@igalia.com >
* Update dispatch-workflow.yml accordingly
Signed-off-by: Delan Azabani <dazabani@igalia.com >
* Rework to use simpler approach with runner labels
Signed-off-by: Delan Azabani <dazabani@igalia.com >
* Use org-scoped self-hosted runners
Signed-off-by: Delan Azabani <dazabani@igalia.com >
* Don’t run runner-timeout job when GitHub-hosted runner is selected
Signed-off-by: Delan Azabani <dazabani@igalia.com >
* Downgrade to Python 3.10
Signed-off-by: Delan Azabani <dazabani@igalia.com >
* Avoid failing when RUNNER_API_TOKEN is missing (such as in forks)
Signed-off-by: Delan Azabani <dazabani@igalia.com >
* Fix undefined needs output when RUNNER_API_TOKEN is missing
Signed-off-by: Delan Azabani <dazabani@igalia.com >
* Reset working tree, in case it was dirty in the runner image
Signed-off-by: Delan Azabani <dazabani@igalia.com >
* Clearer runner assignment timeout jobs that fail and offer help
Signed-off-by: Delan Azabani <dazabani@igalia.com >
* Fix some other sources of incremental build breakage (but not PATH)
Signed-off-by: Delan Azabani <dazabani@igalia.com >
* Log reasons why we fall back to GitHub-hosted runners
Signed-off-by: Delan Azabani <dazabani@igalia.com >
* Allow self-hosted runners to be disabled via repository variable
Signed-off-by: Delan Azabani <dazabani@igalia.com >
* Always install crown, even on self-hosted runners
Signed-off-by: Delan Azabani <dazabani@igalia.com >
* Rename incremental build debugging step
Signed-off-by: Delan Azabani <dazabani@igalia.com >
* Clean up job friendly names
Signed-off-by: Delan Azabani <dazabani@igalia.com >
* Reduce fetch depth, now that this job no longer lints
Signed-off-by: Delan Azabani <dazabani@igalia.com >
---------
Signed-off-by: Delan Azabani <dazabani@igalia.com >
2024-08-27 11:04:42 +00:00
Oriol Brufau
5d43d88b6c
Respect min/max constraints in the block axis of block containers ( #33203 )
...
Consider a block container that establishes an inline formatting context
and has a definite `block-size` which is clamped by `min-block-size` or
`max-block-size`.
We were already sizing such container correctly, however, its contents
were resolving their percentages against the unclamped `block-size`
value.
This patch fixes the `ContainingBlock` that we pass to the contents so
that they resolve percentages correctly.
Signed-off-by: Oriol Brufau <obrufau@igalia.com >
Co-authored-by: Martin Robinson <mrobinson@igalia.com >
2024-08-27 09:05:43 +00:00
Ben
fef44620cc
Fixed build error on macos ( #33200 )
...
This was due to uname reporting the architecture as arm64
instead of aarch64 on macos
Signed-off-by: Benjamin Vincent Schulenburg <bennyschulenburg@gmx.de >
2024-08-27 08:31:26 +00:00
Mukilan Thiyagarajan
173b6f183c
wpt: check for wpt-prefs.json in "./servo" sub-directory ( #33202 )
...
The current working directory when running on WPT runners is not the
folder with the servo binary, but a parent folder into which the servo
nightly tar is extracted. This means the binary is `$PWD/servo/servo`
and resources directory in in `$PWD/servo/resources`, so the current
hardcoded relative path `resources/wpt-prefs.json` will not work on WPT
runners.
This is causing crashes in WPT runner:
https://github.com/web-platform-tests/wpt/runs/29284407168
https://community-tc.services.mozilla.com/tasks/J7MqNwJGQRSkIWlvB5ktPQ/runs/0/logs/live/public/logs/live.log
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com >
2024-08-27 08:04:12 +00:00
Samson
7fce24f9d5
webgpu: Sync GPUBuffer ( #33154 )
...
* More helpers on `Promise`
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Sync `GPUBuffer`
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Set some good expectations
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Some bad expect
also on firefox
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Extract DataBlock, DataView impl from GPUBuffer
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Fix size check to work on 32bit platforms
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
---------
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2024-08-27 07:54:55 +00:00
Martin Robinson
bb5926b329
mach: Do not manually install toolchain for non-cross builds ( #33190 )
...
* mach: Do not manually install toolchain for non-cross builds
This fixes the Apple Silicon build where the installed toolchain does
not match the host triple. We only install toolchains manually for cross
builds, because cargo and friends will do this automatically when
executing.
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
* fix lints
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com >
---------
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com >
Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com >
2024-08-27 05:30:43 +00:00
dependabot[bot]
ba4e081e8e
build(deps): bump serde from 1.0.208 to 1.0.209 ( #33196 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.208 to 1.0.209.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.208...v1.0.209 )
---
updated-dependencies:
- dependency-name: serde
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>
2024-08-26 18:56:21 +00:00
dependabot[bot]
f84da1521a
build(deps): bump fastrand from 2.1.0 to 2.1.1 ( #33198 )
...
Bumps [fastrand](https://github.com/smol-rs/fastrand ) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/smol-rs/fastrand/releases )
- [Changelog](https://github.com/smol-rs/fastrand/blob/master/CHANGELOG.md )
- [Commits](https://github.com/smol-rs/fastrand/compare/v2.1.0...v2.1.1 )
---
updated-dependencies:
- dependency-name: fastrand
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>
2024-08-26 17:08:35 +00:00
dependabot[bot]
4b8ca674fc
build(deps): bump syn from 2.0.75 to 2.0.76 ( #33197 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.75 to 2.0.76.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.75...2.0.76 )
---
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>
2024-08-26 17:07:21 +00:00
dependabot[bot]
00ba0dfa2e
build(deps): bump libz-sys from 1.1.19 to 1.1.20 ( #33194 )
...
Bumps [libz-sys](https://github.com/rust-lang/libz-sys ) from 1.1.19 to 1.1.20.
- [Release notes](https://github.com/rust-lang/libz-sys/releases )
- [Commits](https://github.com/rust-lang/libz-sys/compare/1.1.19...1.1.20 )
---
updated-dependencies:
- dependency-name: libz-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>
2024-08-26 16:55:17 +00:00
dependabot[bot]
806d960d38
build(deps): bump serde_json from 1.0.125 to 1.0.127 ( #33195 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.125 to 1.0.127.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/1.0.125...1.0.127 )
---
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>
2024-08-26 16:51:58 +00:00
dependabot[bot]
cdedb57aee
build(deps): bump cc from 1.1.14 to 1.1.15 ( #33193 )
...
Bumps [cc](https://github.com/rust-lang/cc-rs ) from 1.1.14 to 1.1.15.
- [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.1.14...cc-v1.1.15 )
---
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>
2024-08-26 16:48:51 +00:00
dependabot[bot]
8f14f7bee6
build(deps): bump flate2 from 1.0.32 to 1.0.33 ( #33192 )
...
Bumps [flate2](https://github.com/rust-lang/flate2-rs ) from 1.0.32 to 1.0.33.
- [Release notes](https://github.com/rust-lang/flate2-rs/releases )
- [Changelog](https://github.com/rust-lang/flate2-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/flate2-rs/compare/1.0.32...1.0.33 )
---
updated-dependencies:
- dependency-name: flate2
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>
2024-08-26 16:41:57 +00:00
Martin Robinson
7b7020a8d4
layout: Enable flexbox by default on non-legacy layout ( #33186 )
...
Flexbox is still very much in progress, but things are working well
enough that we can enable it by default. It improves most pages that use
flexbox now.
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
2024-08-26 13:50:52 +00:00
Mukilan Thiyagarajan
b6d5ac09b0
mach: introduce BuildTarget abstraction ( #33114 )
...
Introduce a new `BuildTarget` abstraction to centralize the code for
supporting different ways of choosing the build target (e.g --android,
--target x86_64-linux-android , --target aarch64-linux-ohos). This
is currently handled in an adhoc fashion in different commands (
mach package, install, run) leading to a proliferation of keyword
parameters for the commands and duplicated logic.
The patch introduces a new `allow_target_configuration` decorator to
do the validation and parsing of these parameters into the appropriate
`BuildTarget` subclass, which is now stored as an instance attribute
of the CommandBase class. All the code that previously relied on
`self.cross_compile_target` has been switched to use the BuildTarget.
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com >
2024-08-26 13:08:21 +00:00
Samson
4397d8a021
Add dom.allow_scripts_to_close_windows pref. ( #33187 )
...
It's also present in firefox: https://searchfox.org/mozilla-central/search?q=allow_scripts_to_close_windows
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2024-08-26 11:44:47 +00:00
Ben
0e6b55c71d
Redesigned minibrowser toolbar to use icons instead of text ( #33179 )
...
* Redesigned minibrowser toolbar to use icons instead of text
Signed-off-by: Benjamin Vincent Schulenburg <bennyschulenburg@gmx.de >
* Apply suggestions from code review
Address a couple nits
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
---------
Signed-off-by: Benjamin Vincent Schulenburg <bennyschulenburg@gmx.de >
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
Co-authored-by: Martin Robinson <mrobinson@igalia.com >
2024-08-26 09:43:40 +00:00
Erik Hennig
e5caa725da
Fix a memory leak in components/script/script_runtime.rs and add more leak suppressions ( #33175 )
...
* asan: Add suppression for known false positive
Signed-off-by: ede1998 <online@erik-hennig.me >
* fix: re-suppress lazy_static leaks
lazy_static is still used by dependencies and still leaks
from static variables.
Signed-off-by: ede1998 <online@erik-hennig.me >
* fix: Memory leak of Box<NetworkingTaskSource>
Signed-off-by: ede1998 <online@erik-hennig.me >
---------
Signed-off-by: ede1998 <online@erik-hennig.me >
2024-08-26 07:33:23 +00:00
Daniel Adams
c028b5c299
webxr: Implement XRBoundedReferenceSpace ( #33176 )
...
* Implement XRBoundedReferenceSpace
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Update expectations
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Update interfaces
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Add missing pref condition on IDL interface
Signed-off-by: Daniel Adams <msub2official@gmail.com >
---------
Signed-off-by: Daniel Adams <msub2official@gmail.com >
2024-08-25 23:53:39 +00:00
Samson
e0e562137c
Add fallback value for data['message'] ( #33185 )
...
Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com >
2024-08-25 21:54:51 +00:00
Taym Haddadi
a3f5a8482d
Fix panic in abort-block-bfcache.window.js ( #33173 )
...
* Fix panic in abort-block-bfcache.window.js
Signed-off-by: Taym <haddadi.taym@gmail.com >
* Update test expectation
Signed-off-by: Taym <haddadi.taym@gmail.com >
---------
Signed-off-by: Taym <haddadi.taym@gmail.com >
2024-08-25 19:37:44 +00:00
Samson
88d8770214
Use global exports from derives ( #33169 )
...
* pub reexport *Traceable
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* reexport `HasParent` for derives
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* reexport DomObject, Reflector, MutDomObject
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* fmt
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Update lib.rs
Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com >
* Update lib.rs
Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com >
* Update lib.rs
Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com >
---------
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com >
2024-08-25 13:58:09 +00:00
eri
6357998ede
DevTools: Inspect node styles ( #33025 )
...
* feat: retrieve applied styles
Signed-off-by: eri <eri@inventati.org >
* feat: preliminary style showing
Signed-off-by: eri <eri@inventati.org >
* chore: some style tests
Signed-off-by: eri <eri@inventati.org >
* feat: edit style rules
Signed-off-by: eri <eri@inventati.org >
* feat: css database
Signed-off-by: eri <eri@inventati.org >
* feat: computed styles
Signed-off-by: eri <eri@inventati.org >
* feat: inherited styles
Signed-off-by: eri <eri@inventati.org >
* feat: get stylesheet styles
Signed-off-by: eri <eri@inventati.org >
* feat: all styles in inspector
Signed-off-by: eri <eri@inventati.org >
* feat: multiple stylesheets
Signed-off-by: eri <eri@inventati.org >
* refactor: clean up
Signed-off-by: eri <eri@inventati.org >
* Some minor cleanup
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
---------
Signed-off-by: eri <eri@inventati.org >
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
Co-authored-by: Martin Robinson <mrobinson@igalia.com >
2024-08-25 09:30:23 +00:00
Nolan Lawson
67e2bb0ee6
script: fix querySelector returning the root ( #33174 )
...
Signed-off-by: Nolan Lawson <nolan@nolanlawson.com >
2024-08-25 09:16:26 +00:00
Cristian Brinza
c79d9e68a3
Use webrender UploadMethod::Immediate with ANGLE ( #33177 )
...
* Use webrender UploadMethod::Immediate with ANGLE
Signed-off-by: crbrz <cristianb@gmail.com >
* Added comment with Gecko link
Signed-off-by: crbrz <cristianb@gmail.com >
---------
Signed-off-by: crbrz <cristianb@gmail.com >
2024-08-25 05:43:06 +00:00
Servo WPT Sync
6caaa0c955
Update web-platform-tests to revision b'd988aeeb33edc4d452899921799b8bed69fff65d' ( #33178 )
...
Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org >
2024-08-25 01:37:49 +00:00
Martin Robinson
7582afebec
script: Update list of non-TS pseudo classes supported by Servo ( #33165 )
...
Also remove some code duplication by moving some of the code into the
`Element` impl.
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
2024-08-24 08:43:54 +00:00
Kopanov Anton
ad45fa0a19
script: Fix panic in htmlimageelement.rs using str::find() to find character boundaries. ( #32980 )
...
* fix loop with chars().enumerate() by using find()
Signed-off-by: Kopanov Anton <anton.kopanov@ya.ru >
* Add documentation to parser and fix some small issues
- Rename the properties of `Descriptor` so that they are full words
- Use the Rust-parser to parse doubles
- Add documentation and restructure parser to be more readable
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
---------
Signed-off-by: Kopanov Anton <anton.kopanov@ya.ru >
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
Co-authored-by: Martin Robinson <mrobinson@igalia.com >
2024-08-24 08:22:39 +00:00
Daniel Adams
e85491b5fc
Allow prefs to be overridden from a file and set WPT-specific prefs from file ( #33163 )
...
* Allow prefs to be passed in from a separate file
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Add wpt-prefs.json for setting WPT-specific prefs
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* fix argument to read_prefs_file
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Update test_parse_pref test
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Add line in executorservo.py to read from wpt-prefs.json
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Update MANIFEST.json
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Update expectations
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Disable dom.webxr.test for interfaces test
Signed-off-by: Daniel Adams <msub2official@gmail.com >
---------
Signed-off-by: Daniel Adams <msub2official@gmail.com >
2024-08-24 06:47:57 +00:00
Martin Robinson
2db9032e72
layout: Add support for flex items with position: relative ( #33151 )
...
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
2024-08-23 18:11:22 +00:00
dependabot[bot]
b9f02cf773
build(deps): bump quote from 1.0.36 to 1.0.37 ( #33167 )
...
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.36 to 1.0.37.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.36...1.0.37 )
---
updated-dependencies:
- dependency-name: quote
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>
2024-08-23 17:34:15 +00:00
dependabot[bot]
1165190c8e
build(deps): bump cc from 1.1.13 to 1.1.14 ( #33166 )
...
Bumps [cc](https://github.com/rust-lang/cc-rs ) from 1.1.13 to 1.1.14.
- [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.1.13...cc-v1.1.14 )
---
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>
2024-08-23 17:20:51 +00:00
Martin Robinson
78e2691d3f
shaping: Don't assume there's a space glyph when rendering tabs ( #32979 )
...
Previously if a font didn't have a space advance and it was needed to
make advances for tabs, Servo would try to read the advance from the
font. If the font didn't have a space glyph, Servo would panic. This
fixes that issue by making the space advance part of the `FontMetrics`
of a font (like Gecko) and falling back properly if that glyph doesn't
exist. The rendered glyph is still the "space" glyph, but we make
sure to select a font that supports that glyph explicitly.
This prevents a crash, but tabs still aren't handled properly. In
reality, tab stops should be calculated in layout and the size of
the space character of the current font shouldn't come into play.
The addition of the space advance metric will make this easier.
Fixes #32970 .
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
2024-08-23 11:17:44 +00:00
Samson
ebdae6094e
CI: Add separate Lint&Tidy check and remove test-tidy from linux ( #33150 )
...
* Create separate Lint&Tidy check
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Remove quick-check as it's not longer relevant
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Add clippy to rust-toolchain
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* fix try parser test expectations
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* use lint in result
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Lint & Tidy -> Lint
Co-authored-by: Martin Robinson <mrobinson@igalia.com >
Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com >
---------
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com >
Co-authored-by: Martin Robinson <mrobinson@igalia.com >
2024-08-23 08:58:12 +00:00
Josh Matthews
0afcb83e9f
Print reason when tests are skipped. ( #33077 )
...
* Print reason when tests are skipped.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
* Print reason tests are skipped in Servo's WPT formatter
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
---------
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
2024-08-23 08:39:39 +00:00
Martin Robinson
e956b53827
layout: Clean up inline layout data structures ( #33149 )
...
- Rename `InlineFormattingContextState` to
`InlineFormattingContextLayout`.
- Have `InlineFormattingContextLayout` hold a reference to the
`InlineFormattingContext`, so that it does not need to be passed
around as an argument
- Have `LineItemLayout` hold a reference to
`InlineFormattingContextLayout` to avoid duplicating so much data.
- Rename some members of `LineItemLayout` to make it clearer what
they do.
- Give beter names to many lifetimes and combine some that are
effectively the same.
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
Co-authored-by: Rakhi Sharma <atbrakhi@igalia.com >
2024-08-22 12:05:15 +00:00
Josh Matthews
60ef6bc461
Start marking functions that can transitively trigger a GC ( #33144 )
...
* Mark JS reflector wrappers as CanGc.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
* Propagate CanGc from reflect_dom_object_with_proto.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
* Mark DOM constructors as GC operations.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
---------
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
2024-08-22 11:42:36 +00:00
webbeef
9a1051c917
Implement crypto.randomUUID() ( #33158 )
...
Signed-off-by: webbeef <me@webbeef.org >
2024-08-22 04:56:37 +00:00
webbeef
663a92a5df
make protocol handlers registrable ( #33104 )
...
Signed-off-by: webbeef <me@webbeef.org >
2024-08-22 04:11:16 +00:00
Daniel Adams
562d32c051
webxr: Update XRWebGLLayer interface to latest spec ( #33157 )
...
* Update XRWebGLLayer interface to latest spec
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Add missing spec links
Signed-off-by: Daniel Adams <msub2official@gmail.com >
---------
Signed-off-by: Daniel Adams <msub2official@gmail.com >
2024-08-22 02:18:58 +00:00
dependabot[bot]
cde10241c3
build(deps): bump flate2 from 1.0.31 to 1.0.32 ( #33141 )
...
* build(deps): bump flate2 from 1.0.31 to 1.0.32
Bumps [flate2](https://github.com/rust-lang/flate2-rs ) from 1.0.31 to 1.0.32.
- [Release notes](https://github.com/rust-lang/flate2-rs/releases )
- [Changelog](https://github.com/rust-lang/flate2-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/flate2-rs/compare/1.0.31...1.0.32 )
---
updated-dependencies:
- dependency-name: flate2
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Allow duplicate miniz_oxide.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
---------
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Josh Matthews <josh@joshmatthews.net >
2024-08-21 23:28:44 +00:00
A. Wilcox
0e56241c1b
background_hang_monitor: Add musl compatibility ( #33153 )
...
musl does not have libunwind readily available; even if it did, it has
no concept of ucontext (needing an external lib). Similar to ohos,
disable the background hang monitor and use the DummySampler.
Signed-off-by: A. Wilcox <AWilcox@Wilcox-Tech.com >
2024-08-21 21:38:28 +00:00
Daniel Adams
7501e3e12f
webxr: Update XRInputSource interface to latest spec ( #33155 )
...
* Update XRInputSource interface to latest spec
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Bump webxr version
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Add missing spec link
Signed-off-by: Daniel Adams <msub2official@gmail.com >
---------
Signed-off-by: Daniel Adams <msub2official@gmail.com >
2024-08-21 21:26:29 +00:00
Martin Robinson
56280c6242
layout: Add initial support for bidirectional text (BiDi) ( #33148 )
...
This adds supports for right-to-left text assigning bidi levels to all
line items when necessary. This includes support for the `dir` attribute
as well as corresponding CSS properties like `unicode-bidi`. It only
implements right-to-left rendering for inline layout at the moment and
doesn't include support for `dir=auto`. Because of missing features,
this causes quite a few tests to start failing, as references become
incorrect due to right-to-left rendering being active in some cases,
but not others (before it didn't exist at all).
Analysis of most of the new failures:
```
- /css/css-flexbox/gap-001-rtl.html
/css/css-flexbox/gap-004-rtl.html
- Require implementing BiDi in Flexbox, because the start and
end inline margins are opposite the order of items.
- /css/CSS2/bidi-text/direction-applies-to-*.xht
/css/CSS2/bidi-text/direction-applies-to-002.xht
/css/CSS2/bidi-text/direction-applies-to-003.xht
/css/CSS2/bidi-text/direction-applies-to-004.xht
- Broken due to a bug in tables, not allocating the
right amount of width for a column.
- /css/css-lists/inline-list.html
- This fails because we wrongly insert a soft wrap opportunity between the
start of an inline box and its first content.
- /css/css-text/bidi/bidi-lines-001.html
/css/css-text/bidi/bidi-lines-002.html
/css/CSS2/text/bidi-flag-emoji.html
- We do not fully support unicode-bidi: plaintext
- /css/css-text/text-align/text-align-end-010.html
/css/css-text/text-align/text-align-justify-006.html
/css/css-text/text-align/text-align-start-010.html
/html/dom/elements/global-attributes/*
- We do not support dir=auto yet.
- /css/css-text/white-space/tab-bidi-001.html
- Servo doesn't support tab stops
- /css/CSS2/positioning/abspos-block-level-001.html
/css/css-text/word-break/word-break-normal-ar-000.html
- Do not yet support RTL layout in block
- /css/css-text/white-space/pre-wrap-018.html
- Even in RTL contexts, spaces at the end of the line must hang and
not be reordered
- /css/css-text/white-space/trailing-space-and-text-alignment-rtl-002.html
- We are letting spaces hang with white-space: pre, but they shouldn't
hang.
```
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
Co-authored-by: Rakhi Sharma <atbrakhi@igalia.com >
2024-08-21 14:28:54 +00:00
Samson
65bd5a3b99
webgpu: Align writeBuffer with spec ( #33147 )
...
* Sync `WriteBuffer`
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Set good expectations
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Change assert to debug_assert
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
---------
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2024-08-21 11:46:23 +00:00
Simon Wülker
3b8c638a84
Fix floating point errors in table layout ( #33098 )
...
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de >
2024-08-21 10:41:43 +00:00
Daniel Adams
fb22dfb373
webxr: Update XRPose interface to latest spec ( #33146 )
...
* Update XRPose interface with missing members
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* ./mach fmt
Signed-off-by: Daniel Adams <msub2official@gmail.com >
---------
Signed-off-by: Daniel Adams <msub2official@gmail.com >
2024-08-21 10:41:04 +00:00
Daniel Adams
8e224cb4d3
webxr: Update XRView to latest spec ( #33145 )
...
* Add recommendedViewportScale and requestViewportScale
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Remove currently unused internal slots
Signed-off-by: Daniel Adams <msub2official@gmail.com >
---------
Signed-off-by: Daniel Adams <msub2official@gmail.com >
2024-08-21 02:37:58 +00:00
dependabot[bot]
75b817cca3
build(deps): bump unicode-xid from 0.2.4 to 0.2.5 ( #33143 )
...
Bumps [unicode-xid](https://github.com/unicode-rs/unicode-xid ) from 0.2.4 to 0.2.5.
- [Commits](https://github.com/unicode-rs/unicode-xid/compare/v0.2.4...v0.2.5 )
---
updated-dependencies:
- dependency-name: unicode-xid
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>
2024-08-20 17:32:13 +00:00
dependabot[bot]
1492624bb5
build(deps): bump unicode-properties from 0.1.1 to 0.1.2 ( #33142 )
...
Bumps [unicode-properties](https://github.com/unicode-rs/unicode-properties ) from 0.1.1 to 0.1.2.
- [Commits](https://github.com/unicode-rs/unicode-properties/compare/v0.1.1...v0.1.2 )
---
updated-dependencies:
- dependency-name: unicode-properties
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>
2024-08-20 17:18:51 +00:00
Josh Matthews
bc5235827f
Various borrow hazard fixes ( #33133 )
...
* Reduce the scope of the document tag map borrow.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
* Reduce scope of borrow when finishing a Response.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
* Avoid creating a File object while borrowing FormData's data.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
* Prevent the GC from seeing an uninitialized window proxy slot.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
---------
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
2024-08-20 16:06:24 +00:00
Oriol Brufau
c00cd1326a
Take into account the intrinsic block size when computing the main size of a column flex container ( #33135 )
...
In particular, `main_content_sizes()` now works with columns.
`layout_for_block_content_size()` is now used for both intrinsic sizes
and intrinsic contributions, a IntrinsicSizingMode parameter is added
to choose the behavior.
Also, we consider the main size of a flex item as indefinite if its flex
basis is indefinite and the flex container has an indefinite main size.
Signed-off-by: Oriol Brufau <obrufau@igalia.com >
Co-authored-by: Martin Robinson <mrobinson@igalia.com >
2024-08-20 11:30:27 +00:00
Taym Haddadi
cf98d8d7ec
Update url setters test result ( #33134 )
...
Signed-off-by: Taym <haddadi.taym@gmail.com >
2024-08-20 10:34:45 +00:00
Daniel Adams
7e4979c852
webxr: Update XRFrame to latest spec ( #33102 )
...
* Update IDL+naming, add predictedDisplayTime getter stub
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Surface predicted display time
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Update WPT expectations
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Update todo comment
Signed-off-by: Daniel Adams <msub2official@gmail.com >
---------
Signed-off-by: Daniel Adams <msub2official@gmail.com >
2024-08-20 08:12:25 +00:00
Taym Haddadi
91adf39de7
Fix panic in embedded-opener-remove-frame ( #33122 )
...
Signed-off-by: Taym <haddadi.taym@gmail.com >
2024-08-19 20:05:03 +00:00
dependabot[bot]
32a298f3a2
build(deps): bump libc from 0.2.156 to 0.2.158 ( #33131 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.156 to 0.2.158.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.158/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.156...0.2.158 )
---
updated-dependencies:
- dependency-name: libc
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>
2024-08-19 17:42:42 +00:00
dependabot[bot]
9e2536c877
build(deps): bump syn from 2.0.74 to 2.0.75 ( #33130 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.74 to 2.0.75.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.74...2.0.75 )
---
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>
2024-08-19 17:38:55 +00:00
dependabot[bot]
40e0052ef7
build(deps): bump webxr from 08a6d70 to 474d538 ( #33129 )
...
Bumps [webxr](https://github.com/servo/webxr ) from `08a6d70` to `474d538`.
- [Commits](08a6d70ad4...474d53835c )
---
updated-dependencies:
- dependency-name: webxr
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-19 17:27:35 +00:00
dependabot[bot]
6a7d5210e9
build(deps): bump redox_users from 0.4.3 to 0.4.6 ( #33127 )
...
Bumps redox_users from 0.4.3 to 0.4.6.
---
updated-dependencies:
- dependency-name: redox_users
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>
2024-08-19 17:23:19 +00:00
dependabot[bot]
c5751af926
build(deps): bump ohos-sys from 0.2.1 to 0.2.2 ( #33128 )
...
Bumps [ohos-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-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>
2024-08-19 17:18:24 +00:00
dependabot[bot]
54cb8d9a36
build(deps): bump tokio from 1.39.2 to 1.39.3 ( #33126 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.39.2 to 1.39.3.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.39.2...tokio-1.39.3 )
---
updated-dependencies:
- dependency-name: tokio
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>
2024-08-19 17:17:48 +00:00
dependabot[bot]
c5d3c29b79
build(deps): bump arrayvec from 0.7.4 to 0.7.6 ( #33125 )
...
Bumps [arrayvec](https://github.com/bluss/arrayvec ) from 0.7.4 to 0.7.6.
- [Release notes](https://github.com/bluss/arrayvec/releases )
- [Changelog](https://github.com/bluss/arrayvec/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bluss/arrayvec/compare/0.7.4...0.7.6 )
---
updated-dependencies:
- dependency-name: arrayvec
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>
2024-08-19 17:14:05 +00:00
Josh Matthews
b3280fe071
Update surfman to fix macOS webgl crashes. ( #33124 )
2024-08-19 16:31:50 +00:00
Samson
94ff89a5e4
webgpu: Sync various parts of spec ( #33009 )
...
* Sync `GPUObjectDescriptorBase` (label is not option anymore)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Sync `GPUFeatureName`
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* shader_f16 feature is not usable in wgpu so disable it
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* sync `GPUTextureFormat`
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* `validate_texture_format_required_features`
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Sync `GPUTexture` attributes
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Make `entryPoint` in `GPUProgrammableStage` optional
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Set good expectations
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Bad expectations because naga does not support cons declarations
Also fail on firefox, where skipped before due to missing device features
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Bad expectation, also fails on firefox
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Bad expectations, because naga does not support `let pos = positions[vertex_index];`
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Set expectation
external texture does not work in firefox too (again naga)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* set bad expectations, because naga does not support `enable`
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Set bad expectations for, `Texture with '' label has been destroyed`
also fails in firefox with same reason
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* one bad expectation
also on firefox
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* expect that also matches firefox
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* more expect
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Use only 1 proc for _webgpu
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* better doc comment
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
---------
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2024-08-19 14:06:30 +00:00
Martin Robinson
f45c98496e
Upgrade font-kit, raqote, and stop using dirs-next ( #33120 )
...
`dirs-next` is still used by the version of the `term` crate we are
using, but this also remoes a version of `cstr` so our dependency count
does not change.
A new version of `raqote` hasn't been released, so this depends on the
upstream repository directly. It's been almost 4 months since the
release has been ready -- so it's unclear when it will happen.
Fixes #32801 .
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
2024-08-19 12:16:28 +00:00
Martin Robinson
2f6745c0c6
layout: Layout for column flex-basis and minimum automatic size determination ( #33068 )
...
This change adds an expensive layout for the determination of minimum
automatic size and flex basis in process of flexbox layout. Currently,
the layout is not cached, so may be performed up to 2 more times than
necessary.
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
Co-authored-by: Oriol Brufau <obrufau@igalia.com >
2024-08-19 10:54:10 +00:00
Cristian Brinza
2a31fddc0b
Refactor GlyphStore::iter_glyphs_for_byte_range without recursion ( #33074 )
...
* Implement DoubleEndedIterator for EachIndex
Signed-off-by: crbrz <cristianb@gmail.com >
* Refactor GlyphStore::iter_glyphs_for_byte_range without recursion
Signed-off-by: crbrz <cristianb@gmail.com >
* Update WPT result
Signed-off-by: crbrz <cristianb@gmail.com >
* Update WPT legacy result
Signed-off-by: crbrz <cristianb@gmail.com >
---------
Signed-off-by: crbrz <cristianb@gmail.com >
2024-08-19 10:47:09 +00:00
Servo WPT Sync
d59a7f62f8
Update web-platform-tests to revision b'ebe057a1153d34042bac1ff3dc944220876f69ec' ( #33116 )
...
Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org >
2024-08-19 07:45:30 +00:00
Samson
b5fe99ba5d
wpt-tests-to-run -> wpt-args and make them last so they can override already provide ( #33115 )
...
d options
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2024-08-19 07:29:40 +00:00
Simon Wülker
84b5b64424
Fix incorrect documentation and add track_caller to DomRefCell methods ( #33111 )
...
* Fix DomRefCell documentation about panic behaviour
Fixes https://github.com/servo/servo/issues/33099
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de >
* Annotate DomRefCell::borrow/borrow_mut with #[track_caller]
Fixes https://github.com/servo/servo/issues/27336
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de >
---------
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de >
2024-08-19 07:24:38 +00:00
Jonathan Schwender
3576c02ae2
ohos: Remove custom touch history code ( #33113 )
...
The TouchHandler in servo already does the equivalent,
so there is no need to have this code in the OH specific code.
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
2024-08-19 05:52:34 +00:00
Daniel Adams
e078353bf0
Fix race in WebXR WPT test setup ( #33112 )
...
* Ensure xr_promise_test only runs after DOMContentLoaded
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Update meta expectations
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Update meta-legacy-layout expectations
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Update manifest
Signed-off-by: Daniel Adams <msub2official@gmail.com >
---------
Signed-off-by: Daniel Adams <msub2official@gmail.com >
2024-08-18 21:27:05 +00:00
Taym Haddadi
a50e6a503e
Remove unnecessary unsafe block ( #33109 )
...
Signed-off-by: Taym <haddadi.taym@gmail.com >
2024-08-18 16:18:28 +00:00
Taym Haddadi
a24e92778a
fix: add error handling to BaseAudioContext::new_inherited ( #33023 )
...
* fix: add error handling to BaseAudioContext::new_inherited
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com >
* Update servo-media
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com >
* Update test expectations
Signed-off-by: Taym <haddadi.taym@gmail.com >
* Update servo-media
Signed-off-by: Taym <haddadi.taym@gmail.com >
---------
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com >
Signed-off-by: Taym <haddadi.taym@gmail.com >
2024-08-18 13:58:43 +00:00
Daniel Adams
1ef3e107bd
Add makeXRCompatible for WebGL2, update WebXR WPT expectations ( #33097 )
...
* Add makeXRCompatible to WebGLRenderContextBase
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Activate webgl2 for webxr wpt, update meta expectations
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Update meta legacy layout expectations
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Remove no longer existing expectations from meta files
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Remove files for fully passing tests
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Remove out-of-date expectations from meta legacy layout
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Update webgl conformance expectations
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Fix test numbering in expectations
Signed-off-by: Daniel Adams <msub2official@gmail.com >
---------
Signed-off-by: Daniel Adams <msub2official@gmail.com >
2024-08-18 10:37:14 +00:00
Koki Saito
280063eee2
Make string formatting more consistent in CodegenRust.py ( #33096 )
...
* fix: Replace string concatenation with f-string
Signed-off-by: Koki Saito <saitoto828@gmail.com >
* fix: Replace substitute method with f-string
Signed-off-by: Koki Saito <saitoto828@gmail.com >
* fix: Cleanup unused function `onFailureInvalidEnumValue`
Signed-off-by: Koki Saito <saitoto828@gmail.com >
* fix: Replace %formatting with f-string
Signed-off-by: Koki Saito <saitoto828@gmail.com >
* fix: Fix some typo
Signed-off-by: Koki Saito <saitoto828@gmail.com >
* fix: Lint
Signed-off-by: Koki Saito <saitoto828@gmail.com >
---------
Signed-off-by: Koki Saito <saitoto828@gmail.com >
Co-authored-by: kokisaito <kosaito@indeed.com >
2024-08-18 05:02:11 +00:00
webbeef
6aee84f0d1
Update data-url to 0.3 ( #33103 )
...
Signed-off-by: webbeef <me@webbeef.org >
2024-08-18 04:34:55 +00:00
Koki Saito
db312319ae
fix: Replace callargs_is_constructing with is_constructing method ( #33101 )
...
Signed-off-by: Koki Saito <saitoto828@gmail.com >
Co-authored-by: kokisaito <kosaito@indeed.com >
2024-08-18 01:48:39 +00:00
Daniel Adams
20273b062a
webxr: Update XRSession to latest spec ( #33059 )
...
* Add missing XRSession members, initial implementations
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Implement supportedFramerates getter
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Implement framerate changes, add spec links
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Update WPT expectations
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* ./mach fmt
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Add missing spec link
Signed-off-by: Daniel Adams <msub2official@gmail.com >
---------
Signed-off-by: Daniel Adams <msub2official@gmail.com >
2024-08-17 03:36:52 +00:00
Simon Wülker
f0045a7686
remove usage of legacy numeric operations in script ( #33095 )
...
These operations are deprecated and might be removed
in a future rust version. Clippy is also complaining
about them.
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de >
2024-08-16 21:30:13 +00:00
dependabot[bot]
09cac6430b
build(deps): bump libc from 0.2.155 to 0.2.156 ( #33091 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.155 to 0.2.156.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.156/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.155...0.2.156 )
---
updated-dependencies:
- dependency-name: libc
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>
2024-08-16 18:24:28 +00:00
dependabot[bot]
842bd607d4
build(deps): bump bytemuck_derive from 1.7.0 to 1.7.1 ( #33086 )
...
Bumps [bytemuck_derive](https://github.com/Lokathor/bytemuck ) from 1.7.0 to 1.7.1.
- [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md )
- [Commits](https://github.com/Lokathor/bytemuck/compare/bytemuck_derive-v1.7.0...bytemuck_derive-v1.7.1 )
---
updated-dependencies:
- dependency-name: bytemuck_derive
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>
2024-08-16 18:22:02 +00:00
dependabot[bot]
a8fbfe712f
build(deps): bump webxr from dd76329 to 08a6d70 ( #33092 )
...
Bumps [webxr](https://github.com/servo/webxr ) from `dd76329` to `08a6d70`.
- [Commits](dd763293a8...08a6d70ad4 )
---
updated-dependencies:
- dependency-name: webxr
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-16 18:21:27 +00:00
dependabot[bot]
23c2040f2b
build(deps): bump cc from 1.1.12 to 1.1.13 ( #33093 )
...
Bumps [cc](https://github.com/rust-lang/cc-rs ) from 1.1.12 to 1.1.13.
- [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.1.12...cc-v1.1.13 )
---
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>
2024-08-16 18:20:30 +00:00
dependabot[bot]
10e2dc7a63
build(deps): bump bytemuck from 1.16.3 to 1.17.0 ( #33090 )
...
Bumps [bytemuck](https://github.com/Lokathor/bytemuck ) from 1.16.3 to 1.17.0.
- [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md )
- [Commits](https://github.com/Lokathor/bytemuck/compare/v1.16.3...v1.17.0 )
---
updated-dependencies:
- dependency-name: bytemuck
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>
2024-08-16 17:35:17 +00:00
dependabot[bot]
c6d6823b85
build(deps): bump scc from 2.1.14 to 2.1.16 ( #33089 )
...
Bumps [scc](https://github.com/wvwwvwwv/scalable-concurrent-containers ) from 2.1.14 to 2.1.16.
- [Changelog](https://github.com/wvwwvwwv/scalable-concurrent-containers/blob/main/CHANGELOG.md )
- [Commits](https://github.com/wvwwvwwv/scalable-concurrent-containers/commits )
---
updated-dependencies:
- dependency-name: scc
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>
2024-08-16 17:31:27 +00:00
dependabot[bot]
4bdf6403d0
build(deps): bump surfman from 0.9.5 to 0.9.6 ( #33088 )
...
Bumps [surfman](https://github.com/servo/surfman ) from 0.9.5 to 0.9.6.
- [Release notes](https://github.com/servo/surfman/releases )
- [Commits](https://github.com/servo/surfman/commits )
---
updated-dependencies:
- dependency-name: surfman
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>
2024-08-16 17:28:59 +00:00
Josh Matthews
3829e91662
Handle failed string conversions in console.log. ( #33085 )
...
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
2024-08-16 16:49:56 +00:00
Josh Matthews
4df7a1af25
Support HTML parser reentrancy ( #32820 )
...
* Update parser interface for reentrancy.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
* Remove assertions around invoking scripts with active parser.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
* Add regression test.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
* Run test with normal and async html parser.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
---------
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
2024-08-16 16:25:50 +00:00
Mukilan Thiyagarajan
d44c0f7e5d
mach: remove unused maven packaging code ( #33083 )
...
This code is unused and unmaintained. We can bring it back from version
control if needed in the future.
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com >
2024-08-16 11:59:05 +00:00
Martin Robinson
0d94a8acd2
layout: Prepare for bidi by guarding all access to writing-mode ( #33082 )
...
We want to selectively enable right-to-left writing modes per layout
context. This change makes that possible by allowing access to
`writing-mode` though an interface that always returns the default
horizontal top-to-bottom (implicitly left-to-right) writing mode.
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
Co-authored-by: Rakhi Sharma <atbrakhi@igalia.com >
2024-08-16 11:38:04 +00:00
Josh Matthews
3d3621b652
Update stylo for latest changes. ( #33079 )
...
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
2024-08-16 10:47:12 +00:00
Martin Robinson
ce5ebbcf77
legacy-layout: Fix display list building after WebRender upgrade ( #33073 )
...
The most recent version of WebRender tracks stacking context offsets in
a different way, which broke legacy layout. It's easier just to track
the stacking context offset in Servo and apply them to the items
manually like we do in non-legacy layout.
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
2024-08-16 10:02:43 +00:00
Hayashi Mikihiro
6816d11f88
replace once_cell ( #33080 )
...
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
2024-08-16 04:49:50 +00:00
Hayashi Mikihiro
4cc1b68546
Remove lazy static ( #33078 )
...
* remove from rand
Mutex<OsRng> can be initialized in compile time.
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
* remove from layout_2020
Mutex<()> can be initialize in compile time
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
* remove from media
`IS_MULTIPROCESS` doesn't be used.
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
* remove lazy_static from dependencies
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
* rewrite suppressed_leaks_for_asan.txt
For all of lazy_static was replaced with LazyLock.
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
---------
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
2024-08-16 03:57:09 +00:00
Jonathan Schwender
4b3ed4b684
ohos: Fix log filtering ( #33076 )
...
* Increase default filtering to warn
* fix module filtering (filter_builder was never used)
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
2024-08-16 02:31:35 +00:00
Josh Matthews
69185c4af1
Ensure parsers initiated from DOMParser always complete. ( #33056 )
...
* Ensure parsers initiated from DOMParser always complete.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
* Add test for parseFromString with async parser.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
* Add expected failure.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
---------
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
2024-08-15 23:45:00 +00:00
Josh Matthews
3cc91e655f
Remove many explicit reflow calls ( #33067 )
...
* Remove explicit reflow for iframe content updates.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
* Remove explicit reflow for timers.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
* Remove explicit reflow for MouseEvent.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
* Remove explicit reflow for key events.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
* Remove explicit reflow for document load.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
* Remove explicit reflow for iframe load.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
* Remove unused reflow reasons.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
* Fix warnings.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
---------
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
2024-08-15 22:20:52 +00:00
Jose Monagas
a34920b605
fix(clippy): Clippy suggestions in components/script/dom/* ( #33072 )
...
Signed-off-by: Jose T. Monagas <josetmonagas@proton.me >
Co-authored-by: Jose T. Monagas <josetmonagas@proton.me >
2024-08-15 19:31:30 +00:00
dependabot[bot]
386a067c4b
build(deps): bump is-terminal from 0.4.12 to 0.4.13 ( #33071 )
...
Bumps [is-terminal](https://github.com/sunfishcode/is-terminal ) from 0.4.12 to 0.4.13.
- [Commits](https://github.com/sunfishcode/is-terminal/compare/v0.4.12...v0.4.13 )
---
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>
2024-08-15 17:22:54 +00:00
dependabot[bot]
0710209557
build(deps): bump serde_json from 1.0.124 to 1.0.125 ( #33070 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.124 to 1.0.125.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.124...1.0.125 )
---
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>
2024-08-15 17:00:26 +00:00
dependabot[bot]
bcfc642f2f
build(deps): bump cc from 1.1.11 to 1.1.12 ( #33069 )
...
Bumps [cc](https://github.com/rust-lang/cc-rs ) from 1.1.11 to 1.1.12.
- [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.1.11...cc-v1.1.12 )
---
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>
2024-08-15 16:58:06 +00:00
dependabot[bot]
e4d0af8d91
build(deps): bump serde from 1.0.207 to 1.0.208 ( #33066 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.207 to 1.0.208.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.207...v1.0.208 )
---
updated-dependencies:
- dependency-name: serde
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>
2024-08-15 16:53:21 +00:00
Hayashi Mikihiro
016ff5dfa6
Replace lazy_static crate with std::sync::LazyLock in layout and config ( #33065 )
...
* replace in layout_thread_2020
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
* replace in layout_thread
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
* replace in layout
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
* replace in config
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
* replace in config_plugins
The macro of config_plugins require Send trait bounds
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
---------
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
2024-08-15 16:28:04 +00:00
Taym Haddadi
c01b733523
Update codegen for GetOpener:inRealms in Bindings.conf ( #33062 )
...
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com >
2024-08-15 13:42:50 +00:00
Hayashi Mikihiro
86c4e014b4
Replace the lazy_static crate with std::sync::LazyLock in components/shared ( #33060 )
...
* replace in pub_domains.rs
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
* replace in embedder/resources.rs
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
* replace in base/id.rs
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
* replace in net/lib.rs
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
* remove lazy_static from components/shared
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
---------
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
2024-08-15 12:05:29 +00:00
Cristian Brinza
8f82b2a7cb
Use FontInstanceFlags::SUBPIXEL_POSITION for font instances on Windows ( #33045 )
...
Signed-off-by: crbrz <cristianb@gmail.com >
2024-08-15 10:25:57 +00:00
Jonathan Schwender
97c84b6127
ohos/android: Redirect stdout/stderr to log sink ( #32858 )
...
* ohos: redirect stdout/stderr to logging sink
Based on the existing android `redirect_stdout_to_logcat` implementation,
but using the safe abstractions from `nix` and dumping to the `log` sink,
instead of directly writing the log.
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
* android: Use new shared implementation for logcat redirection.
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
* servoshell: Register cfg(production)
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
* Update ports/servoshell/egl/log.rs
Co-authored-by: Martin Robinson <mrobinson@igalia.com >
Signed-off-by: Jonathan Schwender <55576758+jschwe@users.noreply.github.com >
* Change info! to debug! to match original behavior on android
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
---------
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
Signed-off-by: Jonathan Schwender <55576758+jschwe@users.noreply.github.com >
Co-authored-by: Martin Robinson <mrobinson@igalia.com >
2024-08-15 09:26:03 +00:00
Daniel Adams
353ceb0ffb
Update WebXR WPT expectations ( #33058 )
...
* Enable the dom.webxr.test pref for webxr WPT tests
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Update webxr test expectations
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Fix erroneous timeouts
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Readd stable timeout
Signed-off-by: Daniel Adams <msub2official@gmail.com >
---------
Signed-off-by: Daniel Adams <msub2official@gmail.com >
2024-08-15 09:09:15 +00:00
Martin Robinson
8159f03288
layout: Support start and end values for flexbox align-self ( #33032 )
...
These are similar to `flex-start` and `flex-end`, but in `wrap-reverse`
situations, they are the opposite.
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
Co-authored-by: Oriol Brufau <obrufau@igalia.com >
2024-08-15 08:20:41 +00:00
Samson
a6638c1952
Update mozjs and use release libz-sys ( #33048 )
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2024-08-15 00:32:30 +00:00
Daniel Adams
825d6f10e9
webxr: Update hand input to match latest spec ( #32958 )
...
* Update IDLs
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Update XRHand and XRJointSpace methods/bindings
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Implement fillJointRadii
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Implement fillPoses
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Formatting
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Update test expectations
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Tidy, missing spec link
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Remove idlharness expectation files, update hands pref
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Update interfaces
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* XRJointPose interface
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* XRHand interface
Signed-off-by: Daniel Adams <msub2official@gmail.com >
---------
Signed-off-by: Daniel Adams <msub2official@gmail.com >
2024-08-14 22:45:45 +00:00
Martin Robinson
057873c94a
Remove unused constant from components/net/fetch/methods.rs ( #33054 )
...
This was revealed by the recent switch to `LazyLock`.
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
2024-08-14 18:35:13 +00:00
dependabot[bot]
c438bfddd0
build(deps): bump indexmap from 2.3.0 to 2.4.0 ( #33053 )
...
Bumps [indexmap](https://github.com/indexmap-rs/indexmap ) from 2.3.0 to 2.4.0.
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.3.0...2.4.0 )
---
updated-dependencies:
- dependency-name: indexmap
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>
2024-08-14 17:27:23 +00:00
dependabot[bot]
6b0680c779
build(deps): bump web-sys from 0.3.69 to 0.3.70 ( #33052 )
...
Bumps [web-sys](https://github.com/rustwasm/wasm-bindgen ) from 0.3.69 to 0.3.70.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits )
---
updated-dependencies:
- dependency-name: web-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>
2024-08-14 17:24:15 +00:00
dependabot[bot]
d3209040ce
build(deps): bump cc from 1.1.10 to 1.1.11 ( #33051 )
...
Bumps [cc](https://github.com/rust-lang/cc-rs ) from 1.1.10 to 1.1.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.1.10...cc-v1.1.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>
2024-08-14 17:19:39 +00:00
dependabot[bot]
cfbc10aefe
build(deps): bump wasm-bindgen-futures from 0.4.42 to 0.4.43 ( #33050 )
...
Bumps [wasm-bindgen-futures](https://github.com/rustwasm/wasm-bindgen ) from 0.4.42 to 0.4.43.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits )
---
updated-dependencies:
- dependency-name: wasm-bindgen-futures
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>
2024-08-14 17:15:27 +00:00
Hayashi Mikihiro
ad85dd10e3
Replace lazy_static with std::sync::LazyLock in components/fonts ( #33049 )
...
* replace in shaper.rs
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
* replace in android/font_list.rs
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
* replace in ohos/font_list.rs
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
* remove lazy_lock from components/fonts
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
---------
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
2024-08-14 16:20:54 +00:00
Martin Robinson
7633bdccd2
layout: Initial implementation of flex-direction: column and column-reverse ( #33031 )
...
This change removes restrictions on using the column layout mode of
flexbox and adds an initial implementation of sizing for that flex
direction. There's a lot of missing pieces still, but in some cases this
does render column flexbox.
In particular, there are now two code paths for preferred widths
(intrinsic size) calcuation: one in the main axis (row) and one in
the cross axis (column) corresponding to the flex direciton with
horizontal writing modes.
In addition, `FlexItemBox::inline_content_sizes` is removed in favor of
making `sizing::outer_inline` /
`IndependentFormattingContext::outer_inline_content_sizes` generic
enough to handle using a different value for auto minimum sizes, which
flexbox needs.
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
Co-authored-by: Oriol Brufau <obrufau@igalia.com >
2024-08-14 14:25:09 +00:00
Simon Wülker
c059bab6f4
Dont use lazy static to construct mutexes ( #33047 )
...
* Remove usage of lazy-static in background_hang_monitor
The lazy-static crate was only used to construct a mutex,
but since Mutex::new is const this can be done at compiletime
instead.
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de >
* Remove usage of lazy-static in servoshell
Lazy-static was only used to construct a mutex, but
since Mutex::new is const this can simply be done at
compiletime.
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de >
---------
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de >
2024-08-14 13:42:01 +00:00
Martin Robinson
d941d2fd67
layout: Convert the FragmentTree to physical geometry ( #33030 )
...
This converts all geometry in the FragmentTree into physical geometry,
doing conversions ahead of time instead of when traversing the fragment
tree. This is necessary to properly implement BiDi in Servo as we need
to know what side borders are on in mixed RTL and LTR contexts.
In addition, fragments are laid out in a particular context and only
that context knows its writing mode. There were issues where were using
one writing mode to lay out and another to convert to phyisical
coordinates. This isn't an issue now since we only use the default
writing mode, but starts to be an issue with BiDi text.
Closes #25564 .
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
2024-08-14 12:22:06 +00:00
Hayashi Mikihiro
65f90ff1fd
Replace the lazy_static crate with std::sync::LazyLock in components/net ( #33046 )
...
* replace in net/fetch/methods.rs
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
* replace in net/hosts.rs
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
* replace in net/async_runtime.rs
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
* replace in net/tests/main.rs
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
* remove lazy_static crate from components/net
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
---------
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
2024-08-14 12:15:55 +00:00
Martin Robinson
6be99241c6
Fix warnings after latest rust upgrade ( #33043 )
...
This fixes various unused code warnings after the recent rust upgrade.
Some of the dead code is maintained, as it is quite likely that it will
be used in future changes.
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
2024-08-14 07:00:16 +00:00
dependabot[bot]
380348e4df
build(deps): bump tower-service from 0.3.2 to 0.3.3 ( #33041 )
...
Bumps [tower-service](https://github.com/tower-rs/tower ) from 0.3.2 to 0.3.3.
- [Release notes](https://github.com/tower-rs/tower/releases )
- [Commits](https://github.com/tower-rs/tower/compare/tower-service-0.3.2...tower-service-0.3.3 )
---
updated-dependencies:
- dependency-name: tower-service
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>
2024-08-14 04:53:36 +00:00
Jonathan Schwender
3aef023368
ohos: Fix x86_64-unknown-linux-ohos ( #33029 )
...
* ohos: Fix compilation for x86_64
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
* ohos: Use the SDK compiler-wrapper
When compiling for x86_64-unknown-linux-ohos without the compiler
wrapper, for some reason mozjs_sys will be refercing a wrong mangled symbol
resulting in the following error when loading the .so at runtime:
```
_ZNSt3__111this_thread9sleep_forERKNS_6chrono8durationIxNS_5ratioILl1ELl1000000000EEEEE: symbol not found
```
This problem does not occur when compiling for aarch64 or when using the compiler wrapper.
In this case the correct symbol
`_ZNSt4__n111this_thread9sleep_forERKNS_6chrono8durationIxNS_5ratioILl1ELl1000000000EEEEE`
is referenced.
It's unclear why manually passing the flags via CFLAGS / CXXFLAGS does not work.
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
---------
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
2024-08-14 01:30:04 +00:00
Martin Robinson
478d95d245
Dedupliate syn ( #33038 )
...
This is the last step toward removing our use of `syn` version
1. It does three things:
1. Upgrades `async-recursion` to a newer version that uses `syn` 2.
2. Removes the use of `enum-iterator` that was only used to produce a
trivial list of enum names. This reduces the number of crates we
dependo on by 2.
3. Upgrades `media` to a version which no longer uses `syn` 1
Fixes #33034 .
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
2024-08-13 21:21:47 +00:00
dependabot[bot]
fb6b56cdda
build(deps): bump cpufeatures from 0.2.12 to 0.2.13 ( #33035 )
...
Bumps [cpufeatures](https://github.com/RustCrypto/utils ) from 0.2.12 to 0.2.13.
- [Commits](https://github.com/RustCrypto/utils/compare/cpufeatures-v0.2.12...cpufeatures-v0.2.13 )
---
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>
2024-08-13 20:29:04 +00:00
dependabot[bot]
c922ab4b52
build(deps): bump serde from 1.0.206 to 1.0.207 ( #33040 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.206 to 1.0.207.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.206...v1.0.207 )
---
updated-dependencies:
- dependency-name: serde
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>
2024-08-13 18:50:22 +00:00
dependabot[bot]
a0a83bad96
build(deps): bump js-sys from 0.3.69 to 0.3.70 ( #33039 )
...
Bumps [js-sys](https://github.com/rustwasm/wasm-bindgen ) from 0.3.69 to 0.3.70.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits )
---
updated-dependencies:
- dependency-name: js-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>
2024-08-13 18:44:37 +00:00
dependabot[bot]
0c276aeea5
build(deps): bump scc from 2.1.13 to 2.1.14 ( #33037 )
...
Bumps [scc](https://github.com/wvwwvwwv/scalable-concurrent-containers ) from 2.1.13 to 2.1.14.
- [Changelog](https://github.com/wvwwvwwv/scalable-concurrent-containers/blob/main/CHANGELOG.md )
- [Commits](https://github.com/wvwwvwwv/scalable-concurrent-containers/commits )
---
updated-dependencies:
- dependency-name: scc
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>
2024-08-13 17:54:12 +00:00
dependabot[bot]
89c456b6d1
build(deps): bump wasm-bindgen from 0.2.92 to 0.2.93 ( #33036 )
...
Bumps [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen ) from 0.2.92 to 0.2.93.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/compare/0.2.92...0.2.93 )
---
updated-dependencies:
- dependency-name: wasm-bindgen
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>
2024-08-13 17:54:08 +00:00
Martin Robinson
3c19982040
ci: Only export WPT test changes on the main branch ( #33033 )
...
This ensures that the WPT export job only runs on chnages that target
the `main` branch. This makes it so changes to WPT tests in temporary
branches aren't upstreamed.
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
2024-08-13 15:39:35 +00:00
Martin Robinson
8582678e4b
Properly handle subpixel units when dividing space between flex lines ( #32913 )
...
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
Co-authored-by: Oriol Brufau <obrufau@igalia.com >
2024-08-13 15:11:01 +00:00
danik292
5d6840873a
clippy: Fix missing indentation in comments and remove on unecessary cast ( #33026 )
...
* Add missing indendations in comments.
Signed-off-by: Daniel Frantes <danfrantes@seznam.cz >
* Fix test tidy error
Signed-off-by: Daniel Frantes <danfrantes@seznam.cz >
---------
Signed-off-by: Daniel Frantes <danfrantes@seznam.cz >
2024-08-13 11:28:09 +00:00
Ashwin Naren
ea5cf75169
clippy: Fix various clippy warnings throughout the code ( #33003 )
...
* replace u64::max_value() with u64::MAX
Signed-off-by: Ashwin Naren <arihant2math@gmail.com >
* removed redundant import
Signed-off-by: Ashwin Naren <arihant2math@gmail.com >
* Fixed dereference
Signed-off-by: Ashwin Naren <arihant2math@gmail.com >
* Fixed a probable bug
Signed-off-by: Ashwin Naren <arihant2math@gmail.com >
* fixed imports
Signed-off-by: Ashwin Naren <arihant2math@gmail.com >
* fixed dereference
Signed-off-by: Ashwin Naren <arihant2math@gmail.com >
* dereference formatting
Signed-off-by: Ashwin Naren <arihant2math@gmail.com >
* removed unnessicary number imports
Signed-off-by: Ashwin Naren <arihant2math@gmail.com >
* removed unnessicary number imports
Signed-off-by: Ashwin Naren <arihant2math@gmail.com >
* removed excess borrow
Signed-off-by: Ashwin Naren <arihant2math@gmail.com >
* ran mach fmt
Signed-off-by: Ashwin Naren <arihant2math@gmail.com >
* fixed doc comment
Signed-off-by: Ashwin Naren <arihant2math@gmail.com >
* removed deref on an immutable reference
Signed-off-by: Ashwin Naren <arihant2math@gmail.com >
* fixed minor syntax error
Signed-off-by: Ashwin Naren <arihant2math@gmail.com >
* reverted clamping
Signed-off-by: Ashwin Naren <arihant2math@gmail.com >
* formatting
Signed-off-by: Ashwin Naren <arihant2math@gmail.com >
* reverted final clamp
Signed-off-by: Ashwin Naren <arihant2math@gmail.com >
---------
Signed-off-by: Ashwin Naren <arihant2math@gmail.com >
Co-authored-by: Ashwin Naren <ashwin@pixelators.org >
2024-08-13 05:16:47 +00:00
Daniel Adams
0d137d276a
webxr: Add missing IDL members from AR Module ( #33007 )
...
* Add missing IDL members from AR module
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Update test expectations
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* ./mach fmt
Signed-off-by: Daniel Adams <msub2official@gmail.com >
---------
Signed-off-by: Daniel Adams <msub2official@gmail.com >
2024-08-13 04:28:40 +00:00
dependabot[bot]
4744debdfd
build(deps): bump serde_json from 1.0.122 to 1.0.124 ( #33021 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.122 to 1.0.124.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.122...v1.0.124 )
---
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>
2024-08-12 22:26:48 +00:00
dependabot[bot]
2d52b51e76
build(deps): bump xcursor from 0.3.6 to 0.3.8 ( #33019 )
...
Bumps [xcursor](https://github.com/esposm03/xcursor-rs ) from 0.3.6 to 0.3.8.
- [Commits](https://github.com/esposm03/xcursor-rs/commits )
---
updated-dependencies:
- dependency-name: xcursor
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>
2024-08-12 17:11:08 +00:00
dependabot[bot]
f33190ae79
build(deps): bump mio from 1.0.1 to 1.0.2 ( #33020 )
...
Bumps [mio](https://github.com/tokio-rs/mio ) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/tokio-rs/mio/releases )
- [Changelog](https://github.com/tokio-rs/mio/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/mio/compare/v1.0.1...v1.0.2 )
---
updated-dependencies:
- dependency-name: mio
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>
2024-08-12 17:06:59 +00:00
dependabot[bot]
26cd4a84e5
build(deps): bump serde from 1.0.205 to 1.0.206 ( #33018 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.205 to 1.0.206.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.205...v1.0.206 )
---
updated-dependencies:
- dependency-name: serde
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>
2024-08-12 17:04:48 +00:00
dependabot[bot]
3f1149fbdd
build(deps): bump scc from 2.1.9 to 2.1.13 ( #33016 )
...
Bumps [scc](https://github.com/wvwwvwwv/scalable-concurrent-containers ) from 2.1.9 to 2.1.13.
- [Changelog](https://github.com/wvwwvwwv/scalable-concurrent-containers/blob/main/CHANGELOG.md )
- [Commits](https://github.com/wvwwvwwv/scalable-concurrent-containers/commits )
---
updated-dependencies:
- dependency-name: scc
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>
2024-08-12 16:57:01 +00:00
dependabot[bot]
d0b5080b5e
build(deps): bump syn from 2.0.72 to 2.0.74 ( #33014 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.72 to 2.0.74.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.72...2.0.74 )
---
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>
2024-08-12 16:54:54 +00:00
dependabot[bot]
1f3c193339
build(deps): bump core-foundation-sys from 0.8.6 to 0.8.7 ( #33017 )
...
Bumps [core-foundation-sys](https://github.com/servo/core-foundation-rs ) from 0.8.6 to 0.8.7.
- [Commits](https://github.com/servo/core-foundation-rs/compare/core-foundation-sys-v0.8.6...core-foundation-sys-v0.8.7 )
---
updated-dependencies:
- dependency-name: core-foundation-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>
2024-08-12 16:54:32 +00:00
dependabot[bot]
ebf28fc784
build(deps): bump polling from 3.7.2 to 3.7.3 ( #33015 )
...
Bumps [polling](https://github.com/smol-rs/polling ) from 3.7.2 to 3.7.3.
- [Release notes](https://github.com/smol-rs/polling/releases )
- [Changelog](https://github.com/smol-rs/polling/blob/master/CHANGELOG.md )
- [Commits](https://github.com/smol-rs/polling/compare/v3.7.2...v3.7.3 )
---
updated-dependencies:
- dependency-name: polling
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>
2024-08-12 16:51:31 +00:00
dependabot[bot]
93b43703e6
build(deps): bump cc from 1.1.8 to 1.1.10 ( #33013 )
...
Bumps [cc](https://github.com/rust-lang/cc-rs ) from 1.1.8 to 1.1.10.
- [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.1.8...cc-v1.1.10 )
---
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>
2024-08-12 16:48:35 +00:00
Martin Robinson
564ba5969f
layout: Non-auto z-index should always make stacking contexts for flex items ( #32961 )
...
Fixes #32756 .
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
2024-08-12 12:15:20 +00:00
Samson
d29e937f7e
Update Rust to 1.80.1 ( #33008 )
...
* Update rust to 1.80.1
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Update shell.nix
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
---------
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2024-08-12 11:40:46 +00:00
Taym Haddadi
df8ccafa7c
Fix: Return error and avoid panicking in SetOpener function ( #33002 )
...
* Fix: Return error and avoid panicking in SetOpener function
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com >
* eturn JSFailed onstead of InvalidState
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com >
* Update wpt test result
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com >
---------
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com >
2024-08-12 07:58:00 +00:00
Hayashi Mikihiro
a797969efe
Replace the lazy_static crate whth std::sync::LazyLock in components/script ( #33004 )
...
* replace in str.rs
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
* replace navigator.rs
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
* replace htmlmetaelement.rs
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
* replace document.rs
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
* replace cssstyledeclaration.rs
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
* replace script_runtime.rs
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
* replace window_named_properties.rs
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
* reduce dependency lazy_static
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
* reduce lazy in script_runtime.rs
`Mutex::new()` is const contexts. I think that `JS_ENGINE` is need not lazy initialize.
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
---------
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
2024-08-12 07:30:35 +00:00
Josh Matthews
f38d1574bc
Allow navigations that include cross-origin redirects to succeed. ( #32996 )
...
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
2024-08-12 06:09:45 +00:00
Daniel Adams
5520a9eb50
webaudio: Implement IIRFilterNode ( #33001 )
...
* Basic IIRFIlterNode bindings
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Add constructor to BaseAudioContext
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Update IDL and use statements
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Update non-crashing test expectations
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Tidy
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Add missing spec link
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Optimize error checks
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Pass context channel count to servo-media
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Update test expectations
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Update legacy expectations
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Add IIRFilterNode in interfaces.html
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Update MANIFEST
Signed-off-by: Daniel Adams <msub2official@gmail.com >
---------
Signed-off-by: Daniel Adams <msub2official@gmail.com >
2024-08-12 00:27:54 +00:00
Servo WPT Sync
1af3ad8a74
Update web-platform-tests to revision b'3b3beee1bf2469013583bafe702f2d4821d76c1f' ( #33000 )
...
Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org >
2024-08-11 01:31:50 +00:00
dependabot[bot]
71898dae17
build(deps): bump filetime from 0.2.23 to 0.2.24 ( #32993 )
...
* build(deps): bump filetime from 0.2.23 to 0.2.24
Bumps [filetime](https://github.com/alexcrichton/filetime ) from 0.2.23 to 0.2.24.
- [Commits](https://github.com/alexcrichton/filetime/compare/0.2.23...0.2.24 )
---
updated-dependencies:
- dependency-name: filetime
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Allow duplicate package.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
---------
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Josh Matthews <josh@joshmatthews.net >
2024-08-10 06:30:24 +00:00
Josh Matthews
1a58dba03e
Use correct feature name for JS backtraces. ( #32998 )
...
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
2024-08-10 04:56:53 +00:00
webbeef
2ebb71f08a
Set the cfg properly for the production-stripped profile ( #32991 )
...
Signed-off-by: webbeef <me@webbeef.org >
2024-08-09 09:16:51 +00:00
Taym Haddadi
a1d3649f7c
Fix ordering of documents ( #32574 )
...
* Fix ordering of documents
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com >
Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com >
* order pipeline ids, get document later, avoid use of document_from_node on iframe because it returns the owner doc
Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com >
* Fix build issue
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com >
* Use iter::once to avoid allocation
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com >
* scope batches of rendering opportunities by pipeline
Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com >
---------
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com >
Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com >
Co-authored-by: gterzian <2792687+gterzian@users.noreply.github.com >
2024-08-09 07:41:20 +00:00
dependabot[bot]
c6a6319502
build(deps): bump windows-sys from 0.52.0 to 0.59.0 ( #32982 )
...
* build(deps): bump windows-sys from 0.52.0 to 0.59.0
Bumps [windows-sys](https://github.com/microsoft/windows-rs ) from 0.52.0 to 0.59.0.
- [Release notes](https://github.com/microsoft/windows-rs/releases )
- [Commits](https://github.com/microsoft/windows-rs/compare/0.52.0...0.59.0 )
---
updated-dependencies:
- dependency-name: windows-sys
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix GetDC call to match api change
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com >
---------
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com >
2024-08-09 06:33:26 +00:00
Josh Matthews
4eae4e29fa
Fix incorrect target_os value. ( #32984 )
...
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
2024-08-09 04:54:32 +00:00
Samson
24b1404d12
Update wgpu ( #32981 )
...
* Update wgpu to 781b54a8b9
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* expectations
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
---------
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2024-08-08 20:27:16 +00:00
dependabot[bot]
77ce73e4c6
build(deps): bump serde from 1.0.204 to 1.0.205 ( #32983 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.204 to 1.0.205.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.204...v1.0.205 )
---
updated-dependencies:
- dependency-name: serde
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>
2024-08-08 17:08:42 +00:00
ToBinio
8fab6911d1
script: dont unwrap in header set ( #32973 )
...
Signed-off-by: tobinio <tobias.frischmann1@gmail.com >
2024-08-08 14:33:54 +00:00
Samson
b8cf0cf9af
webgpu: Implement proper async pipeline creation and GPUPipelineError ( #32636 )
...
* Add GPUPipelineError
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Proper GetBindGroupLayout
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Proper Create*PipelineAsync
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Expectations
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* fixups
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* more good expectations
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
---------
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2024-08-08 11:48:43 +00:00
Taym Haddadi
08eb4faf4d
Initial structuredClone implementation ( #32960 )
...
* Initial structuredClone implementation
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com >
* Rename PostMessageOptions to StructuredSerializeOptions
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com >
* Update wpt test 2020 layout result
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com >
* Remove dublicated StructuredClone implementation
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com >
* Remove comment from StructuredSerializeOptions webidl
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com >
---------
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com >
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com >
2024-08-08 10:12:45 +00:00
Samson
f989d3776e
separate Queue&Device Id ( #32966 )
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2024-08-08 07:53:17 +00:00
Josh Matthews
a5df51ea56
Refine crown annotations for HTML parser. ( #32956 )
...
* Refine crown annotations for HTML parser.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
* Add missing annotation.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
---------
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
2024-08-08 07:20:26 +00:00
dependabot[bot]
1379cd5779
build(deps): bump tempfile from 3.11.0 to 3.12.0 ( #32965 )
...
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.11.0 to 3.12.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/commits )
---
updated-dependencies:
- dependency-name: tempfile
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>
2024-08-07 17:38:41 +00:00
dependabot[bot]
db23bc7b12
build(deps): bump object from 0.36.2 to 0.36.3 ( #32964 )
...
Bumps [object](https://github.com/gimli-rs/object ) from 0.36.2 to 0.36.3.
- [Changelog](https://github.com/gimli-rs/object/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gimli-rs/object/compare/0.36.2...0.36.3 )
---
updated-dependencies:
- dependency-name: object
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>
2024-08-07 17:33:20 +00:00
dependabot[bot]
206d515c32
build(deps): bump cc from 1.1.7 to 1.1.8 ( #32963 )
...
Bumps [cc](https://github.com/rust-lang/cc-rs ) from 1.1.7 to 1.1.8.
- [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.1.7...cc-v1.1.8 )
---
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>
2024-08-07 17:24:16 +00:00
newmoneybigbucks
3fca6e015f
script: Properly handle removed iframes in GlobalScope::get_referrer ( #32782 )
...
Signed-off-by: newmoneybigbucks <newmoneybigbucks@protonmail.com >
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
2024-08-07 11:12:19 +00:00
Servo WPT Sync
9cb0e74cdc
Update web-platform-tests to revision b'3634d5a63f2fa3969616396d95537c91c3348fe5' ( #32959 )
...
Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org >
2024-08-07 10:15:56 +00:00
Hayashi Mikihiro
3c271fb298
Update to rust 1.80.0 ( #32896 )
...
* Update for nix
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
* Update to Rust 1.80.0
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
* Rename to BindingMode from BindingAnnotation
https://github.com/rust-lang/rust/pull/124047
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
* Remove TypeVariableOriginKind
https://github.com/rust-lang/rust/pull/123016
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
* Remove TypeVariableOrigin
https://github.com/rust-lang/rust/pull/124955
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
* Remove LintDiagnostic::msg
rust-lang/rust#125410
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
* common.rs fmt mistake indents
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
* trace_in_no_trace.rs remove mistake space
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
* trace_in_no_trace.rs remove mistake head space
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
* Workaround for https://github.com/servo/servo/issues/32912
It's dirty but it worked on 2000 runs
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
---------
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com >
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
Co-authored-by: Samson <16504129+sagudev@users.noreply.github.com >
2024-08-07 08:40:18 +00:00
Jonathan Schwender
a3f588832b
Bump mozjs-sys to 128.0-6 ( #32951 )
...
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com >
2024-08-06 19:18:01 +00:00
dependabot[bot]
d2e620e03e
build(deps): bump bytemuck from 1.16.1 to 1.16.3 ( #32955 )
...
Bumps [bytemuck](https://github.com/Lokathor/bytemuck ) from 1.16.1 to 1.16.3.
- [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md )
- [Commits](https://github.com/Lokathor/bytemuck/compare/v1.16.1...v1.16.3 )
---
updated-dependencies:
- dependency-name: bytemuck
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>
2024-08-06 18:09:00 +00:00
dependabot[bot]
63265b8c47
build(deps): bump target-lexicon from 0.12.15 to 0.12.16 ( #32954 )
...
Bumps [target-lexicon](https://github.com/bytecodealliance/target-lexicon ) from 0.12.15 to 0.12.16.
- [Commits](https://github.com/bytecodealliance/target-lexicon/compare/v0.12.15...v0.12.16 )
---
updated-dependencies:
- dependency-name: target-lexicon
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>
2024-08-06 17:52:23 +00:00
Martin Robinson
c9fbe018f1
testing: Trigger a crash more reliably when panicking and hard fail is active ( #32947 )
...
Before when handling panics and hard-fail was activated, Servo would
just exit with an error return code. This isn't interpreted as a crash
by the WPT test runner. This change raises a SEGV signal instead, which
means that panics should more reliably be treated as crashes.
This doesn't seem to change any test results, at least any non-flaky
test results. It is necessary for the test in #32782 to work though.
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
2024-08-06 17:43:06 +00:00
dependabot[bot]
89d20fc401
build(deps): bump toml_datetime from 0.6.7 to 0.6.8 ( #32953 )
...
Bumps [toml_datetime](https://github.com/toml-rs/toml ) from 0.6.7 to 0.6.8.
- [Commits](https://github.com/toml-rs/toml/compare/toml_datetime-v0.6.7...toml_datetime-v0.6.8 )
---
updated-dependencies:
- dependency-name: toml_datetime
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>
2024-08-06 17:20:21 +00:00
dependabot[bot]
49aa129d22
build(deps): bump scc from 2.1.8 to 2.1.9 ( #32952 )
...
Bumps [scc](https://github.com/wvwwvwwv/scalable-concurrent-containers ) from 2.1.8 to 2.1.9.
- [Changelog](https://github.com/wvwwvwwv/scalable-concurrent-containers/blob/main/CHANGELOG.md )
- [Commits](https://github.com/wvwwvwwv/scalable-concurrent-containers/commits )
---
updated-dependencies:
- dependency-name: scc
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>
2024-08-06 17:19:52 +00:00
Samson
68f4b359c5
Add exception to rejection logic in generic_call ( #32950 )
...
* exception in JS Promise
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* EXCEPTION_TO_REJECTION on generic_call
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* PromiseRejectionEvent should handle promise as object
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* expectations
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
---------
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2024-08-06 17:12:31 +00:00
Martin Robinson
1d464a576a
layout: Add support for align-content: stretch ( #32906 )
...
This adds support for `align-content: stretch` by splitting flex line
layout into two phases. The first phase takes place before determing how
much extra space to allocate for stretching items. Then line layout
finishes, which might cause two layouts for items with `align-self:
stretch`.
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
Co-authored-by: Oriol Brufau <obrufau@igalia.com >
2024-08-06 10:33:37 +00:00
Taym Haddadi
3800922cde
Fix panic in Webrender during shutdown ( #32897 )
...
* Fix panic in webrender during shutdown
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com >
* Pass webgl_threads_sender to WebGLThreads::exit
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com >
* follow the naming convention and use sender instead of webgl_threads_sender
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com >
* Avoid deadlock when webgl_threads is None
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com >
* Use tuple matching for webgl_threads and webgl_threads_receiver
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com >
* Remove unused _webgl_threads_sender
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com >
---------
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com >
2024-08-06 10:01:33 +00:00
hatoo
28430bad0e
Fix visual_studio.py to call vswhere with -utf8 ( #32949 )
...
In Japanese Windows, `vswhere` puts cp932 string in default and fails to
load json in Pyhton.
This fixes it by adding `-utf8` option
Signed-off-by: hatoo <hato2000@gmail.com >
2024-08-06 09:35:05 +00:00
Ngo Iok Ui (Wu Yu Wei)
3f339d6856
webrender_traits: update closure in with_front_buffer to FnOnce ( #32946 )
...
Signed-off-by: Wu Wayne <yuweiwu@pm.me >
2024-08-06 06:06:21 +00:00
dependabot[bot]
23df681479
build(deps): bump winapi-util from 0.1.8 to 0.1.9 ( #32942 )
...
Bumps [winapi-util](https://github.com/BurntSushi/winapi-util ) from 0.1.8 to 0.1.9.
- [Commits](https://github.com/BurntSushi/winapi-util/compare/0.1.8...0.1.9 )
---
updated-dependencies:
- dependency-name: winapi-util
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>
2024-08-06 04:40:05 +00:00
eri
b50c1cfaaa
Nix: Bump nixpkgs ( #32945 )
...
Signed-off-by: eri <eri@inventati.org >
2024-08-05 22:36:31 +00:00
dependabot[bot]
1e30642d75
build(deps): bump ttf-parser from 0.24.0 to 0.24.1 ( #32944 )
...
Bumps [ttf-parser](https://github.com/RazrFalcon/ttf-parser ) from 0.24.0 to 0.24.1.
- [Changelog](https://github.com/RazrFalcon/ttf-parser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/RazrFalcon/ttf-parser/commits )
---
updated-dependencies:
- dependency-name: ttf-parser
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>
2024-08-05 17:49:25 +00:00
dependabot[bot]
83821fdec5
build(deps): bump xml-rs from 0.8.20 to 0.8.21 ( #32943 )
...
Bumps [xml-rs](https://github.com/kornelski/xml-rs ) from 0.8.20 to 0.8.21.
- [Changelog](https://github.com/kornelski/xml-rs/blob/main/Changelog.md )
- [Commits](https://github.com/kornelski/xml-rs/compare/0.8.20...0.8.21 )
---
updated-dependencies:
- dependency-name: xml-rs
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>
2024-08-05 17:48:01 +00:00
dependabot[bot]
a33b66ade5
build(deps): bump serde_test from 1.0.176 to 1.0.177 ( #32941 )
...
Bumps [serde_test](https://github.com/serde-rs/test ) from 1.0.176 to 1.0.177.
- [Release notes](https://github.com/serde-rs/test/releases )
- [Commits](https://github.com/serde-rs/test/compare/1.0.176...1.0.177 )
---
updated-dependencies:
- dependency-name: serde_test
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>
2024-08-05 17:32:24 +00:00
dependabot[bot]
551fbdd092
build(deps): bump ppv-lite86 from 0.2.19 to 0.2.20 ( #32940 )
...
Bumps [ppv-lite86](https://github.com/cryptocorrosion/cryptocorrosion ) from 0.2.19 to 0.2.20.
- [Commits](https://github.com/cryptocorrosion/cryptocorrosion/commits )
---
updated-dependencies:
- dependency-name: ppv-lite86
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>
2024-08-05 17:30:59 +00:00
dependabot[bot]
a348e68086
build(deps): bump flate2 from 1.0.30 to 1.0.31 ( #32939 )
...
Bumps [flate2](https://github.com/rust-lang/flate2-rs ) from 1.0.30 to 1.0.31.
- [Release notes](https://github.com/rust-lang/flate2-rs/releases )
- [Commits](https://github.com/rust-lang/flate2-rs/commits )
---
updated-dependencies:
- dependency-name: flate2
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>
2024-08-05 17:24:58 +00:00
dependabot[bot]
2443b17848
build(deps): bump tempfile from 3.10.1 to 3.11.0 ( #32938 )
...
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.10.1 to 3.11.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.10.1...v3.11.0 )
---
updated-dependencies:
- dependency-name: tempfile
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>
2024-08-05 17:15:05 +00:00
dependabot[bot]
6ae64b2716
build(deps): bump scc from 2.1.7 to 2.1.8 ( #32937 )
...
Bumps [scc](https://github.com/wvwwvwwv/scalable-concurrent-containers ) from 2.1.7 to 2.1.8.
- [Changelog](https://github.com/wvwwvwwv/scalable-concurrent-containers/blob/main/CHANGELOG.md )
- [Commits](https://github.com/wvwwvwwv/scalable-concurrent-containers/commits )
---
updated-dependencies:
- dependency-name: scc
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>
2024-08-05 17:07:30 +00:00
Mukilan Thiyagarajan
0ce9ce8dc0
mach: Add support for paths with spaces on Windows ( #32936 )
...
The default user name in Windows installations is of the form "FirstName
LastName", so it seems likely that there will be spaces in the user's
path. Based on my testing on Windows 11, the only Servo's bootstrap
script has trouble dealing with spaces in paths. This patch fixes that
by quoting such paths correctly. Our direct and indirect dependencies
seem to handle these without issue and Servo does build and run
correctly with this patch.
In this patch, the logic for gstreamer bootstrap now uses powershell
instead of directly invoking msiexec.exe via cmd.exe as I was unable to
get the installer to run correctly, even with quoting. Some extra hacks
were necessary to propagate the exit code correctly to mach.
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com >
2024-08-05 14:42:21 +00:00
Martin Robinson
f1602005a0
deps: Upgrade to WebRender 0.65 ( #32930 )
...
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
2024-08-05 14:35:21 +00:00
eri
babc844c93
DevTools: Allow modification of attributes ( #32888 )
...
* feat: allow modification of attributes
Signed-off-by: eri <eri@inventati.org >
* fix: tidiness
Signed-off-by: eri <eri@inventati.org >
* feat: clean walker name generation
Co-authored-by: Martin Robinson <mrobinson@igalia.com >
Signed-off-by: eri <eri@inventati.org >
* fix: missed out parameter
Signed-off-by: eri <eri@inventati.org >
---------
Signed-off-by: eri <eri@inventati.org >
Co-authored-by: Martin Robinson <mrobinson@igalia.com >
2024-08-05 10:24:01 +00:00
Ngo Iok Ui (Wu Yu Wei)
4d49b04668
Add surface methods to RenderingContext ( #32933 )
...
Signed-off-by: Wu Yu Wei <yuweiwu@pm.me >
2024-08-05 10:21:36 +00:00
Martin Robinson
45aa296b26
build: Fix a print statement when repackaging GStreamer ( #32932 )
...
I neglected to put make a string a formatted string, which means that
the variable won't be included in the output properly.
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
2024-08-05 09:28:13 +00:00
Martin Robinson
10b06f0129
layout: Improve documentation and code structure in FlexItemBox::automatic_min_size ( #32911 )
...
This change add specification text to comments and restructres the code
a bit to better match the specification. In addition, a the
`establishes_scroll_container()` helper is used instead of looking at
overflow directly. It should not change behavior at all.
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
2024-08-05 09:24:31 +00:00
Samson
5e59988c87
webgpu: Use wgpu's instead of string errors and update limits handling ( #32925 )
...
* Use wgpu specific errors
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* fixup expect
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* WIP
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Fix records erasing enforcerange
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* page can already be destroyed
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Support more limits
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Set good results
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Set OK (not PASS) expect CRASH
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* fixup expectation
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* bad expectations
https://github.com/gfx-rs/wgpu/issues/6075
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* set bad expectation
render bundleencoder needs to be rewritten
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
---------
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2024-08-04 17:19:46 +00:00
Martin Robinson
b366a02318
build: Speed up first run after build on macOS ( #32928 )
...
GStreamer has to process plugins each time they are added when
initializing. When those files have changed, this triggers macOS
security protections which can add many seconds to access time. This
change eliminates that problem after the first packaging of libraries by
skipping packaging if everything is up-to-date and not overwriting the
dylibs everytime.
In addition, it moves a lot of the code for packaging GStreamer
libraries on macOS into the `gstreamer` module and adds type-safety and
comments to the Python.
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
2024-08-04 12:00:15 +00:00
Mukilan Thiyagarajan
8052027dd4
ci: allow android builds on forks to skip keystore configuration ( #32927 )
...
Our build.gradle configuration already defaults to using the debug
keystore when the keystore is not configured so only the CI needs this
fix.
Fixes #32922
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com >
2024-08-04 06:35:49 +00:00
Cristian Brinza
7c2c383bb1
Fix save to image on Windows ( #32914 )
...
* Read pixels in same format (gl::RGBA) as the texture
Signed-off-by: crbrz <cristianb@gmail.com >
* Add read pixels test
Signed-off-by: crbrz <cristianb@gmail.com >
* Use patched surfman
Signed-off-by: crbrz <cristianb@gmail.com >
* Update surfman to 0.9.5
Signed-off-by: crbrz <cristianb@gmail.com >
---------
Signed-off-by: crbrz <cristianb@gmail.com >
2024-08-03 20:04:26 +00:00
Daniel Adams
bb176514c6
Pass AppInfo to OpenXrDiscovery ( #32926 )
...
Signed-off-by: Daniel Adams <msub2official@gmail.com >
2024-08-03 19:33:45 +00:00
Ben
f3fe11c382
Enabled WAV decoding support in gstreamer ( #32924 )
...
Signed-off-by: Benjamin Vincent Schulenburg <bennyschulenburg@gmx.de >
2024-08-03 16:28:00 +00:00
Samson
f3bec0aed3
bindings: Convert certain Exceptions into Promise rejections ( #32923 )
...
* Impl promise exception to rejection for methods
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Impl promise exception to rejection for getters
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Impl promise exception to rejection for static methods
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Add tests for exception to rejection
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Expectations
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
---------
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2024-08-03 12:58:37 +00:00
Daniel Adams
fd83281657
Implement WebXR Gamepads Module ( #32860 )
...
* Expose gamepad attribute on XRInputSource
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Tidy, add spec links
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Update WPT test expectations
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Update gamepad state on InputChanged event
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Pin webxr commit
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Apply gamepad updates during frame updates
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Drain input frame map
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Don't store gamepad as option
Signed-off-by: Daniel Adams <msub2official@gmail.com >
---------
Signed-off-by: Daniel Adams <msub2official@gmail.com >
2024-08-03 12:51:44 +00:00
dependabot[bot]
0672eca749
build(deps): bump malloc_size_of_derive from 0.1.2 to 0.1.3 ( #32917 )
...
* build(deps): bump malloc_size_of_derive from 0.1.2 to 0.1.3
Bumps [malloc_size_of_derive](https://github.com/bholley/malloc_size_of_derive ) from 0.1.2 to 0.1.3.
- [Commits](https://github.com/bholley/malloc_size_of_derive/commits )
---
updated-dependencies:
- dependency-name: malloc_size_of_derive
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Deduplicate synstructure.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
---------
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Josh Matthews <josh@joshmatthews.net >
2024-08-03 05:12:47 +00:00
dependabot[bot]
1e510e8de7
build(deps): bump regex from 1.10.5 to 1.10.6 ( #32918 )
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.10.5 to 1.10.6.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.10.5...1.10.6 )
---
updated-dependencies:
- dependency-name: regex
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>
2024-08-02 17:47:32 +00:00
dependabot[bot]
69a716a4ce
build(deps): bump bytes from 1.7.0 to 1.7.1 ( #32919 )
...
Bumps [bytes](https://github.com/tokio-rs/bytes ) from 1.7.0 to 1.7.1.
- [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.7.0...v1.7.1 )
---
updated-dependencies:
- dependency-name: bytes
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>
2024-08-02 17:42:19 +00:00
dependabot[bot]
3699aa0c18
build(deps): bump serde_json from 1.0.121 to 1.0.122 ( #32916 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.121 to 1.0.122.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.121...v1.0.122 )
---
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>
2024-08-02 17:39:00 +00:00
Martin Robinson
72b3fd56e1
script: Fix two build warnings about unused imports ( #32910 )
...
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
2024-08-02 06:50:47 +00:00
Delan Azabani
974c9dc89a
layout: Compute intrinsic sizes for flex items and flex containers ( #32854 )
...
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com >
Co-authored-by: Martin Robinson <mrobinson@igalia.com >
2024-08-02 06:45:11 +00:00
Samson
7495ba20a5
Select servo feature on servo_arc ( #32909 )
...
Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com >
2024-08-02 05:41:52 +00:00
Erik Hennig
5963695664
fix: Memory leak from CreateProxyWindowHandler ( #32773 )
...
* fix: Memory leak from CreateProxyWindowHandler
Signed-off-by: ede1998 <online@erik-hennig.me >
* fix: memory leak in WindowProxy
Signed-off-by: ede1998 <online@erik-hennig.me >
* fix: Memory leak in WindowProxyHandler through static
Signed-off-by: ede1998 <online@erik-hennig.me >
---------
Signed-off-by: ede1998 <online@erik-hennig.me >
2024-08-01 21:16:49 +00:00
dependabot[bot]
501950c2e3
build(deps): bump indexmap from 2.2.6 to 2.3.0 ( #32908 )
...
Bumps [indexmap](https://github.com/indexmap-rs/indexmap ) from 2.2.6 to 2.3.0.
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.2.6...2.3.0 )
---
updated-dependencies:
- dependency-name: indexmap
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>
2024-08-01 17:57:23 +00:00
Chocolate Pie
92866ab911
enhance: Add support for unsafe-eval and wasm-unsafe-eval ( #32893 )
...
Signed-off-by: Chocolate Pie <106949016+chocolate-pie@users.noreply.github.com >
2024-08-01 17:26:44 +00:00
Samson
2cf207ddc8
Free some space on android runners ( #32907 )
...
Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com >
2024-08-01 15:46:31 +00:00
Samson
0ff4398380
Update mozjs to fix enforcerange for 64bit numbers ( #32905 )
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2024-08-01 08:00:41 +00:00
dependabot[bot]
b4e1ec4412
build(deps): bump bytemuck from 1.16.1 to 1.16.3 ( #32902 )
...
Bumps [bytemuck](https://github.com/Lokathor/bytemuck ) from 1.16.1 to 1.16.3.
- [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md )
- [Commits](https://github.com/Lokathor/bytemuck/compare/v1.16.1...v1.16.3 )
---
updated-dependencies:
- dependency-name: bytemuck
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>
2024-07-31 16:49:39 +00:00
dependabot[bot]
b94e7e00a9
build(deps): bump bytes from 1.6.1 to 1.7.0 ( #32901 )
...
Bumps [bytes](https://github.com/tokio-rs/bytes ) from 1.6.1 to 1.7.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.6.1...v1.7.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>
2024-07-31 16:45:14 +00:00
dependabot[bot]
4a7b50fedb
build(deps): bump target-lexicon from 0.12.15 to 0.12.16 ( #32900 )
...
Bumps [target-lexicon](https://github.com/bytecodealliance/target-lexicon ) from 0.12.15 to 0.12.16.
- [Commits](https://github.com/bytecodealliance/target-lexicon/compare/v0.12.15...v0.12.16 )
---
updated-dependencies:
- dependency-name: target-lexicon
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>
2024-07-31 16:30:25 +00:00
Oriol Brufau
ca6169990e
Implement gaps in flexbox layout ( #32891 )
...
As per https://drafts.csswg.org/css-align/#gaps
Signed-off-by: Oriol Brufau <obrufau@igalia.com >
Co-authored-by: Martin Robinson <mrobinson@igalia.com >
2024-07-31 07:25:54 +00:00
Oriol Brufau
f86493cd7e
Enable flexbox for css-align tests ( #32890 )
...
Some css-align features like gaps or alignment properties need to have
some effect on flex layout.
Signed-off-by: Oriol Brufau <obrufau@igalia.com >
Co-authored-by: Martin Robinson <mrobinson@igalia.com >
2024-07-30 22:01:58 +00:00
dependabot[bot]
c69d59259e
build(deps): bump ppv-lite86 from 0.2.17 to 0.2.19 ( #32894 )
...
Bumps [ppv-lite86](https://github.com/cryptocorrosion/cryptocorrosion ) from 0.2.17 to 0.2.19.
- [Commits](https://github.com/cryptocorrosion/cryptocorrosion/commits/ppv-lite86-0.2.19 )
---
updated-dependencies:
- dependency-name: ppv-lite86
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>
2024-07-30 17:31:06 +00:00
dependabot[bot]
506096222f
build(deps): bump toml_datetime from 0.6.7 to 0.6.8 ( #32895 )
...
Bumps [toml_datetime](https://github.com/toml-rs/toml ) from 0.6.7 to 0.6.8.
- [Commits](https://github.com/toml-rs/toml/compare/toml_datetime-v0.6.7...toml_datetime-v0.6.8 )
---
updated-dependencies:
- dependency-name: toml_datetime
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>
2024-07-30 17:30:46 +00:00
Martin Robinson
a64f75b62f
layout: Fix display of new text in textarea elements ( #32886 )
...
Previously `<textarea>` was just displaying node contents, which is the
original text content, not the one updated by later typing. This change
fixes that issue.
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
2024-07-30 14:39:17 +00:00
eri
c06a6a764e
DevTools: Inline text and clean whitespace ( #32884 )
...
* feat: inline text contents
Signed-off-by: eri <eri@inventati.org >
* feat: filter whitespace only nodes
Signed-off-by: eri <eri@inventati.org >
* chore: cleanup
Signed-off-by: eri <eri@inventati.org >
* fix: url fix
Signed-off-by: eri <eri@inventati.org >
* fix: review fixes
Signed-off-by: eri <eri@inventati.org >
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
Co-authored-by: Martin Robinson <mrobinson@igalia.com >
---------
Signed-off-by: eri <eri@inventati.org >
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
Co-authored-by: Martin Robinson <mrobinson@igalia.com >
2024-07-30 10:18:21 +00:00
Martin Robinson
e23dc0bf6f
layout: Port border-image support for legacy layout ( #32874 )
...
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
2024-07-30 06:41:23 +00:00
Samson
29a4cca42d
Update mozjs again ( #32882 )
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2024-07-29 20:42:14 +00:00
dependabot[bot]
a295c3e8aa
build(deps): bump serde_json from 1.0.120 to 1.0.121 ( #32881 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.120 to 1.0.121.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.120...v1.0.121 )
---
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>
2024-07-29 17:36:01 +00:00
dependabot[bot]
4fa1daa245
build(deps): bump tokio from 1.39.1 to 1.39.2 ( #32879 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.39.1 to 1.39.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.39.1...tokio-1.39.2 )
---
updated-dependencies:
- dependency-name: tokio
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>
2024-07-29 17:03:32 +00:00
dependabot[bot]
15f7db273f
build(deps): bump cc from 1.1.6 to 1.1.7 ( #32878 )
...
Bumps [cc](https://github.com/rust-lang/cc-rs ) from 1.1.6 to 1.1.7.
- [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.1.6...cc-v1.1.7 )
---
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>
2024-07-29 16:59:10 +00:00
dependabot[bot]
d8c09b8b14
build(deps): bump num_enum from 0.7.2 to 0.7.3 ( #32876 )
...
Bumps [num_enum](https://github.com/illicitonion/num_enum ) from 0.7.2 to 0.7.3.
- [Commits](https://github.com/illicitonion/num_enum/compare/0.7.2...0.7.3 )
---
updated-dependencies:
- dependency-name: num_enum
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>
2024-07-29 16:53:46 +00:00
dependabot[bot]
33bf31f212
build(deps): bump webxr from 89d7027 to 93ee726 ( #32877 )
...
Bumps [webxr](https://github.com/servo/webxr ) from `89d7027` to `93ee726`.
- [Commits](89d702763d...93ee726f84 )
---
updated-dependencies:
- dependency-name: webxr
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-29 16:53:41 +00:00
Samson
c5fe64a594
webgpu: update wgpu again ( #32873 )
...
* Update wgpu
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* expect
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
---------
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2024-07-29 13:55:56 +00:00
Samson
976850d92d
Fix debugmozjs compilation ( #32875 )
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2024-07-29 12:05:02 +00:00
Samson
d132a0273d
Update mozjs (SpiderMonkey) to 128.0 ( #32769 )
...
* Update mozjs
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Fix changed readTransfer callback
https://bugzilla.mozilla.org/show_bug.cgi?id=1842713
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Use NewExternalArrayBuffer from glue
d33454be74
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Fix columnorigin and filename being in latin1
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* fixup newexternalarray
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Float16 (this might require more work for codegen support)
https://bugzilla.mozilla.org/show_bug.cgi?id=1833647
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* js.strict is removed
https://bugzilla.mozilla.org/show_bug.cgi?id=1621603
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* asm options are now somewhere else
https://hg.mozilla.org/mozilla-central/rev/26045c88e3972957087d535e7f259e08857bd2a2
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Comment out offthread compilation
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Set NDK to 26
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Fix 1-origin handling
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Expect `FinalizationRegistry` interface
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Good expectations
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* more expectations
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Add `WeakRef` to interfaces expectation
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* mozjs upgrade: fixes for Android
Android NDK's layout has changed in r26 and 'lib64' no longer exists
under `toolchain/llvm/prebuilt/linux-x86_64`. The libraries that used to
be it are now present in `lib` folder itself.
This patch updates the build configuration to use the `lib` folder
instead when configuring the LIBCLANG_PATH environment variable.
This patch also updates to a newer mozjs version that includes fixes for
linker errors faced on Android (see #32769 ).
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com >
* Patch libz-sys & update mozjs
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* update NDK version in README
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com >
* Use servo/mozjs
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Update mozjs again
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
---------
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com >
Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com >
2024-07-29 07:20:15 +00:00
shanehandley
ed8def2896
Add the type IDL attribute to htmlfieldsetelement ( #32869 )
...
* Add the type IDL attribute to htmlfieldsetelement
Signed-off-by: Shane Handley <shanehandley@fastmail.com >
* Fix missing idlharness test expectations
Signed-off-by: Shane Handley <shanehandley@fastmail.com >
---------
Signed-off-by: Shane Handley <shanehandley@fastmail.com >
2024-07-28 15:01:01 +00:00
shanehandley
bc75bf4cfa
Remove treatment of whitespace in the construction of a for data entry list, move it to the encoding stage ( #32868 )
...
Signed-off-by: Shane Handley <shanehandley@fastmail.com >
2024-07-28 11:37:53 +00:00
dependabot[bot]
9f151faf1d
build(deps): bump webxr from 11a3727 to 89d7027 ( #32865 )
...
Bumps [webxr](https://github.com/servo/webxr ) from `11a3727` to `89d7027`.
- [Commits](11a3727637...89d702763d )
---
updated-dependencies:
- dependency-name: webxr
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-26 20:13:58 +00:00
dependabot[bot]
bdc07eab75
build(deps): bump version_check from 0.9.4 to 0.9.5 ( #32864 )
...
Bumps [version_check](https://github.com/SergioBenitez/version_check ) from 0.9.4 to 0.9.5.
- [Commits](https://github.com/SergioBenitez/version_check/compare/v0.9.4...v0.9.5 )
---
updated-dependencies:
- dependency-name: version_check
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>
2024-07-26 17:01:03 +00:00
Martin Robinson
b6f1e3b22d
dependencies: Upgrade cookie and rename Servo's Cookie to ServoCookie ( #32861 )
...
This changes updates to the new version of the `cookie` crate in Servo
which no longer uses the old `time@0.1` data types. This requires using
a new version of `time` while we transition off of the old one. This is
the first step in that process.
In addition, the overloading of the `cookie::Cookie` name was causing a
great deal of confusion, so I've renamed the Servo wrapper to
`ServoCookie` like we do with `ServoUrl`.
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
2024-07-26 16:13:39 +00:00
Luke Warlow
8f377a0cb1
Partially implement dialog.show() ( #32681 )
...
Signed-off-by: Luke Warlow <lwarlow@igalia.com >
2024-07-26 16:03:25 +00:00
eri
902bf57331
DevTools: Show HTML tree ( #32655 )
...
* feat: watch root node
Signed-off-by: eri <eri@inventati.org >
* reafactor: divide inspector in components
Signed-off-by: eri <eri@inventati.org >
* feat: add css properties actor
Signed-off-by: eri <eri@inventati.org >
* feat: accesibility actor
Signed-off-by: eri <eri@inventati.org >
* feat: layout actor
Signed-off-by: eri <eri@inventati.org >
* feat: network parent and refactor
Signed-off-by: eri <eri@inventati.org >
* feat: progress on the inspector messages
Signed-off-by: eri <eri@inventati.org >
* feat: more progress on inspector
Signed-off-by: eri <eri@inventati.org >
* feat: try to fix nodes showing
Signed-off-by: eri <eri@inventati.org >
* feat: initial dom tree
Signed-off-by: eri <eri@inventati.org >
* feat: some more messages
Signed-off-by: eri <eri@inventati.org >
* feat: clean and add documentation
Signed-off-by: eri <eri@inventati.org >
* refactor: add more docs and clean
Signed-off-by: eri <eri@inventati.org >
* fix: restore deleted node attributes field
Signed-off-by: eri <eri@inventati.org >
* Apply suggestions from code review
Fix a few nits in comments
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
---------
Signed-off-by: eri <eri@inventati.org >
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
Co-authored-by: Martin Robinson <mrobinson@igalia.com >
2024-07-26 15:17:54 +00:00
Martin Robinson
f7448b5d61
Remove the WebXR dependency on ancient time@0.1 crate ( #32862 )
...
`webxr` depends on a very old verison of `time`, which allowed serializing
monotonic clock output. This isn't possible on all platforms, so newer
versions of `time` do not allow this. In order to stop using the old
0.1 versions of `time` we have to stop relying on times passed from `webxr`
to Servo. This change does that, at the cost of removing the XR
profiling feature. It has to be rewritten in another way in the `webxr`
crate.
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
2024-07-26 13:53:34 +00:00
Rémy SAISSY
eac54183c1
clippy: components/script/realms ( #32859 )
...
Signed-off-by: Rémy Saissy <remy.saissy@gmail.com >
2024-07-26 10:15:02 +00:00
dependabot[bot]
bc1c71bd4d
build(deps): bump serde_spanned from 0.6.6 to 0.6.7 ( #32857 )
...
Bumps [serde_spanned](https://github.com/toml-rs/toml ) from 0.6.6 to 0.6.7.
- [Commits](https://github.com/toml-rs/toml/compare/serde_spanned-v0.6.6...serde_spanned-v0.6.7 )
---
updated-dependencies:
- dependency-name: serde_spanned
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>
2024-07-25 17:15:00 +00:00
dependabot[bot]
f91792d9c3
build(deps): bump env_filter from 0.1.1 to 0.1.2 ( #32856 )
...
Bumps [env_filter](https://github.com/rust-cli/env_logger ) from 0.1.1 to 0.1.2.
- [Release notes](https://github.com/rust-cli/env_logger/releases )
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-cli/env_logger/compare/env_filter-v0.1.1...env_filter-v0.1.2 )
---
updated-dependencies:
- dependency-name: env_filter
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>
2024-07-25 17:12:00 +00:00
dependabot[bot]
4afa382733
build(deps): bump toml_datetime from 0.6.6 to 0.6.7 ( #32855 )
...
Bumps [toml_datetime](https://github.com/toml-rs/toml ) from 0.6.6 to 0.6.7.
- [Commits](https://github.com/toml-rs/toml/compare/toml_datetime-v0.6.6...toml_datetime-v0.6.7 )
---
updated-dependencies:
- dependency-name: toml_datetime
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>
2024-07-25 17:08:15 +00:00
Samson
ad74bfc4ea
webgpu: Update wgpu to 22.0 ( #32827 )
...
* Update wgpu to c0e7c1ef94
This is few commits ahead of wgpu 22.0
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Make it compile
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Move usage checking to device timeline as per spec
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Add logging (trace) of WEBGPU messages
This is very useful when debugging
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* update wgpu again
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* set good
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* skip `webgpu:api,operation,memory_sync,texture,same_subresource` for flakyness
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* rm r.json
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
---------
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2024-07-25 08:27:26 +00:00
dependabot[bot]
450aebc839
build(deps): bump gstreamer from 0.22.6 to 0.22.7 ( #32851 )
...
Bumps gstreamer from 0.22.6 to 0.22.7.
---
updated-dependencies:
- dependency-name: gstreamer
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>
2024-07-24 18:48:58 +00:00
dependabot[bot]
d53962abd5
build(deps): bump object from 0.36.1 to 0.36.2 ( #32852 )
...
Bumps [object](https://github.com/gimli-rs/object ) from 0.36.1 to 0.36.2.
- [Changelog](https://github.com/gimli-rs/object/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gimli-rs/object/compare/0.36.1...0.36.2 )
---
updated-dependencies:
- dependency-name: object
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>
2024-07-24 18:47:04 +00:00
Rémy SAISSY
bf8decbffb
clippy: ports/servoshell/desktop ( #32847 )
...
Signed-off-by: Rémy Saissy <remy.saissy@gmail.com >
2024-07-24 18:30:06 +00:00
Martin Robinson
f2fbe44dc9
dependencies: Upgrade tokio, ipc-channel, and mio ( #32844 )
...
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
2024-07-24 18:28:29 +00:00
Mukilan Thiyagarajan
dee03bf297
Bump nixpkgs and add cargo-deny in shell.nix ( #32842 )
...
* build: bump the nixpkgs snapshot
We need Android NDK r26c for the SM upgrade (#32769 ) and the fix in
nixpkgs to make r26 NDKs function correctly (NixOS/nixpkgs#298285 ). Both
of those are not available in the snapshot of nixpkgs we use currently.
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com >
* add cargo-deny to shell.nix
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com >
---------
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com >
2024-07-24 17:59:54 +00:00
dependabot[bot]
33a48f76fb
build(deps): bump webxr from bacb22f to 11a3727 ( #32848 )
...
Bumps [webxr](https://github.com/servo/webxr ) from `bacb22f` to `11a3727`.
- [Commits](bacb22faec...11a3727637 )
---
updated-dependencies:
- dependency-name: webxr
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-24 17:41:21 +00:00
Rémy SAISSY
7ace7b43dc
clippy: components/canvas/canvas_data.rs ( #32843 )
...
Signed-off-by: Rémy Saissy <remy.saissy@gmail.com >
2024-07-24 15:49:11 +00:00
Martin Robinson
1906741704
layout: Add support for propagating baselines from flexbox ( #32841 )
...
Some tests are still broken due to missing preferred widths calculation
for flexbox and also for missing column layout.
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com >
Co-authored-by: Delan Azabani <dazabani@igalia.com >
2024-07-24 14:38:03 +00:00
Martin Robinson
569fd5d8b5
Upgrade stylo to 2024-07-16 ( #32812 )
...
* Upgrade stylo to 2024-07-16
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
* Use the new `dom` crate from stylo
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
---------
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
Co-authored-by: Oriol Brufau <obrufau@igalia.com >
2024-07-24 14:37:08 +00:00
valadaptive
60e65c175d
Implement the aspect-ratio property for replaced elements ( #32800 )
...
* Add WPT tests for box-sizing with aspect-ratio
Signed-off-by: valadaptive <valadaptive@protonmail.com >
* Implement `aspect-ratio` for replaced elements
There are two regressions because we don't implement `object-fit`, and
one because we don't properly represent non-available <img>s with `alt`
attributes.
Signed-off-by: valadaptive <valadaptive@protonmail.com >
---------
Signed-off-by: valadaptive <valadaptive@protonmail.com >
2024-07-24 11:40:23 +00:00
Daniel Adams
e425ad0cb7
Remove googlevr feature ( #32840 )
...
* Remove googlevr feature
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Remove googlevr and oculusvr from python scripts
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Remove vr checks entirely
Signed-off-by: Daniel Adams <msub2official@gmail.com >
---------
Signed-off-by: Daniel Adams <msub2official@gmail.com >
2024-07-24 08:00:50 +00:00
dependabot[bot]
b6652f88d1
build(deps): bump jobserver from 0.1.31 to 0.1.32 ( #32839 )
...
Bumps [jobserver](https://github.com/rust-lang/jobserver-rs ) from 0.1.31 to 0.1.32.
- [Commits](https://github.com/rust-lang/jobserver-rs/compare/0.1.31...0.1.32 )
---
updated-dependencies:
- dependency-name: jobserver
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>
2024-07-23 17:23:52 +00:00
dependabot[bot]
69b16e02c4
build(deps): bump env_filter from 0.1.0 to 0.1.1 ( #32837 )
...
Bumps [env_filter](https://github.com/rust-cli/env_logger ) from 0.1.0 to 0.1.1.
- [Release notes](https://github.com/rust-cli/env_logger/releases )
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-cli/env_logger/compare/env_filter-v0.1.0...env_filter-v0.1.1 )
---
updated-dependencies:
- dependency-name: env_filter
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>
2024-07-23 17:06:34 +00:00
Delan Azabani
e8cf751e11
Clarify the Code of Conduct (closes servo/servo.org#164) ( #32835 )
2024-07-23 09:12:03 +00:00
Jonathan Schwender
d46c66f9da
ohos: Bump ohos-sys to v0.2.1 ( #32834 )
...
* ohos: Use ohos-sys from crates.io
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com >
* ohos: Bump ohos-sys to v0.2.1
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com >
---------
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com >
2024-07-23 07:58:54 +00:00
dependabot[bot]
2a31e62e2c
build(deps): bump libloading from 0.8.4 to 0.8.5 ( #32832 )
...
Bumps [libloading](https://github.com/nagisa/rust_libloading ) from 0.8.4 to 0.8.5.
- [Commits](https://github.com/nagisa/rust_libloading/compare/0.8.4...0.8.5 )
---
updated-dependencies:
- dependency-name: libloading
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>
2024-07-23 03:55:23 +00:00
dependabot[bot]
835e4f4926
build(deps): bump pathfinder_simd from 0.5.3 to 0.5.4 ( #32833 )
...
Bumps [pathfinder_simd](https://github.com/servo/pathfinder ) from 0.5.3 to 0.5.4.
- [Release notes](https://github.com/servo/pathfinder/releases )
- [Commits](https://github.com/servo/pathfinder/commits/pathfinder_simd-v0.5.4 )
---
updated-dependencies:
- dependency-name: pathfinder_simd
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>
2024-07-22 17:33:36 +00:00
dependabot[bot]
47d702edc3
build(deps): bump syn from 2.0.71 to 2.0.72 ( #32830 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.71 to 2.0.72.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.71...2.0.72 )
---
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>
2024-07-22 17:28:24 +00:00
dependabot[bot]
753dedbeba
build(deps): bump arrayref from 0.3.7 to 0.3.8 ( #32831 )
...
Bumps [arrayref](https://github.com/droundy/arrayref ) from 0.3.7 to 0.3.8.
- [Commits](https://github.com/droundy/arrayref/commits )
---
updated-dependencies:
- dependency-name: arrayref
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>
2024-07-22 17:27:57 +00:00
Jonathan Schwender
f040b821a3
ohos: Detect installed fonts ( #32731 )
...
* ohos: Add `ohos_mock` cfg.
This allows using the Linux build together with the `ohos`
font code, using the fonts ship in the `previewer` directory of the OH SDK.
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com >
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
* ohos: Detect installed fonts
Scan the systems font folder to detect installed fonts,
derive their associated font names and generate the font list
based on that.
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
* Use hardcoded filepaths for HMOS Color emojis
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
* Also support parsing OH 4.x Noto fonts
Currently we don't have an easy way to test the OH version
from the fonts module, so the parsing code has to be extended.
Once the OH 5.0 beta has a reliable fontconfig.json filemap,
then we can probably get rid of most of the parsing code,
and hardcode the OH 4.x Note fonts as a fallback.
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
---------
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com >
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
2024-07-22 14:03:26 +00:00
Mukilan Thiyagarajan
b5482e34c0
compositor: propagate scroll events across pipelines ( #32829 )
...
Currently we don't propagate the scroll events across pipeline and
scroll only nodes contained within the nearest pipeline that passes hit
test at a gived point. This causes iframes to "capture" the scroll and
halt the scrolling process once the iframe has been scrolled all the
way. The expected behaviour is that the parent page begins to scroll
once the iframe has been scrolled fully.
The issue is present in both desktop and mobile, but was more noticeable
on mobile, especially on the default servo.org page, because of the relative
sizes of the YouTube video's iframe wrt to the parent.
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com >
Co-authored-by: Martin Robinson <mrobinson@igalia.com >
2024-07-22 12:42:44 +00:00
shanehandley
45eabad169
Implement URL::parse() ( #32819 )
...
* Implement URL::parse()
Signed-off-by: Shane Handley <shanehandley@fastmail.com >
* fix: Make handling more idiomatic
Signed-off-by: Shane Handley <shanehandley@fastmail.com >
---------
Signed-off-by: Shane Handley <shanehandley@fastmail.com >
2024-07-22 08:48:16 +00:00
Mukilan Thiyagarajan
a007baa4cf
deps: switch to tikv-jemallocator crates in Cargo.toml ( #32828 )
...
`jemallocator` and `jemallocator-sys` crates are same as the `tikv-*`
versions and these aliases were maintained for historical reasons, based
on crates.io documentation. For newer projects, it is recommended to use
the `tikv-` versions of the crate. Even though Servo is not a new
project, it makes sense to switch to the newer version for the sake of
clarity.
Also, more importantly, `tikv-jemallocator` has new release (0.6.0)
which includes a fix for #32720 . There doesn't seem to be a
corresponding version publised for the `jemallocator` crate.
Fixes #32720
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com >
2024-07-22 07:55:46 +00:00
Samson
f6dc35f11d
chore: Update WebGPU CTS ( #32825 )
...
* Update WebGPU CTS to 50b6e7a743
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* expect
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
---------
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2024-07-21 16:19:43 +00:00
Servo WPT Sync
2c4b96b872
Update web-platform-tests to revision b'5af3e9c2a2aba76ade00f0dbc3486e50a74a4506' ( #32824 )
...
Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org >
2024-07-21 07:59:39 +00:00
shanehandley
a7a380777d
Remove a comment related to a TODO which has already been done. ( #32822 )
...
Signed-off-by: Shane Handley <shanehandley@fastmail.com >
2024-07-21 04:58:27 +00:00
Samson
b471f6473f
Remove failure breaks from webgpu thread ( #32814 )
...
* Remove breaks from webgpu requests
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* expect
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* limit,out_of_range TIMEOUT->FAIL
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
---------
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2024-07-20 19:57:53 +00:00
Daniel Adams
2c17de7fa7
Gamepad: Implement GamepadHapticActuator ( #32046 )
...
* Implement Servo side of GamepadHapticActuator
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Get build working
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Create effect handling on embedder side
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Update tracing for GamepadHapticEffect
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Update gilrs to point to commit with effect complete event
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Implement playing and preempting haptic effects
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Update IDL to add trigger rumble
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Update WPT expectations
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Handle stopping haptic effects from reset()
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* ./mach fmt, fix test-tidy issues
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Add extra validity checks for trigger rumble
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Retrieve supported haptic effects from embedder
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Fix test expectations
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Add missing spec link, pin gilrs commit
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* servoshell cargo formatting
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Fix Cargo.toml
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Additional comments, realm proof, naming
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* ./mach fmt
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Update gilrs rev to gilrs-core 0.5.12 release
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Implement sequence ids for gamepad haptic promises
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Take playing effect promise instead of cloning
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Implement listener for reset function
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Fix Cargo.lock
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Restructure IPC listeners, add comments, handle visibility change
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Check that haptic effect still exists before handling ff completion event
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Visibility steps, add InRealm bindings for promises
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Add Gamepad EmbedderMsg arms to egl servo_glue
Signed-off-by: Daniel Adams <msub2official@gmail.com >
---------
Signed-off-by: Daniel Adams <msub2official@gmail.com >
2024-07-20 06:29:27 +00:00
Daniel Adams
9212ed203a
Enable OpenXR backend from the WebXR crate ( #32817 )
...
* Enable OpenXR backend from the WebXR crate
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Ensure openxr feature is only included on windows
Signed-off-by: Daniel Adams <msub2official@gmail.com >
* Add cfgs for OpenXR usages
Signed-off-by: Daniel Adams <msub2official@gmail.com >
---------
Signed-off-by: Daniel Adams <msub2official@gmail.com >
2024-07-20 06:24:40 +00:00
dependabot[bot]
a29e5c8115
build(deps): bump cc from 1.1.5 to 1.1.6 ( #32815 )
...
Bumps [cc](https://github.com/rust-lang/cc-rs ) from 1.1.5 to 1.1.6.
- [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.1.5...cc-v1.1.6 )
---
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>
2024-07-19 17:01:17 +00:00
Rodion Borovyk
4bf5024ee0
fix a couple of simple clipy warnings ( #32813 )
...
Signed-off-by: Rodion Borovyk <rodion.borovyk@gmail.com >
2024-07-19 13:18:34 +00:00
Martin Robinson
5eb77592ea
layout: Reduce the complexity of FlexLine::layout ( #32810 )
...
Instead of a complex combination of iterators, use a flatter iteration
design when laying out a flex line.
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com >
Co-authored-by: Delan Azabani <dazabani@igalia.com >
2024-07-19 10:37:29 +00:00
rachaelspooky
8b3c9b744a
Fix 5 clippy warnings ( #32808 )
...
Signed-off-by: Rachael Gentry <rachael.l.gentry@gmail.com >
2024-07-19 04:04:42 +00:00
dependabot[bot]
a6048c46d2
build(deps): bump thiserror from 1.0.62 to 1.0.63 ( #32805 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.62 to 1.0.63.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.62...1.0.63 )
---
updated-dependencies:
- dependency-name: thiserror
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>
2024-07-18 17:03:57 +00:00
dependabot[bot]
f28b5419ab
build(deps): bump wayland-cursor from 0.31.4 to 0.31.5 ( #32806 )
...
Bumps [wayland-cursor](https://github.com/smithay/wayland-rs ) from 0.31.4 to 0.31.5.
- [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-cursor
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>
2024-07-18 17:02:17 +00:00
dependabot[bot]
627f0b4f61
build(deps): bump xcursor from 0.3.5 to 0.3.6 ( #32804 )
...
Bumps [xcursor](https://github.com/esposm03/xcursor-rs ) from 0.3.5 to 0.3.6.
- [Commits](https://github.com/esposm03/xcursor-rs/commits )
---
updated-dependencies:
- dependency-name: xcursor
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>
2024-07-18 16:52:33 +00:00
valadaptive
bb5ace7929
Bump stylo and enable aspect-ratio tests ( #32803 )
...
Signed-off-by: valadaptive <valadaptive@protonmail.com >
2024-07-18 13:28:39 +00:00
valadaptive
f6c9714286
Fix sizing of replaced elements with min/max sizes ( #32777 )
...
If a (min/max)-(height/width) property is set, we still need to respect
the intrinsic ratio of the element if it exists. The previous code was
simply clamping the element size after doing the sizing calculations
once, but this leads to an incorrect aspect ratio.
Signed-off-by: valadaptive <valadaptive@protonmail.com >
2024-07-18 07:07:13 +00:00
Delan Azabani
1b1f79305e
flex: handle ‘align-self: [ first | last ]? && baseline’ ( #32787 )
...
* flex: handle ‘align-self: baseline’
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com >
* FIXME: css/css-flexbox/align-items-baseline-overflow-non-visible.html
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com >
* Fix baseline selection
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com >
* Fix baseline calculation with padding/border/margin
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com >
* Fix compile errors and warnings
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com >
* Implement ‘align-self: last baseline’
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com >
* Fix bug where non-baseline-aligned items affected max baseline
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com >
* Update expectations
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com >
* Rename method
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com >
---------
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com >
2024-07-18 07:03:29 +00:00
Samson
34eed29037
Less nesting in webgpu response ( #32799 )
...
* Remove Option wrap of WebGPUResponse
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Replace WebGPUResponseResult with WebGPUResponse
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
---------
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2024-07-17 20:37:52 +00:00
Chocolate Pie
1223335547
enhance: Implement CanvasRenderingContext2D.measureText ( #32704 )
...
Signed-off-by: Chocolate Pie <106949016+chocolate-pie@users.noreply.github.com >
Co-authored-by: Martin Robinson <mrobinson@igalia.com >
2024-07-17 19:20:18 +00:00
dependabot[bot]
d82232d549
build(deps): bump wayland-client from 0.31.4 to 0.31.5 ( #32798 )
...
Bumps [wayland-client](https://github.com/smithay/wayland-rs ) from 0.31.4 to 0.31.5.
- [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-client
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>
2024-07-17 17:17:41 +00:00
dependabot[bot]
62c3d30b3d
build(deps): bump wayland-scanner from 0.31.3 to 0.31.4 ( #32797 )
...
Bumps [wayland-scanner](https://github.com/smithay/wayland-rs ) from 0.31.3 to 0.31.4.
- [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>
2024-07-17 17:08:50 +00:00
dependabot[bot]
f8ebbdc0d1
build(deps): bump tokio from 1.38.0 to 1.38.1 ( #32794 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.38.0 to 1.38.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.38.0...tokio-1.38.1 )
---
updated-dependencies:
- dependency-name: tokio
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>
2024-07-17 17:05:57 +00:00
dependabot[bot]
26beacdabd
build(deps): bump wayland-backend from 0.3.5 to 0.3.6 ( #32795 )
...
Bumps [wayland-backend](https://github.com/smithay/wayland-rs ) from 0.3.5 to 0.3.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-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>
2024-07-17 17:02:42 +00:00
Danila Matveev
e4ad1d3ab9
[clippy] Rename enum FormSubmitter and its elements ( #32791 )
...
* [clippy] Renames enum FormSubmitter and its elements
Signed-off-by: Danila Matveev <usurname.r@gmail.com >
* fmt
Signed-off-by: Danila Matveev <usurname.r@gmail.com >
---------
Signed-off-by: Danila Matveev <usurname.r@gmail.com >
2024-07-17 16:46:32 +00:00
Martin Robinson
882a855b8c
Convert layout to use Gecko's alignment style representation ( #32790 )
...
Signed-off-by: Nico Burns <nico@nicoburns.com >
Co-authored-by: Nico Burns <nico@nicoburns.com >
2024-07-17 14:18:55 +00:00
Danila Matveev
a0d2b36ad8
clippy: Fix four warnings ( #32789 )
...
* Fixes 4 clippy rules
Signed-off-by: Danila Matveev <usurname.r@gmail.com >
* Rollbacks changes in range.rs and silences clippy::neg_cmp_op_on_partial_ord
Signed-off-by: Danila Matveev <usurname.r@gmail.com >
* Fixes a fmt issue
Signed-off-by: Danila Matveev <usurname.r@gmail.com >
---------
Signed-off-by: Danila Matveev <usurname.r@gmail.com >
2024-07-17 09:05:02 +00:00
Nico Burns
5fd0d2f17b
Mark flexbox-mbp-horiz-003 tests as only failing on linux ( #32762 )
...
Signed-off-by: Nico Burns <nico@nicoburns.com >
2024-07-17 07:49:41 +00:00
dependabot[bot]
bc1bf82f78
build(deps): bump webxr from 88fd368 to bacb22f ( #32788 )
...
Bumps [webxr](https://github.com/servo/webxr ) from `88fd368` to `bacb22f`.
- [Commits](88fd368d1c...bacb22faec )
---
updated-dependencies:
- dependency-name: webxr
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-16 19:51:12 +00:00
Samson
946af8450c
Update WebGPU CTS ( #32783 )
...
* Update CTS to 20425f60bb
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* expect
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
---------
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2024-07-16 17:24:52 +00:00
Delan Azabani
039631cfa5
layout: Properly handle min/max cross container size ( #32785 )
...
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
Co-authored-by: Martin Robinson <mrobinson@igalia.com >
Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com >
2024-07-16 12:14:02 +00:00
Ville Lindholm
80559c829b
Bump mozjs version ( #32786 )
...
Signed-off-by: Ville Lindholm <ville@lindholm.dev >
2024-07-16 10:13:48 +00:00
Danila Matveev
0189b89fd1
Fixes typo in clippy::enum_variant_names ( #32784 )
...
Signed-off-by: Danila Matveev <optician_owl@fastmail.com >
Signed-off-by: Danila Matveev <usurname.r@gmail.com >
2024-07-16 09:59:12 +00:00
dependabot[bot]
d5171c068c
build(deps): bump setuptools from 68.2.2 to 70.0.0 in /python ( #32781 )
...
Bumps [setuptools](https://github.com/pypa/setuptools ) from 68.2.2 to 70.0.0.
- [Release notes](https://github.com/pypa/setuptools/releases )
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst )
- [Commits](https://github.com/pypa/setuptools/compare/v68.2.2...v70.0.0 )
---
updated-dependencies:
- dependency-name: setuptools
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-15 18:57:33 +00:00
dependabot[bot]
ddf3bb4957
build(deps): bump document-features from 0.2.8 to 0.2.10 ( #32780 )
...
Bumps [document-features](https://github.com/slint-ui/document-features ) from 0.2.8 to 0.2.10.
- [Release notes](https://github.com/slint-ui/document-features/releases )
- [Changelog](https://github.com/slint-ui/document-features/blob/master/CHANGELOG.md )
- [Commits](https://github.com/slint-ui/document-features/commits )
---
updated-dependencies:
- dependency-name: document-features
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>
2024-07-15 17:27:52 +00:00
dependabot[bot]
bb201fb4ec
build(deps): bump bytes from 1.6.0 to 1.6.1 ( #32779 )
...
Bumps [bytes](https://github.com/tokio-rs/bytes ) from 1.6.0 to 1.6.1.
- [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.6.0...v1.6.1 )
---
updated-dependencies:
- dependency-name: bytes
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>
2024-07-15 17:15:23 +00:00
dependabot[bot]
025b831862
build(deps): bump cc from 1.1.1 to 1.1.5 ( #32778 )
...
Bumps [cc](https://github.com/rust-lang/cc-rs ) from 1.1.1 to 1.1.5.
- [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.1.1...cc-v1.1.5 )
---
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>
2024-07-15 17:11:08 +00:00
Samson
e761b7d711
Auto merge all WPT and dependabot PRs ( #32775 )
...
* Auto merge all WPT and dependabot PRs
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
* Adjust name of action
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
---------
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
Co-authored-by: Martin Robinson <mrobinson@igalia.com >
2024-07-15 12:44:47 +00:00
Servo WPT Sync
968474a9fd
Update web-platform-tests to revision b'f3dd9cba239a9655951ee62ec4dafc8fe37df2c5' ( #32774 )
...
Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org >
2024-07-14 09:16:30 +00:00
Patrycja
3118542a9e
Use mallinfo only on target_env=gnu ( #32772 )
...
mallinfo isn't available on musl, causing linking issues on build;
make sure related functions are built only for GNU Libc
Signed-off-by: Patrycja Rosa <git@ptrcnull.me >
2024-07-14 07:20:52 +00:00
Jonathan Schwender
cd394af018
Bump duplicated nix to 0.29 ( #32764 )
...
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
2024-07-13 07:48:01 +00:00
dependabot[bot]
d667b79739
build(deps): bump thiserror from 1.0.61 to 1.0.62 ( #32768 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.61 to 1.0.62.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.61...1.0.62 )
---
updated-dependencies:
- dependency-name: thiserror
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>
2024-07-12 16:55:03 +00:00
dependabot[bot]
2fc0fd1312
build(deps): bump syn from 2.0.70 to 2.0.71 ( #32767 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.70 to 2.0.71.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.70...2.0.71 )
---
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>
2024-07-12 16:50:52 +00:00
dependabot[bot]
42eb93624c
build(deps): bump cc from 1.1.0 to 1.1.1 ( #32765 )
...
Bumps [cc](https://github.com/rust-lang/cc-rs ) from 1.1.0 to 1.1.1.
- [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.1.0...cc-v1.1.1 )
---
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>
2024-07-12 16:43:20 +00:00
Samson
91ca727eb9
webgpu: Divide message code into separate files ( #32700 )
...
* Spilt webgpu ipc messages even more
* Add license to mod.rs
* file docs
2024-07-12 11:01:15 +00:00
Ngo Iok Ui (Wu Yu Wei)
40bac8c3df
script: document.visibilityState and document.hidden ( #32635 )
...
* Squashed commit of the following:
commit 5e0ea9996cb0d8137c3e1cd04487a1065b61289d
Author: Wu Yu Wei <yuweiwu@pm.me >
Date: Thu Jul 11 13:37:51 2024 +0900
Move lint to new_inherited
Signed-off-by: Wu Yu Wei <yuweiwu@pm.me >
commit a8cbfb1eef2650d153ef41c232d9e80e1118fc37
Merge: b819968f3e 7a33f8f008
Author: Wu Yu Wei <yuweiwu@pm.me >
Date: Thu Jul 11 13:32:18 2024 +0900
Merge branch 'main' into visibility
commit b819968f3eaa361c8a2cf3af679943ae2065ab32
Merge: eda2ec4c22 1c6b74e1f1
Author: Wu Wayne <yuweiwu@pm.me >
Date: Tue Jul 9 14:26:43 2024 +0900
Merge branch 'main' into visibility
commit eda2ec4c225c63236d6851ea525455cad8874ce5
Author: Wu Wayne <yuweiwu@pm.me >
Date: Thu Jul 4 14:25:05 2024 +0900
Include page-visibility tests to wpt
commit 9da7b4ee39b141e59e4a21a64445c4b08499463f
Author: Wu Yu Wei <yuweiwu@pm.me >
Date: Thu Jul 4 12:50:40 2024 +0900
Add TODO comment for future update
commit 11f55fea3ead0c8fa07f16557a63cc6a77c15c3f
Author: Wu Yu Wei <yuweiwu@pm.me >
Date: Wed Jul 3 11:01:51 2024 +0900
Add spaces between steps
commit 408c3e51f25867e85f894cd77a6355bc32f2aa00
Author: Wu Wayne <yuweiwu@pm.me >
Date: Tue Jul 2 18:33:53 2024 +0900
Update MANIFEST.json
commit 679fe4ffdd28554b11b4018395fac22a08ccbc34
Author: Wu Wayne <yuweiwu@pm.me >
Date: Tue Jul 2 18:27:02 2024 +0900
Add VisibilityStateEntry to mozilla/interfaces.html
commit 4a456a2b4a473fa795274edf56ecf660616f90eb
Author: Wu Wayne <yuweiwu@pm.me >
Date: Tue Jul 2 14:28:11 2024 +0900
Update meta results
commit cd191447ff61de392526e00c13f765c2df7a269e
Merge: 7ff480a698 ad01342f00
Author: Ngo Iok Ui (Wu Yu Wei) <yuweiwu@pm.me >
Date: Tue Jul 2 13:47:49 2024 +0900
Merge branch 'main' into visibility
commit 7ff480a698413ac5526edfb1b8731373bb9d04ae
Author: Wu Yu Wei <yuweiwu@pm.me >
Date: Tue Jul 2 13:12:44 2024 +0900
Update description text of update_visibility_state
commit 0e496b7bce4fd5476a1919737b00e8f0c9e2fdc8
Author: Wu Yu Wei <yuweiwu@pm.me >
Date: Tue Jul 2 12:59:40 2024 +0900
Add specification link to VisibilityStateEntry methods
commit 3e4a061450621bd17f19ff81099dd4daaeaea478
Author: Wu Yu Wei <yuweiwu@pm.me >
Date: Tue Jul 2 12:31:53 2024 +0900
Add descriptive text to each step
commit 8bbdfcae97db5002b09e5f5ecec6ae80d080dc95
Author: Wu Wayne <yuweiwu@pm.me >
Date: Fri Jun 28 19:15:34 2024 +0900
mach fmt
commit dc1c7a4aec6aba56af7afcfee6feadbee242a643
Author: Wu Wayne <yuweiwu@pm.me >
Date: Fri Jun 28 19:01:00 2024 +0900
Add update_visibility_state
commit 6aa18143319044dc084a9585ab064cd853bccc21
Author: Wu Wayne <yuweiwu@pm.me >
Date: Fri Jun 28 16:06:25 2024 +0900
Add VisibilityStateEntry.webidl
commit 638ae3cd563004334d35cc3fbdc1f918d29833d0
Author: Wu Yu Wei <yuweiwu@pm.me >
Date: Fri Jun 28 13:39:29 2024 +0900
Add visibilityState and hidden in Document.webidl
Signed-off-by: Wu Yu Wei <yuweiwu@pm.me >
* Move creation into reflect call
Signed-off-by: Wu Yu Wei <yuweiwu@pm.me >
---------
Signed-off-by: Wu Yu Wei <yuweiwu@pm.me >
2024-07-12 08:32:25 +00:00
Jonathan Schwender
b206a0f4a3
ohos: Add default log filter ( #32760 )
...
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
2024-07-12 04:12:25 +00:00
Jonathan Schwender
496ce717c5
Move legacy layout behind a feature flag ( #32759 )
...
* Move legacy layout behind a feature flag
For now the new feature flag would still be enabled by default,
but disabling the `layout_2013` feature, gives the following
binary size improvements for servoshell on Linux:
- in debug mode from 1278MB -> 1201 MB
- in release mode from 144MB -> 140MB
- in production mode from 108MB -> 106MB
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
* Update components/servo/lib.rs
Co-authored-by: Martin Robinson <mrobinson@igalia.com >
Signed-off-by: Jonathan Schwender <55576758+jschwe@users.noreply.github.com >
---------
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
Signed-off-by: Jonathan Schwender <55576758+jschwe@users.noreply.github.com >
Co-authored-by: Martin Robinson <mrobinson@igalia.com >
2024-07-11 13:24:52 +00:00
Martin Robinson
4907e89656
canvas: Remove as much usage of font-kit as possible ( #32758 )
...
Do font selection using Servo's font backend, which is shared with the
rest of layout. In addition, delay the creation of the `font-kit` font
until just before rendering with `raqote`. The idea is that when
`raqote` is no longer used, we can drop the `font-kit` dependency.
This change has the side-effect of fixing text rendering in canvas,
adding support for font fallback in canvas, and also correcting a bug in
font selection with size overrides.
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com >
2024-07-11 04:25:38 +00:00
Bumsoo Kim
c6cb7ee981
script: Use the new C string literal in the DOM bindings ( #32741 )
...
* simple conversion to cstrings using as_ptr()
Signed-off-by: Bum Kim <bumcrystlbum@gmail.com >
* replaced byte strings with c strings using new helper functions
Signed-off-by: Bum Kim <bumcrystlbum@gmail.com >
* changed &[u8] type parameters to &CStr
Signed-off-by: Bum Kim <bumcrystlbum@gmail.com >
---------
Signed-off-by: Bum Kim <bumcrystlbum@gmail.com >
2024-07-11 04:18:54 +00:00
Ngo Iok Ui (Wu Yu Wei)
3e163bfcdb
shell: set no-wgl flag in servoshell instead ( #32753 )
...
* Set no-wgl flag in servoshell instead
Signed-off-by: Wu Yu Wei <yuweiwu@pm.me >
* Remove unused comment
Signed-off-by: Wu Yu Wei <yuweiwu@pm.me >
---------
Signed-off-by: Wu Yu Wei <yuweiwu@pm.me >
2024-07-10 14:50:27 +00:00
dependabot[bot]
313536fd82
build(deps): bump cc from 1.0.106 to 1.1.0 ( #32746 )
...
Bumps [cc](https://github.com/rust-lang/cc-rs ) from 1.0.106 to 1.1.0.
- [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.0.106...cc-v1.1.0 )
---
updated-dependencies:
- dependency-name: cc
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>
2024-07-10 14:50:11 +00:00
dependabot[bot]
f455321f84
build(deps): bump syn from 2.0.69 to 2.0.70 ( #32749 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.69 to 2.0.70.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.69...2.0.70 )
---
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>
2024-07-10 12:15:14 +00:00
dependabot[bot]
fc34137fda
build(deps): bump vergen from 8.3.1 to 8.3.2 ( #32748 )
...
Bumps [vergen](https://github.com/rustyhorde/vergen ) from 8.3.1 to 8.3.2.
- [Release notes](https://github.com/rustyhorde/vergen/releases )
- [Commits](https://github.com/rustyhorde/vergen/commits )
---
updated-dependencies:
- dependency-name: vergen
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>
2024-07-10 12:15:05 +00:00
dependabot[bot]
0c362329c3
build(deps): bump hyper from 0.14.29 to 0.14.30 ( #32750 )
...
Bumps [hyper](https://github.com/hyperium/hyper ) from 0.14.29 to 0.14.30.
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/v0.14.30/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v0.14.29...v0.14.30 )
---
updated-dependencies:
- dependency-name: hyper
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>
2024-07-10 12:15:04 +00:00
dependabot[bot]
1ec1207099
build(deps): bump darling from 0.20.9 to 0.20.10 ( #32747 )
...
Bumps [darling](https://github.com/TedDriggs/darling ) from 0.20.9 to 0.20.10.
- [Release notes](https://github.com/TedDriggs/darling/releases )
- [Changelog](https://github.com/TedDriggs/darling/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TedDriggs/darling/commits/v0.20.10 )
---
updated-dependencies:
- dependency-name: darling
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>
2024-07-10 12:14:54 +00:00
atbrakhi
c6443f74a4
Remove unused implementation ( #32754 )
...
Signed-off-by: atbrakhi <atbrakhi@igalia.com >
2024-07-10 10:57:49 +00:00
dependabot[bot]
097b9a3d0b
build(deps): bump uuid from 1.9.1 to 1.10.0 ( #32751 )
...
Bumps [uuid](https://github.com/uuid-rs/uuid ) from 1.9.1 to 1.10.0.
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/1.9.1...1.10.0 )
---
updated-dependencies:
- dependency-name: uuid
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>
2024-07-10 03:20:33 +00:00
atbrakhi
a3bb8048fc
use au in inline ( #32728 )
...
Signed-off-by: atbrakhi <atbrakhi@igalia.com >
2024-07-09 19:18:59 +00:00
eri
33f3c34d28
DevTools: Display console messages and errors ( #32727 )
...
* feat: add streams to browsing context
* feat: console now works!
* feat: order console messages
* feat: add streams to new browsing contexts
* fix: apply suggestions
Co-authored-by: Martin Robinson <mrobinson@igalia.com >
---------
Co-authored-by: Martin Robinson <mrobinson@igalia.com >
2024-07-09 18:27:47 +00:00
Delan Azabani
34d9be70f9
Update in-tree docs to point to the new book ( #32743 )
...
* Update in-tree docs to point to the new book
* Revive build setup section in README as quickstart guide
* Apply feedback about titles
2024-07-09 15:42:00 +00:00
Josh Matthews
72e6a1f007
Remove media element state changes triggered by network responses ( #32643 )
...
* Do not change media element ready state when network response is complete.
* Do not fire multiple error events for the same media content.
* Inform media backend when media response is complete.
* Continue delaying the load event when a complete media response is received.
* Only mark a media response as complete when the response is the active one.
* Update expectations for imagebitmap tests using video element.
* Update fetch ORB video test expectations.
* Update media CSS selector test expectation for non-implemented feature.
* Update expectations for media element tests that now work.
* Updat expected result for failing reftest.
* Update expected failure for test that loads an audio file in a video element.
* Update media test expectation for unimplemented track feature.
* Do not process media element ready state changes that are unchanged.
* Reset media element ready state to Current when playback finishes.
* Set media element ready state to Enough when appropriate player event is received.
* Update test expectations.
2024-07-09 06:48:44 +00:00
石蕊 (Pi-Cla)
f29dd64a7b
Fix more clippy ( #32740 )
2024-07-09 04:47:43 +00:00
dependabot[bot]
4e1f623666
build(deps): bump target-lexicon from 0.12.14 to 0.12.15 ( #32737 )
...
Bumps [target-lexicon](https://github.com/bytecodealliance/target-lexicon ) from 0.12.14 to 0.12.15.
- [Commits](https://github.com/bytecodealliance/target-lexicon/compare/v0.12.14...v0.12.15 )
---
updated-dependencies:
- dependency-name: target-lexicon
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>
2024-07-09 03:57:54 +00:00
dependabot[bot]
1c6b74e1f1
build(deps): bump clipboard-win from 5.3.1 to 5.4.0 ( #32736 )
...
Bumps [clipboard-win](https://github.com/DoumanAsh/clipboard-win ) from 5.3.1 to 5.4.0.
- [Commits](https://github.com/DoumanAsh/clipboard-win/commits )
---
updated-dependencies:
- dependency-name: clipboard-win
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>
2024-07-08 21:09:33 +00:00
dependabot[bot]
84ec017625
build(deps): bump gilrs-core from 0.5.12 to 0.5.13 ( #32733 )
...
Bumps [gilrs-core](https://gitlab.com/gilrs-project/gilrs ) from 0.5.12 to 0.5.13.
- [Commits](https://gitlab.com/gilrs-project/gilrs/compare/gilrs-core-v0.5.12...gilrs-core-v0.5.13 )
---
updated-dependencies:
- dependency-name: gilrs-core
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>
2024-07-08 20:33:20 +00:00
dependabot[bot]
b7d9415a4a
build(deps): bump cc from 1.0.104 to 1.0.106 ( #32739 )
...
Bumps [cc](https://github.com/rust-lang/cc-rs ) from 1.0.104 to 1.0.106.
- [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.0.104...cc-v1.0.106 )
---
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>
2024-07-08 17:32:44 +00:00
dependabot[bot]
7a8cdcd4ca
build(deps): bump syn from 2.0.68 to 2.0.69 ( #32738 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.68 to 2.0.69.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.68...2.0.69 )
---
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>
2024-07-08 17:31:36 +00:00
dependabot[bot]
b919ac0dad
build(deps): bump serde from 1.0.203 to 1.0.204 ( #32735 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.203 to 1.0.204.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.203...v1.0.204 )
---
updated-dependencies:
- dependency-name: serde
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>
2024-07-08 17:25:57 +00:00
dependabot[bot]
d8283d1a42
build(deps): bump gilrs from 0.10.7 to 0.10.8 ( #32734 )
...
Bumps [gilrs](https://gitlab.com/gilrs-project/gilrs ) from 0.10.7 to 0.10.8.
- [Commits](https://gitlab.com/gilrs-project/gilrs/compare/v0.10.7...v0.10.8 )
---
updated-dependencies:
- dependency-name: gilrs
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>
2024-07-08 17:21:42 +00:00
Martin Robinson
77e9e3deba
fonts: Add support for generic font families and font size configuration ( #32673 )
...
This adds support for generic font families in Servo and allows for
configuration of them as well as their default font sizes. One
interesting fix here is that now monospace default to 13px, like it does
in other browsers.
In addition to that, this exposes a new interface in Stylo which allows
setting a default style. This is quite useful for fonts, but also for
other kinds of default style settings -- like text zoom.
Fixes #8371 .
Fixes #14773 .
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com >
2024-07-08 17:17:48 +00:00
cybai (Haku)
956b7f62e0
Avoid unnecessary clones for URLs ( #32694 )
2024-07-08 16:11:55 +00:00
atbrakhi
d9b99723f5
Remove unused ToWebRender implementation ( #32729 )
2024-07-08 16:10:34 +00:00
Jonathan Schwender
8cd1e22f8d
android/ohos: fonts: Ignore ascii case when searching for font family ( #32725 )
...
The input for this function commonly comes from a `LowercaseString`,
while our actual font family name has cases.
Since font family lookup should be case-neutral, we do a compare
ignoring the ascii case.
I'm not too familiar with the CSS standard so I'm not 100% sure
if this is sufficient, or if we need to use a different method
to compare strings for arbitrary non-ascii font names.
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
2024-07-08 13:53:41 +00:00
Martin Robinson
89944bd330
layout: Improve layout of table captions ( #32695 )
...
- Instead of treating captions as a `BlockFormattingContext`, treat it as
a `NonReplacedFormattingContext`, which allows reusing flow layout for
captions -- fixing some issues with sizing.
- Pass in the proper size of the containing block when laying out,
fixing margin calculation.
- Follow the unspecified rules about how various size properties on
captions affect their size.
- Improve linebreaking around atomics, which is tested by
caption-related tests. This fixes intrinsic size calculation regarding
soft wrap opportunities around atomic and also makes the code making
these actual soft wrap opportunities a bit better.
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com >
2024-07-08 12:58:38 +00:00
eri
2888193cfe
DevTools: Replace camel case variable names ( #32726 )
...
* refactor: rename to snake case
* refactor: more renaming
* chore: format
* chore: clean
2024-07-08 11:18:35 +00:00
Mukilan Thiyagarajan
b243457ccc
ci: fix security issue in try job workflow ( #32724 )
...
This [issue][1] was reported by GitHub user @RedYetiDev via the Security
Advisory reporting mechanism on GitHub. The fix is also based on their
proposed solution.
The issue is that `refs/pull/{pr_number}/head` points to the latest
commit of a PR and so it could be different than the commit that was
reviewed when the try label was applied. The fix is to use the exact commit
sha at the point when the try job is triggered, which is available in
the `github` context as `github.event.pull_request.head.sha`.
[1]: https://github.com/servo/servo/security/advisories/GHSA-fxqr-xgh8-3577
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com >
Co-authored-by: Aviv Keller <38299977+RedYetiDev@users.noreply.github.com >
2024-07-08 10:08:23 +00:00
Martin Robinson
099b5607b9
readme: Clarify that rust and cargo must be in your path after rustup runs ( #32722 )
...
Fixes #32670 .
2024-07-08 08:54:01 +00:00
Mukilan Thiyagarajan
24639bb540
android: sign release APK with a custom key. ( #32721 )
...
This PR adds support for signing all APKs we produce on the CI
with a custom signing key. Currently the logic falls back to
the debug key (which is generated by AGP and not persistent) if
the environment variable for the keystore is not set. This allows
local developer builds to work without requiring a key store.
Once #32720 is resolved, we could sign just the production builds
and remove the conditional logic.
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com >
2024-07-08 08:36:00 +00:00
Ngo Iok Ui (Wu Yu Wei)
6cb95827a3
Set compositor's cursor_pos properly ( #32718 )
2024-07-08 07:41:27 +00:00
Keith Cirkel
db4cba4d6d
Add customElements.getName ( #32715 )
...
* Add customElements.getName
* rebaseline
2024-07-07 15:22:57 +00:00
Servo WPT Sync
816359583c
Update web-platform-tests to revision b'4e3b5de2eb8218cf18a1674618994efeb96e2cc0' ( #32717 )
...
Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org >
2024-07-07 07:23:54 +00:00
Bumsoo Kim
141a594e23
Replace null-byte terminated string literals with C-string literals ( #32716 )
...
* simple conversion from byte string to c-string
Signed-off-by: Bum Kim <bumcrystlbum@gmail.com >
* convert byte strings to c-strings to c_char ptr
Signed-off-by: Bum Kim <bumcrystlbum@gmail.com >
---------
Signed-off-by: Bum Kim <bumcrystlbum@gmail.com >
2024-07-06 20:14:15 +00:00
Samson
59d0f1fe1a
script: Impl cloning of JSPrincipals ( #32706 )
...
* Impl cloning of JSPrincipals
* bincode as workspace dependency
* Update mozjs and cc
2024-07-06 10:25:38 +00:00
dependabot[bot]
5a9dc98f07
build(deps): bump egui_glow in the egui-related group ( #32712 )
...
Bumps the egui-related group with 1 update: [egui_glow](https://github.com/emilk/egui ).
Updates `egui_glow` from 0.28.0 to 0.28.1
- [Release notes](https://github.com/emilk/egui/releases )
- [Changelog](https://github.com/emilk/egui/blob/master/CHANGELOG.md )
- [Commits](https://github.com/emilk/egui/compare/0.28.0...0.28.1 )
---
updated-dependencies:
- dependency-name: egui_glow
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: egui-related
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-06 07:24:25 +00:00
Alex Touchet
1e5c844eb5
Add more crates to egui Dependabot group ( #32711 )
2024-07-06 05:51:31 +00:00
dependabot[bot]
438e99ca9a
build(deps): bump the egui-related group with 2 updates ( #32708 )
...
Bumps the egui-related group with 2 updates: [egui](https://github.com/emilk/egui ) and [egui-winit](https://github.com/emilk/egui ).
Updates `egui` from 0.28.0 to 0.28.1
- [Release notes](https://github.com/emilk/egui/releases )
- [Changelog](https://github.com/emilk/egui/blob/master/CHANGELOG.md )
- [Commits](https://github.com/emilk/egui/compare/0.28.0...0.28.1 )
Updates `egui-winit` from 0.28.0 to 0.28.1
- [Release notes](https://github.com/emilk/egui/releases )
- [Changelog](https://github.com/emilk/egui/blob/master/CHANGELOG.md )
- [Commits](https://github.com/emilk/egui/compare/0.28.0...0.28.1 )
---
updated-dependencies:
- dependency-name: egui
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: egui-related
- dependency-name: egui-winit
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: egui-related
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-05 20:06:46 +00:00
dependabot[bot]
fabd7a178f
build(deps): bump emath from 0.28.0 to 0.28.1 ( #32710 )
...
Bumps [emath](https://github.com/emilk/egui ) from 0.28.0 to 0.28.1.
- [Release notes](https://github.com/emilk/egui/releases )
- [Changelog](https://github.com/emilk/egui/blob/master/CHANGELOG.md )
- [Commits](https://github.com/emilk/egui/compare/0.28.0...0.28.1 )
---
updated-dependencies:
- dependency-name: emath
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>
2024-07-05 16:43:07 +00:00
dependabot[bot]
a16666db03
build(deps): bump ab_glyph from 0.2.27 to 0.2.28 ( #32709 )
...
Bumps [ab_glyph](https://github.com/alexheretic/ab-glyph ) from 0.2.27 to 0.2.28.
- [Release notes](https://github.com/alexheretic/ab-glyph/releases )
- [Commits](https://github.com/alexheretic/ab-glyph/compare/ab-glyph-0.2.27...ab-glyph-0.2.28 )
---
updated-dependencies:
- dependency-name: ab_glyph
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>
2024-07-05 16:37:56 +00:00
Martin Robinson
7eac599aa1
fonts: Stop using Stylesheet::effective_font_face_rules ( #32699 )
...
This function doesn't exist in upstream Stylo and is fairly unecessary.
Removing it will help reduce the difference between downstream Stylo and
upstream Stylo.
2024-07-04 21:53:14 +00:00
Martin Robinson
0f2139be27
layout_2013: Remove code preventing writing mode assertion failures ( #32698 )
...
It's actually kind of useful that this code crashes, as it points out a
problem. Additionally, we aren't going to be maintaining Layout 2013 any
longer so it is very unlikely that these bugs will ever be fixed. This
allows us to reduce our diff with upstream Stylo.
Closes #30577 .
2024-07-04 21:08:02 +00:00
dependabot[bot]
10326f7e0f
build(deps): bump wayland-cursor from 0.31.3 to 0.31.4 ( #32701 )
...
Bumps [wayland-cursor](https://github.com/smithay/wayland-rs ) from 0.31.3 to 0.31.4.
- [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-cursor
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>
2024-07-04 18:24:17 +00:00
Martin Robinson
4b63043c6a
clippy: Fix warnings in shared and config, fonts, layout, and layout_2020 components ( #32674 )
2024-07-04 14:18:58 +00:00
Samson
99c1f886b8
webgpu: Update wgpu and revamp RenderPass ( #32665 )
...
* Update wgpu and revamp RenderPass
* Set good expectations
* Set one bad expectation
* send_render_command
* small fixups
* docs
* doc
* Put RenderPass inside PassState
* Use Pass enum for ComputePass too
* fix docs
2024-07-04 12:16:42 +00:00
Martin Robinson
26624a109f
clippy: Fix a bunch of warnings in script ( #32680 )
...
This is just a portion of the errors that are remaining to be fixed.
2024-07-04 11:40:23 +00:00
Jonathan Schwender
93fdb8263d
Make task_info as macos specific ( #32693 )
...
rust-analyzer breaks on Linux (when invoked without mach), because it
tries to compile the c files, and doesn't find `mach_init.h`
Since we don't need task_info on non-mac platforms, just make the
crate empty on other platforms.
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
2024-07-04 09:21:49 +00:00
eri
fb1c57da3e
DevTools: Add parser tool ( #32684 )
...
* feat: add devtools parser tool
* feat: improve documentation
2024-07-04 09:15:31 +00:00
newmoneybigbucks
aae66cc33c
Updated all kill_*_id functions defined in indentityhub.rs to free_*_id naming format for issue 32685 ( #32688 )
...
Signed-off-by: newmoneybigbucks <newmoneybigbucks@protonmail.com >
2024-07-04 09:03:13 +00:00
dependabot[bot]
42f42b39cc
build(deps): bump wayland-client from 0.31.3 to 0.31.4 ( #32691 )
...
Bumps [wayland-client](https://github.com/smithay/wayland-rs ) from 0.31.3 to 0.31.4.
- [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-client
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>
2024-07-04 08:29:54 +00:00
dependabot[bot]
44c4fe32c4
build(deps): bump wayland-scanner from 0.31.2 to 0.31.3 ( #32690 )
...
Bumps [wayland-scanner](https://github.com/smithay/wayland-rs ) from 0.31.2 to 0.31.3.
- [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>
2024-07-04 08:27:40 +00:00
dependabot[bot]
81f40400b7
build(deps): bump windows_i686_gnullvm from 0.52.5 to 0.52.6 ( #32689 )
...
Bumps [windows_i686_gnullvm](https://github.com/microsoft/windows-rs ) from 0.52.5 to 0.52.6.
- [Release notes](https://github.com/microsoft/windows-rs/releases )
- [Commits](https://github.com/microsoft/windows-rs/commits )
---
updated-dependencies:
- dependency-name: windows_i686_gnullvm
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>
2024-07-04 08:26:33 +00:00
Martin Robinson
e14e079fff
servoshell: Update all egui dependencies and group them for dependabot ( #32683 )
...
This updates egui, making the necessary changes to maintain behavior. In
addition, it groups dependencies so that they are updated in a single PR
by dependabot, avoiding manual work.
2024-07-04 06:36:19 +00:00
派卡 (pi-cla)
650af7db92
webgpu: Remove mutex around Identities ( #32682 )
2024-07-03 18:39:45 +00:00
Martin Robinson
959ffad99a
layout: Add support for table captions ( #32657 )
...
This adds initial support for table captions. To do this, the idea of
the table wrapper becomes a bit more concrete. Even so, the wrapper is
still reponsible for allocating space for the grid's border and padding,
as those properties are specified on the wrapper and not grid in CSS.
In order to account for this weirdness of HTML/CSS captions and grid are
now laid out and placed with a negative offset in the table wrapper
content rect.
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
Co-authored-by: Oriol Brufau <obrufau@igalia.com >
2024-07-03 18:24:19 +00:00
dependabot[bot]
f8e4ae6040
build(deps): bump sctk-adwaita from 0.8.1 to 0.8.3 ( #32679 )
...
Bumps [sctk-adwaita](https://github.com/PolyMeilex/sctk-adwaita ) from 0.8.1 to 0.8.3.
- [Release notes](https://github.com/PolyMeilex/sctk-adwaita/releases )
- [Changelog](https://github.com/PolyMeilex/sctk-adwaita/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PolyMeilex/sctk-adwaita/commits )
---
updated-dependencies:
- dependency-name: sctk-adwaita
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>
2024-07-03 17:44:15 +00:00
dependabot[bot]
70697adeb9
build(deps): bump zerocopy from 0.7.34 to 0.7.35 ( #32678 )
...
Bumps [zerocopy](https://github.com/google/zerocopy ) from 0.7.34 to 0.7.35.
- [Release notes](https://github.com/google/zerocopy/releases )
- [Changelog](https://github.com/google/zerocopy/blob/main/CHANGELOG.md )
- [Commits](https://github.com/google/zerocopy/commits )
---
updated-dependencies:
- dependency-name: zerocopy
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>
2024-07-03 17:40:08 +00:00
Martin Robinson
4e79ac5701
layout: Allow rendering LineItems independent of inline box ( #32666 )
...
Refactor inline layout to allow rendering line items in the second stage
to be rendered in any order, independent of their parent inline box.
This will allow line items to be reordered, effectively allowing the
splitting of inline boxes, for the purposes of BiDi and any other inline
reordering feature.
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
Co-authored-by: Rakhi Sharma <atbrakhi@igalia.com >
2024-07-03 15:15:31 +00:00
atbrakhi
4357751f28
use au in TextFragment ( #32653 )
2024-07-03 07:27:08 +00:00
dependabot[bot]
fe58a5f0a3
build(deps): bump idna from 1.0.1 to 1.0.2 ( #32669 )
...
Bumps [idna](https://github.com/servo/rust-url ) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/servo/rust-url/releases )
- [Commits](https://github.com/servo/rust-url/compare/idna-v1.0.1...idna-v1.0.2 )
---
updated-dependencies:
- dependency-name: idna
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>
2024-07-02 17:42:17 +00:00
dependabot[bot]
a958a0bb40
build(deps): bump serde_json from 1.0.119 to 1.0.120 ( #32668 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.119 to 1.0.120.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.119...v1.0.120 )
---
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>
2024-07-02 17:32:09 +00:00
atbrakhi
044ab3eeab
fix clippy warning ( #32667 )
2024-07-02 14:59:46 +00:00
Samson
c0105de82b
webgpu: Implement ShaderCompilationInfo ( #32642 )
...
* ShaderCompilationInfo
* expectations
* Handle CompilationInfo promise in GPUShaderModule
* Fix my english
2024-07-02 13:39:06 +00:00
Jonathan Schwender
bd0a5eb4b7
Add production-stripped cargo profile ( #32651 )
...
* Add production-stripped cargo profile
Stripping the binary significantly reduces the size
significantly (in my tests to about 1/3 of the original size).
Enabling lto and setting `codegen-units = 1` allows further size
optimizations at the cost of increased compile-time.
Probably not everyone wants a stripped binary, since it makes
backtraces less useful.
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
* Move lto and cgu option to production profile
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
---------
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
2024-07-02 13:05:24 +00:00
Samson
7b324074b5
mark test/wpt as vendored in .gitattributes ( #32663 )
...
although expectation and _mozilla test are ours
2024-07-02 11:23:18 +00:00
dependabot[bot]
ad01342f00
build(deps): bump mime_guess from 2.0.4 to 2.0.5 ( #32660 )
...
* build(deps): bump mime_guess from 2.0.4 to 2.0.5
Bumps [mime_guess](https://github.com/abonander/mime_guess ) from 2.0.4 to 2.0.5.
- [Commits](https://github.com/abonander/mime_guess/commits )
---
updated-dependencies:
- dependency-name: mime_guess
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Remove libloading from servo-tidy.toml
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Touchet <alextouchet@outlook.com >
2024-07-01 18:29:06 +00:00
dependabot[bot]
7ed5e804b5
build(deps): bump serde_json from 1.0.118 to 1.0.119 ( #32661 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.118 to 1.0.119.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.118...v1.0.119 )
---
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>
2024-07-01 17:43:39 +00:00
dependabot[bot]
67e13e4991
build(deps): bump object from 0.36.0 to 0.36.1 ( #32658 )
...
Bumps [object](https://github.com/gimli-rs/object ) from 0.36.0 to 0.36.1.
- [Changelog](https://github.com/gimli-rs/object/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gimli-rs/object/compare/0.36.0...0.36.1 )
---
updated-dependencies:
- dependency-name: object
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>
2024-07-01 17:34:48 +00:00
Mukilan Thiyagarajan
0615428aa9
android: fix application name used in ./mach run ( #32652 )
...
This patch also switches the code to python format strings
so that the application name can be interpolated where
needed.
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com >
2024-07-01 08:10:00 +00:00
Servo WPT Sync
e2e7476404
Sync WPT with upstream (30-06-2024) ( #32649 )
...
* Update web-platform-tests to revision b'639fa536940371f833fbbcc10104e20f435f9777'
Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org >
* Delete tests/wpt/meta/css/css-values/cap-invalidation.html.ini
* Update css-font-face.https.sub.tentative.html.ini
---------
Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org >
Co-authored-by: Samson <16504129+sagudev@users.noreply.github.com >
2024-06-30 11:14:33 +00:00
dependabot[bot]
3a0f564916
build(deps): bump log from 0.4.21 to 0.4.22 ( #32638 )
...
Bumps [log](https://github.com/rust-lang/log ) from 0.4.21 to 0.4.22.
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/compare/0.4.21...0.4.22 )
---
updated-dependencies:
- dependency-name: log
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>
2024-06-28 17:02:51 +00:00
dependabot[bot]
14ef3f55aa
build(deps): bump zerovec from 0.10.3 to 0.10.4 ( #32639 )
...
Bumps [zerovec](https://github.com/unicode-org/icu4x ) from 0.10.3 to 0.10.4.
- [Release notes](https://github.com/unicode-org/icu4x/releases )
- [Changelog](https://github.com/unicode-org/icu4x/blob/main/CHANGELOG.md )
- [Commits](https://github.com/unicode-org/icu4x/commits )
---
updated-dependencies:
- dependency-name: zerovec
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>
2024-06-28 17:01:11 +00:00
dependabot[bot]
40878c654e
build(deps): bump ab_glyph from 0.2.26 to 0.2.27 ( #32637 )
...
Bumps [ab_glyph](https://github.com/alexheretic/ab-glyph ) from 0.2.26 to 0.2.27.
- [Release notes](https://github.com/alexheretic/ab-glyph/releases )
- [Commits](https://github.com/alexheretic/ab-glyph/compare/ab-glyph-0.2.26...ab-glyph-0.2.27 )
---
updated-dependencies:
- dependency-name: ab_glyph
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>
2024-06-28 16:54:53 +00:00
Jonathan Schwender
9455169813
Add OpenHarmony support to servoshell ( #32594 )
...
* Generate EGL bindings for ohos
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
* Adjust servoshell `bin` error message for android/ohos
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
* ohos: disable WebGL
offscreen buffers are not implemented yet on ohos.
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
* Add OpenHarmony support to servoshell
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
* Share ResourceReaderInstance
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
* Share android/ohos HostTrait
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
* Share servo glue
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com >
* Pass Init options from ArkTS to Servo
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
* f rebase ResourceReaderMethods
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
* fixup! Share ResourceReaderInstance
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
* Fix typo
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
* Update Cargo.lock
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
* ohos: Move WebGL check to webgl thread
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
* Remove commented code
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
* Remove commented and duplicate / unused code
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
---------
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com >
2024-06-28 12:51:50 +00:00
Mu Xian Ming
a7ebc28738
Replace null-byte terminated string literals with C-string literals ( #32631 )
...
Signed-off-by: Mu Xianming <mu.xianming@lmwn.com >
Co-authored-by: Mu Xianming <mu.xianming@lmwn.com >
2024-06-28 12:19:11 +00:00
Martin Robinson
adc0fc984d
layout: Make geom.rs logical geoemetry types more ergonomic ( #32633 )
...
Make using the logical geometry types more ergonomic by having them all
implement `Copy` (at most 4 64-bit numbers), similar to what `euclid`
does. In addition add an implementation of `Neg` for `LogicalVec` and
`LogicalSides` as it will be used in upcoming table implementation code.
2024-06-28 08:20:50 +00:00
Samson
e9cf4d4971
webgpu: Update wgpu and revamp computepass ( #32575 )
...
* Do not wait on drop, but rather wake poller thread
* Update wgpu and render stuff
* Set some good expectations
* Update wgpu again
* handle IPC error as warning
* More good expectations
* Some more expectations
CTS does not match the spec: https://github.com/gpuweb/cts/issues/3806
* This expectations are due to other changes in servo
also happening on main
* Explain error_command_encoders and remove RefCell around it
* fixup
* store validness of passes
* More good expectations
* More docs
* this assert is wrong
* This is even more right per CTS/spec
Only Command encoder state errors are allowed here, but wgpu does not exposes them.
* More good expectations
* One bad expectation
* Fix my english
2024-06-28 04:49:35 +00:00
atbrakhi
fced0b4940
use au in AtomicLineItem ( #32630 )
2024-06-27 11:12:32 +00:00
Delan Azabani
9ff900e166
CONTRIBUTING: add AI contributions policy ( #32287 )
...
* CONTRIBUTING: add AI contributions policy
Co-authored-by: Martin Robinson <mrobinson@igalia.com >
* Be more explicit about how the policy may be revised
* Reword point about copyright issues
* Fix missing word in ethical issues
---------
Co-authored-by: Martin Robinson <mrobinson@igalia.com >
2024-06-27 06:05:07 +00:00
Manuel Rego Casasnovas
574a22a6cd
Avoid Esc shortcut to close Servo ( #32603 )
...
* Avoid Esc shortcut to close Servo
Keep Esc shortcut to leave fullscreen, but avoid to close Servo
(as this is not common in other similar apps,
and can be shortcut used in some web apps for other things).
* Send Esc to the page
2024-06-27 03:43:05 +00:00
dependabot[bot]
aa99c85645
build(deps): bump either from 1.12.0 to 1.13.0 ( #32627 )
...
Bumps [either](https://github.com/rayon-rs/either ) from 1.12.0 to 1.13.0.
- [Commits](https://github.com/rayon-rs/either/compare/1.12.0...1.13.0 )
---
updated-dependencies:
- dependency-name: either
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>
2024-06-27 03:39:11 +00:00
Martin Robinson
da2de4fc68
html: Parse a comma-separated list of faces in the <font> tag ( #32622 )
...
This change parses a comma-separated list of faces in the `<font>` tag
and also moves the parsing code from `stylo` to Servo. This means that
the servo-specific code can be removed from stylo decreasing the
differences between Gecko and Servo's version of `stylo`.
2024-06-26 18:28:35 +00:00
dependabot[bot]
47678a61b9
build(deps): bump the gstreamer-related group with 2 updates ( #32626 )
...
Bumps the gstreamer-related group with 2 updates: [glib](https://github.com/gtk-rs/gtk-rs-core ) and [glib-macros](https://github.com/gtk-rs/gtk-rs-core ).
Updates `glib` from 0.19.8 to 0.19.9
- [Release notes](https://github.com/gtk-rs/gtk-rs-core/releases )
- [Changelog](https://github.com/gtk-rs/gtk-rs-core/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gtk-rs/gtk-rs-core/compare/0.19.8...0.19.9 )
Updates `glib-macros` from 0.19.8 to 0.19.9
- [Release notes](https://github.com/gtk-rs/gtk-rs-core/releases )
- [Changelog](https://github.com/gtk-rs/gtk-rs-core/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gtk-rs/gtk-rs-core/compare/0.19.8...0.19.9 )
---
updated-dependencies:
- dependency-name: glib
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: gstreamer-related
- dependency-name: glib-macros
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: gstreamer-related
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-26 16:40:34 +00:00
Martin Robinson
e16291f14e
layout: Enable parallel layout for tables ( #32477 )
...
This simply wraps row and column-based layout of table sells in a
`par_iter()` unconditionally enabling parallel layout for tables. In the
future we can choose to adjust the conditions under which layout is done
in parallel.
2024-06-26 16:33:48 +00:00
Oriol Brufau
f055964792
Switch replaced layout to app units ( #32625 )
2024-06-26 16:19:24 +00:00
Mukilan Thiyagarajan
a730469b70
script: Implement the FontFaceSet DOM API ( #32576 )
...
Add a skeleton implementation of FontFaceSet interface with support
for resolving the `document.fonts.ready` Promise when the loading of
web fonts is completed.
This change exposes new failures in the web platform tests.
These were ERROR before the change because `document.fonts.ready` caused
a `ReferenceError` causing the tests to be aborted and they now FAIL:
- /css/CSS2/linebox/vertical-align-top-bottom-001.html
- /css/css-flexbox/flex-one-sets-flex-basis-to-zero-px.html
- /css/css-fonts/generic-family-keywords-001.html
- /css/css-fonts/math-script-level-and-math-style/math-script-level-004.tentative.html
- /css/css-fonts/math-script-level-and-math-style/math-script-level-002.tentative.html
- /css/css-text/text-autospace/text-autospace-ligature-001.html
- /css/css-values/calc-size/calc-size-width.tentative.html
These were TIMEOUT before the change because `document.fonts.ready` was
a ReferenceError and the tests were asynchronous (reftest-wait). These now
FAIL because the assertions are now executed after fonts are loaded:
- /css/css-fonts/matching/fixed-stretch-style-over-weight.html
- /css/css-fonts/matching/range-descriptor-reversed.html
- /css/css-fonts/matching/stretch-distance-over-weight-distance.html
- /css/css-fonts/matching/style-ranges-over-weight-direction.html
- /css/css-fonts/variations/variable-box-font.html
- /css/css-fonts/variations/variable-gpos-m2b.html
- /css/css-fonts/variations/variable-gsub.html
- /css/css-fonts/variations/variable-opsz-size-adjust.html
- /css/css-position/sticky/position-sticky-change-top.html
- /css/css-position/sticky/position-sticky-fixed-ancestor.html
- /css/css-position/sticky/position-sticky-flexbox.html
- /css/css-position/sticky/position-sticky-grid.html
- /css/css-position/sticky/position-sticky-inline.html
- /css/css-position/sticky/position-sticky-rendering.html
- /css/css-position/sticky/position-sticky-stacking-context.html
- /css/css-position/sticky/position-sticky-table-td-left.html
- /css/css-position/sticky/position-sticky-table-td-right.html
- /css/css-position/sticky/position-sticky-table-tfoot-bottom.html
- /css/css-position/sticky/position-sticky-table-th-right.html
- /css/css-position/sticky/position-sticky-table-thead-top.html
- /css/css-position/sticky/position-sticky-table-tr-bottom.html
- /css/css-position/sticky/position-sticky-table-tr-top.html
- /css/css-position/sticky/position-sticky-writing-modes.html
- /css/css-pseudo/marker-intrinsic-contribution-001.html
- /css/css-text/hyphens/hyphens-character.html
These tests now PASS due to this patch:
* FAIL -> PASS
- /html/canvas/element/text/2d.text.draw.fill.maxWidth.fontface.html
- /html/canvas/element/text/2d.text.measure.width.empty.html
* TIMEOUT -> PASS
- /css/css-fonts/variations/font-descriptor-range-reversed.html
- /css/css-fonts/variations/variable-opsz.html
- /css/css-position/sticky/position-sticky-table-th-left.html
* ERROR -> PASS
- /css/css-fonts/generic-family-keywords-002.html
- /css/css-fonts/generic-family-keywords-003.html
* These two tests only PASS in Layout 2020:
- /css/CSS2/positioning/inline-static-position-001.html
- /css/cssom-view/getBoundingClientRect-empty-inline.html
These two tests have subtests that PASS intermittenttly:
- /fetch/metadata/generated/css-font-face.sub.tentative.html
- /css/css-fonts/generic-family-keywords-001.html
These tests are new TIMEOUTS that used to FAIL because
`documents.fonts.ready` was undefined:
- /resource-timing/TAO-match.html
- /resource-timing/content-type.html
- /resource-timing/nextHopProtocol-is-tao-protected.https.html
The failure in `/resize-observer/change-layout-in-error.html` could be
due to an issue in the ResizeObserver implementation that is now exposed
with this change, but this needs more investigation.
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com >
Co-authored-by: Martin Robinson <mrobinson@igalia.com >
2024-06-26 09:44:47 +00:00
Martin Robinson
7ea894774f
Add a directory listing feature for file URLs ( #32580 )
...
Signed-off-by: Bobulous <Bobulous@users.noreply.github.com >
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
Co-authored-by: Bobulous <Bobulous@users.noreply.github.com >
2024-06-26 08:02:50 +00:00
dependabot[bot]
b3d99a607f
build(deps): bump bitflags from 2.5.0 to 2.6.0 ( #32613 )
...
Bumps [bitflags](https://github.com/bitflags/bitflags ) from 2.5.0 to 2.6.0.
- [Release notes](https://github.com/bitflags/bitflags/releases )
- [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bitflags/bitflags/compare/2.5.0...2.6.0 )
---
updated-dependencies:
- dependency-name: bitflags
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>
2024-06-26 01:54:50 +00:00
dependabot[bot]
7a76f4ed20
build(deps): bump zerovec-derive from 0.10.2 to 0.10.3 ( #32611 )
...
Bumps [zerovec-derive](https://github.com/unicode-org/icu4x ) from 0.10.2 to 0.10.3.
- [Release notes](https://github.com/unicode-org/icu4x/releases )
- [Changelog](https://github.com/unicode-org/icu4x/blob/main/CHANGELOG.md )
- [Commits](https://github.com/unicode-org/icu4x/commits )
---
updated-dependencies:
- dependency-name: zerovec-derive
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>
2024-06-25 18:53:06 +00:00
dependabot[bot]
b42208a20e
build(deps): bump zerovec from 0.10.2 to 0.10.3 ( #32614 )
...
Bumps [zerovec](https://github.com/unicode-org/icu4x ) from 0.10.2 to 0.10.3.
- [Release notes](https://github.com/unicode-org/icu4x/releases )
- [Changelog](https://github.com/unicode-org/icu4x/blob/main/CHANGELOG.md )
- [Commits](https://github.com/unicode-org/icu4x/commits )
---
updated-dependencies:
- dependency-name: zerovec
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>
2024-06-25 17:55:33 +00:00
dependabot[bot]
e51c15d84f
build(deps): bump icu_properties from 1.5.0 to 1.5.1 ( #32612 )
...
Bumps [icu_properties](https://github.com/unicode-org/icu4x ) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/unicode-org/icu4x/releases )
- [Changelog](https://github.com/unicode-org/icu4x/blob/main/CHANGELOG.md )
- [Commits](https://github.com/unicode-org/icu4x/commits )
---
updated-dependencies:
- dependency-name: icu_properties
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>
2024-06-25 17:39:07 +00:00
dependabot[bot]
3a30fa9977
build(deps): bump serde_json from 1.0.117 to 1.0.118 ( #32609 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.117 to 1.0.118.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.117...v1.0.118 )
---
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>
2024-06-25 17:18:53 +00:00
dependabot[bot]
92378ac3d6
build(deps): bump serde_bytes from 0.11.14 to 0.11.15 ( #32610 )
...
Bumps [serde_bytes](https://github.com/serde-rs/bytes ) from 0.11.14 to 0.11.15.
- [Release notes](https://github.com/serde-rs/bytes/releases )
- [Commits](https://github.com/serde-rs/bytes/compare/0.11.14...0.11.15 )
---
updated-dependencies:
- dependency-name: serde_bytes
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>
2024-06-25 17:18:08 +00:00
dependabot[bot]
6d3c67d469
build(deps): bump uuid from 1.9.0 to 1.9.1 ( #32608 )
...
Bumps [uuid](https://github.com/uuid-rs/uuid ) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/1.9.0...1.9.1 )
---
updated-dependencies:
- dependency-name: uuid
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>
2024-06-25 17:14:47 +00:00
Oriol Brufau
7b6aa64aca
Clean up some unused dependencies ( #32600 )
2024-06-25 13:02:59 +00:00
dependabot[bot]
52e6e59ebd
build(deps): bump uuid from 1.8.0 to 1.9.0 ( #32589 )
...
Bumps [uuid](https://github.com/uuid-rs/uuid ) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/1.8.0...1.9.0 )
---
updated-dependencies:
- dependency-name: uuid
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>
2024-06-25 12:27:03 +00:00
Oriol Brufau
a972e5c200
Switch flex layout to app units ( #32599 )
2024-06-25 07:05:16 +00:00
ItsSunnyMonster
42e090a1eb
clippy: fix some warnings in desktop and some components ( #32583 )
...
* clippy: fix some warnings in ports/servoshell/desktop
Signed-off-by: ItsSunnyMonster <100400733+ItsSunnyMonster@users.noreply.github.com >
* style: fix formatting
Signed-off-by: ItsSunnyMonster <100400733+ItsSunnyMonster@users.noreply.github.com >
* clippy: fix warnings in bluetooth, devtools and servo components
Signed-off-by: ItsSunnyMonster <100400733+ItsSunnyMonster@users.noreply.github.com >
* clippy: remove comments
Signed-off-by: ItsSunnyMonster <100400733+ItsSunnyMonster@users.noreply.github.com >
---------
Signed-off-by: ItsSunnyMonster <100400733+ItsSunnyMonster@users.noreply.github.com >
2024-06-25 07:04:23 +00:00
dependabot[bot]
6738902d45
build(deps): bump lazy_static from 1.4.0 to 1.5.0 ( #32591 )
...
Bumps [lazy_static](https://github.com/rust-lang-nursery/lazy-static.rs ) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/rust-lang-nursery/lazy-static.rs/releases )
- [Commits](https://github.com/rust-lang-nursery/lazy-static.rs/compare/1.4.0...1.5.0 )
---
updated-dependencies:
- dependency-name: lazy_static
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>
2024-06-24 22:48:38 +00:00
Oriol Brufau
b1fdfb88bb
Upgrade stylo to 2024-05-31 ( #32474 )
...
* Upgrade stylo to 2024-05-31
* Fixup for https://phabricator.services.mozilla.com/D211731
* Fixup for https://phabricator.services.mozilla.com/D207779
* Fixup for https://phabricator.services.mozilla.com/D207781
* Update test expectations
2024-06-24 20:03:50 +00:00
dependabot[bot]
680735ed73
build(deps): bump syn from 2.0.67 to 2.0.68 ( #32588 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.67 to 2.0.68.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.67...2.0.68 )
---
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>
2024-06-24 17:33:35 +00:00
dependabot[bot]
75423656d4
build(deps): bump libloading from 0.8.3 to 0.8.4 ( #32590 )
...
Bumps [libloading](https://github.com/nagisa/rust_libloading ) from 0.8.3 to 0.8.4.
- [Commits](https://github.com/nagisa/rust_libloading/compare/0.8.3...0.8.4 )
---
updated-dependencies:
- dependency-name: libloading
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>
2024-06-24 17:28:43 +00:00
Martin Robinson
e331cc67c3
mach: Expose a --skip-static-analysis to mach boostrap ( #32587 )
...
This should speed up runners which just need to run the WPT tests.
Fixes #32582 .
2024-06-24 17:13:09 +00:00
Martin Robinson
30dad2565f
android: Rename the Android app to reflect servo.org ownership and servoshell ( #32554 )
...
Signed-off-by: Martin Robinson <mrobinson@igalia.com >
2024-06-24 15:39:57 +00:00
Jonathan Schwender
7d7574373b
android: Use location_bar_input_to_url instead of re-implementing ( #32586 )
...
We can use the same function as the desktop version
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
2024-06-24 15:25:07 +00:00
Jonathan Schwender
26bbfe9b55
Make crown optional ( #32494 )
...
* Make `crown` optional
Add the optional `--use-crown` flag to mach
* --use-crown for all platforms in CI
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
* Add documentation for `--use-crown`
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
* Update python/servo/command_base.py
Co-authored-by: Mukilan Thiyagarajan <mukilanthiagarajan@gmail.com >
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com >
* Raise Error if CARGO_BUILD_RUSTC conflicts with --use-crown
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com >
* add dummy RUSTFLAG to trigger re-checking
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com >
---------
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com >
Co-authored-by: Mukilan Thiyagarajan <mukilanthiagarajan@gmail.com >
2024-06-24 11:46:43 +00:00
Erik Hennig
8121c98834
Add suppression comments + Suppress lazy_static ( #32584 )
...
Co-authored-by: Jonas Zeunert <jonas@zeunert.org >
2024-06-23 17:21:16 +00:00
Servo WPT Sync
62b230e85d
Update web-platform-tests to revision b'f46bf6aa167e2838a8b93501a1a998ffde90d879' ( #32581 )
...
Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org >
2024-06-23 06:21:30 +00:00
dependabot[bot]
130eef300b
build(deps): bump syn from 2.0.66 to 2.0.67 ( #32579 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.66 to 2.0.67.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.66...2.0.67 )
---
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>
2024-06-21 17:41:36 +00:00
dependabot[bot]
56d4759993
build(deps): bump proc-macro2 from 1.0.85 to 1.0.86 ( #32577 )
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.85 to 1.0.86.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.85...1.0.86 )
---
updated-dependencies:
- dependency-name: proc-macro2
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>
2024-06-21 17:02:35 +00:00
dependabot[bot]
a084813a1f
build(deps): bump displaydoc from 0.2.4 to 0.2.5 ( #32578 )
...
Bumps [displaydoc](https://github.com/yaahc/displaydoc ) from 0.2.4 to 0.2.5.
- [Changelog](https://github.com/yaahc/displaydoc/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yaahc/displaydoc/commits/v0.2.5 )
---
updated-dependencies:
- dependency-name: displaydoc
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>
2024-06-21 17:00:18 +00:00
eri
5eb8813448
DevTools: Implement watcher actor ( #32509 )
...
* feat: base for watcher
* feat: some more watcher tests
* feat: implement getWatcher
* refactor: clean up getWatcher
* feat: implement watchTargets
* feat: implement watchResources
* feat: very messy watchTargets fix
* refactor: clean browsing context
* feat: target configuration
* refactor: start cleanup
* refactor: more doc coments
* refactor: clean browsing context
2024-06-21 16:06:55 +00:00
atbrakhi
26c585a0c5
use app unit in box_fragement ( #32349 )
2024-06-21 14:54:21 +00:00
Martin Robinson
66edef8065
layout: Simplify Contents a little ( #32487 )
...
Instead of duplicating some of `NonReplacedContents` in `Contents`,
divide it into either replaced and non-replaced content, since this is
how the layout system processes `Contents` always. In addition, stop
using `TryInto` to match replaced or non-replaced contents, as it is
quite confusing to handle an `Err` as a success case.
2024-06-21 10:13:31 +00:00
Martin Robinson
44064b1439
layout: Add very basic support for showing text in input boxes ( #32365 )
...
This only paints text in input fields. Selection and cursor are still
not painted.
In addition to adding this feature, the change also updates the
user-agent.css with the latest from the HTML specification. Extra
padding and extraneous settings (such as a bogus line-height and
min-height) are also removed from servo.css. This leads to some new
passes.
There are some new passes, this introduces failures as inserting text
reveals issues that were hidden before. Notably:
- failures in `/html/editing/editing-0/spelling-and-grammar-checking/`:
We do not support spell-checking.
- Most of the rest of the new failures are missing features of input
boxes that are also missing in legacy layout.
2024-06-20 10:13:50 +00:00
Jonathan Schwender
3d6accbbe3
android: Remove serde-json build-dependency ( #32573 )
...
There is no need to add `serde-json` as a
build-dependency (which causes serde to be built
twice when cross-compiling - once for host and once
for the target)
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com >
2024-06-20 08:50:15 +00:00
Mukilan Thiyagarajan
ee2acaeacf
config: fix panic in PrefValue to [f64; 4] conversion ( #32571 )
...
The `Iterator::all` method consumes the input iterator `f` so when
we reuse `f` in `f.flatten().collect()` it yields an empty Vector
in the case where all the elements are successfully converted using
try_into(). This causes out of bounds access when indexing into
the resulting Vector to extract the individual components.
Fixes #32570 .
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com >
2024-06-20 08:47:13 +00:00
Gregory Terzian
64b872ec0d
add codeowners file, set gterzian as owner for components/script ( #32568 )
2024-06-20 08:37:58 +00:00
Jonathan Schwender
7957d11b5d
ohos: Add fallback font for serif ( #32555 )
...
The fallback behavior seems to have changed recently.
Now we need to explicitly add a fallback for `serif`
otherwise no font is selected.
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com >
2024-06-20 06:51:38 +00:00
Mukilan Thiyagarajan
cc1c31ef3f
crown: remove references to workspace manifest ( #32567 )
...
The way our shell.nix works requires crown's Cargo.toml to be
self-contained so that it can be built as a nix derivation in
isolation.
Fixes #32552 .
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com >
2024-06-20 06:50:50 +00:00
Samson
bf99cf7f30
Proper GPUDevice cleanup ( #32520 )
...
* Make device cleanup right
* Use weakref for GPUDevice in globalscope
* No need to destroy device on drop
* DeviceReason early return
* make remove_gpu_device to be the only way to remove device
2024-06-20 05:56:59 +00:00