aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Refactor scrolls on the window object (#29680)Martin Robinson2023-09-1514-118/+128
| | | | | | | | | | | | | | 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>
* Add TUXEDO OS to mach bootstrap (#30363)Carlos Bentzen2023-09-151-1/+1
| | | Signed-off-by: Carlos Bentzen <cadubentzen@gmail.com>
* Update version of `nix`, and `ron` (#30330)Fabrice Desré2023-09-153-32/+11
| | | | | | | * Bump ron to 0.8.1 to pickup more recent base64 * Remove dependency on nix 0.14 * Update libloading in simpleservo
* build(deps): bump unicode-ident from 1.0.11 to 1.0.12 (#30362)dependabot[bot]2023-09-141-2/+2
| | | | | | | | | | | | | | | 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>
* build(deps): bump ttf-parser from 0.19.1 to 0.19.2 (#30361)dependabot[bot]2023-09-141-2/+2
| | | | | | | | | | | | | | | 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>
* minibrowser: implement HiDPI support (#30343)Delan Azabani2023-09-146-67/+130
|
* Add GPUSupportedFeatures and update GPUSupportedLimits (#30359)Samson2023-09-1412-17058/+243
| | | | | | | * GPUSupportedFeatures * New supported limits * Update expectations
* Cargo.toml cleanup (#30355)Alex Touchet2023-09-141-10/+9
|
* build(deps): bump vergen from 8.2.4 to 8.2.5 (#30346)dependabot[bot]2023-09-142-3/+3
| | | | | | | | | | | | | | | 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>
* [NFC] servoshell: fix euclid units associated with winit geometry (#30344)Delan Azabani2023-09-141-26/+20
| | | | | * [NFC] servoshell: fix euclid units associated with winit geometry * rename locals in headed Window::get_coordinates
* servoshell: fix unwrap None during RedrawRequested (#30360)Delan Azabani2023-09-141-23/+22
|
* build(deps): bump cbindgen from 0.25.0 to 0.26.0 (#30352)dependabot[bot]2023-09-132-3/+3
| | | | | | | | | | | | | | | | 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>
* build(deps): bump rustls-webpki from 0.100.2 to 0.100.3 (#30353)dependabot[bot]2023-09-131-3/+3
| | | | | | | | | | | | | | | 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>
* build(deps): bump servo-media from `e6168e5` to `af97a68` (#30333)dependabot[bot]2023-09-132-38/+26
| | | | | | | | | | | | | | Bumps [servo-media](https://github.com/servo/media) from `e6168e5` to `af97a68`. - [Release notes](https://github.com/servo/media/releases) - [Commits](https://github.com/servo/media/compare/e6168e5ff2a19d42fa6bc2aed7782f0396b9e984...af97a686de711c44f0e13fd4ace824c7b0a2e2e2) --- 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>
* Enable minibrowser by default but also keep the option to disable it (#30338)Atbrakhi2023-09-131-3/+3
| | | | | | | | | * enable minibrowser by default * review fix * rename no_minibrowser to no-minibrowser * review fix
* build(deps): bump base64 from 0.21.3 to 0.21.4 (#30345)dependabot[bot]2023-09-122-9/+9
| | | | | | | | | | | | | | | 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>
* [NFC] servoshell: clarify that device_pixels_per_px is an override (#30342)Delan Azabani2023-09-124-15/+18
|
* Layout 2020: Rename `flow_relative` types to `Logical...` (#30324)Martin Robinson2023-09-1215-315/+312
| | | | | | 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`.
* [NFC] servoshell: fix rust-analyzer and rustfmt breakage (#30340)Delan Azabani2023-09-1220-216/+271
|
* servoshell: fix lockups while animating (#30322)Delan Azabani2023-09-124-25/+80
| | | | | | | | | | | * 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
* Strict import formatting (grouping and granularity) (#30325)Samson2023-09-11802-6305/+6771
| | | | | * strict imports formatting * Reformat all imports
* build(deps): bump xml-rs from 0.8.17 to 0.8.18 (#30335)dependabot[bot]2023-09-111-2/+2
| | | | | | | | | | | | | | | 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>
* build(deps): bump rustix from 0.38.11 to 0.38.13 (#30336)dependabot[bot]2023-09-111-4/+4
| | | | | | | | | | | | | | | 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>
* Use MozTools 4 and update mozjs (#30326)Samson2023-09-1111-20/+46
| | | | | | | | | | | | | | | | | | | * Update mozjs * moztools4 in bootstrap * no autoconf * tidy * switch to servo-build-deps * update mozjs for real * glue mozjs * fmt * move to servo/mozjs
* No extern crate test/tidy & better RUSTFLAGS handling in mach (#30328)Samson2023-09-103-22/+5
| | | | | | | | | | | * Remove unused extern crate rustflag * Remove tidy check alphabetical order of extern crates rustfmt's reorder_imports already does that * fix * better RUSTFLAGS handling
* Add --document-private-items to Docs CI (#30329)Samson2023-09-101-1/+1
| | | Docs CI overrides RUSTDOCFLAGS
* Upgrade WebRender to e491e1ae637b2eed1e7195855d88357e5eb3ddf9 (#30323)Martin Robinson2023-09-10563-51213/+48080
| | | | | | | | | | | | | | | | | | * 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.
* Pass `--document-private-items` as rustdoc flag (#30327)Samson2023-09-101-0/+3
| | | | | | | * 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
* Layout 2013: Don't make gradient display items for zero-sized gradients (#30321)Martin Robinson2023-09-092-7/+22
| | | | | | 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.
* remove `extern crate` (#30311)Samson2023-09-08274-429/+415
| | | | | | | | | | | * 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>
* Layout 2013: Don't use WebRender border image outset support (#30315)Martin Robinson2023-09-082-17/+10
| | | | | | | | | | | | | | | | | 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.
* build(deps): bump bytes from 1.4.0 to 1.5.0 (#30316)dependabot[bot]2023-09-071-2/+2
| | | | | | | | | | | | | | | | 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>
* build(deps): bump bytemuck from 1.13.1 to 1.14.0 (#30318)dependabot[bot]2023-09-071-2/+2
| | | | | | | | | | | | | | | 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>
* Update orbclient (#30320)Alex Touchet2023-09-071-11/+8
|
* build(deps): bump chrono from 0.4.29 to 0.4.30 (#30317)dependabot[bot]2023-09-071-3/+2
| | | | | | | | | | | | | | | | 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>
* Clean up servo-tidy.toml (#30314)Alex Touchet2023-09-071-24/+15
|
* minibrowser: fix spurious update when location has not changed (#30309)Delan Azabani2023-09-072-14/+23
| | | | | * minibrowser: fix spurious update when location has not changed * refactor logic in update_location_in_toolbar
* Servoshell as default member (#30310)Samson2023-09-071-0/+1
|
* Replace a method call now deprecated in mozjs (#30307)Martin Robinson2023-09-061-1/+1
|
* Upgrade servo-media (#30306)Martin Robinson2023-09-061-64/+12
| | | This update removes some unused dependencies including bzip and zip.
* build(deps): bump bytemuck_derive from 1.4.1 to 1.5.0 (#30305)dependabot[bot]2023-09-061-2/+2
| | | | | | | | | | | | | | | Bumps [bytemuck_derive](https://github.com/Lokathor/bytemuck) from 1.4.1 to 1.5.0. - [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md) - [Commits](https://github.com/Lokathor/bytemuck/compare/bytemuck_derive-v1.4.1...bytemuck_derive-v1.5.0) --- updated-dependencies: - dependency-name: bytemuck_derive 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>
* Impl Setlike and Maplike (#30237)Samson2023-09-0619-4/+1088
| | | | | | | | | | | | | | | | | | | * MallocSizeOf for Index{Set, Map} * like as iterable in WebIDL * Codegen magic for like interfaces * TestBinding for like * Test for Setlike and Maplike test bindings * Some fixes * Switch to any.js * nit * Keep order
* Move user input logic into servoshell (#30238)Atbrakhi2023-09-069-66/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cleanup and move user input logix into servoshell * fix fmt * moves test from servoshell file * move command-line args into servoshell * remove feature media-gstreamer * fix fmt * move user input logic code into lib to make it more testable * remove opts_matches in fn instead get it from main2 * remove pub and fix import * add licence in new file * revert passing Matches, instead pass Option String * review update, also move sanitize fn to parser file * fmt fix * review fix: remove extra line
* build(deps): bump which from 4.3.0 to 4.4.2 (#30295)dependabot[bot]2023-09-061-3/+13
| | | | | | | | | | | | | | | Bumps [which](https://github.com/harryfei/which-rs) from 4.3.0 to 4.4.2. - [Changelog](https://github.com/harryfei/which-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/harryfei/which-rs/compare/4.3.0...4.4.2) --- updated-dependencies: - dependency-name: which 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>
* Upgrade `bumpalo` and stop holding it back for dependabot (#30303)Martin Robinson2023-09-062-6/+2
| | | This fixes a dependabot security alert.
* constellation: crash to a new “sad tab” error page (#30290)Delan Azabani2023-09-0613-46/+102
| | | | | | | | | | | | | | | | | | | | | * constellation: crash to a new “sad tab” page * check in resources/crash.html * use a separate enum variant instead of keying on reason * fmt + tidy * rename Resource::Crash to Resource::CrashHTML * clean up crash page and add details (reason + backtrace) * avoid repeating crash errors in script::script_thread warn log * make new LoadData init more idiomatic * clarify comments and new fields * fix doc comment style
* Replace `immeta` dependency with `imsz` (#30294)Martin Robinson2023-09-064-24/+18
| | | | `immeta` is no longer maintained and `imsz` seems to have support for more image formats as well as having no dependencies itself.
* Use arboard in servoshell instead of rust-clipboard (#30274)Martin Robinson2023-09-064-63/+18
| | | | | | rust-clipboard is unmaintained, which means that it pulls in very old dependencies (including a version xcb with 3 critical security vulnerabilities). In addition, we already depend on arboard. This removes four crates from our dependency graph.
* build(deps): bump shlex from 1.0.0 to 1.2.0 (#30296)dependabot[bot]2023-09-051-2/+2
| | | | | | | | | | | | | | | Bumps [shlex](https://github.com/comex/rust-shlex) from 1.0.0 to 1.2.0. - [Changelog](https://github.com/comex/rust-shlex/blob/master/CHANGELOG.md) - [Commits](https://github.com/comex/rust-shlex/commits) --- updated-dependencies: - dependency-name: shlex 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>
* build(deps): bump tempfile from 3.6.0 to 3.8.0 (#30298)dependabot[bot]2023-09-051-25/+9
| | | | | | | | | | | | | | | Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.6.0 to 3.8.0. - [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md) - [Commits](https://github.com/Stebalien/tempfile/compare/v3.6.0...v3.8.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>