aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* constellation: focusing and closing webviews (#30842)Delan Azabani2024-01-2416-284/+532
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * constellation: focusing, closing, and native window visibility * rename “browser” to “webview”, “unfocus” to “blur” * remove native window visibility from constellation * rename more “browser” to “webview” * guard clauses * don’t automatically focus when no webviews are focused * comment spec steps for window.close() * use format interpolation Co-authored-by: Martin Robinson <mrobinson@igalia.com> * fix formatting * rename “Webview” to “WebView” in types and type parameters * remove unused method * fix libsimpleservo --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* build(deps): bump chrono from 0.4.31 to 0.4.32 (#31162)dependabot[bot]2024-01-231-3/+3
| | | | | | | | | | | | | | | | Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.31 to 0.4.32. - [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.31...v0.4.32) --- 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>
* Implement Event.composedPath (#31123)Taym Haddadi2024-01-236-67/+35
| | | | | | | | | | | | | | | | | | | * Implement Event.composedPath * Implement Event.composedPath Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com> * Use documentation comments for EventMethods Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com> * Update wpt test expectations Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com> --------- Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>
* layout: Convert layout internal display to inline for replaced elements (#31133)Martin Robinson2024-01-235-79/+22
| | | | | | Replaced elements should never be able to have a layout internal display, according to the specification. This change makes it so that the used value of replaced element's display is always inline, as the specification says.
* Use Uint8Array for TextEncoder (#31145)Taym Haddadi2024-01-235-32/+36
| | | Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>
* layout: Count word separators as justification opportunities when trimming ↵Martin Robinson2024-01-233-19/+25
| | | | | | | | | | | | | | | | | whitespace (#31161) Before counting whitepsace-only `GlyphStore`s where counted as a single justification opportunity when trimming whitespace from the front and back of lines. This isn't correct, instead count the actual number of word seperators of the trimmed `GlyphStore`s. These two counts can be different in the case where whitespace collapse isn't happening yet (flexbox). In addition, using word seperators means the code is making less assumptions about the contents of the line and is more robust. This fixes some crashes in flexbox tests on debug builds. Co-authored-by: Rakhi Sharma <atbrakhi@igalia.com>
* build(deps): bump webxr from `21d9e38` to `3b2f303` (#31152)dependabot[bot]2024-01-231-12/+12
| | | | | | | | | | | | | Bumps [webxr](https://github.com/servo/webxr) from `21d9e38` to `3b2f303`. - [Commits](https://github.com/servo/webxr/compare/21d9e38eab0266ff2ee2a7c4e5e2a9ca3fde85c3...3b2f303c0bdb70a8ca81ae30b012b4164c32fd40) --- 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>
* build: Add support for Visual Studio 2022 and VC143 DLLs (#31148)Martin Robinson2024-01-235-137/+167
| | | | | | | | | | | | | | | | | | | | | | | * build: Add support for Visual Studio 2022 and VC143 DLLs This change adds supports fot Visual Studio 2022 and the VC143 (current) version of the Visual Studio CRT. In addition, it reworks the way that Visual Studio is found, returning all installations in a generator, separately finding it via vswhere.exe, searching paths, and via environment variables. All of these installations are searched for the DLLs with highest priority given to the highest version of MS Visual Studio installed. The hope is that this makes the process more robust and properly handles having multiple versions installed, but only one with the correct runtime DLLs. * Update based on review comments Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com> --------- Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
* Layout: use `Au` in `ContentSizes` (#31135)atbrakhi2024-01-238-50/+60
| | | | | | | | | | | | | * use app_units * resolve errors in table layout * fmt * add back current_line.min_content * update expectation * review fix
* build(deps): bump shlex from 1.2.0 to 1.3.0 (#31156)dependabot[bot]2024-01-231-2/+2
| | | | | | | | | | | | | | | Bumps [shlex](https://github.com/comex/rust-shlex) from 1.2.0 to 1.3.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>
* ci: fix reference to android job filename in main.yml (#31150)Mukilan Thiyagarajan2024-01-232-2/+8
| | | | | | | | | | | | | | | * ci: fix reference to android job filename in main.yml * mach: fix build command to handle android The refactoring done in PR #31092 introduced the call to get_binary_path in the unconditional path, but did not pass the android flag to the call. Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> --------- Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
* build(deps): bump regex from 1.10.2 to 1.10.3 (#31158)dependabot[bot]2024-01-221-2/+2
| | | | | | | | | | | | | | | | Bumps [regex](https://github.com/rust-lang/regex) from 1.10.2 to 1.10.3. - [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.2...1.10.3) --- 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>
* build(deps): bump smallvec from 1.13.0 to 1.13.1 (#31159)dependabot[bot]2024-01-221-2/+2
| | | | | | | | | | | | | | | Bumps [smallvec](https://github.com/servo/rust-smallvec) from 1.13.0 to 1.13.1. - [Release notes](https://github.com/servo/rust-smallvec/releases) - [Commits](https://github.com/servo/rust-smallvec/compare/v1.13.0...v1.13.1) --- updated-dependencies: - dependency-name: smallvec 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>
* build(deps): bump env_logger from 0.10.1 to 0.10.2 (#31157)dependabot[bot]2024-01-221-5/+5
| | | | | | | | | | | | | | | | Bumps [env_logger](https://github.com/rust-cli/env_logger) from 0.10.1 to 0.10.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/v0.10.1...v0.10.2) --- updated-dependencies: - dependency-name: env_logger 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>
* build(deps): bump proc-macro2 from 1.0.76 to 1.0.78 (#31155)dependabot[bot]2024-01-221-2/+2
| | | | | | | | | | | | | | | Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.76 to 1.0.78. - [Release notes](https://github.com/dtolnay/proc-macro2/releases) - [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.76...1.0.78) --- 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>
* build(deps): bump regex-automata from 0.4.3 to 0.4.4 (#31154)dependabot[bot]2024-01-221-2/+2
| | | | | | | | | | | | | | | | Bumps [regex-automata](https://github.com/rust-lang/regex) from 0.4.3 to 0.4.4. - [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/commits) --- updated-dependencies: - dependency-name: regex-automata 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 weezl from 0.1.7 to 0.1.8 (#31153)dependabot[bot]2024-01-221-2/+2
| | | | | | | | | | | | | | | Bumps [weezl](https://github.com/image-rs/lzw) from 0.1.7 to 0.1.8. - [Changelog](https://github.com/image-rs/lzw/blob/master/Changes.md) - [Commits](https://github.com/image-rs/lzw/compare/v0.1.7...v0.1.8) --- updated-dependencies: - dependency-name: weezl 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 is-terminal from 0.4.9 to 0.4.10 (#31151)dependabot[bot]2024-01-221-3/+3
| | | | | | | | | | | | | | Bumps [is-terminal](https://github.com/sunfishcode/is-terminal) from 0.4.9 to 0.4.10. - [Commits](https://github.com/sunfishcode/is-terminal/compare/v0.4.9...v0.4.10) --- 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>
* rustdoc: Fix many rustdoc errors (#31147)Martin Robinson2024-01-22185-942/+939
| | | | This fixes many rustdoc errors that occur due to raw URLs in rustdoc comments as well as unescaped Rust code that should be in backticks.
* Preliminary Android build support (#31086)Mukilan Thiyagarajan2024-01-2258-1364/+905
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Android build * Fixes * More fixes - Still failing in the linking step * More work on getting linking working Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * android: use mozjs with ndk r25c. loads servo.org more android build fixes. * fix ./mach run for android and make it follow logs Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * add experimental logic for compositor pause/resume Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * pass DPI from android to simpleservo Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * ci: add android workflow Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * switch to ANDROID_SDK_ROOT and ANDROID_NDK_ROOT vars Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * upgrade gradle to 4.10.1 Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * upgrade to gradle 5.1.1 Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * upgrade to gradle 8 and agp 8 Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * make compositing work again with external present Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * android: improve mach support for non-NixOS and CI Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * fix sampler compilation bug introduced in #30490 Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * ci: add android build to main workflow Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * gradle: set MinSdk = targetSdk = 30 NDK requires we compile against the minSdk API level which is 30 in our case. Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * add instructions for android in README.md Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * apk: move servosurface to servoview Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * apk: uncomment the mediasession callbacks on MainActivity Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * apk: fix crash on MainAtivity.onDestroy Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * apk: drop VR, arm 5 and unused code This commit drops: * support for google, oculusvr * support for arm5 architecture and also removes * fakeld scripts * unused java code Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * cleanup shell.nix Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * android: add FIXMEs for gstreamer code Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * apk: remove commented code and debug logs Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * cleanup ServoView.java Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * mach: comment call to download gstreamer deps for android Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * disable bluetooth for jniapi as blurdroid is broken Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * fixup! README.md * fixup! remove change in Cargo.toml * fixup! move shell variables together * fixup! cleanup jniapi/Cargo.toml comments * delete commented gstreamer related android code Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * remove unused config variable in servbuild Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * android: more cleanup Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * force no_static_freetype only for android * use actions to manage sdk, ndk and java Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * rename embedder event names to be more clear. Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * link to startup crash issue Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * fix lint issues Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * upgrade env_logger to 0.10 with duplicate exception libservo and android_logger can use env_logger 0.10 but quickcheck is still stuck on 0.8 and has not seen any activity in the last 2 years. This commit adds a duplicate exception until the quickcheck dependency can be upgraded (or replaced) Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * android: fix comments Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * disable jemalloc on android Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * fixup! replace linux with android in cfg --------- Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* Layout: Clean up `Au` conversion helper functions in the flexbox (#31137)atbrakhi2024-01-222-32/+8
| | | | | * cleanup helper functions in flexbox * fmt
* Fix trivial typo in variable name (#31143)Olivier Tilloy2024-01-211-2/+2
|
* Update web-platform-tests to revision ↵Servo WPT Sync2024-01-21476-3706/+20431
| | | | b'a10b8c0164b4c4521040898ee9394738aca488b0' (#31144)
* build(deps): bump smallvec from 1.12.0 to 1.13.0 (#31139)dependabot[bot]2024-01-192-3/+3
| | | | | | | | | | | | | | | Bumps [smallvec](https://github.com/servo/rust-smallvec) from 1.12.0 to 1.13.0. - [Release notes](https://github.com/servo/rust-smallvec/releases) - [Commits](https://github.com/servo/rust-smallvec/compare/v1.12.0...v1.13.0) --- updated-dependencies: - dependency-name: smallvec 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 uuid from 1.6.1 to 1.7.0 (#31138)dependabot[bot]2024-01-192-3/+3
| | | | | | | | | | | | | | | Bumps [uuid](https://github.com/uuid-rs/uuid) from 1.6.1 to 1.7.0. - [Release notes](https://github.com/uuid-rs/uuid/releases) - [Commits](https://github.com/uuid-rs/uuid/compare/1.6.1...1.7.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>
* build(deps): bump rayon from 1.8.0 to 1.8.1 (#31140)dependabot[bot]2024-01-191-2/+2
| | | | | | | | | | | | | | | Bumps [rayon](https://github.com/rayon-rs/rayon) from 1.8.0 to 1.8.1. - [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md) - [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.8.0...rayon-core-v1.8.1) --- updated-dependencies: - dependency-name: rayon 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>
* layout: Convert all inline iteration to a new `foreach` function (#31117)Martin Robinson2024-01-191-230/+243
| | | | | | | | | | | | | | | | Instead of a tricky stack of enum iterators expose a `foreach()` function on InlineFormattingContext, which takes a `FnMut`. This prevents callers wanting to iterate from keeping a stack of iterators and will potentially allow a future version of this function to avoid borrowing the ArcRefCell<...> of inline boxes for every iteration (presumably using something like OwnedRef). Convert `inline_content_sizes` to use this new `foreach()` function and move the `Computation` out of the function body to `ContentSizesComputation`. This reduces the stack depth of inline size computation, because `foreach()` is iterative and not recursive. This is a preliminary change to removing the second round of text shaping during layout, because shaping will use this new iterator.
* layout: Add *very* basic support for table layout (#31121)Martin Robinson2024-01-19115-315/+842
| | | | | | | | | | | | | | | | | | | | | * layout: Add *very* basic support for table layout This is the first step to proper table layout. It implements a naive layout algorithm, notably only taking into account the preferred widths of the first table row. Still, it causes some float tests to start passing, so turn on the `layout.tables.enabled` preference for those directories. Co-authored-by: Oriol Brufau <obrufau@igalia.com> * Address review comments * Fix a crash with rowspan=0 * Turn on pref and update results for `/css/css-tables` and `/css/CSS2/tables` --------- Co-authored-by: Oriol Brufau <obrufau@igalia.com>
* Use App units in flow layout (#30894)atbrakhi2024-01-199-225/+313
| | | | | | | | | | | | | | | * use app_unit in flow layout * fmt * Avoid crash * Drop assert that doesn't hold anymore * update expectation --------- Co-authored-by: Oriol Brufau <obrufau@igalia.com>
* wpt: Unskip the `css-tables suite (#31131)Martin Robinson2024-01-19316-0/+3507
| | | This will be useful for tracking improvements to table support.
* Use FLoat32Array in GamepadPose (#31106)Taym Haddadi2024-01-194-84/+38
| | | | | | | | | | | | | * Use FLoat32Array in GamepadPose Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com> * Remove unused create_typed_array Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com> --------- Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>
* mach: remove the generic 'test' command since it only supports two types of ↵Olivier Tilloy2024-01-191-82/+0
| | | | tests (#31129) (#31132)
* mach: Don't print anything when deps are up-to-date (#31128)Martin Robinson2024-01-181-2/+0
| | | | | I added this print statement, but after using `mach` for a while with it, I think it is far too chatty. This change just removes the line. Information is only printed when dependencies are installed.
* Remove the `.hgignore` file (#31127)Martin Robinson2024-01-181-30/+0
| | | Servo is no longer vendored into Gecko, so this is no longer necessary.
* build(deps): bump unicode-bidi from 0.3.14 to 0.3.15 (#31126)dependabot[bot]2024-01-182-3/+3
| | | | | | | | | | | | | | | Bumps [unicode-bidi](https://github.com/servo/unicode-bidi) from 0.3.14 to 0.3.15. - [Release notes](https://github.com/servo/unicode-bidi/releases) - [Commits](https://github.com/servo/unicode-bidi/commits) --- updated-dependencies: - dependency-name: unicode-bidi 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>
* build(deps): bump h2 from 0.3.23 to 0.3.24 (#31125)dependabot[bot]2024-01-181-2/+2
| | | | | | | | | | | | | | | | Bumps [h2](https://github.com/hyperium/h2) from 0.3.23 to 0.3.24. - [Release notes](https://github.com/hyperium/h2/releases) - [Changelog](https://github.com/hyperium/h2/blob/v0.3.24/CHANGELOG.md) - [Commits](https://github.com/hyperium/h2/compare/v0.3.23...v0.3.24) --- updated-dependencies: - dependency-name: h2 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 rayon-core from 1.12.0 to 1.12.1 (#31122)dependabot[bot]2024-01-181-2/+2
| | | | | | | | | | | | | | | Bumps [rayon-core](https://github.com/rayon-rs/rayon) from 1.12.0 to 1.12.1. - [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md) - [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.12.0...rayon-core-v1.12.1) --- updated-dependencies: - dependency-name: rayon-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>
* wpt: Create a base class for Servo process executors (#31115)Martin Robinson2024-01-1849-233/+95
| | | | | | | | | | | | This change creates a base class for the Servo process executors, to handle shared functionality. The only thing that hasn't moved there yet is the actual process execution, which can happen in a followup change. The main motivation behind this change is consistently handling `on_evironment_change` which is used to handle changes to the `prefs` value stored in `__dir__.ini`. Inherited `prefs` (thos in `__dir__.ini`) aren't passed when creating tests for reference HTML. This change takes a similar appraoch to Gecko, which just listens to `on_environment_change` to note when these prefs change.
* build: Use `--keep-going` in `./mach doc` (#31119)Martin Robinson2024-01-181-0/+5
| | | | | | | | | | The documentation build for `gstreamer-gl-x11` depends on nightly Rust for some reason, which breaks our doc build. Use `--keep-going` to prevent breakage in dependencies from breaking our doc build. This unfortunately hides issues in our own documentation build. NB: It isn't possible to exclude dependencies with `--exclude` unless you are using `--workspace`. We would probably like to do that, but we have crates with the same name, preventing using `--workspace`.
* Revert "Replace time with std::time in components/net (#31079)" (#31120)Martin Robinson2024-01-1813-161/+123
| | | This reverts commit 580062228bb083ccdc2144a43491bc4f916c57ad.
* ci: Fix WPT try layout configuration (#31118)Martin Robinson2024-01-181-3/+3
| | | | The member `layout` was renamed to `wpt_layout`, but not in all places. This fixes that issue.
* build(deps): bump fdeflate from 0.3.3 to 0.3.4 (#31113)dependabot[bot]2024-01-171-2/+2
| | | | | | | | | | | | | | | Bumps [fdeflate](https://github.com/image-rs/fdeflate) from 0.3.3 to 0.3.4. - [Changelog](https://github.com/image-rs/fdeflate/blob/main/CHANGES.md) - [Commits](https://github.com/image-rs/fdeflate/compare/v0.3.3...v0.3.4) --- updated-dependencies: - dependency-name: fdeflate 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 vergen from 8.3.0 to 8.3.1 (#31114)dependabot[bot]2024-01-172-3/+3
| | | | | | | | | | | | | | | Bumps [vergen](https://github.com/rustyhorde/vergen) from 8.3.0 to 8.3.1. - [Release notes](https://github.com/rustyhorde/vergen/releases) - [Commits](https://github.com/rustyhorde/vergen/compare/8.3.0...8.3.1) --- 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>
* build(deps): bump bitflags from 2.4.1 to 2.4.2 (#31112)dependabot[bot]2024-01-171-28/+28
| | | | | | | | | | | | | | | | Bumps [bitflags](https://github.com/bitflags/bitflags) from 2.4.1 to 2.4.2. - [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.4.1...2.4.2) --- updated-dependencies: - dependency-name: bitflags 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>
* build(deps): bump pkg-config from 0.3.28 to 0.3.29 (#31111)dependabot[bot]2024-01-171-2/+2
| | | | | | | | | | | | | | | Bumps [pkg-config](https://github.com/rust-lang/pkg-config-rs) from 0.3.28 to 0.3.29. - [Changelog](https://github.com/rust-lang/pkg-config-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/pkg-config-rs/compare/0.3.28...0.3.29) --- updated-dependencies: - dependency-name: pkg-config 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 linux-raw-sys from 0.4.12 to 0.4.13 (#31110)dependabot[bot]2024-01-171-2/+2
| | | | | | | | | | | | | | Bumps [linux-raw-sys](https://github.com/sunfishcode/linux-raw-sys) from 0.4.12 to 0.4.13. - [Commits](https://github.com/sunfishcode/linux-raw-sys/compare/v0.4.12...v0.4.13) --- updated-dependencies: - dependency-name: linux-raw-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>
* Replace time with std::time in components/net (#31079)Taym Haddadi2024-01-1713-123/+161
| | | | | | | | | | | | | * Replace time with std::time in components/net Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com> * Fix cookie::test_sort_order test Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com> --------- Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>
* build: Clean up post-build copy of Windows DLLs (#31092)Martin Robinson2024-01-173-183/+189
| | | | | | | | | | | | | | * build: Clean up post-build copy of Windows DLLs - No longer use vcvarsall.bat at all. Instead find the Windows SDK directory by looking in the registry. - Split logic for copying Windows dependencies into its own function and do some minor clean up, such as collecting all MSVC functionality into visual_studio.py. - Remove support for Visual Studio 2015 and Visual Studio 2017. This is a preparatory change in order to support Visual Studio 2022. * More cleanup of the code
* script: Use FLoat32Array in XRRay (#31087)Taym Haddadi2024-01-172-19/+20
| | | | | | | | | | | | * use FLoat32Array in XRRay Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com> * Apply suggestions from code review --------- Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com> Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* build: Only set PATH for GStreamer (#31078)Martin Robinson2024-01-173-53/+24
| | | | The documentation claims that this is the only environment variable that needs to be set before build.