Skip to content

Conversation

@alandefreitas
Copy link
Collaborator

@alandefreitas alandefreitas commented Dec 6, 2025

Fixes #881, moves us closer on #1113.

  • Swapped Duktape for JerryScript across CMake, CI, presets, bootstrap recipe, and the install
    docs; added a small port layer so it all hooks up cleanly.
  • Tightened the JS helper runtime: shared context lifetime, safer value accessors, clearer errors,
    and helper registration that keeps options/hash intact for block helpers; added unit tests to cover
    the new paths.
  • Added an addons-supplemental config option so you can layer extra addons/overrides; documented it and
    dropped in golden fixtures for the JS helpers. Also cleaned up the TestRunner include path.

@github-actions
Copy link

github-actions bot commented Dec 6, 2025

🚧 Danger.js checks for MrDocs are experimental; expect some rough edges while we tune the rules.

⚠️ Warnings

Warning

Commit 64ebd9b (feat: javascript helpers extension) changes 4016 source lines. Consider splitting it into smaller, reviewable chunks.

✨ Highlights

  • 🧪 Existing golden tests changed (behavior likely shifted)

🧾 Changes by Scope

Scope Lines Δ Lines + Lines - Files Δ Files + Files ~ Files ↔ Files -
Source 4062 1920 2142 -4 1 6 - 11
Tests 1336 1091 245 2 - 2 - -
Golden Tests 302 302 - 47 28 - 19 -
Third-party 271 131 140 - 3 - - 3
CI / Roadmap 258 205 53 9 1 8 - -
Docs 112 34 78 3 - 3 - -
Build / Toolchain 34 20 14 3 - 3 - -
Other 25 3 22 - - 1 - 1
Total 6400 3706 2694 60 33 23 19 15

Legend: Files + (added), Files ~ (modified), Files ↔ (renamed), Files - (removed)

🔝 Top Files

  • src/lib/Support/JavaScript.cpp (Source): 3090 lines Δ (+1430 / -1660)
  • src/test/Support/JavaScript.cpp (Tests): 1333 lines Δ (+1090 / -243)
  • src/lib/Gen/hbs/Builder.cpp (Source): 410 lines Δ (+236 / -174)

Generated by 🚫 dangerJS against 9783e3d

@cppalliance-bot
Copy link

cppalliance-bot commented Dec 6, 2025

An automated preview of the documentation is available at https://1126.mrdocs.prtest2.cppalliance.org/index.html

If more commits are pushed to the pull request, the docs will rebuild at the same URL.

2025-12-14 02:37:37 UTC

@alandefreitas alandefreitas force-pushed the develop branch 3 times, most recently from f689c23 to e9faceb Compare December 7, 2025 03:31
@alandefreitas alandefreitas force-pushed the develop branch 6 times, most recently from f043207 to db51f18 Compare December 9, 2025 06:12
@alandefreitas alandefreitas force-pushed the develop branch 8 times, most recently from f6dd624 to 17830fe Compare December 14, 2025 00:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Explore Javascript Engines

2 participants