Commit graph

48710 commits

Author SHA1 Message Date
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
dependabot[bot]
256c55eb81
build(deps): bump the gstreamer-related group with 22 updates (#32565)
Bumps the gstreamer-related group with 22 updates:

| Package | From | To |
| --- | --- | --- |
| gstreamer | `0.22.5` | `0.22.6` |
| gstreamer-base | `0.22.0` | `0.22.6` |
| gstreamer-gl | `0.22.0` | `0.22.6` |
| gstreamer-gl-sys | `0.22.5` | `0.22.6` |
| gstreamer-sys | `0.22.5` | `0.22.6` |
| gstreamer-video | `0.22.5` | `0.22.6` |
| gstreamer-app | `0.22.0` | `0.22.6` |
| gstreamer-app-sys | `0.22.5` | `0.22.6` |
| gstreamer-audio | `0.22.5` | `0.22.6` |
| gstreamer-audio-sys | `0.22.5` | `0.22.6` |
| gstreamer-base-sys | `0.22.5` | `0.22.6` |
| gstreamer-gl-egl | `0.22.0` | `0.22.6` |
| gstreamer-gl-egl-sys | `0.22.5` | `0.22.6` |
| gstreamer-gl-x11 | `0.22.0` | `0.22.6` |
| gstreamer-gl-x11-sys | `0.22.5` | `0.22.6` |
| gstreamer-player | `0.22.0` | `0.22.6` |
| gstreamer-player-sys | `0.22.5` | `0.22.6` |
| gstreamer-sdp | `0.22.0` | `0.22.6` |
| gstreamer-sdp-sys | `0.22.5` | `0.22.6` |
| gstreamer-video-sys | `0.22.5` | `0.22.6` |
| gstreamer-webrtc | `0.22.5` | `0.22.6` |
| gstreamer-webrtc-sys | `0.22.5` | `0.22.6` |


Updates `gstreamer` from 0.22.5 to 0.22.6

Updates `gstreamer-base` from 0.22.0 to 0.22.6

Updates `gstreamer-gl` from 0.22.0 to 0.22.6

Updates `gstreamer-gl-sys` from 0.22.5 to 0.22.6

Updates `gstreamer-sys` from 0.22.5 to 0.22.6

Updates `gstreamer-video` from 0.22.5 to 0.22.6

Updates `gstreamer-app` from 0.22.0 to 0.22.6

Updates `gstreamer-app-sys` from 0.22.5 to 0.22.6

Updates `gstreamer-audio` from 0.22.5 to 0.22.6

Updates `gstreamer-audio-sys` from 0.22.5 to 0.22.6

Updates `gstreamer-base-sys` from 0.22.5 to 0.22.6

Updates `gstreamer-gl-egl` from 0.22.0 to 0.22.6

Updates `gstreamer-gl-egl-sys` from 0.22.5 to 0.22.6

Updates `gstreamer-gl-x11` from 0.22.0 to 0.22.6

Updates `gstreamer-gl-x11-sys` from 0.22.5 to 0.22.6

Updates `gstreamer-player` from 0.22.0 to 0.22.6

Updates `gstreamer-player-sys` from 0.22.5 to 0.22.6

Updates `gstreamer-sdp` from 0.22.0 to 0.22.6

Updates `gstreamer-sdp-sys` from 0.22.5 to 0.22.6

Updates `gstreamer-video-sys` from 0.22.5 to 0.22.6

Updates `gstreamer-webrtc` from 0.22.5 to 0.22.6

Updates `gstreamer-webrtc-sys` from 0.22.5 to 0.22.6

---
updated-dependencies:
- dependency-name: gstreamer
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: gstreamer-related
- dependency-name: gstreamer-base
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: gstreamer-related
- dependency-name: gstreamer-gl
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: gstreamer-related
- dependency-name: gstreamer-gl-sys
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: gstreamer-related
- dependency-name: gstreamer-sys
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: gstreamer-related
- dependency-name: gstreamer-video
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: gstreamer-related
- dependency-name: gstreamer-app
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: gstreamer-related
- dependency-name: gstreamer-app-sys
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: gstreamer-related
- dependency-name: gstreamer-audio
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: gstreamer-related
- dependency-name: gstreamer-audio-sys
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: gstreamer-related
- dependency-name: gstreamer-base-sys
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: gstreamer-related
- dependency-name: gstreamer-gl-egl
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: gstreamer-related
- dependency-name: gstreamer-gl-egl-sys
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: gstreamer-related
- dependency-name: gstreamer-gl-x11
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: gstreamer-related
- dependency-name: gstreamer-gl-x11-sys
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: gstreamer-related
- dependency-name: gstreamer-player
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: gstreamer-related
- dependency-name: gstreamer-player-sys
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: gstreamer-related
- dependency-name: gstreamer-sdp
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: gstreamer-related
- dependency-name: gstreamer-sdp-sys
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: gstreamer-related
- dependency-name: gstreamer-video-sys
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: gstreamer-related
- dependency-name: gstreamer-webrtc
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: gstreamer-related
- dependency-name: gstreamer-webrtc-sys
  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-19 21:23:46 +00:00
Martin Robinson
cd2ab36759
Rename gfx to fonts (#32556)
This crate only takes care of fonts now as graphics related things are
split into other crates. In addition, this exposes data structures at
the top of the crate, hiding the implementation details and making it
simpler to import them.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2024-06-19 20:26:19 +00:00
Martin Robinson
9f8118abc7
servoshell: Clean up keyboard event conversion a little (#32564)
- Use a trait to make all conversions standard
- Alphabetize all enums so they are in a consistent order
- Remove some comments about unhandled which no longer apply after the
  winit upgrade.
- Use the winit `Location` property to get the `keyboard_types`
  Location instead of relying on the physical key.
2024-06-19 19:38:56 +00:00
Martin Robinson
6a48c72a62
dependabot: Combine more GStreamer / GLib-related crates (#32563)
GLib, GIO, and GObject all release together, so these should be grouped
to prevent having so many dependabot PRs.
2024-06-19 19:34:51 +00:00
dependabot[bot]
c4c86af496
build(deps): bump idna from 1.0.0 to 1.0.1 (#32562)
Bumps [idna](https://github.com/servo/rust-url) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/servo/rust-url/releases)
- [Commits](https://github.com/servo/rust-url/compare/v1.0.0...idna-v1.0.1)

---
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-06-19 17:07:04 +00:00
dependabot[bot]
9615abac7e
build(deps): bump bytemuck from 1.16.0 to 1.16.1 (#32560)
Bumps [bytemuck](https://github.com/Lokathor/bytemuck) from 1.16.0 to 1.16.1.
- [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md)
- [Commits](https://github.com/Lokathor/bytemuck/compare/v1.16.0...v1.16.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-06-19 17:00:52 +00:00
dependabot[bot]
7aecd6f126
build(deps): bump gio-sys from 0.19.5 to 0.19.8 (#32559)
Bumps [gio-sys](https://github.com/gtk-rs/gtk-rs-core) from 0.19.5 to 0.19.8.
- [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.5...0.19.8)

---
updated-dependencies:
- dependency-name: gio-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-06-19 17:00:07 +00:00
dependabot[bot]
137ded3e30
build(deps): bump gobject-sys from 0.19.5 to 0.19.8 (#32558)
Bumps [gobject-sys](https://github.com/gtk-rs/gtk-rs-core) from 0.19.5 to 0.19.8.
- [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.5...0.19.8)

---
updated-dependencies:
- dependency-name: gobject-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-06-19 16:48:11 +00:00
dependabot[bot]
7edf9e3d79
build(deps): bump the gstreamer-related group with 3 updates (#32557)
Bumps the gstreamer-related group with 3 updates: [glib](https://github.com/gtk-rs/gtk-rs-core), [glib-macros](https://github.com/gtk-rs/gtk-rs-core) and [glib-sys](https://github.com/gtk-rs/gtk-rs-core).


Updates `glib` from 0.19.7 to 0.19.8
- [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.7...0.19.8)

Updates `glib-macros` from 0.19.7 to 0.19.8
- [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.7...0.19.8)

Updates `glib-sys` from 0.19.5 to 0.19.8
- [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.5...0.19.8)

---
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
- dependency-name: glib-sys
  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-19 16:43:24 +00:00
Martin Robinson
e74075255b
layout: Flatten inline box storage in InlineFormattingContexts (#32539)
This accomplishes two things:

1. Makes it easier to iterate through all inline formatting context
   items.
2. Will make it possible to easily move back and forth through the tree
   of inline boxes, in order to enable reordering and splitting inline
   boxes on lines -- necessary for BiDi.

Co-authored-by: Rakhi Sharma <atbrakhi@igalia.com>
2024-06-19 08:51:10 +00:00
Mukilan Thiyagarajan
4803514196
mach: fix test-tidy to handle missing merge commit (#32551)
This restores the behaviour prior to #32540 where the case where no
merge commit being found (which happens on CI in forks because we do
a shallow clone) is handled as if no changes where found.

Fixes #32550.

Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2024-06-19 07:01:58 +00:00
Jonathan Schwender
24906e1c21
Move android port code to servoshell (#32533)
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com>
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
2024-06-19 03:34:08 +00:00
Martin Robinson
6f64a5afad
Mark some ResizeObserver tests as flaky (#32546)
ResizeObserver isn't completed.
2024-06-18 19:40:01 +00:00
dependabot[bot]
eaf9055745
build(deps): bump miniz_oxide from 0.7.3 to 0.7.4 (#32547)
Bumps [miniz_oxide](https://github.com/Frommi/miniz_oxide) from 0.7.3 to 0.7.4.
- [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-06-18 17:10:03 +00:00
Martin Robinson
946e41e59d
ci: Use a servo.org email address for the servo-wpt-sync GitHub bot (#32515)
This is the new address of the WPT sync bot.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2024-06-18 16:38:26 +00:00
Martin Robinson
70982dfa5a
layout: Allocate inline box start space on segment (#32486)
Instead of allocating the inline padding and border space on the line,
allocate it on the segment -- which where the inline box start goes.

Co-authored-by: Rakhi Sharma <atbrakhi@igalia.com>
2024-06-18 16:19:00 +00:00
Ngo Iok Ui (Wu Yu Wei)
63889b732f
fix: codegen on callback (#32537)
* Fix codegen on callback

* Add test callbacks to testbinding.rs
2024-06-18 16:00:14 +00:00
dependabot[bot]
d4db08113d
build(deps): bump android_logger from 0.13.3 to 0.14.1 (#32523)
Bumps [android_logger](https://github.com/rust-mobile/android_logger-rs) from 0.13.3 to 0.14.1.
- [Release notes](https://github.com/rust-mobile/android_logger-rs/releases)
- [Changelog](https://github.com/rust-mobile/android_logger-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-mobile/android_logger-rs/commits/0.14.1)

---
updated-dependencies:
- dependency-name: android_logger
  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-18 15:28:45 +00:00
dependabot[bot]
668b8df9da
build(deps): bump polling from 3.7.1 to 3.7.2 (#32529)
Bumps [polling](https://github.com/smol-rs/polling) from 3.7.1 to 3.7.2.
- [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.1...v3.7.2)

---
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-06-18 14:59:51 +00:00
Martin Robinson
fef1337da0
fonts: Clean up WebRender web fonts when they are no longer used (#32545)
This is the first part of cleaning up unused WebRender resources.
Currently this only cleans up web font resources, but a more
full-featured implementation in the future could also clean up unused
system fonts.

Fixes #32345.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2024-06-18 14:02:27 +00:00
webbeef
bd15a4fbd8
servoshell: Reset link status when loading a new document (#32518)
* Reset link status when loading a new document

* Reset hover link when navigating back or forward
2024-06-18 11:10:14 +00:00
Jonathan Schwender
1d2949f2b3
CI: Cache cargo-deny (#32543)
Use the `cargo-install` action to cache the cargo-deny output.
`cargo-deny` is currently unconditionally installed during bootstrap,
and takes around 2 minutes to install, so caching should give a
significant speedup

Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com>
2024-06-18 09:55:13 +00:00
Martin Robinson
4a7f3bac7c
Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
Mukilan Thiyagarajan
42b09d483f
mach: fix test-tidy to not skip Cargo.lock (#32540)
PR #32465 broke the lint because it initializes FileList with a
file name (./Cargo.lock). This causes it to always return an empty
list when the `only_changed_files` parameter is `False` since `os.walk`
requires a directory and not a file.

Fixes #32530.

Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2024-06-18 07:39:38 +00:00
Martin Robinson
57b64d8123
fonts: Respect emoji variation selector when selecting fonts (#32493)
This uses a pretty simple heuristic to select a font likely to contain
color emoji. In the future Servo should actually check if the font also
contains a color representation of the character in question. For now
the code assumes that when a font supports color glyphs of some kind and
supports the character in question at all, it supports the color
version.

This fixes support for rendering keycap emoji clusters such as 1️⃣ .

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Rakhi Sharma <atbrakhi@igalia.com>
Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2024-06-18 04:37:47 +00:00
Jonathan Schwender
79cd87a3c3
Fix android build on Fedora 40. (#32532)
* Postfix PATH with android toolchain:
  We only need to edit path for the linker specified
  in the `.cargo/config.toml` to be found. Adding the
  NDK clang to the end of PATH is sufficient for that.
  Adding the NDK clang to the front can cause problems
  however, since it causes the NDK `clang` to be
  preferred over the system clang. This can cause
  problems on some systems, where compiling
  e.g. buildscripts for HOST subsequently fails.
* Prefix target compiler and compiler flags variables
  with `TARGET_` so as not to influence compilation
  for HOST targets.
 * SET `CLANG_PATH` to avoid [bindgen #2682]

 [bindgen #2682]: https://github.com/rust-lang/rust-bindgen/issues/2682

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
2024-06-18 04:15:29 +00:00
dependabot[bot]
be290533c4
build(deps): bump derive_more from 0.99.17 to 0.99.18 (#32528)
Bumps [derive_more](https://github.com/JelteF/derive_more) from 0.99.17 to 0.99.18.
- [Release notes](https://github.com/JelteF/derive_more/releases)
- [Changelog](https://github.com/JelteF/derive_more/blob/v0.99.18/CHANGELOG.md)
- [Commits](https://github.com/JelteF/derive_more/compare/v0.99.17...v0.99.18)

---
updated-dependencies:
- dependency-name: derive_more
  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-17 16:45:51 +00:00
Gregory Terzian
3d78d60619
implement basic infra for ResizeObserver (#31108) 2024-06-17 16:44:07 +00:00
Erik Hennig
3c1c395dfc
Restore accidentally deleted suppression file and suppress intentional leak in stylo #32223 (#32527)
Co-authored-by: Jonas Zeunert <jonas@zeunert.org>
2024-06-17 16:42:01 +00:00
dependabot[bot]
6a3ccb656d
build(deps): bump httparse from 1.9.3 to 1.9.4 (#32526)
Bumps [httparse](https://github.com/seanmonstar/httparse) from 1.9.3 to 1.9.4.
- [Release notes](https://github.com/seanmonstar/httparse/releases)
- [Commits](https://github.com/seanmonstar/httparse/compare/v1.9.3...v1.9.4)

---
updated-dependencies:
- dependency-name: httparse
  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-17 16:41:14 +00:00
dependabot[bot]
c3648e3eab
build(deps): bump etagere from 0.2.12 to 0.2.13 (#32524)
Bumps [etagere](https://github.com/nical/etagere) from 0.2.12 to 0.2.13.
- [Commits](https://github.com/nical/etagere/commits)

---
updated-dependencies:
- dependency-name: etagere
  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-17 16:34:57 +00:00
dependabot[bot]
83b4dcf444
build(deps): bump gilrs-core from 0.5.11 to 0.5.12 (#32522)
Bumps [gilrs-core](https://gitlab.com/gilrs-project/gilrs) from 0.5.11 to 0.5.12.
- [Commits](https://gitlab.com/gilrs-project/gilrs/compare/gilrs-core-v0.5.11...gilrs-core-v0.5.12)

---
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-06-17 16:32:06 +00:00
dependabot[bot]
fe5faf0ded
build(deps): bump rustfix from 0.8.2 to 0.8.4 (#32521)
Bumps [rustfix](https://github.com/rust-lang/cargo) from 0.8.2 to 0.8.4.
- [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-06-17 16:31:35 +00:00
Samson
cbc9304c20
webgpu: Implement device lost (#32354)
* device lost promise should be init at creation of device object

* device lost impl

* lock for device poll

workaround for wgpu deadlocks

* expect

* Less lost reason reasoning in script
2024-06-17 12:47:25 +00:00
Jonathan Schwender
3381f2a704
Add OpenHarmony support to mach and CI (#32507)
* Add ohos to mach

Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com>

* Add OpenHarmony build to CI

* Rename ohos sdk action

I decided to rename the upstream ohos sdk action to
setup-ohos-sdk, making it clearer that is a github
action repository.

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>

* Remove commented line

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-17 11:27:23 +00:00
Erik Hennig
bea181f5d5
asan: Add a leak suppression file with known false positives (#32511)
Co-authored-by: Jonas Zeunert <jonas@zeunert.org>
2024-06-17 10:00:22 +00:00
Martin Robinson
2c0d0d57b1
fonts: Fix loading SFNT tables on Windows (#32499)
DirectWrite APIs expect the bytes of table tags to be reversed when
reading them. Servo was doing this when loading font tables, but not all
of them. This led to shaping being broken on Windows. This fixes that
issue in a more comprehensive way and adds a comment to avoid this
failing in the future.
2024-06-17 08:53:04 +00:00
Martin Robinson
e902d63732
deps: Switch from winapi to windows_sys in Servo code (#32516)
This is part of the switch from `winapi` to `windows-sys`. `windows-sys` is
maintained by Microsoft, so is more "official." More and more crates are
switching to it.
2024-06-17 08:27:50 +00:00
Samson
8b35c4094a
Add --with-asan (#31429) 2024-06-16 09:24:07 +00:00
Samson
f0191c0a75
Bump mozjs (#32510) 2024-06-16 06:01:43 +00:00
Servo WPT Sync
d439faf6fb
Update web-platform-tests to revision b'ed9e9309618bdf76de06ff85757edbc8e1d7da82' (#32512)
Signed-off-by: WPT Sync Bot <josh+wptsync@joshmatthews.net>
2024-06-16 04:41:02 +00:00
Martin Robinson
7982f0dc27
build: Fix build warnings on Windows (#32500)
Disable some code for Windows, which is causing build warnings. When it
cannot be easily disabled (mainly for the incomplete BHM and sandbox
feature), allow dead code.
2024-06-15 14:31:36 +00:00