Commit graph

46569 commits

Author SHA1 Message Date
Samson
7caac9790d
Enforce formatting of TOML files (#30128)
* Fmt all toml files

* bootstrap taplo

* enforce toml formatting with taplo

* Install taplo in CI using cargo-install action
2023-09-19 08:57:27 +00:00
dependabot[bot]
576887907c
build(deps): bump exr from 1.7.0 to 1.71.0 (#30381)
Bumps [exr](https://github.com/johannesvollmer/exrs) from 1.7.0 to 1.71.0.
- [Release notes](https://github.com/johannesvollmer/exrs/releases)
- [Commits](https://github.com/johannesvollmer/exrs/commits)

---
updated-dependencies:
- dependency-name: exr
  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>
2023-09-19 07:25:05 +00:00
dependabot[bot]
cc9846af1a
build(deps): bump smithay-client-toolkit from 0.16.0 to 0.16.1 (#30385)
Bumps [smithay-client-toolkit](https://github.com/smithay/client-toolkit) from 0.16.0 to 0.16.1.
- [Changelog](https://github.com/Smithay/client-toolkit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/smithay/client-toolkit/commits)

---
updated-dependencies:
- dependency-name: smithay-client-toolkit
  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>
2023-09-18 17:43:55 +00:00
dependabot[bot]
fc61f49956
build(deps): bump profiling from 1.0.10 to 1.0.11 (#30382)
Bumps [profiling](https://github.com/aclysma/profiling) from 1.0.10 to 1.0.11.
- [Changelog](https://github.com/aclysma/profiling/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aclysma/profiling/commits)

---
updated-dependencies:
- dependency-name: profiling
  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>
2023-09-18 17:20:04 +00:00
Martin Robinson
39291715c4
Fix main frame scrolling in quirks mode after WebRender (#30375)
Main frame scrolling after the WebRender upgrade was broken because the
main frame no longer has content size content bounds and quirks mode
leads to a body with zero height.

Fixes #30368.
2023-09-18 13:28:42 +00:00
Samson
df8cd1a7c8
use newer wix in CI (#30378)
* Install wixtoolset via chocolatey

* choco install wixtoolset in CI

* Update windows.yml
2023-09-17 06:58:59 +00:00
Fabrice Desré
4804bab118
Update raqote to dedupe arrayvec and lyon_geom (#30376)
* Update raqote to dedupe arrayvec and lyon_geom

* Mark wpt test canvas/element/manual/transformations/transform_a.html as passing
2023-09-16 03:58:16 +00:00
dependabot[bot]
19d9153707
build(deps): bump webxr from b29816a to d566e65 (#30372)
Bumps [webxr](https://github.com/servo/webxr) from `b29816a` to `d566e65`.
- [Commits](b29816a530...d566e65b37)

---
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>
2023-09-15 22:44:03 +00:00
dependabot[bot]
33da53e2de
build(deps): bump bumpalo from 3.13.0 to 3.14.0 (#30374)
Bumps [bumpalo](https://github.com/fitzgen/bumpalo) from 3.13.0 to 3.14.0.
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fitzgen/bumpalo/compare/3.13.0...3.14.0)

---
updated-dependencies:
- dependency-name: bumpalo
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-15 22:43:31 +00:00
dependabot[bot]
86b89c85f1
build(deps): bump libloading from 0.7.0 to 0.7.4 (#30371)
Bumps [libloading](https://github.com/nagisa/rust_libloading) from 0.7.0 to 0.7.4.
- [Commits](https://github.com/nagisa/rust_libloading/compare/0.7.0...0.7.4)

---
updated-dependencies:
- dependency-name: libloading
  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>
2023-09-15 17:09:34 +00:00
dependabot[bot]
b1747b2e27
build(deps): bump chrono from 0.4.30 to 0.4.31 (#30369)
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.30 to 0.4.31.
- [Release notes](https://github.com/chronotope/chrono/releases)
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md)
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.30...v0.4.31)

---
updated-dependencies:
- dependency-name: chrono
  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>
2023-09-15 16:59:25 +00:00
Martin Robinson
38d9a5eae0
Improve intrinsic sizing and white-space handling around forced line breaks (#30351)
* Take forced line breaks into account for intrinsic size

Fixes #30350.

* Don't linebreak on collapsible whitespace

This whitespace can hang off the end of the line, because it will be
trimmed LineItem layout.

* Update float placement after line breakage

Also don't ever line break for collapsible whitespace.

* Fix a few more test cases and clean up

* Renaming according to review comments
2023-09-15 11:12:59 +00:00
Martin Robinson
abca586e0a
Refactor scrolls on the window object (#29680)
Refactor the scrolling and scrollable area calculation on the window
object, to make it better match the specification. This has some mild
changes to behavior, but in general things work the same as they did
before. This is mainly preparation for properly handling viewport
propagation of the `overflow` property but seems to fix a few issues as
well.

There is one new failure in Layout 2020 regarding `position: sticky`,
but this isn't a big deal because there is no support for `position:
sticky` in Layout 2020 yet.

Co-authored-by: Rakhi Sharma <atbrakhi@igalia.com>
2023-09-15 10:57:54 +00:00
Carlos Bentzen
0b86d65798
Add TUXEDO OS to mach bootstrap (#30363)
Signed-off-by: Carlos Bentzen <cadubentzen@gmail.com>
2023-09-15 04:20:32 +00:00
Fabrice Desré
c78533c1a8
Update version of nix, and ron (#30330)
* Bump ron to 0.8.1 to pickup more recent base64

* Remove dependency on nix 0.14

* Update libloading in simpleservo
2023-09-15 02:06:14 +00:00
dependabot[bot]
0a0036b422
build(deps): bump unicode-ident from 1.0.11 to 1.0.12 (#30362)
Bumps [unicode-ident](https://github.com/dtolnay/unicode-ident) from 1.0.11 to 1.0.12.
- [Release notes](https://github.com/dtolnay/unicode-ident/releases)
- [Commits](https://github.com/dtolnay/unicode-ident/compare/1.0.11...1.0.12)

---
updated-dependencies:
- dependency-name: unicode-ident
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-14 17:02:55 +00:00
dependabot[bot]
1c487c0845
build(deps): bump ttf-parser from 0.19.1 to 0.19.2 (#30361)
Bumps [ttf-parser](https://github.com/RazrFalcon/ttf-parser) from 0.19.1 to 0.19.2.
- [Changelog](https://github.com/RazrFalcon/ttf-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/RazrFalcon/ttf-parser/compare/v0.19.1...v0.19.2)

---
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>
2023-09-14 16:43:41 +00:00
Delan Azabani
bb1a6c23c5
minibrowser: implement HiDPI support (#30343) 2023-09-14 13:24:38 +00:00
Samson
d22d97f8c8
Add GPUSupportedFeatures and update GPUSupportedLimits (#30359)
* GPUSupportedFeatures

* New supported limits

* Update expectations
2023-09-14 13:23:12 +00:00
Alex Touchet
6ea394a701
Cargo.toml cleanup (#30355) 2023-09-14 12:46:45 +00:00
dependabot[bot]
59babea86a
build(deps): bump vergen from 8.2.4 to 8.2.5 (#30346)
Bumps [vergen](https://github.com/rustyhorde/vergen) from 8.2.4 to 8.2.5.
- [Release notes](https://github.com/rustyhorde/vergen/releases)
- [Commits](https://github.com/rustyhorde/vergen/compare/8.2.4...8.2.5)

---
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>
2023-09-14 12:03:34 +00:00
Delan Azabani
95bf68df77
[NFC] servoshell: fix euclid units associated with winit geometry (#30344)
* [NFC] servoshell: fix euclid units associated with winit geometry

* rename locals in headed Window::get_coordinates
2023-09-14 10:39:36 +00:00
Delan Azabani
2076b5d789
servoshell: fix unwrap None during RedrawRequested (#30360) 2023-09-14 10:13:19 +00:00
dependabot[bot]
988e05a68b
build(deps): bump cbindgen from 0.25.0 to 0.26.0 (#30352)
Bumps [cbindgen](https://github.com/mozilla/cbindgen) from 0.25.0 to 0.26.0.
- [Release notes](https://github.com/mozilla/cbindgen/releases)
- [Changelog](https://github.com/mozilla/cbindgen/blob/master/CHANGES)
- [Commits](https://github.com/mozilla/cbindgen/compare/v0.25.0...v0.26.0)

---
updated-dependencies:
- dependency-name: cbindgen
  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>
2023-09-13 19:31:19 +00:00
dependabot[bot]
1f0c91d732
build(deps): bump rustls-webpki from 0.100.2 to 0.100.3 (#30353)
Bumps [rustls-webpki](https://github.com/rustls/webpki) from 0.100.2 to 0.100.3.
- [Release notes](https://github.com/rustls/webpki/releases)
- [Commits](https://github.com/rustls/webpki/compare/v/0.100.2...v/0.100.3)

---
updated-dependencies:
- dependency-name: rustls-webpki
  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>
2023-09-13 18:05:11 +00:00
dependabot[bot]
2c3c5257db
build(deps): bump servo-media from e6168e5 to af97a68 (#30333)
Bumps [servo-media](https://github.com/servo/media) from `e6168e5` to `af97a68`.
- [Release notes](https://github.com/servo/media/releases)
- [Commits](e6168e5ff2...af97a686de)

---
updated-dependencies:
- dependency-name: servo-media
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-13 09:43:03 +00:00
Atbrakhi
c066f6a226
Enable minibrowser by default but also keep the option to disable it (#30338)
* enable minibrowser by default

* review fix

* rename no_minibrowser to no-minibrowser

* review fix
2023-09-13 06:31:19 +00:00
dependabot[bot]
0d1abdce2c
build(deps): bump base64 from 0.21.3 to 0.21.4 (#30345)
Bumps [base64](https://github.com/marshallpierce/rust-base64) from 0.21.3 to 0.21.4.
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md)
- [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.21.3...v0.21.4)

---
updated-dependencies:
- dependency-name: base64
  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>
2023-09-12 17:25:28 +00:00
Delan Azabani
5c8fd98aaf
[NFC] servoshell: clarify that device_pixels_per_px is an override (#30342) 2023-09-12 09:29:26 +00:00
Martin Robinson
8299868bd5
Layout 2020: Rename flow_relative types to Logical... (#30324)
This makes the names of flow relative geometry consistent with what is
used in the style crate and removes them from a module. With this change
it's more obvious what makes these types different from the ones in
`euclid`.
2023-09-12 07:31:30 +00:00
Delan Azabani
90ad5920e2
[NFC] servoshell: fix rust-analyzer and rustfmt breakage (#30340) 2023-09-12 06:27:10 +00:00
Delan Azabani
1bbd0c1e6e
servoshell: fix lockups while animating (#30322)
* servoshell: fix lockups while animating

* move comment to external_present declaration

* disable needs_recomposite optimisation for now due to breakage

* fix compile error that only happens on ci

* fix more compile errors
2023-09-12 03:30:43 +00:00
Samson
aad2dccc9c
Strict import formatting (grouping and granularity) (#30325)
* strict imports formatting

* Reformat all imports
2023-09-11 19:16:54 +00:00
dependabot[bot]
413da4ca69
build(deps): bump xml-rs from 0.8.17 to 0.8.18 (#30335)
Bumps [xml-rs](https://github.com/kornelski/xml-rs) from 0.8.17 to 0.8.18.
- [Changelog](https://github.com/kornelski/xml-rs/blob/main/Changelog.md)
- [Commits](https://github.com/kornelski/xml-rs/compare/0.8.17...0.8.18)

---
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>
2023-09-11 17:43:07 +00:00
dependabot[bot]
ea2a8e4aef
build(deps): bump rustix from 0.38.11 to 0.38.13 (#30336)
Bumps [rustix](https://github.com/bytecodealliance/rustix) from 0.38.11 to 0.38.13.
- [Release notes](https://github.com/bytecodealliance/rustix/releases)
- [Commits](https://github.com/bytecodealliance/rustix/compare/v0.38.11...v0.38.13)

---
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>
2023-09-11 17:38:14 +00:00
Samson
59d134133f
Use MozTools 4 and update mozjs (#30326)
* Update mozjs

* moztools4 in bootstrap

* no autoconf

* tidy

* switch to servo-build-deps

* update mozjs for real

* glue mozjs

* fmt

* move to servo/mozjs
2023-09-11 08:23:05 +00:00
Samson
9b1247b20f
No extern crate test/tidy & better RUSTFLAGS handling in mach (#30328)
* Remove unused extern crate rustflag

* Remove tidy check alphabetical order of extern crates

rustfmt's reorder_imports already does that

* fix

* better RUSTFLAGS handling
2023-09-10 18:32:10 +00:00
Samson
d470955032
Add --document-private-items to Docs CI (#30329)
Docs CI overrides RUSTDOCFLAGS
2023-09-10 13:16:57 +00:00
Martin Robinson
a9d37cb85a
Upgrade WebRender to e491e1ae637b2eed1e7195855d88357e5eb3ddf9 (#30323)
* Upgrade vendored version of WebRender

* Patch WebRender: upgrade version of gleam

* Restore hit testing implementation

* Fix WebRender warnings

* Adapt Servo to new WebRender

* Update results

* Add a workaround for #30313

This slightly expands text boundaries in order to take into account the
fact that layout isn't measuring glyph boundaries.
2023-09-10 12:38:56 +00:00
Samson
c079acb3c3
Pass --document-private-items as rustdoc flag (#30327)
* Pass `--document-private-items` as rustdoc flag

This was removed in https://github.com/servo/servo/pull/29895, but as [noted on zulip](https://servo.zulipchat.com/#narrow/stream/263398-general/topic/Documentation.20missing.20for.20some.20script.20types.3F), this caused some docs to be missing.

* rustdocflags in config.toml
2023-09-10 08:51:24 +00:00
Martin Robinson
56976efaa2
Layout 2013: Don't make gradient display items for zero-sized gradients (#30321)
Before WebRender would ignore these, but newer version of WebRender have
issues with them. This change simply prevents legacy layout from
creating display items for these types of gradients. This is already the
behavior of non-legacy layout.
2023-09-09 17:43:09 +00:00
Samson
711dbbd4af
remove extern crate (#30311)
* remove extern crate

* Update components/script_plugins/lib.rs

Co-authored-by: Martin Robinson <mrobinson@igalia.com>

---------

Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2023-09-08 12:11:31 +00:00
Martin Robinson
a0cff6a085
Layout 2013: Don't use WebRender border image outset support (#30315)
The border image outset support in WebRender is going to be removed and
even in versions of WebRender where it still exists, it fails to render
properly.

A border image is a type of border composed of slices of images. The
"outset" of this kind of border is a property in CSS that makes the
border boundaries expand. Previously, the value was passed to WebRender
which would expand the border by this amount and render the images into
the expanded rectangle.

Since this is going to be removed, we handle this property outside of
WebRender. The change is simply to expand the border area by the outset
before calculating the rest of the border values.

This is necessary for the WebRender upgrade.
2023-09-08 06:53:15 +00:00
dependabot[bot]
b7aa989157
build(deps): bump bytes from 1.4.0 to 1.5.0 (#30316)
Bumps [bytes](https://github.com/tokio-rs/bytes) from 1.4.0 to 1.5.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.4.0...v1.5.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>
2023-09-07 21:46:02 +00:00
dependabot[bot]
4a003d9c2c
build(deps): bump bytemuck from 1.13.1 to 1.14.0 (#30318)
Bumps [bytemuck](https://github.com/Lokathor/bytemuck) from 1.13.1 to 1.14.0.
- [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md)
- [Commits](https://github.com/Lokathor/bytemuck/compare/v1.13.1...v1.14.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>
2023-09-07 21:45:41 +00:00
Alex Touchet
7b37f90cdf
Update orbclient (#30320) 2023-09-07 21:45:19 +00:00
dependabot[bot]
39824e26cf
build(deps): bump chrono from 0.4.29 to 0.4.30 (#30317)
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.29 to 0.4.30.
- [Release notes](https://github.com/chronotope/chrono/releases)
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md)
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.29...v0.4.30)

---
updated-dependencies:
- dependency-name: chrono
  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>
2023-09-07 17:40:02 +00:00
Alex Touchet
6b0bdf312c
Clean up servo-tidy.toml (#30314) 2023-09-07 16:09:21 +00:00
Delan Azabani
7336aab710
minibrowser: fix spurious update when location has not changed (#30309)
* minibrowser: fix spurious update when location has not changed

* refactor logic in update_location_in_toolbar
2023-09-07 09:09:12 +00:00
Samson
523e897138
Servoshell as default member (#30310) 2023-09-07 07:34:16 +00:00