Releases: RibirX/Ribir
Releases · RibirX/Ribir
ribir-v0.4.0-alpha.27
Features
- core: Add the ability to force redraw a frame. (#697 @zihadmahiuddin)
Fixed
- core: Fix window staying empty after switching workspace (e.g. in i3wm) by doing a force redraw. (#697 @zihadmahiuddin)
ribir-v0.4.0-alpha.26
ribir-v0.4.0-alpha.25
Features
- core: Add builtin field
clip_boundary
. (#694 @wjian23) - core:
IgnorePointer
now has the ability to only ignore events for the widget itself. (#695 @M-Adoo) - core: Included
BoxPainter
to draw decorations starting from the widget box's origin while ignoring padding. (#695 @M-Adoo)
Changed
Fixed
- core & widgets: Layouts are not permitted to return an infinite size, so if a layout requires scaling or expanding the size infinitely, that action should be disregarded. (#695 @M-Adoo)
- macros: Embedding
fn_widget!
may lead to missed captured variables. (#695 @M-Adoo) - core: The child should not be painted when visible is false. (#695 @M-Adoo)
- core: Ensure that the content widget size in the scrollable widget is not smaller than its viewport. (#695 @M-Adoo)
- core: The crash occurs when a parent widget with a class tries to convert the widget with more than one leaf. (#695 @M-Adoo)
- core: The padding only reduces the content size and does not affect the border and background size. (#695 @M-Adoo)
ribir-v0.4.0-alpha.24
Features
- core: ensure object safety of
StateReader
,StateWatcher
andStateWriter
(#692 @M-Adoo) - core: Support extend custom event. (#684 @wjian23)
- core: Added
map_watcher
toStateWatcher
(#684 @wjian23) - core: Added
ensure_visible
and ScrollableProvider to ScrollableWidget, to support descendant to be showed.(#684 @wjian23)
Changed
- core: Unified implementation of IntoWidget for impl StateWriter<V:Compose>. (#684 @wjian23)
- widgets: Refactor
Input
Widget. (#684 @wjian23)
Breading
ribir-v0.4.0-alpha.23
Features
- core: The
Render::dirty_phase
method has been added to allow widgets to mark only the paint phase as dirty when it is modified. (#689 @M-Adoo) - core: Supports
Provider
to dirty the tree if it's a state writer. (#689 @M-Adoo) - core: Added the built-in field
providers
to provide data to its descendants. (#690 @M-Adoo) - core: Added
Variant
to support building widgets with variables acrossProviders
. (#690 @M-Adoo) - macros: Added the
part_reader!
macro to generate a partial reader from a reference of a reader. (#688 @M-Adoo) - macros: The
simple_declare
now supports thestateless
meta attribute,#[simple_declare(stateless)]
. (#688 @M-Adoo)
Fixed
- Core:
PartData
allows the use of a reference to create a write reference, which is unsafe. IntroducePartRef
andPartMut
to replace it. (#690 @M-Adoo)
Breading
ribir-v0.4.0-alpha.22
ribir-v0.4.0-alpha.21
ribir-v0.4.0-alpha.20
Features
- core: Added
Measure
to enable support for percentage values for position, andAnchor
now supports percentage values. (#672 @M-Adoo) - core: Added APIs
AppCtx::once_next_frame
,Window::once_next_frame
,Window::once_frame_finished
andWindow::once_before_layout
. (#672 @M-Adoo) - painter: Typography now supports baselines (middle and alphabetic). (#674 @M-Adoo)
- Widgets: Added new layout widgets,
HorizontalLine
andVerticalLine
. (#679 @M-Adoo)
Changed
Fixed
- core: Fix set opacity zero no work to it's children. (#671 @wjian23)
- core: Fix TextStyle cause providers mismatched (#671 @wjian23)
- core: Running an animation that is already in progress does not trigger a smooth transition. (#672 @M-Adoo)
- core: The framework incorrectly clamps the layout result of the render widget. (#672 @M-Adoo)
- core: Padding will not change the child's size; otherwise, child elements like
Icon
may not work correctly. (#674 @M-Adoo) - core: Allow children to be hit outside their parent's boundaries for non-fixed-size containers. (#676 @M-Adoo)
- painter: Fixed text line height does not work correctly. (#674 @M-Adoo)
- painter: Fixed issue with text not being drawn at the middle baseline by default. (#674 @M-Adoo)
Changed
ribir-v0.4.0-alpha.19
ribir-v0.4.0-alpha.18
Features
- core: Enhanced support for built-in fields such as
font_size
,font_face
,letter_spacing
,text_line_height
, andtext_overflow
throughTextStyleWidget
. (#668 @M-Adoo) - widgets: Icon size should be maintained even if its container is not sufficiently large. (#668 @M-Adoo)
- core: Added the builtin widget of tooltips (#664 @wjian23)