Martin Robinson
52db185568
layout: Avoid layout sometimes when stretching ( #33967 )
...
This is the second flexbox caching change. It seeks to detect when a
relayout can be avoided in the case of a stretching flex item. This
heuristic can be combined, because currently we still do relayout
sometimes when we do not need to.
For instance currently we always relayout when a flex child is itself a
column flex. This only needs to happen when the grandchildren themselves
grow or shrink. That optimization is perhaps a lower priority as
`flex-grow: 0 / flex-shrink: 1` is the default behavior for flex.
Since this change means we more consistenly zero out the percentage part
of `calc` expressions when they have circular dependencies, this causes one
test to start failing (`/css/css-values/calc-min-height-block-1.html`).
This is related to w3c/csswg-drafts#10969 , which is pending on further
discussion in the working group.
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
2024-10-24 17:44:30 +00:00
dependabot[bot]
638b520186
build(deps): bump pin-project-lite from 0.2.14 to 0.2.15 ( #33998 )
...
Bumps [pin-project-lite](https://github.com/taiki-e/pin-project-lite ) from 0.2.14 to 0.2.15.
- [Release notes](https://github.com/taiki-e/pin-project-lite/releases )
- [Changelog](https://github.com/taiki-e/pin-project-lite/blob/main/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/pin-project-lite/compare/v0.2.14...v0.2.15 )
---
updated-dependencies:
- dependency-name: pin-project-lite
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-24 17:33:19 +00:00
dependabot[bot]
7b6a806bed
build(deps): bump wayland-protocols from 0.32.4 to 0.32.5 ( #33997 )
...
Bumps [wayland-protocols](https://github.com/smithay/wayland-rs ) from 0.32.4 to 0.32.5.
- [Release notes](https://github.com/smithay/wayland-rs/releases )
- [Changelog](https://github.com/Smithay/wayland-rs/blob/master/historical_changelog.md )
- [Commits](https://github.com/smithay/wayland-rs/commits )
---
updated-dependencies:
- dependency-name: wayland-protocols
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-24 17:31:41 +00:00
dependabot[bot]
18e9786899
build(deps): bump prettyplease from 0.2.24 to 0.2.25 ( #33996 )
...
Bumps [prettyplease](https://github.com/dtolnay/prettyplease ) from 0.2.24 to 0.2.25.
- [Release notes](https://github.com/dtolnay/prettyplease/releases )
- [Commits](https://github.com/dtolnay/prettyplease/compare/0.2.24...0.2.25 )
---
updated-dependencies:
- dependency-name: prettyplease
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-24 17:31:33 +00:00
dependabot[bot]
0efea141cf
build(deps): bump regex from 1.11.0 to 1.11.1 ( #33994 )
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.11.0 to 1.11.1.
- [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.11.0...1.11.1 )
---
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>
2024-10-24 17:26:38 +00:00
dependabot[bot]
cdb09ebfa9
build(deps): bump wayland-cursor from 0.31.6 to 0.31.7 ( #33995 )
...
Bumps [wayland-cursor](https://github.com/smithay/wayland-rs ) from 0.31.6 to 0.31.7.
- [Release notes](https://github.com/smithay/wayland-rs/releases )
- [Changelog](https://github.com/Smithay/wayland-rs/blob/master/historical_changelog.md )
- [Commits](https://github.com/smithay/wayland-rs/commits )
---
updated-dependencies:
- dependency-name: wayland-cursor
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-24 17:26:34 +00:00
Oriol Brufau
9ad59d1459
Consistent resolution of cyclic percentages in min sizing properties ( #33988 )
...
The spec says that cyclic percentages in min sizing properties should
be resolved against zero when computing intrinsic contributions.
We were already doing that in the inline axis, but we were treating
the entire expression as `auto` in the block axis.
With this patch we will follow the spec in both axes. But note that
browsers don't follo the spec in either axis, so we may have to revisit
(see https://github.com/w3c/csswg-drafts/issues/10969 ).
calc-min-height-block-1.html now fails because it tests what browsers
do instead of what the spec says.
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2024-10-24 12:03:32 +00:00
Ville Lindholm
202cb53d5b
add allow(non_camel_case_types) to generated pref structs ( #33987 )
...
Signed-off-by: Ville Lindholm <ville@lindholm.dev>
2024-10-24 09:36:13 +00:00
dependabot[bot]
12dd79c3e8
build(deps): bump lyon_geom from 1.0.5 to 1.0.6 ( #33982 )
...
Bumps [lyon_geom](https://github.com/nical/lyon ) from 1.0.5 to 1.0.6.
- [Release notes](https://github.com/nical/lyon/releases )
- [Commits](https://github.com/nical/lyon/commits )
---
updated-dependencies:
- dependency-name: lyon_geom
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-24 05:36:49 +00:00
dependabot[bot]
d74b078c2f
build(deps): bump anyhow from 1.0.90 to 1.0.91 ( #33981 )
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.90 to 1.0.91.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.90...1.0.91 )
---
updated-dependencies:
- dependency-name: anyhow
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-24 04:20:44 +00:00
tanishka
ea875f0a51
CanGc fixes from EventTarget::fire_event ( #33985 )
...
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
2024-10-23 22:48:19 +00:00
chickenleaf
bb4932026c
cangc fixes in node.rs ( #33984 )
...
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
2024-10-23 22:44:50 +00:00
Wulan Seruniati Salim
3ed778150f
Replace CanGC note calls with arguments passed by callers ( #33978 )
...
Signed-off-by: Wulan Seruniati Salim <wulanseruniati@gmail.com>
Co-authored-by: Wulan Seruniati Salim <lauwwulan1806@gmail.com>
2024-10-23 22:19:20 +00:00
dependabot[bot]
9d75862c7d
build(deps): bump thiserror from 1.0.64 to 1.0.65 ( #33980 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.64 to 1.0.65.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.64...1.0.65 )
---
updated-dependencies:
- dependency-name: thiserror
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-23 18:06:02 +00:00
dependabot[bot]
85888efa07
build(deps): bump serde from 1.0.212 to 1.0.213 ( #33983 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.212 to 1.0.213.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.212...v1.0.213 )
---
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-10-23 17:25:56 +00:00
dependabot[bot]
f4c1799158
build(deps): bump wayland-client from 0.31.6 to 0.31.7 ( #33979 )
...
Bumps [wayland-client](https://github.com/smithay/wayland-rs ) from 0.31.6 to 0.31.7.
- [Release notes](https://github.com/smithay/wayland-rs/releases )
- [Changelog](https://github.com/Smithay/wayland-rs/blob/master/historical_changelog.md )
- [Commits](https://github.com/smithay/wayland-rs/commits )
---
updated-dependencies:
- dependency-name: wayland-client
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-23 17:00:22 +00:00
chickenleaf
076b37e6aa
Resolved potential GC borrow hazards in ModuleTree::append_handler, ModuleTree::append_dynamic_module_handler, and ModuleTree::fetch_module_descendants' ( #33942 )
...
* GC borrow hazard ModuleTree fix
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
* Prevent `stretch` from producing a negative size (#33951 )
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
* reverted debug_assert back to assert
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
* added can_gc arguments to the function calls
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
---------
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
2024-10-23 11:51:49 +00:00
chickenleaf
324f42abd7
Use borrow() to fix GC hazard in stream_chunk ( #33976 )
...
* Use borrow() to fix GC hazard in stream_chunk
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
* added the corrections
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
---------
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
2024-10-23 11:51:15 +00:00
Josh Matthews
12e6ec25aa
Propagate CanGc when interacting with readable streams. ( #33975 )
...
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
2024-10-23 11:49:59 +00:00
Martin Robinson
f553bda7eb
clippy: Fix warning in fonts/platform/macos/font_list.rs
( #33971 )
...
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2024-10-23 07:55:43 +00:00
Josh Matthews
6fdd5ce4cb
Ensure compiled script module object remains rooted while it's being passed around. ( #33938 )
...
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
2024-10-23 01:30:47 +00:00
tanishka
7fbd2a521e
CanGc fixes from eventtarget.rs ( #33973 )
...
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
2024-10-22 22:43:52 +00:00
Daniel Adams
7b392db02f
crypto: Add support for AES-CTR operations ( #33963 )
...
* Add support for AES-CTR operations
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Update expectations
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* clippy
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Consolidate encrypt/decrypt for AES-CTR
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Update expectations
Signed-off-by: Daniel Adams <msub2official@gmail.com>
---------
Signed-off-by: Daniel Adams <msub2official@gmail.com>
2024-10-22 22:32:41 +00:00
Oriol Brufau
1c26c0335e
Implement keyword sizes on absolute/fixed positioned elements ( #33950 )
...
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2024-10-22 18:50:12 +00:00
dependabot[bot]
c5ee573c6d
build(deps): bump bytes from 1.7.2 to 1.8.0 ( #33969 )
...
Bumps [bytes](https://github.com/tokio-rs/bytes ) from 1.7.2 to 1.8.0.
- [Release notes](https://github.com/tokio-rs/bytes/releases )
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/bytes/compare/v1.7.2...v1.8.0 )
---
updated-dependencies:
- dependency-name: bytes
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-22 17:56:57 +00:00
dependabot[bot]
8c2f4166b6
build(deps): bump tokio from 1.40.0 to 1.41.0 ( #33970 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.40.0 to 1.41.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.40.0...tokio-1.41.0 )
---
updated-dependencies:
- dependency-name: tokio
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-10-22 17:56:15 +00:00
dependabot[bot]
061636fb07
build(deps): bump serde from 1.0.210 to 1.0.212 ( #33968 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.210 to 1.0.212.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.210...v1.0.212 )
---
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-10-22 17:52:32 +00:00
dependabot[bot]
09c0c65fe8
build(deps): bump proc-macro2 from 1.0.88 to 1.0.89 ( #33966 )
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.88 to 1.0.89.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.88...1.0.89 )
---
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>
2024-10-22 17:45:51 +00:00
tanishka
78d48ae2fb
Fix GC borrow hazard in XRSession::UpdateTargetFrameRate ( #33929 )
...
* Fix GC borrow hazard in XRSession::UpdateTargetFrameRate
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
* Limit borrow scope
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
---------
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
2024-10-22 17:01:42 +00:00
Martin Robinson
01c9ecfe01
layout: Cache content block size contributions ( #33964 )
...
This is the first part of caching intermediary layout during flexbox
layout. A later change will try to reuse these layouts, when possible,
for actual item layout and re-layout due to stretching.
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
2024-10-22 14:43:53 +00:00
tanishka
7015e0fb5f
CanGc fixes in errorevent.rs
( #33960 )
...
* CanGc fixes in errorevent.rs
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
* Allow too_many_arguments to avoid lint error
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
---------
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
2024-10-22 10:08:55 +00:00
Josh Matthews
575e885529
Mark promise creation methods with CanGc ( #33928 )
...
* Add CanGc annotations to promise constructor.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Propagate CanGc arguments for Promise::new_in_current_realm.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Fix out-of-order entries.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Propagate CanGc from Promise::new.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Suppress clippy warning.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Formatting.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
---------
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
2024-10-22 09:35:20 +00:00
Josh Matthews
edc304854f
Avoid invalid lifetime extension for winit event loop. ( #33962 )
...
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
2024-10-22 09:32:03 +00:00
Oriol Brufau
8824c90716
Prevent stretch
from producing a negative size ( #33951 )
...
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2024-10-22 08:04:15 +00:00
dependabot[bot]
afeaff7f1a
build(deps): bump prettyplease from 0.2.22 to 0.2.24 ( #33956 )
...
Bumps [prettyplease](https://github.com/dtolnay/prettyplease ) from 0.2.22 to 0.2.24.
- [Release notes](https://github.com/dtolnay/prettyplease/releases )
- [Commits](https://github.com/dtolnay/prettyplease/compare/0.2.22...0.2.24 )
---
updated-dependencies:
- dependency-name: prettyplease
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-22 05:22:01 +00:00
chickenleaf
ebfea9b352
CanGc fixes in several files ( #33958 )
...
* few cangc fixes
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
* few cangc fixes
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
---------
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
2024-10-21 21:32:22 +00:00
dependabot[bot]
1bf68567b8
build(deps): bump syn from 2.0.79 to 2.0.82 ( #33952 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.79 to 2.0.82.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.79...2.0.82 )
---
updated-dependencies:
- dependency-name: syn
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-21 20:41:13 +00:00
chickenleaf
aeed5ca3b4
Replaced mem::replace with mem::take for old_min_size ( #33959 )
...
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
2024-10-21 19:30:57 +00:00
dependabot[bot]
b4d93dace5
build(deps): bump serde_json from 1.0.131 to 1.0.132 ( #33954 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.131 to 1.0.132.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/1.0.131...1.0.132 )
---
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-10-21 17:44:25 +00:00
dependabot[bot]
799735a9fa
build(deps): bump async-compression from 0.4.16 to 0.4.17 ( #33955 )
...
Bumps [async-compression](https://github.com/Nullus157/async-compression ) from 0.4.16 to 0.4.17.
- [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.16...v0.4.17 )
---
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-21 17:44:16 +00:00
dependabot[bot]
99f89f403a
build(deps): bump flume from 0.11.0 to 0.11.1 ( #33953 )
...
Bumps [flume](https://github.com/zesterer/flume ) from 0.11.0 to 0.11.1.
- [Changelog](https://github.com/zesterer/flume/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zesterer/flume/commits )
---
updated-dependencies:
- dependency-name: flume
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-21 17:31:16 +00:00
tanishka
571cba4a81
CI: Fail the lint job when cargo-clippy reports some warnings ( #33941 )
...
* Fail the lint job when cargo-clippy reports some warnings
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
* Remove todo comment
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
* clippy: use Option::take instead of mem::replace
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
---------
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2024-10-21 15:18:32 +00:00
Josh Matthews
dc03d1f3e2
Mark CompileFunction as a potential GC operation. ( #33937 )
...
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
2024-10-21 12:29:50 +00:00
chickenleaf
9acb25521e
CanGc changes from fontfaceset.rs ( #33920 )
...
* CanGc changes from fontfaceset.rs
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
* Update components/script/dom/bindings/codegen/Bindings.conf
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-21 12:28:56 +00:00
tanishka
66695d2f7e
clippy: Fix warnings in subtlecrypto.rs ( #33943 )
...
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
2024-10-21 10:43:47 +00:00
Oriol Brufau
2319764a1e
Refactor positioned layout ( #33922 )
...
This unifies the size resolution into AbsoluteAxisSolver, since it needs
to know the size in order to resolve auto margins correctly anyways.
This will allow adding support for sizing keywords in a follow-up patch.
Also, this avoids doing multiple layouts due to min and max constraints,
improving performance.
Additionally, tables may end up having a custom size, different than
what we would expect by just looking at the sizing properties. This
patch ensures that we resolve margins correctly with the final size,
resulting in 2 tests now passing.
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2024-10-21 10:41:42 +00:00
DK Liao
fee927475b
Remove some unused preferences ( #33939 )
...
Signed-off-by: DK Liao <dklassic@gmail.com>
2024-10-21 08:24:27 +00:00
Daniel Adams
45267c9f28
crypto: Implement encrypt/decrypt for AES-CBC + JWK support ( #33795 )
...
* Add support for raw importKey with AES-CBC
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Support JWK import/export, importKey for AES-CBC
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Implement encrypt/decrypt for AES-CBC
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Update expectations
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Update Cargo.lock
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Pass MutableHandleObject as arg instead of returning raw pointer
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Swap order of checks in generate_key_aes_cbc
- Fixes WPT tests that expect to error on algorithm first before usages
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Avoid potential GC hazard with array_buffer_ptr
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Update expectations for discards context
Signed-off-by: Daniel Adams <msub2official@gmail.com>
---------
Signed-off-by: Daniel Adams <msub2official@gmail.com>
2024-10-21 07:32:19 +00:00
Noble Chinonso
397c5adf79
clippy: fix explicit lifetime warning in components\layout_2020\style_ext.rs:320:20 ( #33936 )
...
Signed-off-by: Noble <nobleuwuja@gmail.com>
2024-10-21 07:03:55 +00:00
Noble Chinonso
c550a70f5c
clippy: fix using clone() warning in components\layout_2020\display_list\mod.rs:1365:25 ( #33935 )
...
Signed-off-by: Noble <nobleuwuja@gmail.com>
2024-10-21 05:54:22 +00:00