Smitty
036bca69ae
Fix crash on large console log ( #31267 )
2024-02-06 09:01:47 +00:00
dependabot[bot]
3900b07928
build(deps): bump exr from 1.71.0 to 1.72.0 ( #31264 )
...
Bumps [exr](https://github.com/johannesvollmer/exrs ) from 1.71.0 to 1.72.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>
2024-02-06 02:34:26 +00:00
Martin Robinson
7f13316f24
layout: Collect both start and end baselines for fragments ( #31230 )
...
This change starts collecting the starting baseline set for fragments,
which is necessary for some layout modes (flex and tables, namely) as
well as being important for the implementation of `align-items`. In
addition, it converts baseline measurement to use `Au` everywhere.
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
2024-02-05 18:06:05 +00:00
dependabot[bot]
28bde741ed
build(deps): bump iana-time-zone from 0.1.59 to 0.1.60 ( #31266 )
...
Bumps [iana-time-zone](https://github.com/strawlab/iana-time-zone ) from 0.1.59 to 0.1.60.
- [Changelog](https://github.com/strawlab/iana-time-zone/blob/main/CHANGELOG.md )
- [Commits](https://github.com/strawlab/iana-time-zone/compare/v0.1.59...v0.1.60 )
---
updated-dependencies:
- dependency-name: iana-time-zone
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-02-05 17:33:15 +00:00
dependabot[bot]
1098b8a941
build(deps): bump winnow from 0.5.36 to 0.5.37 ( #31263 )
...
Bumps [winnow](https://github.com/winnow-rs/winnow ) from 0.5.36 to 0.5.37.
- [Changelog](https://github.com/winnow-rs/winnow/blob/main/CHANGELOG.md )
- [Commits](https://github.com/winnow-rs/winnow/compare/v0.5.36...v0.5.37 )
---
updated-dependencies:
- dependency-name: winnow
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-05 17:20:51 +00:00
dependabot[bot]
7af990f6be
build(deps): bump miniz_oxide from 0.7.1 to 0.7.2 ( #31260 )
...
Bumps [miniz_oxide](https://github.com/Frommi/miniz_oxide ) from 0.7.1 to 0.7.2.
- [Changelog](https://github.com/Frommi/miniz_oxide/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Frommi/miniz_oxide/commits )
---
updated-dependencies:
- dependency-name: miniz_oxide
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-02-05 17:13:52 +00:00
Smitty
50c930866b
Make console methods take any
instead of string
( #31241 )
...
* Make console methods use `any` for the message
Match the Console spec by allowing any value to be passed to console
methods, instead of just values that can be converted to a string.
Signed-off-by: syvb <me@iter.ca>
* Add test for console logging a Symbol
Signed-off-by: syvb <me@iter.ca>
* Implement object stringification for logs
Signed-off-by: syvb <me@iter.ca>
* Address review comments
Signed-off-by: syvb <me@iter.ca>
* Make time/timeEnd accept DOMString to match spec
* Update WPT results for layout 2013
---------
Signed-off-by: syvb <me@iter.ca>
2024-02-05 14:30:53 +00:00
Josh Matthews
4758ffabca
Initial overview of webxr initialization ( #31255 )
2024-02-05 08:54:55 +00:00
Smitty
b2ae3928ab
canvas2d: Implement .reset()
( #31258 )
...
* Implement Canvas2D reset
* Update WPT tests
* Apply suggestions from code review
---------
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2024-02-05 08:53:00 +00:00
Servo WPT Sync
29c206a702
Sync WPT with upstream (04-02-2024) ( #31256 )
...
* Update web-platform-tests to revision b'faa6d42ce21d126155dee771786ad7c74efbcba5'
* Update test expectation
---------
Co-authored-by: cybai <cyb.ai.815@gmail.com>
2024-02-05 06:17:23 +00:00
Smitty
e588e93b3b
Convert etc/profilicate.py to Python 3 ( #31259 )
2024-02-05 06:07:19 +00:00
Martin Robinson
d7d0451424
libservo: Handle GL video decoding setup internally ( #31209 )
...
Instead of making the client set up GL video decoding, have this done
inside libservo. The details necessary for decoding are fetched via
Surfman now. This also removes the setup for the context on Android --
which has no GStreamer support now anyway. In the future, this could be
enabled, but should likely be done using Surfman, instead of passing on
all these details manually.
2024-02-03 14:38:48 +00:00
dependabot[bot]
b2fe66f7e4
build(deps): bump tokio from 1.35.1 to 1.36.0 ( #31251 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.35.1 to 1.36.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.35.1...tokio-1.36.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-02-03 06:45:49 +00:00
Smitty
436e949296
layout: return None bounding box when no nodes found ( #31253 )
...
Signed-off-by: syvb <me@iter.ca>
2024-02-02 23:24:20 +00:00
dependabot[bot]
95931de499
build(deps): bump app_units from 0.7.4 to 0.7.5 ( #31252 )
...
Bumps [app_units](https://github.com/servo/app_units ) from 0.7.4 to 0.7.5.
- [Release notes](https://github.com/servo/app_units/releases )
- [Commits](https://github.com/servo/app_units/compare/v0.7.4...v0.7.5 )
---
updated-dependencies:
- dependency-name: app_units
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-02-02 17:41:17 +00:00
dependabot[bot]
0027173c50
build(deps): bump webpki-roots from 0.25.3 to 0.25.4 ( #31250 )
...
Bumps [webpki-roots](https://github.com/rustls/webpki-roots ) from 0.25.3 to 0.25.4.
- [Release notes](https://github.com/rustls/webpki-roots/releases )
- [Commits](https://github.com/rustls/webpki-roots/compare/v/0.25.3...v/0.25.4 )
---
updated-dependencies:
- dependency-name: webpki-roots
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-02 16:53:48 +00:00
dependabot[bot]
a3b62f2859
build(deps): bump rustix from 0.38.30 to 0.38.31 ( #31249 )
...
Bumps [rustix](https://github.com/bytecodealliance/rustix ) from 0.38.30 to 0.38.31.
- [Release notes](https://github.com/bytecodealliance/rustix/releases )
- [Commits](https://github.com/bytecodealliance/rustix/compare/v0.38.30...v0.38.31 )
---
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-02-02 16:52:03 +00:00
dependabot[bot]
2ffe218b01
build(deps): bump libc from 0.2.152 to 0.2.153 ( #31248 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.152 to 0.2.153.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.152...0.2.153 )
---
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-02-02 16:43:35 +00:00
Smitty
f27227b1db
Make Android build optional on Nix ( #31231 )
...
* Make Android build optional on Nix
I want to build Servo without also installing the entire Android SDK.
This makes it so Android support is only built if `buildAndroid` is
true.
Signed-off-by: syvb <me@iter.ca>
* Add Android support to nix-shell if SERVO_ANDROID_BUILD set
---------
Signed-off-by: syvb <me@iter.ca>
2024-02-02 02:13:24 +00:00
dependabot[bot]
92af41cfeb
build(deps): bump indexmap from 2.2.1 to 2.2.2 ( #31245 )
...
Bumps [indexmap](https://github.com/indexmap-rs/indexmap ) from 2.2.1 to 2.2.2.
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.2.1...2.2.2 )
---
updated-dependencies:
- dependency-name: indexmap
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-02-01 17:08:51 +00:00
dependabot[bot]
4598446f30
build(deps): bump winnow from 0.5.35 to 0.5.36 ( #31243 )
...
Bumps [winnow](https://github.com/winnow-rs/winnow ) from 0.5.35 to 0.5.36.
- [Changelog](https://github.com/winnow-rs/winnow/blob/main/CHANGELOG.md )
- [Commits](https://github.com/winnow-rs/winnow/compare/v0.5.35...v0.5.36 )
---
updated-dependencies:
- dependency-name: winnow
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-01 17:05:54 +00:00
dependabot[bot]
71bbe28d23
build(deps): bump app_units from 0.7.3 to 0.7.4 ( #31244 )
...
Bumps [app_units](https://github.com/servo/app_units ) from 0.7.3 to 0.7.4.
- [Release notes](https://github.com/servo/app_units/releases )
- [Commits](https://github.com/servo/app_units/compare/v0.7.3...v0.7.4 )
---
updated-dependencies:
- dependency-name: app_units
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-02-01 17:05:31 +00:00
dependabot[bot]
e15262c5a0
build(deps): bump webxr from f1cc785
to 614420b
( #31238 )
...
Bumps [webxr](https://github.com/servo/webxr ) from `f1cc785` to `614420b`.
- [Commits](f1cc785216...614420b983
)
---
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-01-31 19:20:19 +00:00
dependabot[bot]
8f529654e1
build(deps): bump synstructure from 0.13.0 to 0.13.1 ( #31239 )
...
Bumps [synstructure](https://github.com/mystor/synstructure ) from 0.13.0 to 0.13.1.
- [Commits](https://github.com/mystor/synstructure/commits )
---
updated-dependencies:
- dependency-name: synstructure
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-01-31 16:47:45 +00:00
dependabot[bot]
38ae6c95f5
build(deps): bump darling from 0.20.4 to 0.20.5 ( #31237 )
...
Bumps [darling](https://github.com/TedDriggs/darling ) from 0.20.4 to 0.20.5.
- [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 )
---
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-01-31 16:43:58 +00:00
dependabot[bot]
13d97a7903
build(deps): bump darling from 0.20.3 to 0.20.4 ( #31228 )
...
Bumps [darling](https://github.com/TedDriggs/darling ) from 0.20.3 to 0.20.4.
- [Release notes](https://github.com/TedDriggs/darling/releases )
- [Changelog](https://github.com/TedDriggs/darling/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TedDriggs/darling/compare/v0.20.3...v0.20.4 )
---
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-01-31 12:04:42 +00:00
dependabot[bot]
0a19352b6b
build(deps): bump itertools from 0.12.0 to 0.12.1 ( #31229 )
...
Bumps [itertools](https://github.com/rust-itertools/itertools ) from 0.12.0 to 0.12.1.
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-itertools/itertools/compare/v0.12.0...v0.12.1 )
---
updated-dependencies:
- dependency-name: itertools
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-01-31 12:04:27 +00:00
Mukilan Thiyagarajan
04a9b8ca39
Fix bugs in mach test-tidy
( #31232 )
...
* mach: test-tidy should return 1 for failure
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
* fix lint issues
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
* mach: tidy should allow spec links with trailing text
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
---------
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2024-01-31 05:50:36 +00:00
dependabot[bot]
b2f73723f8
build(deps): bump profiling from 1.0.13 to 1.0.14 ( #31227 )
...
Bumps [profiling](https://github.com/aclysma/profiling ) from 1.0.13 to 1.0.14.
- [Changelog](https://github.com/aclysma/profiling/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aclysma/profiling/compare/v1.0.13...v1.0.14 )
---
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>
2024-01-30 17:28:26 +00:00
Oriol Brufau
a4cc0c563e
Allow using cached client_rect() for paint-only reflow ( #31219 )
...
PR #31210 avoided the cache for all kinds of reflow, but it's actually
fine to use it for ReflowTriggerCondition::PaintPostponed.
2024-01-30 12:38:20 +00:00
Martin Robinson
a07ad85eaa
dependencies: Upgrade surfman to 0.9 ( #31224 )
...
This upgrades surfman and webxr. The main benefit to this upgrade is
that surfman (and thus libservo) no longer depends on winit. servoshell
still does, but this should make upgrades a lot easier.
2024-01-30 12:22:23 +00:00
Martin Robinson
e726893165
mach: Error out sooner with Python < 3.10 ( #31225 )
...
We upgraded our Python dependency to 3.10, but neglected to update mach.
This change makes sure we error out sooner, rather than later.
2024-01-30 12:02:23 +00:00
Oriol Brufau
f7ead9bcb6
Lint layout_2013 with clippy ( #31221 )
...
* Lint layout_2013 with clippy
CARGO_BUILD_RUSTC=rustc cargo clippy --fix -p layout_2013 --broken-code
* ./mach fmt
* Cosmetic adjustments
2024-01-30 11:46:35 +00:00
Ngo Iok Ui (Wu Yu Wei)
16cabcf736
Document media configs from prefs ( #31223 )
2024-01-30 08:52:14 +00:00
Taym Haddadi
967925c119
webidlg: Handle Float64Array
as a TypedArray
rather than a raw JSObject
( #31189 )
...
* WebIDL use FLoat64Array
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>
* Use to_vec to convert array to vec
* avoid allocating a new vec
---------
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>
2024-01-30 08:45:29 +00:00
Martin Robinson
7f0d0830e7
deps: Stop vendoring WebRender ( #31212 )
...
The new strategy for dependencies with upstream in Gecko is to manage
them in separate repositories, which will more easily allow rebasing our
changes on top of newer Gecko work.
2024-01-30 08:10:13 +00:00
Taym Haddadi
9b6c473695
Remove deprecated remove function ( #31213 )
2024-01-30 03:49:11 +00:00
dependabot[bot]
2fbb120e94
build(deps): bump indexmap from 2.2.0 to 2.2.1 ( #31218 )
...
Bumps [indexmap](https://github.com/indexmap-rs/indexmap ) from 2.2.0 to 2.2.1.
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.2.0...2.2.1 )
---
updated-dependencies:
- dependency-name: indexmap
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-01-29 17:24:57 +00:00
dependabot[bot]
2cefd6919a
build(deps): bump serde_json from 1.0.112 to 1.0.113 ( #31214 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.112 to 1.0.113.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.112...v1.0.113 )
---
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-01-29 17:06:59 +00:00
Oriol Brufau
38d9245726
Don't use cached client_rect() when a reflow is needed ( #31210 )
...
Fixes #31195 :
```js
element.style.width = "5px";
element.clientWidth; // 5
element.style.width = "15px";
element.clientWidth; // Was 5, now 15
```
2024-01-29 14:59:36 +00:00
Taym Haddadi
742d3ed97f
Make HeapFloat32Array generic ( #31167 )
...
* Make HeapFloat32Array generic
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>
* Define all the methods defaults on the HeapTypedArray trait
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>
* Use generic type instead of trait
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>
---------
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>
2024-01-29 11:57:50 +00:00
Oriol Brufau
7d1b19c865
Add support for cellpadding attribute ( #31201 )
2024-01-29 11:51:30 +00:00
atbrakhi
091653417a
use app unit in replaced elements ( #31178 )
...
* use app unit in replaced elements
* more app unit usage
* Avoid unnecessary into()
* Run ./mach fmt
* use scaleby
* update
---------
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
2024-01-29 09:21:52 +00:00
arrynfr
271176094d
Update build script to support asahi linux ( #31207 )
2024-01-28 21:26:38 +00:00
Alex Touchet
b277795abe
Update some more dependencies ( #31206 )
2024-01-28 18:56:31 +00:00
Servo WPT Sync
20136cad7f
Sync WPT with upstream (28-01-2024) ( #31204 )
...
* Update web-platform-tests to revision b'bdd3b533e8c995e416630422ad64f4c70086b42f'
* Update expectations
---------
Co-authored-by: sagudev <16504129+sagudev@users.noreply.github.com>
2024-01-28 18:33:58 +00:00
Alex Touchet
f04135b117
Update non-breaking dependencies ( #31203 )
2024-01-28 09:44:28 +00:00
Martin Robinson
bc211f8ff3
gfx: Rename WebrenderSurfman
to RenderingContext
and move to gfx
( #31184 )
...
This is a small cleanup that moves and renames this class. The rename is
simply because we are exposing a lot about the details of Servo's
rendering in the API and it makes sense to start thinking about
abstracting that away a bit.
This also moves the struct to `gfx`, which does have an effect on
Servo's dependency graph. This adds a new dependency on gfx to
`compositing`, but `compositing` had a transitive dependency on
gfx before through `canvas`.
2024-01-27 17:58:34 +00:00
Martin Robinson
bbe505e52b
layout: Round clientTop
, etc queries to pixels properly ( #31187 )
...
* layout: Round getClientRect queries to pixels properly
Instead of just flooring all pixels in getClientRect queries, we should
round the rectangle.
* Fix scrollWidth/scrollHeight too, and tests
* Tests passing
* Test expectation for legacy layout
---------
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
2024-01-27 16:34:21 +00:00
Martin Robinson
bbba839278
Remove the libsimpleservo C API ( #31172 )
...
This is unused and unmaintained. It also added a bit of complication
to the build.
2024-01-27 09:19:25 +00:00