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 8d6fafd (feat: javascript helpers extension) changes 3777 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 3777 1654 2123 -4 1 6 - 11
Tests 518 380 138 3 1 2 - -
Golden Tests 496 496 - 41 22 - 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 24 2 22 - - 1 - 1
Total 5490 2922 2568 55 28 23 19 15

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

🔝 Top Files

  • src/lib/Support/JavaScript.cpp (Source): 2980 lines Δ (+1291 / -1689)
  • src/test/Support/JavaScript.cpp (Tests): 488 lines Δ (+352 / -136)
  • src/lib/Gen/hbs/Builder.cpp (Source): 358 lines Δ (+182 / -176)

Generated by 🚫 dangerJS against 8d6fafd

@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-10 06:21:55 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
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