aboutsummaryrefslogtreecommitdiffstats
path: root/ports/servoshell/Cargo.toml
Commit message (Collapse)AuthorAgeFilesLines
* Migrate to the 2024 edition (#35755)Simon Wülker2025-03-131-0/+3
| | | | | | | | | | | | | | | | | | | | | | * Migrate to 2024 edition Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> * Allow unsafe_op_in_unsafe_fn lint This lint warns by default in the 2024 edition, but is *way* too noisy for servo. We might enable it in the future, but not now. Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> * Compile using the 2024 edition Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> --------- Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Remove legacy layout (layout 2013) (#35943)Oriol Brufau2025-03-131-1/+0
| | | | | | We were already not compiling it and not running tests on it by default. So it's simpler to just completely remove it. Signed-off-by: Oriol Brufau <obrufau@igalia.com>
* build(deps): bump egui_glow in the egui-related group (#35838)dependabot[bot]2025-03-071-1/+1
| | | | | | | | | | | | | | | | | | | | Bumps the egui-related group with 1 update: [egui_glow](https://github.com/emilk/egui). Updates `egui_glow` from 0.31.0 to 0.31.1 - [Release notes](https://github.com/emilk/egui/releases) - [Changelog](https://github.com/emilk/egui/blob/master/CHANGELOG.md) - [Commits](https://github.com/emilk/egui/compare/0.31.0...0.31.1) --- updated-dependencies: - dependency-name: egui_glow dependency-type: direct:production update-type: version-update:semver-patch dependency-group: egui-related ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump android_logger from 0.14.1 to 0.15.0 (#35840)dependabot[bot]2025-03-071-1/+1
| | | | | | | | | | | | | | | | Bumps [android_logger](https://github.com/rust-mobile/android_logger-rs) from 0.14.1 to 0.15.0. - [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/compare/0.14.1...v0.15.0) --- 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>
* build(deps): bump the egui-related group with 5 updates (#35810)dependabot[bot]2025-03-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps the egui-related group with 5 updates: | Package | From | To | | --- | --- | --- | | [egui](https://github.com/emilk/egui) | `0.31.0` | `0.31.1` | | [egui-winit](https://github.com/emilk/egui) | `0.31.0` | `0.31.1` | | [ecolor](https://github.com/emilk/egui) | `0.31.0` | `0.31.1` | | [emath](https://github.com/emilk/egui) | `0.31.0` | `0.31.1` | | [epaint](https://github.com/emilk/egui) | `0.31.0` | `0.31.1` | Updates `egui` from 0.31.0 to 0.31.1 - [Release notes](https://github.com/emilk/egui/releases) - [Changelog](https://github.com/emilk/egui/blob/master/CHANGELOG.md) - [Commits](https://github.com/emilk/egui/compare/0.31.0...0.31.1) Updates `egui-winit` from 0.31.0 to 0.31.1 - [Release notes](https://github.com/emilk/egui/releases) - [Changelog](https://github.com/emilk/egui/blob/master/CHANGELOG.md) - [Commits](https://github.com/emilk/egui/compare/0.31.0...0.31.1) Updates `ecolor` from 0.31.0 to 0.31.1 - [Release notes](https://github.com/emilk/egui/releases) - [Changelog](https://github.com/emilk/egui/blob/master/CHANGELOG.md) - [Commits](https://github.com/emilk/egui/compare/0.31.0...0.31.1) Updates `emath` from 0.31.0 to 0.31.1 - [Release notes](https://github.com/emilk/egui/releases) - [Changelog](https://github.com/emilk/egui/blob/master/CHANGELOG.md) - [Commits](https://github.com/emilk/egui/compare/0.31.0...0.31.1) Updates `epaint` from 0.31.0 to 0.31.1 - [Release notes](https://github.com/emilk/egui/releases) - [Changelog](https://github.com/emilk/egui/blob/master/CHANGELOG.md) - [Commits](https://github.com/emilk/egui/compare/0.31.0...0.31.1) --- updated-dependencies: - dependency-name: egui dependency-type: direct:production update-type: version-update:semver-patch dependency-group: egui-related - dependency-name: egui-winit dependency-type: direct:production update-type: version-update:semver-patch dependency-group: egui-related - dependency-name: ecolor dependency-type: indirect update-type: version-update:semver-patch dependency-group: egui-related - dependency-name: emath dependency-type: indirect update-type: version-update:semver-patch dependency-group: egui-related - dependency-name: epaint dependency-type: indirect update-type: version-update:semver-patch dependency-group: egui-related ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Remove tinyfiledialogs dependency (#35674)chickenleaf2025-02-271-1/+0
| | | Signed-off-by: L Ashwin B <lashwinib@gmail.com>
* layout: Implement a non-recursive version of CSS `quotes` (#34770)Xiaocheng Hu2025-02-271-0/+1
| | | | | | | | | | | | | | | | | * Squash and don't explicitly use noto-cjk in tests Signed-off-by: Xiaocheng Hu <xiaochengh.work@gmail.com> * Mark quotes-034.html.ini failure Signed-off-by: Xiaocheng Hu <xiaochengh.work@gmail.com> * Address review comments Signed-off-by: Xiaocheng Hu <xiaochengh.work@gmail.com> --------- Signed-off-by: Xiaocheng Hu <xiaochengh.work@gmail.com>
* compositing: Move image output and shutdown management out of the compositor ↵Martin Robinson2025-02-201-3/+1
| | | | | | | | | | | | | | | | | | | | | | | (#35538) This is a step toward the renderer-per-WebView goal. It moves various details out of `IOCompositor`. - Image output: This is moved to servoshell as now applications can access the image contents of a `WebView` via `RenderingContext::read_to_image`. Most options for this are moved to `ServoShellPreferences` apart from `wait_for_stable_image` as this requires a specific kind of coordination in the `ScriptThread` that is also very expensive. Instead, paint is now simply delayed until a stable image is reached and `WebView::paint()` returns a boolean. Maybe this can be revisited in the future. - Shutdown: Shutdown is now managed by libservo itself. Shutdown state is shared between the compositor and `Servo` instance. In the future, this sharing might be unecessary. - `CompositeTarget` has been removed entirely. This no longer needs to be passed when creating a Servo instance. Signed-off-by: Martin Robinson <mrobinson@igalia.com> Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <yuweiwu@pm.me>
* libservo: Expose `SoftwareRenderingContext` and `WindowRenderingContext` ↵Martin Robinson2025-02-181-1/+2
| | | | | | | | | | | | | | (#35501) Expose two easy-to-use wrappers around `SurfmanRenderingContext` that make the API simpler to use: - `WindowRenderingContext`: This `RenderingContext` is a newtype around `SurfmanRenderingContext` takes a `raw-window-handle` display and window and creates a full window rendering context. - `SoftwareRenderingContext`: is wraps `SurfmanRenderingContext` and adds a swap chain in order to expose a software GL rendering context. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
* Make WebBluetooth an optional feature. (#35479)Josh Matthews2025-02-181-1/+1
| | | Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* libservo: Add a `ClipboardDelegate` and a default implementation (#35297)Martin Robinson2025-02-071-1/+0
| | | | | | | | | | | | | | | | | Add a `ClipboardDelegate` to the `WebView` API and a default implementation in libservo for this delegate that works on Mac, Windows, and Linux. Support for Android will be added in the future. This means that embedders do not need to do anything special to get clipboard support, but can choose to override it or implement it for other platforms. In addition, this adds support for handling fetches of clipboard contents and renames things to reflect that eventually other types of clipboard content will be supported. Part of this is removing the string argument from the `ClipboardEventType::Paste` enum because script will need to get other types of content from the clipboard than just a string. It now talks to the embedder to get this information directly. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
* servoshell: upgrade egui and related depenencies (#35353)Mukilan Thiyagarajan2025-02-071-4/+4
| | | | | | Also fix build errors resulting from the use of the type `egui::Rounding` which is now renamed to `egui::CornerRadius`. Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
* build(deps): bump winit from 0.30.8 to 0.30.9 (#35332)dependabot[bot]2025-02-061-1/+1
| | | | | | | | | | | | | | | | Bumps [winit](https://github.com/rust-windowing/winit) from 0.30.8 to 0.30.9. - [Release notes](https://github.com/rust-windowing/winit/releases) - [Changelog](https://github.com/rust-windowing/winit/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-windowing/winit/compare/v0.30.8...v0.30.9) --- updated-dependencies: - dependency-name: winit 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>
* servoshell: Migrate to egui-file-dialog from tinyfiledialogs (#34823)chickenleaf2025-02-041-0/+1
| | | | | | This is the first step toward completely replacing tinyfiledialogs with an egui-based solution. Signed-off-by: L Ashwin B <lashwinib@gmail.com>
* libservo: Make background hang monitor integration optional. (#35256)Josh Matthews2025-02-011-1/+1
| | | Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Finish the integration of `webxr` into the Cargo workspace (#35229)Martin Robinson2025-01-311-4/+1
| | | | | | | | | - Run `cargo fmt` on `webxr` and `webxr-api` - Fix clippy warnings in the existing `webxr` code - Integrate the new crates into the workspace - Expose `webxr` via the libservo API rather than requiring embedders to depend on it explicitly. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
* Use aws-lc-rs as rust-tls provider (#35106)Jonathan Schwender2025-01-301-1/+1
| | | Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
* build(deps): bump xcomponent-sys from 0.3.0 to 0.3.1 (#35217)dependabot[bot]2025-01-291-1/+1
| | | | | | | | | | | | | | | Bumps [xcomponent-sys](https://github.com/openharmony-rs/ohos-sys) from 0.3.0 to 0.3.1. - [Changelog](https://github.com/openharmony-rs/ohos-sys/blob/main/CHANGELOG.md) - [Commits](https://github.com/openharmony-rs/ohos-sys/commits) --- updated-dependencies: - dependency-name: xcomponent-sys 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 ohos-ime-sys from 0.1.3 to 0.1.4 (#35213)dependabot[bot]2025-01-291-1/+1
| | | | | | | | | | | | | | | Bumps [ohos-ime-sys](https://github.com/openharmony-rs/ohos-sys) from 0.1.3 to 0.1.4. - [Changelog](https://github.com/openharmony-rs/ohos-sys/blob/main/CHANGELOG.md) - [Commits](https://github.com/openharmony-rs/ohos-sys/commits) --- updated-dependencies: - dependency-name: ohos-ime-sys 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>
* ohos: Support resizing the surface (#35158)Jonathan Schwender2025-01-291-0/+1
| | | | | | A window resize requires to also resize the webview, otherwise it will stay at the original size. Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
* script: Feature-gate all crown support. (#35055)Josh Matthews2025-01-181-0/+1
| | | | | | | | | | | | | * script: Feature-gate all crown support. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * script: Use cfg(crown) instead of a cargo feature. Signed-off-by: Josh Matthews <josh@joshmatthews.net> --------- Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* api: Flatten and simplify Servo preferences (#34966)Martin Robinson2025-01-141-1/+3
| | | | | | | | | | | | | | | | | | | Flatten and simplify Servo's preferences code. In addition, have both preferences and options passed in as arguments to `Servo::new()` and make sure not to use the globally set preferences in `servoshell` (as much as possible now). Instead of a complex procedural macro to generate preferences, just expose a very simple derive macro that adds string based getters and setters. - All command-line parsing is moved to servoshell. - There is no longer the concept of a missing preference. - Preferences no longer have to be part of the resources bundle because they now have reasonable default values. - servoshell specific preferences are no longer part of the preferences exposed by the Servo API. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
* build(deps): bump vergen-git2 from 1.0.3 to 1.0.5 (#34972)dependabot[bot]2025-01-131-1/+1
| | | | | | | | | | | | | | | Bumps [vergen-git2](https://github.com/rustyhorde/vergen) from 1.0.3 to 1.0.5. - [Release notes](https://github.com/rustyhorde/vergen/releases) - [Commits](https://github.com/rustyhorde/vergen/commits) --- updated-dependencies: - dependency-name: vergen-git2 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 ohos-ime-sys from 0.1.2 to 0.1.3 (#34974)dependabot[bot]2025-01-131-1/+1
| | | | | | | | | | | | | | | Bumps [ohos-ime-sys](https://github.com/openharmony-rs/ohos-sys) from 0.1.2 to 0.1.3. - [Changelog](https://github.com/openharmony-rs/ohos-sys/blob/main/CHANGELOG.md) - [Commits](https://github.com/openharmony-rs/ohos-sys/commits) --- updated-dependencies: - dependency-name: ohos-ime-sys 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 the napi-ohos-related group with 4 updates (#34971)dependabot[bot]2025-01-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps the napi-ohos-related group with 4 updates: [napi-derive-ohos](https://github.com/ohos-rs/ohos-rs), [napi-ohos](https://github.com/ohos-rs/ohos-rs), [napi-derive-backend-ohos](https://github.com/ohos-rs/ohos-rs) and [napi-sys-ohos](https://github.com/ohos-rs/ohos-rs). Updates `napi-derive-ohos` from 1.0.3 to 1.0.4 - [Release notes](https://github.com/ohos-rs/ohos-rs/releases) - [Commits](https://github.com/ohos-rs/ohos-rs/compare/ohrs@1.0.3...ohrs@1.0.4) Updates `napi-ohos` from 1.0.3 to 1.0.4 - [Release notes](https://github.com/ohos-rs/ohos-rs/releases) - [Commits](https://github.com/ohos-rs/ohos-rs/compare/ohrs@1.0.3...ohrs@1.0.4) Updates `napi-derive-backend-ohos` from 1.0.3 to 1.0.4 - [Release notes](https://github.com/ohos-rs/ohos-rs/releases) - [Commits](https://github.com/ohos-rs/ohos-rs/compare/ohrs@1.0.3...ohrs@1.0.4) Updates `napi-sys-ohos` from 1.0.3 to 1.0.4 - [Release notes](https://github.com/ohos-rs/ohos-rs/releases) - [Commits](https://github.com/ohos-rs/ohos-rs/compare/ohrs@1.0.3...ohrs@1.0.4) --- updated-dependencies: - dependency-name: napi-derive-ohos dependency-type: direct:production update-type: version-update:semver-patch dependency-group: napi-ohos-related - dependency-name: napi-ohos dependency-type: direct:production update-type: version-update:semver-patch dependency-group: napi-ohos-related - dependency-name: napi-derive-backend-ohos dependency-type: indirect update-type: version-update:semver-patch dependency-group: napi-ohos-related - dependency-name: napi-sys-ohos dependency-type: indirect update-type: version-update:semver-patch dependency-group: napi-ohos-related ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump ohos-vsync from 0.1.2 to 0.1.3 (#34943)dependabot[bot]2025-01-101-1/+1
| | | | | | | | | | | | | | | Bumps [ohos-vsync](https://github.com/openharmony-rs/ohos-vsync) from 0.1.2 to 0.1.3. - [Changelog](https://github.com/openharmony-rs/ohos-vsync/blob/main/Changelog.md) - [Commits](https://github.com/openharmony-rs/ohos-vsync/commits) --- updated-dependencies: - dependency-name: ohos-vsync 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 vergen-git2 from 1.0.2 to 1.0.3 (#34945)dependabot[bot]2025-01-101-1/+1
| | | | | | | | | | | | | | | Bumps [vergen-git2](https://github.com/rustyhorde/vergen) from 1.0.2 to 1.0.3. - [Release notes](https://github.com/rustyhorde/vergen/releases) - [Commits](https://github.com/rustyhorde/vergen/compare/vergen_gix_1.0.2...vergen_gix_1.0.3) --- updated-dependencies: - dependency-name: vergen-git2 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 xcomponent-sys from 0.2.0 to 0.3.0 (#34936)dependabot[bot]2025-01-101-1/+1
| | | | | | | | | | | | | | | Bumps [xcomponent-sys](https://github.com/openharmony-rs/ohos-sys) from 0.2.0 to 0.3.0. - [Changelog](https://github.com/openharmony-rs/ohos-sys/blob/main/CHANGELOG.md) - [Commits](https://github.com/openharmony-rs/ohos-sys/commits/v0.3.0) --- updated-dependencies: - dependency-name: xcomponent-sys 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>
* Update xcomponent-sys to 0.2.0 (#34898)Jonathan Schwender2025-01-081-2/+1
| | | | | | | | Use xcomponent exclusively via `xcomponent_sys` instead of using some of the APIs from ohos-sys. ohos-sys simply re-exports xcomponent-sys, so using both makes updating either difficult. Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
* Update all network-related dependencies to the latest versions (#34630)Josh Matthews2025-01-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update all network-related dependencies to the latest versions: * rustls * hyper * http * headers * tungstenite * async-tungstenite Signed-off-by: Josh Matthews <josh@joshmatthews.net> * net: Fix panics with 1xx responses in WPT tests. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * net: Use reported response length when calculating available ranges. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * net: Remove unreachable match arm. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * net: Clean up commented fragments in blob and file handlers. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * net: Remove unreachable match arm. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * net: Fix clippy warning. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * net: Cleanup. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * net: Fix up unit tests for dependency upgrades. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * Update aws-lc-sys to fix Windows builds. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * net: Use ring instead of aws-lc-sys. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * embedding: Require embedder to initialize a rustls CryptoProvider. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * Disable aws-lc-rs pending OhOS build fixes. Signed-off-by: Josh Matthews <josh@joshmatthews.net> --------- Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* build(deps): bump ohos-ime-sys from 0.1.1 to 0.1.2 (#34852)dependabot[bot]2025-01-061-1/+1
| | | | | | | | | | | | | | | Bumps [ohos-ime-sys](https://github.com/openharmony-rs/ohos-sys) from 0.1.1 to 0.1.2. - [Changelog](https://github.com/openharmony-rs/ohos-sys/blob/main/CHANGELOG.md) - [Commits](https://github.com/openharmony-rs/ohos-sys/commits) --- updated-dependencies: - dependency-name: ohos-ime-sys 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 winit from 0.30.7 to 0.30.8 (#34854)dependabot[bot]2025-01-061-1/+1
| | | | | | | | | | | | | | | | Bumps [winit](https://github.com/rust-windowing/winit) from 0.30.7 to 0.30.8. - [Release notes](https://github.com/rust-windowing/winit/releases) - [Changelog](https://github.com/rust-windowing/winit/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-windowing/winit/compare/v0.30.7...v0.30.8) --- updated-dependencies: - dependency-name: winit 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 winit from 0.30.5 to 0.30.7 (#34753)dependabot[bot]2024-12-241-1/+1
| | | | | | | | | | | | | | | | Bumps [winit](https://github.com/rust-windowing/winit) from 0.30.5 to 0.30.7. - [Release notes](https://github.com/rust-windowing/winit/releases) - [Changelog](https://github.com/rust-windowing/winit/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-windowing/winit/compare/v0.30.5...v0.30.7) --- updated-dependencies: - dependency-name: winit 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_filter from 0.1.2 to 0.1.3 (#34722)dependabot[bot]2024-12-201-1/+1
| | | | | | | | | | | | | | | | Bumps [env_filter](https://github.com/rust-cli/env_logger) from 0.1.2 to 0.1.3. - [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/env_filter-v0.1.2...env_filter-v0.1.3) --- updated-dependencies: - dependency-name: env_filter 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>
* servoshell: Remove duplicate egl bindings on android/ohos (#34716)Jonathan Schwender2024-12-201-2/+0
| | | | | | | | | | - The default value for SwapInterval is 1, so setting it to 1 changes nothing - We don't clear the screen immediately anymore, which was the only useage of the egl bindings this saves us from duplicated EGL bindings. Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
* build(deps): bump the egui-related group with 6 updates (#34647)dependabot[bot]2024-12-171-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * build(deps): bump the egui-related group with 6 updates Bumps the egui-related group with 6 updates: | Package | From | To | | --- | --- | --- | | [egui](https://github.com/emilk/egui) | `0.29.1` | `0.30.0` | | [egui_glow](https://github.com/emilk/egui) | `0.29.1` | `0.30.0` | | [egui-winit](https://github.com/emilk/egui) | `0.29.1` | `0.30.0` | | [ecolor](https://github.com/emilk/egui) | `0.29.1` | `0.30.0` | | [emath](https://github.com/emilk/egui) | `0.29.1` | `0.30.0` | | [epaint](https://github.com/emilk/egui) | `0.29.1` | `0.30.0` | Updates `egui` from 0.29.1 to 0.30.0 - [Release notes](https://github.com/emilk/egui/releases) - [Changelog](https://github.com/emilk/egui/blob/master/CHANGELOG.md) - [Commits](https://github.com/emilk/egui/commits) Updates `egui_glow` from 0.29.1 to 0.30.0 - [Release notes](https://github.com/emilk/egui/releases) - [Changelog](https://github.com/emilk/egui/blob/master/CHANGELOG.md) - [Commits](https://github.com/emilk/egui/commits) Updates `egui-winit` from 0.29.1 to 0.30.0 - [Release notes](https://github.com/emilk/egui/releases) - [Changelog](https://github.com/emilk/egui/blob/master/CHANGELOG.md) - [Commits](https://github.com/emilk/egui/commits) Updates `ecolor` from 0.29.1 to 0.30.0 - [Release notes](https://github.com/emilk/egui/releases) - [Changelog](https://github.com/emilk/egui/blob/master/CHANGELOG.md) - [Commits](https://github.com/emilk/egui/commits) Updates `emath` from 0.29.1 to 0.30.0 - [Release notes](https://github.com/emilk/egui/releases) - [Changelog](https://github.com/emilk/egui/blob/master/CHANGELOG.md) - [Commits](https://github.com/emilk/egui/commits) Updates `epaint` from 0.29.1 to 0.30.0 - [Release notes](https://github.com/emilk/egui/releases) - [Changelog](https://github.com/emilk/egui/blob/master/CHANGELOG.md) - [Commits](https://github.com/emilk/egui/commits) --- updated-dependencies: - dependency-name: egui dependency-type: direct:production update-type: version-update:semver-minor dependency-group: egui-related - dependency-name: egui_glow dependency-type: direct:production update-type: version-update:semver-minor dependency-group: egui-related - dependency-name: egui-winit dependency-type: direct:production update-type: version-update:semver-minor dependency-group: egui-related - dependency-name: ecolor dependency-type: indirect update-type: version-update:semver-minor dependency-group: egui-related - dependency-name: emath dependency-type: indirect update-type: version-update:semver-minor dependency-group: egui-related - dependency-name: epaint dependency-type: indirect update-type: version-update:semver-minor dependency-group: egui-related ... Signed-off-by: dependabot[bot] <support@github.com> * bump glow in servoshell to mach egui_glow Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * remove glow from deny.toml Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
* Add prefs to limit threadpool sizes (#34478)Jonathan Schwender2024-12-071-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | * Add prefs to limit threadpool sizes Add preferences to control the size of threadpools, so that we can easily reduce the amount of runtime threads and test which pools benefit from more threads. Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com> * Add pref for Webrender threadpool Add a preference to limit the size of the webrender threadpool. Note: WebRender by default calls hooks which register the threads with a profiler instance that the embedder can register with webrender. Servo currently doesn't register such a profiler with webrender, but in the future we might also want to profile the webrender threadpool. Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com> --------- Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
* Add `webgpu` feature flag (#34444)atbrakhi2024-12-051-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move script gpu files into webgpu folder Signed-off-by: atbrakhi <atbrakhi@igalia.com> * Modify gpu webidls Signed-off-by: atbrakhi <atbrakhi@igalia.com> * move gpu realted webidl Signed-off-by: atbrakhi <atbrakhi@igalia.com> * add webgpu feature to script Signed-off-by: atbrakhi <atbrakhi@igalia.com> * add dummy implementation for gpucanvascontext Signed-off-by: atbrakhi <atbrakhi@igalia.com> * fmt Signed-off-by: atbrakhi <atbrakhi@igalia.com> * add skip-if CARGO_FEATURE_WEBGPU Signed-off-by: atbrakhi <atbrakhi@igalia.com> * Move NavigatorGPU and workerNavigator GPU to webgpu idl Signed-off-by: atbrakhi <atbrakhi@igalia.com> * fmt and cleanup Signed-off-by: atbrakhi <atbrakhi@igalia.com> * review fix Signed-off-by: atbrakhi <atbrakhi@igalia.com> * enable webgpu by default and also some fmt fix Signed-off-by: atbrakhi <atbrakhi@igalia.com> * Add pref back, fix imports, small cleanups Signed-off-by: atbrakhi <atbrakhi@igalia.com> --------- Signed-off-by: atbrakhi <atbrakhi@igalia.com>
* build(deps): bump vergen-git2 from 1.0.1 to 1.0.2 (#34400)dependabot[bot]2024-11-281-1/+1
| | | | | | | | | | | | | | | Bumps [vergen-git2](https://github.com/rustyhorde/vergen) from 1.0.1 to 1.0.2. - [Release notes](https://github.com/rustyhorde/vergen/releases) - [Commits](https://github.com/rustyhorde/vergen/compare/vergen_gix_1.0.1...vergen_gix_1.0.2) --- updated-dependencies: - dependency-name: vergen-git2 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>
* Remove some unused dependencies (#34355)Jonathan Schwender2024-11-251-1/+0
| | | | | | | | | | | | | | | * Remove unused deps This doesn't seem to remove any deps from the workspace. Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com> * ohos: Remove gaol dependency Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com> --------- Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
* Disable layout-2013 feature by default (#34290)Jonathan Schwender2024-11-211-1/+1
| | | | | | | | | | | | | Most of the time layout-2013 is not needed and just wastes build time. Disable the optional feature by default and require users to specify the feature at compile time if they wish to use the legacy layout. In CI we enable the feature by default for Linux, since that we need it for wpt tests with the legacy layout and CI should ensure that the legacy code continues to compile. Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
* build(deps): bump the napi-ohos-related group with 4 updates (#34309)dependabot[bot]2024-11-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps the napi-ohos-related group with 4 updates: [napi-derive-ohos](https://github.com/ohos-rs/ohos-rs), [napi-ohos](https://github.com/ohos-rs/ohos-rs), [napi-derive-backend-ohos](https://github.com/ohos-rs/ohos-rs) and [napi-sys-ohos](https://github.com/ohos-rs/ohos-rs). Updates `napi-derive-ohos` from 1.0.2 to 1.0.3 - [Release notes](https://github.com/ohos-rs/ohos-rs/releases) - [Commits](https://github.com/ohos-rs/ohos-rs/compare/ohrs@1.0.2...ohrs@1.0.3) Updates `napi-ohos` from 1.0.2 to 1.0.3 - [Release notes](https://github.com/ohos-rs/ohos-rs/releases) - [Commits](https://github.com/ohos-rs/ohos-rs/compare/ohrs@1.0.2...ohrs@1.0.3) Updates `napi-derive-backend-ohos` from 1.0.2 to 1.0.3 - [Release notes](https://github.com/ohos-rs/ohos-rs/releases) - [Commits](https://github.com/ohos-rs/ohos-rs/compare/ohrs@1.0.2...ohrs@1.0.3) Updates `napi-sys-ohos` from 1.0.2 to 1.0.3 - [Release notes](https://github.com/ohos-rs/ohos-rs/releases) - [Commits](https://github.com/ohos-rs/ohos-rs/compare/ohrs@1.0.2...ohrs@1.0.3) --- updated-dependencies: - dependency-name: napi-derive-ohos dependency-type: direct:production update-type: version-update:semver-patch dependency-group: napi-ohos-related - dependency-name: napi-ohos dependency-type: direct:production update-type: version-update:semver-patch dependency-group: napi-ohos-related - dependency-name: napi-derive-backend-ohos dependency-type: indirect update-type: version-update:semver-patch dependency-group: napi-ohos-related - dependency-name: napi-sys-ohos dependency-type: indirect update-type: version-update:semver-patch dependency-group: napi-ohos-related ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update vergen to v9 (#34283)Jonathan Schwender2024-11-191-1/+1
| | | | | | | | | Vergen v9 was split into multiple different crates. See https://github.com/rustyhorde/vergen/blob/master/MIGRATING_v8_to_v9.md Since we used the git2 backend, we migrate to vergen-git2. We only use `VERGEN_GIT_SHA`, so no need to enable any of the other possible instructions. Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
* Fix various clippy warnings on OpenHarmony (#34281)Jonathan Schwender2024-11-191-1/+1
| | | | | | | | | | | | | | | | | | * ohos: Fix more clippy warnings Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com> Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com> * Remove unnecessary `macro_use` We can use `use` instead. Removes a warning about unused macro_use on OpenHarmony. Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com> --------- Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com> Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
* ohos: Add basic IME and keyboard support (#34188)Jonathan Schwender2024-11-151-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ohos: Add basic IME and keyboard support - Add extremely basic support for keyboard events - Add basic IME support - Showing and hiding the IME - inserting text - deleting characters - very basic configuration of the IME Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com> * Apply suggestions from code review Improve the log message Co-authored-by: Josh Matthews <josh@joshmatthews.net> Signed-off-by: Jonathan Schwender <55576758+jschwe@users.noreply.github.com> * Update ports/servoshell/egl/ohos.rs Co-authored-by: Mukilan Thiyagarajan <mukilanthiagarajan@gmail.com> Signed-off-by: Jonathan Schwender <55576758+jschwe@users.noreply.github.com> * ohos: Bump the minimum required SDK version to 5.0 Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com> * ohos: Remove pub from callbacks The callbacks don't need to be public, as we will be registering them. Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com> * Rename composition event Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com> * ohos: clippy in log Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com> * ohos: address some clippy warnings Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com> * ohos: Raise Error in mach if unsupported SDK version is used. Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com> * Add keyboard-types dependency for android Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com> --------- Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com> Signed-off-by: Jonathan Schwender <55576758+jschwe@users.noreply.github.com> Co-authored-by: Josh Matthews <josh@joshmatthews.net> Co-authored-by: Mukilan Thiyagarajan <mukilanthiagarajan@gmail.com>
* servoshell: Fix --no-default-features and make webxr optional on ↵Jonathan Schwender2024-11-131-2/+3
| | | | | | | | | | | | | | | | | | | ohos/android (#34242) * servoshell: fix --no-default-features The Embeddertraits only contain `register_webxr` if the webxr feature is enabled, hence we also need to guard the trait implementation. Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com> * ohos/android: Make webxr optional in servoshell Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com> --------- Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
* feat: `webxr` feature flag (#34241)Ngo Iok Ui (Wu Yu Wei)2024-11-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add webxr feature flag Add webxr feature flag to embedder_traits Add webxr flag to constellation Add webxr flag to compositor Add webxr flag to canvas Turn registry into optional Add webxr flag to servo lib Signed-off-by: Wu Yu Wei <yuweiwu@pm.me> Co-authored-by: august kline <me@augustkline.com> * Cargo fmt Signed-off-by: Wu Yu Wei <yuweiwu@pm.me> * Add missing license Signed-off-by: Wu Yu Wei <yuweiwu@pm.me> * Cargo clippy Signed-off-by: Wu Yu Wei <yuweiwu@pm.me> --------- Signed-off-by: Wu Yu Wei <yuweiwu@pm.me> Co-authored-by: august kline <me@augustkline.com>
* Allow filtering of tracing events via SERVO_TRACING (#34236)Delan Azabani2024-11-131-1/+1
| | | | | | | | | | | | | * Allow filtering of tracing events via SERVO_TRACING Signed-off-by: Delan Azabani <dazabani@igalia.com> * Assume SERVO_TRACING=off by default Signed-off-by: Delan Azabani <dazabani@igalia.com> --------- Signed-off-by: Delan Azabani <dazabani@igalia.com>
* build(deps): bump cc from 1.1.37 to 1.2.0 (#34234)dependabot[bot]2024-11-121-1/+1
| | | | | | | | | | | | | | | | Bumps [cc](https://github.com/rust-lang/cc-rs) from 1.1.37 to 1.2.0. - [Release notes](https://github.com/rust-lang/cc-rs/releases) - [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.37...cc-v1.2.0) --- updated-dependencies: - dependency-name: cc 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>
* ohos: Bump napi-ohos (#34160)Jonathan Schwender2024-11-101-1/+1
| | | | | | | Update napi-ohos and migrate away from deprecated `JsFunction` and use the new `Function` and `build_threadsafe_function()` methods. Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com>