Alejandro Alonso
7889578ced
🎉 Use textures directly for images
2025-11-05 17:16:06 +01:00
alonso.torres
a230d2fcf6
✨ Improve tile rendering updating
2025-11-05 17:16:06 +01:00
Belén Albeza
8148da58ed
🐛 Fix wasm crash when loading a file with missing font assets
2025-11-05 07:47:16 +01:00
Alejandro Alonso
6ea69c94ee
🎉 Improve big images performance
2025-11-04 22:02:34 +01:00
alonso.torres
f3b914534f
✨ Add scale_content to shapes_pool
2025-10-31 11:56:28 +01:00
alonso.torres
dbf9bdceb5
✨ Removed modifiers from code
2025-10-31 11:56:28 +01:00
Elena Torro
9dfb0ebe84
🐛 Fix default font size in text spans
2025-10-29 17:23:29 +01:00
Alejandro Alonso
14d5de29da
🐛 Fix nested fills for shapes with svg attrs
2025-10-28 12:25:57 +01:00
Alejandro Alonso
479ce99b32
✨ Improve setting svg attrs in wasm
2025-10-24 10:35:30 +02:00
alonso.torres
66997d2bc9
✨ Add set_children granular methods for performance
2025-10-16 15:33:08 +02:00
Alejandro Alonso
7350329658
🐛 Filter svg attrs supported in wasm
2025-10-16 14:48:22 +02:00
alonso.torres
2e6fb1b9c5
✨ New render small performance optimizations
2025-10-16 12:40:29 +02:00
Aitor Moreno
bbb78904fb
🎉 Add debug and alert when WebGL is unsupported
2025-10-15 10:06:02 +02:00
Aitor Moreno
c097aef152
🐛 Fix wrong text auto width/height layout
2025-10-01 12:27:38 +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
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
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
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