Taym Haddadi
a50e6a503e
Remove unnecessary unsafe
block ( #33109 )
...
Signed-off-by: Taym <haddadi.taym@gmail.com>
2024-08-18 16:18:28 +00:00
Taym Haddadi
a24e92778a
fix: add error handling to BaseAudioContext::new_inherited ( #33023 )
...
* fix: add error handling to BaseAudioContext::new_inherited
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>
* Update servo-media
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>
* Update test expectations
Signed-off-by: Taym <haddadi.taym@gmail.com>
* Update servo-media
Signed-off-by: Taym <haddadi.taym@gmail.com>
---------
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>
Signed-off-by: Taym <haddadi.taym@gmail.com>
2024-08-18 13:58:43 +00:00
Daniel Adams
1ef3e107bd
Add makeXRCompatible for WebGL2, update WebXR WPT expectations ( #33097 )
...
* Add makeXRCompatible to WebGLRenderContextBase
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Activate webgl2 for webxr wpt, update meta expectations
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Update meta legacy layout expectations
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Remove no longer existing expectations from meta files
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Remove files for fully passing tests
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Remove out-of-date expectations from meta legacy layout
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Update webgl conformance expectations
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Fix test numbering in expectations
Signed-off-by: Daniel Adams <msub2official@gmail.com>
---------
Signed-off-by: Daniel Adams <msub2official@gmail.com>
2024-08-18 10:37:14 +00:00
Koki Saito
280063eee2
Make string formatting more consistent in CodegenRust.py
( #33096 )
...
* fix: Replace string concatenation with f-string
Signed-off-by: Koki Saito <saitoto828@gmail.com>
* fix: Replace substitute method with f-string
Signed-off-by: Koki Saito <saitoto828@gmail.com>
* fix: Cleanup unused function `onFailureInvalidEnumValue`
Signed-off-by: Koki Saito <saitoto828@gmail.com>
* fix: Replace %formatting with f-string
Signed-off-by: Koki Saito <saitoto828@gmail.com>
* fix: Fix some typo
Signed-off-by: Koki Saito <saitoto828@gmail.com>
* fix: Lint
Signed-off-by: Koki Saito <saitoto828@gmail.com>
---------
Signed-off-by: Koki Saito <saitoto828@gmail.com>
Co-authored-by: kokisaito <kosaito@indeed.com>
2024-08-18 05:02:11 +00:00
webbeef
6aee84f0d1
Update data-url to 0.3 ( #33103 )
...
Signed-off-by: webbeef <me@webbeef.org>
2024-08-18 04:34:55 +00:00
Koki Saito
db312319ae
fix: Replace callargs_is_constructing with is_constructing method ( #33101 )
...
Signed-off-by: Koki Saito <saitoto828@gmail.com>
Co-authored-by: kokisaito <kosaito@indeed.com>
2024-08-18 01:48:39 +00:00
Daniel Adams
20273b062a
webxr: Update XRSession to latest spec ( #33059 )
...
* Add missing XRSession members, initial implementations
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Implement supportedFramerates getter
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Implement framerate changes, add spec links
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Update WPT expectations
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* ./mach fmt
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Add missing spec link
Signed-off-by: Daniel Adams <msub2official@gmail.com>
---------
Signed-off-by: Daniel Adams <msub2official@gmail.com>
2024-08-17 03:36:52 +00:00
Simon Wülker
f0045a7686
remove usage of legacy numeric operations in script ( #33095 )
...
These operations are deprecated and might be removed
in a future rust version. Clippy is also complaining
about them.
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
2024-08-16 21:30:13 +00:00
dependabot[bot]
09cac6430b
build(deps): bump libc from 0.2.155 to 0.2.156 ( #33091 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.155 to 0.2.156.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.156/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.155...0.2.156 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-16 18:24:28 +00:00
dependabot[bot]
842bd607d4
build(deps): bump bytemuck_derive from 1.7.0 to 1.7.1 ( #33086 )
...
Bumps [bytemuck_derive](https://github.com/Lokathor/bytemuck ) from 1.7.0 to 1.7.1.
- [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md )
- [Commits](https://github.com/Lokathor/bytemuck/compare/bytemuck_derive-v1.7.0...bytemuck_derive-v1.7.1 )
---
updated-dependencies:
- dependency-name: bytemuck_derive
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-08-16 18:22:02 +00:00
dependabot[bot]
a8fbfe712f
build(deps): bump webxr from dd76329
to 08a6d70
( #33092 )
...
Bumps [webxr](https://github.com/servo/webxr ) from `dd76329` to `08a6d70`.
- [Commits](dd763293a8...08a6d70ad4
)
---
updated-dependencies:
- dependency-name: webxr
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-16 18:21:27 +00:00
dependabot[bot]
23c2040f2b
build(deps): bump cc from 1.1.12 to 1.1.13 ( #33093 )
...
Bumps [cc](https://github.com/rust-lang/cc-rs ) from 1.1.12 to 1.1.13.
- [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.12...cc-v1.1.13 )
---
updated-dependencies:
- dependency-name: cc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-16 18:20:30 +00:00
dependabot[bot]
10e2dc7a63
build(deps): bump bytemuck from 1.16.3 to 1.17.0 ( #33090 )
...
Bumps [bytemuck](https://github.com/Lokathor/bytemuck ) from 1.16.3 to 1.17.0.
- [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md )
- [Commits](https://github.com/Lokathor/bytemuck/compare/v1.16.3...v1.17.0 )
---
updated-dependencies:
- dependency-name: bytemuck
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-16 17:35:17 +00:00
dependabot[bot]
c6d6823b85
build(deps): bump scc from 2.1.14 to 2.1.16 ( #33089 )
...
Bumps [scc](https://github.com/wvwwvwwv/scalable-concurrent-containers ) from 2.1.14 to 2.1.16.
- [Changelog](https://github.com/wvwwvwwv/scalable-concurrent-containers/blob/main/CHANGELOG.md )
- [Commits](https://github.com/wvwwvwwv/scalable-concurrent-containers/commits )
---
updated-dependencies:
- dependency-name: scc
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-08-16 17:31:27 +00:00
dependabot[bot]
4bdf6403d0
build(deps): bump surfman from 0.9.5 to 0.9.6 ( #33088 )
...
Bumps [surfman](https://github.com/servo/surfman ) from 0.9.5 to 0.9.6.
- [Release notes](https://github.com/servo/surfman/releases )
- [Commits](https://github.com/servo/surfman/commits )
---
updated-dependencies:
- dependency-name: surfman
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-16 17:28:59 +00:00
Josh Matthews
3829e91662
Handle failed string conversions in console.log. ( #33085 )
...
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
2024-08-16 16:49:56 +00:00
Josh Matthews
4df7a1af25
Support HTML parser reentrancy ( #32820 )
...
* Update parser interface for reentrancy.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Remove assertions around invoking scripts with active parser.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Add regression test.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Run test with normal and async html parser.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
---------
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
2024-08-16 16:25:50 +00:00
Mukilan Thiyagarajan
d44c0f7e5d
mach: remove unused maven packaging code ( #33083 )
...
This code is unused and unmaintained. We can bring it back from version
control if needed in the future.
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2024-08-16 11:59:05 +00:00
Martin Robinson
0d94a8acd2
layout: Prepare for bidi by guarding all access to writing-mode
( #33082 )
...
We want to selectively enable right-to-left writing modes per layout
context. This change makes that possible by allowing access to
`writing-mode` though an interface that always returns the default
horizontal top-to-bottom (implicitly left-to-right) writing mode.
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Rakhi Sharma <atbrakhi@igalia.com>
2024-08-16 11:38:04 +00:00
Josh Matthews
3d3621b652
Update stylo for latest changes. ( #33079 )
...
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
2024-08-16 10:47:12 +00:00
Martin Robinson
ce5ebbcf77
legacy-layout: Fix display list building after WebRender upgrade ( #33073 )
...
The most recent version of WebRender tracks stacking context offsets in
a different way, which broke legacy layout. It's easier just to track
the stacking context offset in Servo and apply them to the items
manually like we do in non-legacy layout.
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2024-08-16 10:02:43 +00:00
Hayashi Mikihiro
6816d11f88
replace once_cell ( #33080 )
...
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2024-08-16 04:49:50 +00:00
Hayashi Mikihiro
4cc1b68546
Remove lazy static ( #33078 )
...
* remove from rand
Mutex<OsRng> can be initialized in compile time.
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
* remove from layout_2020
Mutex<()> can be initialize in compile time
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
* remove from media
`IS_MULTIPROCESS` doesn't be used.
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
* remove lazy_static from dependencies
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
* rewrite suppressed_leaks_for_asan.txt
For all of lazy_static was replaced with LazyLock.
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
---------
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2024-08-16 03:57:09 +00:00
Jonathan Schwender
4b3ed4b684
ohos: Fix log filtering ( #33076 )
...
* Increase default filtering to warn
* fix module filtering (filter_builder was never used)
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com>
2024-08-16 02:31:35 +00:00
Josh Matthews
69185c4af1
Ensure parsers initiated from DOMParser always complete. ( #33056 )
...
* Ensure parsers initiated from DOMParser always complete.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Add test for parseFromString with async parser.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Add expected failure.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
---------
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
2024-08-15 23:45:00 +00:00
Josh Matthews
3cc91e655f
Remove many explicit reflow calls ( #33067 )
...
* Remove explicit reflow for iframe content updates.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Remove explicit reflow for timers.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Remove explicit reflow for MouseEvent.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Remove explicit reflow for key events.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Remove explicit reflow for document load.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Remove explicit reflow for iframe load.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Remove unused reflow reasons.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Fix warnings.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
---------
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
2024-08-15 22:20:52 +00:00
Jose Monagas
a34920b605
fix(clippy): Clippy suggestions in components/script/dom/* ( #33072 )
...
Signed-off-by: Jose T. Monagas <josetmonagas@proton.me>
Co-authored-by: Jose T. Monagas <josetmonagas@proton.me>
2024-08-15 19:31:30 +00:00
dependabot[bot]
386a067c4b
build(deps): bump is-terminal from 0.4.12 to 0.4.13 ( #33071 )
...
Bumps [is-terminal](https://github.com/sunfishcode/is-terminal ) from 0.4.12 to 0.4.13.
- [Commits](https://github.com/sunfishcode/is-terminal/compare/v0.4.12...v0.4.13 )
---
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>
2024-08-15 17:22:54 +00:00
dependabot[bot]
0710209557
build(deps): bump serde_json from 1.0.124 to 1.0.125 ( #33070 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.124 to 1.0.125.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.124...1.0.125 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-15 17:00:26 +00:00
dependabot[bot]
bcfc642f2f
build(deps): bump cc from 1.1.11 to 1.1.12 ( #33069 )
...
Bumps [cc](https://github.com/rust-lang/cc-rs ) from 1.1.11 to 1.1.12.
- [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.11...cc-v1.1.12 )
---
updated-dependencies:
- dependency-name: cc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-15 16:58:06 +00:00
dependabot[bot]
e4d0af8d91
build(deps): bump serde from 1.0.207 to 1.0.208 ( #33066 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.207 to 1.0.208.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.207...v1.0.208 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-15 16:53:21 +00:00
Hayashi Mikihiro
016ff5dfa6
Replace lazy_static crate with std::sync::LazyLock
in layout and config ( #33065 )
...
* replace in layout_thread_2020
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
* replace in layout_thread
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
* replace in layout
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
* replace in config
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
* replace in config_plugins
The macro of config_plugins require Send trait bounds
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
---------
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2024-08-15 16:28:04 +00:00
Taym Haddadi
c01b733523
Update codegen for GetOpener:inRealms in Bindings.conf ( #33062 )
...
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>
2024-08-15 13:42:50 +00:00
Hayashi Mikihiro
86c4e014b4
Replace the lazy_static crate with std::sync::LazyLock
in components/shared ( #33060 )
...
* replace in pub_domains.rs
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
* replace in embedder/resources.rs
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
* replace in base/id.rs
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
* replace in net/lib.rs
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
* remove lazy_static from components/shared
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
---------
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2024-08-15 12:05:29 +00:00
Cristian Brinza
8f82b2a7cb
Use FontInstanceFlags::SUBPIXEL_POSITION for font instances on Windows ( #33045 )
...
Signed-off-by: crbrz <cristianb@gmail.com>
2024-08-15 10:25:57 +00:00
Jonathan Schwender
97c84b6127
ohos/android: Redirect stdout/stderr to log
sink ( #32858 )
...
* ohos: redirect stdout/stderr to logging sink
Based on the existing android `redirect_stdout_to_logcat` implementation,
but using the safe abstractions from `nix` and dumping to the `log` sink,
instead of directly writing the log.
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com>
* android: Use new shared implementation for logcat redirection.
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com>
* servoshell: Register cfg(production)
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com>
* Update ports/servoshell/egl/log.rs
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
Signed-off-by: Jonathan Schwender <55576758+jschwe@users.noreply.github.com>
* Change info! to debug! to match original behavior on 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: Martin Robinson <mrobinson@igalia.com>
2024-08-15 09:26:03 +00:00
Daniel Adams
353ceb0ffb
Update WebXR WPT expectations ( #33058 )
...
* Enable the dom.webxr.test pref for webxr WPT tests
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Update webxr test expectations
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Fix erroneous timeouts
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Readd stable timeout
Signed-off-by: Daniel Adams <msub2official@gmail.com>
---------
Signed-off-by: Daniel Adams <msub2official@gmail.com>
2024-08-15 09:09:15 +00:00
Martin Robinson
8159f03288
layout: Support start
and end
values for flexbox align-self
( #33032 )
...
These are similar to `flex-start` and `flex-end`, but in `wrap-reverse`
situations, they are the opposite.
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
2024-08-15 08:20:41 +00:00
Samson
a6638c1952
Update mozjs and use release libz-sys ( #33048 )
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2024-08-15 00:32:30 +00:00
Daniel Adams
825d6f10e9
webxr: Update hand input to match latest spec ( #32958 )
...
* Update IDLs
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Update XRHand and XRJointSpace methods/bindings
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Implement fillJointRadii
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Implement fillPoses
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Formatting
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Update test expectations
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Tidy, missing spec link
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Remove idlharness expectation files, update hands pref
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Update interfaces
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* XRJointPose interface
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* XRHand interface
Signed-off-by: Daniel Adams <msub2official@gmail.com>
---------
Signed-off-by: Daniel Adams <msub2official@gmail.com>
2024-08-14 22:45:45 +00:00
Martin Robinson
057873c94a
Remove unused constant from components/net/fetch/methods.rs
( #33054 )
...
This was revealed by the recent switch to `LazyLock`.
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2024-08-14 18:35:13 +00:00
dependabot[bot]
c438bfddd0
build(deps): bump indexmap from 2.3.0 to 2.4.0 ( #33053 )
...
Bumps [indexmap](https://github.com/indexmap-rs/indexmap ) from 2.3.0 to 2.4.0.
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.3.0...2.4.0 )
---
updated-dependencies:
- dependency-name: indexmap
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-08-14 17:27:23 +00:00
dependabot[bot]
6b0680c779
build(deps): bump web-sys from 0.3.69 to 0.3.70 ( #33052 )
...
Bumps [web-sys](https://github.com/rustwasm/wasm-bindgen ) from 0.3.69 to 0.3.70.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits )
---
updated-dependencies:
- dependency-name: web-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-08-14 17:24:15 +00:00
dependabot[bot]
d3209040ce
build(deps): bump cc from 1.1.10 to 1.1.11 ( #33051 )
...
Bumps [cc](https://github.com/rust-lang/cc-rs ) from 1.1.10 to 1.1.11.
- [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.10...cc-v1.1.11 )
---
updated-dependencies:
- dependency-name: cc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-14 17:19:39 +00:00
dependabot[bot]
cfbc10aefe
build(deps): bump wasm-bindgen-futures from 0.4.42 to 0.4.43 ( #33050 )
...
Bumps [wasm-bindgen-futures](https://github.com/rustwasm/wasm-bindgen ) from 0.4.42 to 0.4.43.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits )
---
updated-dependencies:
- dependency-name: wasm-bindgen-futures
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-08-14 17:15:27 +00:00
Hayashi Mikihiro
ad85dd10e3
Replace lazy_static with std::sync::LazyLock in components/fonts ( #33049 )
...
* replace in shaper.rs
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
* replace in android/font_list.rs
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
* replace in ohos/font_list.rs
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
* remove lazy_lock from components/fonts
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
---------
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2024-08-14 16:20:54 +00:00
Martin Robinson
7633bdccd2
layout: Initial implementation of flex-direction: column
and column-reverse
( #33031 )
...
This change removes restrictions on using the column layout mode of
flexbox and adds an initial implementation of sizing for that flex
direction. There's a lot of missing pieces still, but in some cases this
does render column flexbox.
In particular, there are now two code paths for preferred widths
(intrinsic size) calcuation: one in the main axis (row) and one in
the cross axis (column) corresponding to the flex direciton with
horizontal writing modes.
In addition, `FlexItemBox::inline_content_sizes` is removed in favor of
making `sizing::outer_inline` /
`IndependentFormattingContext::outer_inline_content_sizes` generic
enough to handle using a different value for auto minimum sizes, which
flexbox needs.
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
2024-08-14 14:25:09 +00:00
Simon Wülker
c059bab6f4
Dont use lazy static to construct mutexes ( #33047 )
...
* Remove usage of lazy-static in background_hang_monitor
The lazy-static crate was only used to construct a mutex,
but since Mutex::new is const this can be done at compiletime
instead.
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Remove usage of lazy-static in servoshell
Lazy-static was only used to construct a mutex, but
since Mutex::new is const this can simply be done at
compiletime.
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
---------
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
2024-08-14 13:42:01 +00:00
Martin Robinson
d941d2fd67
layout: Convert the FragmentTree to physical geometry ( #33030 )
...
This converts all geometry in the FragmentTree into physical geometry,
doing conversions ahead of time instead of when traversing the fragment
tree. This is necessary to properly implement BiDi in Servo as we need
to know what side borders are on in mixed RTL and LTR contexts.
In addition, fragments are laid out in a particular context and only
that context knows its writing mode. There were issues where were using
one writing mode to lay out and another to convert to phyisical
coordinates. This isn't an issue now since we only use the default
writing mode, but starts to be an issue with BiDi text.
Closes #25564 .
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2024-08-14 12:22:06 +00:00
Hayashi Mikihiro
65f90ff1fd
Replace the lazy_static crate with std::sync::LazyLock in components/net ( #33046 )
...
* replace in net/fetch/methods.rs
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
* replace in net/hosts.rs
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
* replace in net/async_runtime.rs
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
* replace in net/tests/main.rs
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
* remove lazy_static crate from components/net
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
---------
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2024-08-14 12:15:55 +00:00