Closed
Description
We have a branch jsoo-tip which contains the changes we make to the Js_of_ocaml code in compiler/lib
, and a branch jsoo-merge which contains some changes to the compiler/lib/wasm
code to adapt to API changes in Js_of_ocaml.
- Make sure that we have a simple process to merge these two branches. The following almost works, but needs some adjustments (we possibly need to modify the branch
jsoo-merge
to make it simpler):git merge jsoo-tip -X theirs -X find-renames=100% git reset README.md && git checkout README.md git reset lib/js_of_ocaml/json.ml && git checkout lib/js_of_ocaml/json.ml git reset compiler/tests-toplevel/dune && git checkout compiler/tests-toplevel/dune (cd compiler/tests-compiler && dune exec -- gen-rules/gen.exe > dune.inc && git add dune.inc) git add .github/workflows/build.yml .github/workflows/changelog.yml
- Get the commits in branch
jsoo-tip
merged into js_of_ocaml. One of the commit conflicts with the double translation PR; we need to understand what to do about it.- Effects: keep track of CPS calls and distinguish CPS calls and trampolined calls ocsigen/js_of_ocaml#1648
- Make number representations compatible with Wasm ocsigen/js_of_ocaml#1649
- Stop exposing numbers as floats in the Js_of_ocaml library ocsigen/js_of_ocaml#1650
- Make the tests for uncaught exceptions more portable ocsigen/js_of_ocaml#1652
- Dom_html.html_entities: move error handling to the ML side ocsigen/js_of_ocaml#1653
- Small changes in the internal APIs for Wasm ocsigen/js_of_ocaml#1654
- Target-specific code ocsigen/js_of_ocaml#1655
- Update typing of typed arrays to support Wasm, and test Typed_array.Bytes ocsigen/js_of_ocaml#1656
- Build_info/Unit_info: conversion to and from string maps ocsigen/js_of_ocaml#1657
- Runtime: implement Json output for Wasm ocsigen/js_of_ocaml#1660
- Generate: explicit initialization ocsigen/js_of_ocaml#1662
- Merge branch
jsoo-merge
into wasm_of_ocaml. See Merge recent updates from js_of_ocaml #57.- Integrate ocsigen/js_of_ocaml#1497 #64
- Integrate "added 'ellipse' method to canvasRenderingContext2D" (ocsigen/js_of_ocaml#1555) #65
- Merge various recent compiler/lib/ updates from js_of_ocaml #67
- Rename
cps_calls
intotrampolined_calls
for clarity #68 - Sourcemap API changes from js_of_ocaml #69
- Integrate latest changes to number representation from js_of_ocaml #70
- Integrate changes to Document.constant_equal #71
- Integrate "Target-specific code" (ocsigen/js_of_ocaml#1655) #85
- Check the changes made in the js_of_ocaml runtime since the code bases have diverged and update the wasm runtime accordingly. (
Note that Add Typed_array.Bytes module ocsigen/js_of_ocaml#1609 makes use of primitives which are not implemented in Wasm.Edit: done)- We may have to modify what was done in Document non-trivial function Code.constant_equal, and fix related bugs ocsigen/js_of_ocaml#1659 regarding
String _
andNativeString _
.
- We may have to modify what was done in Document non-trivial function Code.constant_equal, and fix related bugs ocsigen/js_of_ocaml#1659 regarding
- Actually merge the js_of_ocaml main branch into wasm_of_ocaml.
- Merge wasm_of_ocaml
main
back into js_of_ocamlmaster
.- PR: js_of_ocaml#1724
Metadata
Metadata
Assignees
Labels
No labels