Alejandro Alonso
f21bd45893
🐛 Fix paths and layout performance and rendering on boolean exclusions ( #10778 )
...
* 🐛 Skip identity transforms in layout reflow propagation
Layout reflow emitted identity transforms for unchanged children, which
fanned out through the whole subtree on every drag frame and froze large
files in the WASM renderer.
* 🐛 Fix exclude boolean rendering in render WASM
2026-07-22 15:47:43 +02:00
Aitor Moreno
d0f6d5b3a1
♻️ Refactor render pipeline ( #9891 )
...
* ♻️ Refactor viewbox
* 🎉 Add draw_atlas alternative to draw tiles
* 🐛 Fix minor glitches
* ♻️ Change how process_animation_frame works
* ♻️ Refactor document atlas
* ♻️ Refactor max texture size
* ♻️ Refactor entrypoints and dead_code
2026-06-02 09:38:52 +02:00
alonso.torres
dddb4cf0b6
🐛 Fix layout render-wasm issues
2026-06-01 10:27:59 +02:00
alonso.torres
111d7daa94
🐛 Fix problem with absolute elements in flex layout
2026-05-28 13:09:06 +02:00
alonso.torres
8098250b23
🐛 Fix problem with grid child positions
2026-05-19 12:43:56 +02:00
Alonso Torres
e948020886
🐛 Fix problem with rounding in flex elements
2026-05-04 10:35:16 +02:00
alonso.torres
719f4a5035
🐛 Fix default alignself behavior
2026-04-21 14:33:47 +02:00
Alonso Torres
1539c074b4
🐛 Fix problem with margins in grid ( #8748 )
2026-03-24 13:48:24 +01:00
Elena Torro
e630be1509
🎉 Add background blur for wasm render
2026-03-18 18:05:30 +01:00
Elena Torro
2ccd2a6679
🔧 Use HashSet for grid layout children lookup
...
HashSet provides O(1) contains() vs Vec's O(n), improving
child lookup performance in grid cell data creation.
2026-02-09 09:38:01 +01:00
Elena Torro
2d9a2e0d50
🔧 Use swap_remove in flex layout distribution
...
swap_remove is O(1) vs remove's O(n) when order doesn't matter.
These loops iterate backwards, so swap_remove is safe.
2026-02-09 09:38:01 +01:00
Elena Torro
c87ffdcd30
🔧 Add forward children iterator for flex layout
...
Avoid Vec allocation + reverse for reversed flex layouts.
The new children_ids_iter_forward returns children in original order,
eliminating the need to collect and reverse.
2026-02-09 09:35:04 +01:00
alonso.torres
53c2acb3e6
🐛 Fix several problems with layouts and texts
2026-02-05 17:29:43 +01:00
Elena Torro
8d1bc6c50c
🐛 Fix flex layout sorting on reverse order with no z-index
2026-01-27 09:34:36 +01:00
alonso.torres
8fde6b28ed
🐛 Fix problems with alignments and margins
2025-12-12 13:21:04 +01:00
alonso.torres
63325ec796
🐛 Fix problem with flex fill size distribution
2025-12-12 13:21:04 +01:00
alonso.torres
59f3b4db4c
🐛 Fix problem with auto-size and element margins
2025-11-28 12:12:19 +01:00
alonso.torres
130b8c8214
🐛 Fix problems with flex layout in new render
2025-11-28 10:49:55 +01:00
alonso.torres
2d63730bfa
✨ Improved performance in modifiers
2025-11-13 12:31:26 +01:00
Alejandro Alonso
ba092f03e1
🎉 Use Vec instead of Indexset
2025-11-06 14:16:07 +01:00
alonso.torres
dbf9bdceb5
✨ Removed modifiers from code
2025-10-31 11:56:28 +01:00
Alejandro Alonso
c66a8f5dc5
✨ Improve shapes pool performance
2025-10-31 11:56:28 +01:00
alonso.torres
98e91ecda5
🐛 Fix problem with flex type conversions
2025-10-22 16:03:51 +02:00
Belén Albeza
e4d610d503
♻️ Decouple shapes serialization from model (rust) ( #7328 )
...
* ♻️ Move shape type serialization to wasm module
* ♻️ Refactor serialization of constraints and vertical alignment into wasm module
* ♻️ Refactor serialization and model of shape blur
* ♻️ Refactor bool serialization to the wasm module
* ♻️ Split wasm::layout into submodules
* ♻️ Refactor serialization of AlignItems, AlignContent, JustifyItems and JustifyContent
* ♻️ Refactor serialization of WrapType and FlexDirection
* ♻️ Refactor serialization of JustifySelf
* ♻️ Refactor serialization of GridCell
* ♻️ Refactor serialization of AlignSelf
* 🐛 Fix AlignSelf not being serialized
* ♻️ Refactor handling of None variants in Raw* enums
* ♻️ Refactor serialization of grid direction
* ♻️ Refactor serialization of GridTrack and GridTrackType
* ♻️ Refactor serialization of Sizing
* ♻️ Refactor serialization of ShadowStyle
* ♻️ Refactor serialization of StrokeCap and StrokeStyle
* ♻️ Refactor serialization of BlendMode
* ♻️ Refactor serialization of FontStyle
* ♻️ Refactor serialization of GrowType
2025-09-22 13:47:54 +02:00
Belén Albeza
e5e11b6383
🔧 Autogenerate serialization values for wasm enums ( #7296 )
...
* 🔧 Autogenerate serialization values for wasm enums
* 🔧 Add serializer values to the wasm api
* ✨ Avoid converting to a clojure map the serializer js object
* 🔧 Update watch script for autoserialized enums
* 🐛 Fix missing serializer values
2025-09-16 12:29:14 +02:00
alonso.torres
a003687256
🐛 Fix problem with grid assignments
2025-07-09 14:55:14 +02:00
alonso.torres
69135ef8c7
♻️ Refactor wasm shapes state management
2025-07-08 08:30:40 +02:00
alonso.torres
3d374e8e97
♻️ Refactor mutability modifiers in wasm
2025-07-01 12:47:31 +02:00
alonso.torres
8dcb376b18
✨ Add drop grid cells in wasm
2025-06-30 10:28:59 +02:00
alonso.torres
fb07788e8f
🐛 Fix problem with fr allocation
2025-06-26 13:17:26 +02:00
alonso.torres
afec3b9bc1
🐛 Fix problem with margin in flex layout
2025-06-24 10:26:37 +02:00
alonso.torres
ac6a814026
🐛 Fix problem with flex layout in wasm
2025-06-24 10:26:37 +02:00
alonso.torres
11467e26a2
🐛 Fix problem with flex wrap in wasm
2025-06-19 13:03:25 +02:00
alonso.torres
b997d5a320
🐛 Fix problem with grid layout wasm
2025-06-19 13:03:25 +02:00
alonso.torres
5b4cd9f4f1
🐛 Fix problem when moving masks, bools, groups with wasm
2025-06-19 13:03:25 +02:00
alonso.torres
58e5748b4f
🐛 Fix wasm layout problems
2025-06-19 13:03:25 +02:00
alonso.torres
0be8a6e0e6
✨ Add grid helpers to wasm
2025-06-16 09:55:35 +02:00
alonso.torres
bcfa9a82ea
✨ Add scale content to render wasm
2025-05-28 16:40:57 +02:00
alonso.torres
a85a42d367
🐛 Fix some problems with modifiers
2025-05-27 09:33:33 +02:00
alonso.torres
5d42b9793b
🐛 Fix some problems with layouts
2025-05-21 10:42:03 +02:00
Belén Albeza
8afd217a80
🔧 Enable back clippy rules ( #6492 )
...
* 🔧 Fix lint script (rust)
* 🔧 Temporarily add clippy rules to ignore so lint script passes
* 💄 Fix clippy rule crate_in_macro_def
* 💄 Fix clippy rule redundant-static-lifetimes
* 💄 Fix clippy rule unnecessary_cast
* 💄 Fix clippy rule nonminimal_bool
* 💄 Fix clippy rule redundant_pattern_matching
* 💄 Fix clippy rule assign_op_pattern
* 💄 Fix clippy rule needless_lifetimes
* 💄 Fix clippy rule for_kv_map
* 💄 Fix clippy rule ptr_arg
* 💄 Fix clippy rule match_like_matches_macro
* 💄 Fix clippy rule macro_metavars_in_unsafe
* 💄 Fix clippy rule map_clone
* 💄 Fix clippy rule wrong_self_convention
* 💄 Fix clippy rule vec_box
* 💄 Fix clippy rule useless_format
* 💄 Fix clippy rule unwrap_or_default
* 💄 Fix clippy rule unused_unit
* 💄 Fix clippy rule unnecessary_to_owned
* 💄 Fix clippy rule too_many_arguments
* 💄 Fix clippy rule slow_vector_initialization
* 💄 Fix clippy rule single_match
* 💄 Fix clippy rule redundant_field_names
* 💄 Fix clippy rule rendudant_closure
* 💄 Fix clippy rule needless_return
* 💄 Fix clippy rule needless_range_loop
* 💄 Fix clippy rule needless_borrows_for_generic_args
* 💄 Fix clippy rule needless-borrow
* 💄 Fix clippy rule missing_transmute_annotations
* 💄 Fix clippy rule map_entry
* 💄 Fix clippy rule manual_map
* 💄 Fix clippy rule len_zero
* 💄 Fix clippy rule from_over_into
* 💄 Fix clippy rule field_reassign_with_default
* 💄 Fix clippy rule enum_variant_names
* 💄 Fix clippy rule derivable_impls
* 💄 Fix clippy rule clone_on_copy
* 💄 Fix clippy rule box_collection
* 🔧 Make lint script also check test config target
* 🔧 Remove cargo-watch as a lib dependency
* 💄 Fix clippy rule for join_bounds
* 🔧 Fix lint script return code
---------
Co-authored-by: alonso.torres <alonso.torres@kaleidos.net>
2025-05-19 11:14:55 +02:00
Alejandro Alonso
03b4fe3558
🎉 Add shapes buffer to improve memory allocation
2025-05-09 15:00:02 +02:00
alonso.torres
88e5209856
✨ Apply modifiers changes into data
2025-04-30 09:34:13 +02:00
alonso.torres
8ce71e792e
✨ Add dynamic properties modifiers to WASM
2025-04-25 15:03:24 +02:00
alonso.torres
daf048e258
✨ Reparent modifiers
2025-04-16 11:27:51 +02:00
alonso.torres
a59014cad0
✨ Modifiers grid multi-span
2025-04-11 13:35:16 +02:00
alonso.torres
63666fca48
✨ Grid layout modifiers
2025-04-07 11:51:28 +02:00
Alejandro Alonso
7728d5b317
🎉 Improve performance reducing unnecessary calls to set-objects
2025-03-27 15:47:03 +01:00
Alonso Torres
83d41dba6f
✨ Serialization of grid layout data ( #6148 )
...
* ✨ Add serializators for grid layout properties
* ✨ Extract serializers for wasm api module
2025-03-26 12:10:31 +01:00
alonso.torres
a830c27ceb
✨ Improvements on flex layout positioning
2025-03-21 10:18:34 +01:00