Belén Albeza
e4a3fc3940
✨ Limit the amount of text fills passed to wasm
2025-10-14 16:05:03 +02:00
Andrey Antukh
30e139ed10
🔥 Remove binary fills flag ( #7462 )
...
* 🐛 Add missing IEmptyableCollection protocol impl for wasm Shape
* 🔥 Remove frontend-binary-fills flag
* ✨ Fix fill-limit integration tests
---------
Co-authored-by: Belén Albeza <belen@hey.com >
2025-10-13 12:14:25 +02:00
Belén Albeza
60f45d1fd7
🐛 Fix internal error crash when attempting to download a font resource that returns 404
2025-10-02 09:58:38 +02:00
Aitor Moreno
c097aef152
🐛 Fix wrong text auto width/height layout
2025-10-01 12:27:38 +02:00
Aitor Moreno
732c79b7b5
🎉 Add function to retrieve caret position
2025-10-01 09:18:46 +02:00
Elena Torró
c32b94abcf
Merge pull request #7343 from penpot/elenatorro-12118-support-large-svg-files
...
🐛 Fix parsing large paths with multiple subpaths
2025-09-26 13:35:17 +02:00
Elena Torro
9d8ad0ea6e
🐛 Fix parsing large paths with multiple subpaths
2025-09-26 13:04:47 +02:00
Elena Torró
9b90236b72
Merge pull request #7385 from penpot/elenatorro-improve-image-load-performance
...
🔧 Improve image parsing performance
2025-09-25 17:20:49 +02:00
Elena Torro
bf6cdf729d
🔧 Improve image parsing performance
2025-09-25 17:17:42 +02:00
Belén Albeza
361bdb4a04
♻️ Decouple serialization from text/layout models" ( #7360 )
...
* ♻️ Move text serialization code to wasm module
* ♻️ Add serializer for TextAlign
* ♻️ Add serializers for TextDirection and TextDecoration
* ♻️ Add serializer for TextTransform
* ♻️ Remove unused font_style from TextLeaf model
* ♻️ Refactor parsing of TextLeaf from bytes
* ♻️ Decouple tight serialization of Paragraph
2025-09-25 16:54:07 +02:00
Aitor Moreno
f505fcfa0d
🎉 Add internal TextContent layout data
2025-09-22 16:01:23 +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
Andrey Antukh
80cb48fd6a
Merge remote-tracking branch 'origin/staging' into develop
2025-09-18 10:44:21 +02:00
Andrey Antukh
e88039e46a
🐛 Fix future linter issues on wasm shape impl
2025-09-17 16:53:02 +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
Alejandro Alonso
41751d60d2
🐛 Fix corner radius
2025-09-09 10:24:56 +02:00
Elena Torro
46b3e174ed
🐛 Fix paragraph layout width on autowidth
2025-08-22 13:55:24 +02:00
Alejandro Alonso
c0c2c9489c
Merge pull request #7170 from penpot/elenatorro-fix-text-tests
...
🔧 Update and fix text tests
2025-08-22 13:34:00 +02:00
Aitor Moreno
596193d34d
🎉 Add missing styles on text leaves
2025-08-22 12:22:51 +02:00
Elena Torro
96a91dc710
🔧 Add missing emoji ranges
2025-08-22 09:54:03 +02:00
Andrey Antukh
6588913141
♻️ Remove several level of unnecesary allocation on writing text
2025-08-18 21:54:36 +02:00
Andrey Antukh
5c4a60aee7
✨ Make mem write helpers receive offset as first arg
2025-08-18 21:54:36 +02:00
Andrey Antukh
675864ce0b
✨ Remove incorrect usage of dm/get-prop
2025-08-18 21:54:36 +02:00
Andrey Antukh
c55f3182d8
💄 Rename text-dimensions to get-text-dimensions
2025-08-18 21:49:00 +02:00
Andrey Antukh
0d6eac7656
💄 Add mainly cosmetic changes to set-shape-shadows
...
Mainly replace a loop with run! that used reduce as impl.
After measuring there are no real difference between using
the more complex loop and more simplier run!; in parity of
performance we prefer simplier approach.
2025-08-18 21:49:00 +02:00
Andrey Antukh
7acfd199aa
💄 Add mainly cosmetic changes to set-layout-child
2025-08-18 21:49:00 +02:00
Andrey Antukh
33d6f543a1
⚡ Remove several not necessary allocations from set-grid-layout-cells
2025-08-18 21:49:00 +02:00
Alejandro Alonso
56f162f219
Merge pull request #7133 from penpot/superalex-fix-create-variant-doesnt-work-2
...
🐛 Create variant doesn't work
2025-08-18 13:02:33 +02:00
Alejandro Alonso
832690e71e
🐛 Create variant doesn't work
2025-08-18 11:58:24 +02:00
Belén Albeza
c818b6f88f
🐛 Fix layout and constraints not being cleared
2025-08-14 15:38:23 +02:00
Alejandro Alonso
5e0a2f66e3
🐛 Fix set corners
2025-08-14 11:50:40 +02:00
Andrey Antukh
8e51aa8df4
🐛 Fix regression on set-shape-children introduced in prev merge
2025-08-12 16:03:34 +02:00
Andrey Antukh
029a9674ca
Merge pull request #7103 from penpot/niwinz-develop-modifiers-enhacements
...
♻️ Sanitize heap write and read operations
2025-08-12 13:11:02 +02:00
Alejandro Alonso
68cee1b1f1
Merge pull request #7076 from penpot/ladybenko-11755-fix-color-picker
...
🐛 Fix color picker not working with the new renderer
2025-08-12 11:57:21 +02:00
Andrey Antukh
e69d61eaf4
✨ Add facilities for work with dataview with common alases
2025-08-12 11:27:13 +02:00
Andrey Antukh
f9d757bb85
✨ Move several mem write helpers to mem.heap32 ns
...
For simplify usage and make it clear the required addressing
is used for that functions
2025-08-12 10:53:02 +02:00
Andrey Antukh
6b6e80f4b8
🐛 Fix regression introduced on the set-grid-layout-cells fn
...
Incorrect data is used for calcultate the size
2025-08-12 10:33:50 +02:00
Andrey Antukh
f32b92a5b0
✨ Assign defaults on serializers instead on api
...
For make the operations more efficient
2025-08-12 10:33:08 +02:00
Andrey Antukh
761a0a7009
✨ Improve memory write operations on set-grid-layout-rows
2025-08-12 10:32:35 +02:00
Andrey Antukh
3f71734cb4
⚡ Remove unnecessary anon fn allocation on set-grid-layout-data
...
And remove incorrect use of dm/get prop for non statically known
attributes of shape
2025-08-12 09:59:18 +02:00
Andrey Antukh
9f14edb0d7
⚡ Remove unnecessary anonymouns fn allocation from set-flex-layout
...
And also removes usage of dm/get-prop for props that are known to be
not static
2025-08-12 09:59:18 +02:00
Andrey Antukh
7fa7a806a8
⚡ Remove unnecesary allocation of corners on wasm api set-shape
2025-08-12 09:59:18 +02:00
Andrey Antukh
d364f4db62
♻️ Sanitize heap write and read operations
...
Mainly improves the offset management making it less
error prone, encapsulating the write operation and offeset
management into write-* operations with proper asserts
for the expected heap type.
2025-08-12 09:59:18 +02:00
Andrey Antukh
73a72ec1c7
💄 Add naming and docstring consistency fixes to wasm api
2025-08-11 12:49:01 +02:00
Andrey Antukh
c39a8d84ac
💄 Abstract call to mem/free on wasm api ns
2025-08-11 10:30:14 +02:00
Andrey Antukh
027e5c64cc
✨ Reduce compexity on set-shape-children wasm api method
2025-08-11 10:30:14 +02:00
Andrey Antukh
ba42c9b85e
✨ Add improved interop between wasm bool and common code
2025-08-11 10:30:14 +02:00
alonso.torres
cd1be43384
✨ Add support for boolean shapes
2025-08-11 10:30:14 +02:00
Belén Albeza
60903f349f
🐛 Fix color picker not working with the new renderer
2025-08-06 18:00:48 +02:00
Elena Torro
c69ee35e18
✨ Include symbols support
2025-08-01 13:41:12 +02:00