chickenleaf
a2f81d69c1
CanGc fixes ( #33852 )
...
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
2024-10-16 02:50:28 +00:00
dependabot[bot]
5b8fbb023d
build(deps): bump rustversion from 1.0.17 to 1.0.18 ( #33850 )
...
Bumps [rustversion](https://github.com/dtolnay/rustversion ) from 1.0.17 to 1.0.18.
- [Release notes](https://github.com/dtolnay/rustversion/releases )
- [Commits](https://github.com/dtolnay/rustversion/compare/1.0.17...1.0.18 )
---
updated-dependencies:
- dependency-name: rustversion
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-10-15 17:34:55 +00:00
Oriol Brufau
564478ef0d
Remove SizeKeyword, merge it into Size ( #33844 )
...
It's not really useful to have it.
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2024-10-15 10:30:22 +00:00
tanishka
c37fb2e453
clippy: Fix type_complexity
warning in components/script/dom
( #33835 )
...
* clippy: Fix type_complexity warning in components/script/dom/bluetoothdevice.rs
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
* Fix clippy warnings due to code changes
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
* Move documentation comment
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
* Root the new struct
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
---------
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
2024-10-15 07:39:15 +00:00
chickenleaf
b088a8b8f1
Fix Clippy warning: remove unneeded late initialization of string ( #33840 )
...
* Fix Clippy warning: remove unneeded late initialization of string
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
* Fixed the comments placement
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
---------
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
2024-10-15 06:09:26 +00:00
tanishka
46d6c0c883
CanGc fixes in components/script/dom ( #33843 )
...
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
2024-10-15 04:45:16 +00:00
chickenleaf
1e39787573
CanGc fixes and checks in multiple files ( #33836 )
...
* CanGc fixes and checks in multiple files
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
* CanGc fixes in storageevent.rs
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
---------
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
2024-10-15 04:30:48 +00:00
dependabot[bot]
2f1862aaf5
build(deps): bump cc from 1.1.29 to 1.1.30 ( #33842 )
...
Bumps [cc](https://github.com/rust-lang/cc-rs ) from 1.1.29 to 1.1.30.
- [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.29...cc-v1.1.30 )
---
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-10-14 17:42:21 +00:00
dependabot[bot]
81e8e582df
build(deps): bump profiling from 1.0.15 to 1.0.16 ( #33841 )
...
Bumps [profiling](https://github.com/aclysma/profiling ) from 1.0.15 to 1.0.16.
- [Changelog](https://github.com/aclysma/profiling/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aclysma/profiling/compare/v1.0.15...v1.0.16 )
---
updated-dependencies:
- dependency-name: profiling
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-14 17:40:23 +00:00
dependabot[bot]
f6ebb8eaf1
build(deps): bump bytemuck from 1.18.0 to 1.19.0 ( #33839 )
...
Bumps [bytemuck](https://github.com/Lokathor/bytemuck ) from 1.18.0 to 1.19.0.
- [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md )
- [Commits](https://github.com/Lokathor/bytemuck/compare/v1.18.0...v1.19.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-10-14 17:25:02 +00:00
dependabot[bot]
223e01ed9e
build(deps): bump wasm-bindgen-futures from 0.4.43 to 0.4.45 ( #33838 )
...
Bumps [wasm-bindgen-futures](https://github.com/rustwasm/wasm-bindgen ) from 0.4.43 to 0.4.45.
- [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-10-14 17:21:11 +00:00
dependabot[bot]
aedad32726
build(deps): bump async-compression from 0.4.14 to 0.4.15 ( #33837 )
...
Bumps [async-compression](https://github.com/Nullus157/async-compression ) from 0.4.14 to 0.4.15.
- [Release notes](https://github.com/Nullus157/async-compression/releases )
- [Changelog](https://github.com/Nullus157/async-compression/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Nullus157/async-compression/compare/v0.4.14...v0.4.15 )
---
updated-dependencies:
- dependency-name: async-compression
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-10-14 17:15:12 +00:00
Oriol Brufau
b9ed45942d
Avoid recomputing inline_content_sizes() when not needed ( #33806 )
...
The result of `inline_content_sizes()` may depend on the block size of
the containing block, so we were always recomputing in case we got
a different block size.
However, if no content has a vertical percentage or stretches vertically,
then we don't need to recompute: the result will be the same anyways.
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2024-10-14 16:06:27 +00:00
Cristian Brinza
821bed1d11
Fix headless mode on Windows ( #33817 )
...
Signed-off-by: crbrz <cristianb@gmail.com>
2024-10-14 13:24:03 +00:00
Gregory Terzian
9508b83af6
fix intermittency of child-document-raf-order test ( #33480 )
...
Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>
2024-10-14 13:23:14 +00:00
tanishka
cfd15dd14d
CanGc fixes originating from gamepadevent.rs
& stereopannernode.rs
( #33828 )
...
* CanGc fixes originating from gamepadevent.rs & stereopannernode.rs
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
* Revert changes within task! macro
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
---------
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
2024-10-14 13:22:08 +00:00
Delan Azabani
2322b22a6b
CI: temporarily disable self-hosted runners for nightly.yml ( #33834 )
...
Signed-off-by: Delan Azabani <dazabani@igalia.com>
2024-10-14 13:13:10 +00:00
Samson
0d3fad156a
Add python3-setuptools to ubuntu apt install line ( #33833 )
...
This was needed on my clean installed ubuntu 24.10.
Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com>
2024-10-14 11:53:23 +00:00
komuhangi
717baff17b
Fixed same_enum_variation clippy warnings in components/script/dom ( #33818 )
...
Signed-off-by: jahielkomu <ktumuhairwe24@gmail.com>
2024-10-14 04:12:19 +00:00
chickenleaf
fc0835bae3
CanGc fixes in focusevent.rs oscillartornode.rs response.rs resizeobserversize.rs animationevent.rs ( #33827 )
...
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
2024-10-13 21:35:59 +00:00
chickenleaf
92f12ff7cd
Propagate CanGc through dommatrix, dommatrixreadonly, and testbindings ( #33822 )
...
* CanGc fixes starting from dommatrix.rs
fixed conflicts
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
~
* cleaning up
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
* fixed cannot find value can_gc in this scope error
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
---------
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
2024-10-13 16:11:46 +00:00
Simon Wülker
bdd5fb2e5b
Use document encoding when parsing url in href setter ( #33825 )
...
* Implement encoding-parse-a-url algorithm
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Parse url with encoding when setting href on HtmlAnchorElement
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Update WPT expectations
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
---------
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
2024-10-13 15:12:51 +00:00
Servo WPT Sync
76776bf082
Update web-platform-tests to revision b'c7076ab2397dd3dcf0bb93dc304d05be04cd2a47' ( #33826 )
...
Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
2024-10-13 13:52:51 +00:00
shanehandley
ded518dfd0
Remove some fixed fixmes ( #33824 )
...
Signed-off-by: Shane Handley <shanehandley@fastmail.com>
2024-10-13 11:56:37 +00:00
Samson
f0285fc7e5
CI: pin ubuntu 22.04 in WPT Import ( #33823 )
...
Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com>
2024-10-13 07:19:45 +00:00
Jonathan Schwender
efaba0472a
CI: Bump setup-ohos-sdk to v0.1.4 ( #33739 )
...
* CI: Bump setup-ohos-sdk to v0.1.4
v0.1.3 had a bug when the SDK was restored from cache.
This was fixed upstream, andcache-hit behavior is now also
tested in upstream CI.
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
* CI: Use major tag again for setup-ohos-sdk
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
---------
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
2024-10-13 07:17:24 +00:00
tanishka
5c0a0d29d0
clippy: Fix warnings in components/script
& components/script/dom
( #33821 )
...
* clippy: Fix warnings in components/script & components/script/dom
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
* Remove unused variable - can_gc
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
* Use _can_gc instead of removing it
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
---------
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
2024-10-13 01:05:46 +00:00
chickenleaf
a55f9a37ec
CanGc fixes starting from blob.rs, mediastream.rs, custom_event.rs ( #33820 )
...
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
2024-10-12 17:17:47 +00:00
Samson
bd8006afc5
Update wgpu ( #33819 )
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2024-10-12 14:45:10 +00:00
tanishka
e5e1ef9fb6
Replace CanGc::note() calls with arguments in components/script
( #33816 )
...
* Replace CanGc::note() calls with arguments in components/script
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
* Revert changes for task macro
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
---------
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
2024-10-11 19:23:58 +00:00
Oriol Brufau
a86dcfc6e7
Unify logic for laying out floats and atomic inlines ( #33802 )
...
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2024-10-11 18:26:00 +00:00
dependabot[bot]
0eb8d22d88
build(deps): bump webxr from 845ae9c
to e3249c3
( #33815 )
...
Bumps [webxr](https://github.com/servo/webxr ) from `845ae9c` to `e3249c3`.
- [Commits](845ae9c22c...e3249c3df9
)
---
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-10-11 17:51:54 +00:00
dependabot[bot]
3b4a1ab8dd
build(deps): bump web-sys from 0.3.70 to 0.3.72 ( #33814 )
...
Bumps [web-sys](https://github.com/rustwasm/wasm-bindgen ) from 0.3.70 to 0.3.72.
- [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-10-11 17:48:04 +00:00
dependabot[bot]
afbfad2f63
build(deps): bump cc from 1.1.28 to 1.1.29 ( #33813 )
...
Bumps [cc](https://github.com/rust-lang/cc-rs ) from 1.1.28 to 1.1.29.
- [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.28...cc-v1.1.29 )
---
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-10-11 17:38:57 +00:00
dependabot[bot]
1167c8245a
build(deps): bump glow from 0.14.1 to 0.14.2 ( #33810 )
...
Bumps [glow](https://github.com/grovesNL/glow ) from 0.14.1 to 0.14.2.
- [Commits](https://github.com/grovesNL/glow/commits )
---
updated-dependencies:
- dependency-name: glow
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-10-11 17:36:09 +00:00
dependabot[bot]
d89d1490ae
build(deps): bump js-sys from 0.3.70 to 0.3.72 ( #33812 )
...
Bumps [js-sys](https://github.com/rustwasm/wasm-bindgen ) from 0.3.70 to 0.3.72.
- [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: js-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-10-11 17:35:40 +00:00
Mercy Bassey
e09362cd3c
clippy: Fix issues in components/fonts
and ports/servoshell
( #33809 )
...
* fix linting issues
Signed-off-by: mercybassey <udohmercy911@gmail.com>
adding '-s'
* Remove a pair of unecessary parenethesis
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
---------
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2024-10-11 17:23:38 +00:00
chickenleaf
20a15619f0
CanGc fixes starting from imagedata.rs ( #33808 )
...
* CanGc fixes starting from imagedata.rs
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
* Update components/script/dom/imagedata.rs
Co-authored-by: Josh Matthews <josh@joshmatthews.net>
Signed-off-by: chickenleaf <lashwinib@gmail.com>
---------
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
Signed-off-by: chickenleaf <lashwinib@gmail.com>
Co-authored-by: Josh Matthews <josh@joshmatthews.net>
2024-10-11 16:38:23 +00:00
tanishka
27b25e869b
content: Replace uses of downcast
+is_some
/is_none
with is
( #33804 )
...
* content: Replace uses of downcast+is_some/is_none with is
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
* Remove ! to return correct logic
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
---------
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
2024-10-11 15:40:39 +00:00
Simon Wülker
c5899e596d
Implement DOMRect::FromRect ( #33798 )
...
* Implement DOMRect::FromRect
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Silence crown errors
The rect type does not contain any gc'd members,
so not rooting it is perfectly fineSilence crown errors
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Update WPT expectations
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Add SVGRect to the list of exposed interface globals
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Update WPT manifest
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
---------
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
2024-10-11 15:35:59 +00:00
tanishka
8843a0e400
clippy: Fix type_complexity
warnings in components/script/dom
( #33790 )
...
* clippy: Fix type_complexity warnings in components/script/dom
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
* Use explicit & implicit method calls where needed
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
* Remove unwrap & pass pipeline_layout
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
* Remove unused variable - bgls
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
---------
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
2024-10-11 14:57:41 +00:00
chickenleaf
2a6cfbaaf9
Throw NotSupported error and update expected results for XRSession::UpdateRenderState ( #33803 )
...
* Throw NotSupported error and update expected results for xrSession_updateRenderState
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
* deleted the log file
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
---------
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
2024-10-11 12:09:41 +00:00
Mukilan Thiyagarajan
febe7de0bf
ohos: publish nightly builds ( #33801 )
...
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2024-10-11 10:11:51 +00:00
chickenleaf
88f1d9dd5e
clippy: Refactor script/dom/globalscope.rs
to avoid overly complex types ( #33782 )
...
* Simplified types in globalscope.rs, folded callbacks, and replaced Result with Fallible
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
* clippy: Refactor script/dom/globalscope.rs to avoid overly complex types
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
---------
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
2024-10-11 03:54:41 +00:00
webbeef
2b71130a8a
Various CanGc fixes ( #33800 )
...
* CanGc fix for pagetransitionevent
Signed-off-by: webbeef <me@webbeef.org>
* CanGc fix for dom/node
Signed-off-by: webbeef <me@webbeef.org>
* CanGc fix for gamepad
Signed-off-by: webbeef <me@webbeef.org>
* CanGc fix for gpu
Signed-off-by: webbeef <me@webbeef.org>
* CanGc fix for dom/element
Signed-off-by: webbeef <me@webbeef.org>
* CanGc fix for xhr
Signed-off-by: webbeef <me@webbeef.org>
* CanGc fix for dom/worker
Signed-off-by: webbeef <me@webbeef.org>
* CanGc fix for rtcdatachannel
Signed-off-by: webbeef <me@webbeef.org>
* CanGc fix for rtcerror
Signed-off-by: webbeef <me@webbeef.org>
* Address review comments
Signed-off-by: webbeef <me@webbeef.org>
---------
Signed-off-by: webbeef <me@webbeef.org>
2024-10-11 03:53:39 +00:00
Simon Wülker
c00c6e728d
Implement DOMMatrix stringifier
( #33792 )
...
* Implement DOMMatrix stringifier
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Update WPT expectations
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
---------
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
2024-10-11 03:06:44 +00:00
Simon Wülker
fc2c77be83
Use NaN-safe comparisons in DOMQuad::GetBounds ( #33794 )
...
* Use nan-safe comparison in DOMQuad::GetBounds
This fixes at least the following WPT test:
* css/geometry/DOMQuad-nan.html
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Update WPT expectations
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
---------
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
2024-10-11 02:43:44 +00:00
Simon Wülker
f15da16da4
Update DOMMatrix::is2D when modifying elements ( #33796 )
...
* Invalidate DOMMatrix::is2D when modifying matrix values
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Update WPT expectations
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
---------
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
2024-10-11 01:55:27 +00:00
Martin Robinson
0553789d48
fonts: Instantiate system fonts using system font loaders ( #33747 )
...
System fonts used to be instantiated using the system font loader and
this change restores that behavior. In addition, on macOS and FreeType
platforms font data for system fonts is loaded using memory mapping. The
benefit is that system font loaders typically are able to cache fonts in
system memory (using memory mapping, for instance) and we'd like to load
them in a the way most compatible with other applications.
On my Linux system, this manages to get the overhead of loading a very
large font down from 10ms to approximately 1ms. Subsequent runs show
even less overhead. We've measured similar gains on macOS systems.
Currently, system font data must be loaded into memory manually for
canvas and this is unlikely to change even with a switch to `vello`. The
use of explicit memmory mapping should help in this case -- though it
probably won't be possible to use this properly on macOS and Windows if
we ever want to load fonts from TTCs properly.
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2024-10-10 23:09:51 +00:00
dependabot[bot]
4564ce2fcc
build(deps): bump wasm-bindgen from 0.2.93 to 0.2.95 ( #33793 )
...
Bumps [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen ) from 0.2.93 to 0.2.95.
- [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/compare/0.2.93...0.2.95 )
---
updated-dependencies:
- dependency-name: wasm-bindgen
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-10-10 22:56:03 +00:00