26 Commits
Author SHA1 Message Date
Miguel de Benito Delgado 6f34794f54 🐛 Fix render-wasm build arguments and artifact selection (#12254)
Forward Cargo arguments as an array and honor explicit profiles.
Build and copy each renderer target once under the repository lock,
with watch rebuilds using the same wrapper.

Select this checkout's compiler artifact and matching generated enum
table from Cargo JSON. Record actual features, profile and output paths,
and allow callers to override publication destinations.

Run the existing Cargo parser tests before the renderer's native tests
and stop on parser failures.

AI-assisted-by: gpt-6.1-sol
2026-10-13 12:54:48 +02:00
Andrey Antukh 5ef70c7284 ✨ Serialize render-wasm builds per checkout (#11903)
Protect shared setup, compilation, artifact copy, and target cleanup with
one flock lock per checkout. Route watch builds and frontend cleanup
through the protected scripts.

Document the lock contract and normalize the frontend and exporter
build:wasm commands.

Closes #11901

AI-assisted-by: Space Bunny Free
2026-09-25 09:42:27 +02:00
Elena Torró 38b990ef90 🔧 Add exporter headless backend (#10875)
* ✨ Add headless wasm render backend to the exporter

* ♻️ Move render-wasm bridge to common and split wasm builds

* 🔧 Upload builtin font variants in the wasm exporter

* ♻️ Move shared font and resources utils out of render_wasm

* ⚡ Fetch only the exported roots in the wasm exporter

* ⚡ Bound save_layer rects in the vector export path
2026-08-06 16:13:06 +02:00
Andrey Antukh 1f886b1f88 Merge remote-tracking branch 'origin/staging' into develop 2025-12-12 12:16:41 +01:00
Andrey Antukh 2f46cbc0d4 ✨ Make render wasm import on worker http cache aware 2025-12-11 13:27:20 +01:00
Andrey Antukh 3f6e44316e 🐛 Add missing node depes install on render-wasm 2025-12-11 11:51:47 +01:00
Andrey Antukh eb1eeb4750 Merge remote-tracking branch 'origin/staging-render' into niwinz-develop-merge 2025-12-10 13:53:15 +01:00
Andrey Antukh a4646373cf ♻️ Refactor wasm loading strategy on worker 2025-12-09 19:41:19 +01:00
Andrey Antukh d04fdb5fbd ✨ Make the dist bundle use consistent and cache-aware uris (#7911) 2025-12-09 08:05:28 +01:00
Andrey Antukh 3136096123 🔧 Add general improvements to integration tests
This commit marks as skip (temporal) several flaky/randomly-failing
tests.

It also moves the integration test execution from circleci to github
actions.
2025-11-19 18:23:44 +01:00
Belén Albeza d815494ffa 🔧 Fix playwright config to do a wasm build 2025-10-01 11:27:13 +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 9ef2454210 🎉 Update skia binares to 0.87.0 2025-08-21 07:38:46 +02:00
Alejandro Alonso ed76b1b1ee 🎉 Support for webp images (#6665) 2025-06-10 08:40:30 +02:00
Aitor Moreno aeee05c90d 🎉 Add comparison tool to WASM playground 2025-05-29 10:46:38 +02:00
Belén Albeza 689cddfd0c 🔧 Use cargo env variable for target and allow to override it as well as SKIA_BINARIES_URL 2025-04-16 15:05:31 +02:00
Alonso Torres 96e99f6a78 🐛 Fix problem with build script wasm (#5739) 2025-01-31 13:14:38 +01:00
Alonso Torres 0325d43e96 ✨ Add watch script wasm (#5711)
* ✨ Add watch script wasm

* ♻️ Extract common build params for build and watch scripts
2025-01-30 10:40:05 +01:00
Alejandro Alonso 79df616108 🎉 Basic wasm support for svg attrs and svg defs 2025-01-22 15:47:36 +01:00
Alejandro Alonso f50c7a70c2 🎉 Use custom skia binaries for wasm render 2024-12-11 12:06:56 +01:00
Andrey Antukh 21cdd1200a :paperlip: Add minor update to render-wasm build script 2024-11-14 18:18:22 +01:00
Andrey Antukh aeda6271cd ✨ Improve release build process for render wasm 2024-11-14 18:14:43 +01:00
Andrey Antukh e54f213b3f 🐛 Set a different cache directory for emcsdk 2024-11-14 14:29:19 +01:00
Andrey Antukh 48b72229c3 📎 Add workaround for missing cargo on PATH on render-wasm build script 2024-11-14 12:36:43 +01:00
Andrey Antukh 1be204e22d ✨ Add render.wasm to the frontend build process 2024-11-14 11:20:39 +01:00
Andrey Antukh fc7fe41c98 ✨ Rename to render-wasm and make it load using dynamic import 2024-10-23 17:18:04 +02:00