-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Merged by Bors] - Upgrade to Taffy 0.3.3 #7859
Commits on Feb 2, 2023
-
* Removed the `Undefined` variant from `Val`. * Set Val's default variant to `Auto`. * Updated ui examples. * Removed `Val::Undefined` conversion code.
Configuration menu - View commit details
-
Copy full SHA for 5573ea6 - Browse repository at this point
Copy the full SHA 5573ea6View commit details
Commits on Feb 3, 2023
-
* Removed the `Undefined` variant of the `Val` enum. * Changed `UiRect::default()` to set all fields to `Val::Px(0.0)`. * Added the `Inset` type that is a copy of `UiRect` but its defaults are all `Val::Auto`. * Renamed the `position` field of `Style` to `inset` and changed its type to `Inset`. * Updated the UI examples to remove or replace any use of `Val::Undefined`. * Updated the UI examples to use `Inset`.
Configuration menu - View commit details
-
Copy full SHA for 26eeca7 - Browse repository at this point
Copy the full SHA 26eeca7View commit details -
Configuration menu - View commit details
-
Copy full SHA for b274e9e - Browse repository at this point
Copy the full SHA b274e9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9cffde9 - Browse repository at this point
Copy the full SHA 9cffde9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ed613f - Browse repository at this point
Copy the full SHA 8ed613fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bdf85e - Browse repository at this point
Copy the full SHA 9bdf85eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 54f68ce - Browse repository at this point
Copy the full SHA 54f68ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce52876 - Browse repository at this point
Copy the full SHA ce52876View commit details -
Configuration menu - View commit details
-
Copy full SHA for abdef25 - Browse repository at this point
Copy the full SHA abdef25View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e814cf - Browse repository at this point
Copy the full SHA 5e814cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2087be6 - Browse repository at this point
Copy the full SHA 2087be6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 99b93f8 - Browse repository at this point
Copy the full SHA 99b93f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ab3ffd - Browse repository at this point
Copy the full SHA 5ab3ffdView commit details
Commits on Feb 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for eb88a97 - Browse repository at this point
Copy the full SHA eb88a97View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6113911 - Browse repository at this point
Copy the full SHA 6113911View commit details
Commits on Feb 8, 2023
-
Merge branch 'main' of https://github.com/bevyengine/bevy into remove…
…-val-undefined
Configuration menu - View commit details
-
Copy full SHA for cc8d6d4 - Browse repository at this point
Copy the full SHA cc8d6d4View commit details -
Added a type `Breadth`, that is similar to `Val` but with only evaluatable variants. Gave UiRect a type parameter, so it can take `Breadth` or `Val` values. Added tests for `Breadth` and `UiRect`. Changed style properties to use `Breadth` instead of `Val` for the padding and border properties. Changed `bevy_ui::flex::convert::from_rect` to take an `UiRect<T: Into<Val>>` instead of a `UiRect`. Made minimal necessary changes to the examples.
Configuration menu - View commit details
-
Copy full SHA for 684b32a - Browse repository at this point
Copy the full SHA 684b32aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b2c93b - Browse repository at this point
Copy the full SHA 4b2c93bView commit details -
impl From<UiRect<Breadth> for <UiRect<Val> and use it to convert the …
…padding and border values in `bevy_ui::flex::convert::from_style`
Configuration menu - View commit details
-
Copy full SHA for 9597f15 - Browse repository at this point
Copy the full SHA 9597f15View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d02b25 - Browse repository at this point
Copy the full SHA 7d02b25View commit details
Commits on Feb 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7ef9ca4 - Browse repository at this point
Copy the full SHA 7ef9ca4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 087fc9e - Browse repository at this point
Copy the full SHA 087fc9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d558224 - Browse repository at this point
Copy the full SHA d558224View commit details
Commits on Feb 17, 2023
-
* Added a new trait `MeasureNode`. * Added new structs `ImageMeasure` and `BasicMeasure` that implement `MeasureNode`. * Add a field to `CalculatedSize` called `measure` that takes a boxed `MeasureNode`. * `upsert_leaf` uses the `measure` of `CalculatedSize` to create a `MeasureFunc` for the node.
Configuration menu - View commit details
-
Copy full SHA for 3a09af9 - Browse repository at this point
Copy the full SHA 3a09af9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b1712b8 - Browse repository at this point
Copy the full SHA b1712b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 080aae7 - Browse repository at this point
Copy the full SHA 080aae7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c4c01d - Browse repository at this point
Copy the full SHA 9c4c01dView commit details
Commits on Feb 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8934a6f - Browse repository at this point
Copy the full SHA 8934a6fView commit details
Commits on Feb 19, 2023
-
* Added the `TextLayoutInfo` component to `TextBundle`. * Added the `TextLayoutInfo` component to `Text2dBundle`. * Changed `TextLayoutInfo` queries to be non-optional.
Configuration menu - View commit details
-
Copy full SHA for fc9b2d9 - Browse repository at this point
Copy the full SHA fc9b2d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for f7d20ea - Browse repository at this point
Copy the full SHA f7d20eaView commit details
Commits on Feb 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 13091a3 - Browse repository at this point
Copy the full SHA 13091a3View commit details -
Merge branch 'split-text-system' of https://github.com/ickshonpe/bevy …
…into split-text-system
Configuration menu - View commit details
-
Copy full SHA for cfdb649 - Browse repository at this point
Copy the full SHA cfdb649View commit details -
Configuration menu - View commit details
-
Copy full SHA for 621a117 - Browse repository at this point
Copy the full SHA 621a117View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3981c7f - Browse repository at this point
Copy the full SHA 3981c7fView commit details -
* Renamed `CalculatedSize` to `IntrinsicSize`. It is now non-copy. Added a field `measure` and removed `preserve_aspect_ratio`. * Added `measurement` module to `bevy_ui` * Added `Measure` trait. A `Measure` is used to compute the size of an intrisically sized node. * Added `ImageMeasure` and `FixedMeasure` `Measure` implementations. * Changed `update_image_calculated_size_system` to use `ImageMeasure`. * Changed `upsert_leaf` to use the `Measure` of `CalculatedSize` for the `MeasureFunc` of intrinsically sized nodes.
Configuration menu - View commit details
-
Copy full SHA for b004072 - Browse repository at this point
Copy the full SHA b004072View commit details -
* Added the system (dummy atm) `measure_text_system` * Changed the system execution order so that `measure_text_system` replaces `text_system` in the order. `text_system` now runs after `UiSystem::Flex`. Previously the `text_system` ran before the layout was calculated and the size of the text node was determined, so it couldn't shape the text correctly to fit the layout, and had no way of determining if the text needed to be wrapped. There was a hack, the system `text_constraint` that tried to determine the size of the node from the local size constraints of the node in its `Style` component. This could not work correctly, `Val::Percent` constraints just had to be ignored as they are calcualted from size of the parent node and the `Val::Px` constraints are just a guess, without computing the rest of the layout. Also because the `text_system` queried for changes to the `Style` component, and not the `Node` component, it couldn't react to changes in the layout correctly. The layout system then wouldn't recieve all the information it would need to fit the text node correctly, such as the `max-content` and `min-content` sizes.
Configuration menu - View commit details
-
Copy full SHA for af7b6f2 - Browse repository at this point
Copy the full SHA af7b6f2View commit details -
* implemented the `measure_text_system` function. * Added the `TextMeasure` type that implements measure. * Added the `TextQueue` resource struct. * Added methods to the `TextPipeline` to get min and max content sizes for the text.
Configuration menu - View commit details
-
Copy full SHA for 2280bb0 - Browse repository at this point
Copy the full SHA 2280bb0View commit details -
changes: * Removed `TextQueue` * Added `min_content`, `max_content` and `ideal` fields to IntrinsicSize. * Added `ideal_height` field to `TextMeasure`. * Fixed text system queueing and change detection issues. `measure_text_system` only queries for modified `Text`, `text_system` queuries for `Text` or `Node` changes.
Configuration menu - View commit details
-
Copy full SHA for f510899 - Browse repository at this point
Copy the full SHA f510899View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95d7c96 - Browse repository at this point
Copy the full SHA 95d7c96View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91a05d2 - Browse repository at this point
Copy the full SHA 91a05d2View commit details
Commits on Feb 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c6602c7 - Browse repository at this point
Copy the full SHA c6602c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48746e0 - Browse repository at this point
Copy the full SHA 48746e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 637711e - Browse repository at this point
Copy the full SHA 637711eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 84ac898 - Browse repository at this point
Copy the full SHA 84ac898View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48c456e - Browse repository at this point
Copy the full SHA 48c456eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 547f99c - Browse repository at this point
Copy the full SHA 547f99cView commit details
Commits on Mar 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for cc4ec14 - Browse repository at this point
Copy the full SHA cc4ec14View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1471f3b - Browse repository at this point
Copy the full SHA 1471f3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 02679cd - Browse repository at this point
Copy the full SHA 02679cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for aec59ec - Browse repository at this point
Copy the full SHA aec59ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2572c39 - Browse repository at this point
Copy the full SHA 2572c39View commit details -
Configuration menu - View commit details
-
Copy full SHA for a513acb - Browse repository at this point
Copy the full SHA a513acbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 33c8e91 - Browse repository at this point
Copy the full SHA 33c8e91View commit details -
Configuration menu - View commit details
-
Copy full SHA for 796b2e1 - Browse repository at this point
Copy the full SHA 796b2e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 115f98c - Browse repository at this point
Copy the full SHA 115f98cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 492bbaf - Browse repository at this point
Copy the full SHA 492bbafView commit details -
Configuration menu - View commit details
-
Copy full SHA for 21fd333 - Browse repository at this point
Copy the full SHA 21fd333View commit details -
Configuration menu - View commit details
-
Copy full SHA for 623c287 - Browse repository at this point
Copy the full SHA 623c287View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5a6144 - Browse repository at this point
Copy the full SHA e5a6144View commit details -
Update crates/bevy_ui/src/ui_node.rs
Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 035f0dc - Browse repository at this point
Copy the full SHA 035f0dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f32916 - Browse repository at this point
Copy the full SHA 6f32916View commit details -
Configuration menu - View commit details
-
Copy full SHA for cfadf55 - Browse repository at this point
Copy the full SHA cfadf55View commit details -
Revert "Update crates/bevy_ui/src/ui_node.rs"
This reverts commit 035f0dc.
Configuration menu - View commit details
-
Copy full SHA for 3117ed5 - Browse repository at this point
Copy the full SHA 3117ed5View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2000fb - Browse repository at this point
Copy the full SHA b2000fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for b52f7ac - Browse repository at this point
Copy the full SHA b52f7acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 333dda0 - Browse repository at this point
Copy the full SHA 333dda0View commit details -
Revert "Register
JustifySelf
andSize<Breadth>
"This reverts commit 21fd333.
Configuration menu - View commit details
-
Copy full SHA for 0a99ab8 - Browse repository at this point
Copy the full SHA 0a99ab8View commit details -
Revert "Added a doc comment for the start variant of
JustifySelf
"This reverts commit 492bbaf.
Configuration menu - View commit details
-
Copy full SHA for e7665c1 - Browse repository at this point
Copy the full SHA e7665c1View commit details -
Revert "Fixed some integration test complaints"
This reverts commit 115f98c.
Configuration menu - View commit details
-
Copy full SHA for 108d7a7 - Browse repository at this point
Copy the full SHA 108d7a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f70b0a - Browse repository at this point
Copy the full SHA 6f70b0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7405f47 - Browse repository at this point
Copy the full SHA 7405f47View commit details -
Revert "Merge branch 'breadth' of https://github.com/ickshonpe/bevy i…
…nto taffy-0.3.3" This reverts commit a513acb.
Configuration menu - View commit details
-
Copy full SHA for c7b19e9 - Browse repository at this point
Copy the full SHA c7b19e9View commit details -
Revert "Fixed
FlexSurface
for Taffy 0.3.3"This reverts commit 2572c39.
Configuration menu - View commit details
-
Copy full SHA for 1b2aece - Browse repository at this point
Copy the full SHA 1b2aeceView commit details -
Revert "Merge branch 'taffy-latest' of https://github.com/ickshonpe/bevy
into taffy-0.3.3" This reverts commit aec59ec.
Configuration menu - View commit details
-
Copy full SHA for e897d42 - Browse repository at this point
Copy the full SHA e897d42View commit details -
Configuration menu - View commit details
-
Copy full SHA for 434db4f - Browse repository at this point
Copy the full SHA 434db4fView commit details -
Revert "Merge remote-tracking branch 'origin/remove-val-undefined' in…
…to taffy-0.3.3" This reverts commit 1471f3b.
Configuration menu - View commit details
-
Copy full SHA for 4383fe0 - Browse repository at this point
Copy the full SHA 4383fe0View commit details
Commits on Mar 2, 2023
-
* disabled Taffy's gap feature * added `Stretch`, `Start` and `End` variants to `Style` enums where appropriate. * Modified `from_style` and associated helper functions to work with Taffy 0.3.3
Configuration menu - View commit details
-
Copy full SHA for 3db183f - Browse repository at this point
Copy the full SHA 3db183fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1dc0c48 - Browse repository at this point
Copy the full SHA 1dc0c48View commit details -
Change margins conversion to map
Val::Undefined
to `LengthPercentag……eAuto::Points(0.)`
Configuration menu - View commit details
-
Copy full SHA for dcfda78 - Browse repository at this point
Copy the full SHA dcfda78View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d0bc99 - Browse repository at this point
Copy the full SHA 9d0bc99View commit details -
Configuration menu - View commit details
-
Copy full SHA for d55df84 - Browse repository at this point
Copy the full SHA d55df84View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c814d2 - Browse repository at this point
Copy the full SHA 5c814d2View commit details -
* Added the variant `Unset` to `AlignItems`. * Improved the documentation for the `Style` enum properties.
Configuration menu - View commit details
-
Copy full SHA for 370b851 - Browse repository at this point
Copy the full SHA 370b851View commit details -
Configuration menu - View commit details
-
Copy full SHA for 126c9fc - Browse repository at this point
Copy the full SHA 126c9fcView commit details
Commits on Mar 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 65f732b - Browse repository at this point
Copy the full SHA 65f732bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a89104e - Browse repository at this point
Copy the full SHA a89104eView commit details -
Configuration menu - View commit details
-
Copy full SHA for efb48ed - Browse repository at this point
Copy the full SHA efb48edView commit details
Commits on Mar 4, 2023
-
Removed the
Unset
variant ofAlignItems
and theStretch
variant…… of JustifyContent.
Configuration menu - View commit details
-
Copy full SHA for 5cf3bbe - Browse repository at this point
Copy the full SHA 5cf3bbeView commit details