Repository activity
40458 results across all weeks
Lib: Form skips button inputs
Form.form_elements and Form.get_form_contents serialize the fields of a form, for instance to send it through XHR (Eliom does). An with a name fell into the default case of get_input_val and was sent as name=value. A native submission never sends it:
Vincent Balat (@balat)More precise function type
Casting the environment to its exact type should be slightly faster since we avoid the test for i31.
Jérôme Vouillon (@vouillon)No longer call wasm-opt with --opt 1
We skip calling wasm-opt with --opt 1. Expected benefits:
Jérôme Vouillon (@vouillon)Optimize the placement of conversions: (un)boxing, (un)tagging, normalization
Jérôme Vouillon (@vouillon)Prepare for Oxcaml 5.4
Jérôme Vouillon (@vouillon)Prepare next release
clean up changelog
hhugoPrepare the 6.5.0 release
Release preparation, see #2468.
hhugoRange analysis
Jérôme Vouillon (@vouillon)Refined typing
Jérôme Vouillon (@vouillon)Runtime: open the Windows console device names from node
Stacked on #2522; the base will be switched to master once that one is merged.
hhugoSmall JS output improvements
Jérôme Vouillon (@vouillon)Small optimizations
Jérôme Vouillon (@vouillon)Switch to dune 3.23
It uses js_of_ocaml --build-config to manage config details.
Jérôme Vouillon (@vouillon)Tests: conformance of the JS parser with the grammar
Record the current behaviour of the JavaScript parser on programs where it diverges from ECMA-262, in compiler/tests-compiler/js_parser_printer.ml. The programs come from running test262 (test/language) and the test suites of other parsers (acorn, babel, esbuild, meriyah, swc, esprima) against the parser; the verdicts were confirmed with V8.
hhugoTests: isatty_tty no longer needs a controlling terminal
The isatty_tty test opened /dev/tty, which fails with ENXIO whenever the tests run without a controlling terminal (CI, editors, tools driving dune from a pipe). It was gated on the CI variable, and still failed locally in those settings.
hhugoUnboxing of function and block parameters
Jérôme Vouillon (@vouillon)Use Wax for runtime files
Wax 0.2.0 is on opam. I think it is mature enough to be used by Js_of_ocaml.
Jérôme Vouillon (@vouillon)Use more precise Wasm types
Jérôme Vouillon (@vouillon)Wasm linker improvements
Jérôme Vouillon (@vouillon)Wasm: a Seq is not a scope for the initialization of locals
Initialize_locals scanned the instructions of a [Seq] as if they were a block, so a non-nullable local set there was considered uninitialized afterwards, and was made nullable, each read being wrapped in a [ref.cast]. This was correct but imprecise: a [Seq] is emitted flat, so the local remains initialized for the rest of the enclosing block.
Jérôme Vouillon (@vouillon)