From a7c3c0dc0b5541a5de505dce2f106cd840db16e5 Mon Sep 17 00:00:00 2001 From: Hugo Heuzard Date: Fri, 22 Nov 2024 14:53:47 +0100 Subject: [PATCH] [new release] js_of_ocaml (7 packages) (5.9.0) CHANGES: ## Features/Changes * Misc: update testsuite to OCaml 5.2 * Misc: CI uses opam.2.2 and no longer use sunset repo * Misc: yojson is no longer optional * Misc: reduce the diff with the wasm_of_ocaml fork * Misc: finalize support for OCaml 5.3 * Compiler: speedup global_flow/global_deadcode pass on large bytecode * Compiler: improved global dead code elimination (ocsigen/js_of_ocaml#2206) * Compiler: speedup json parsing, relying on Yojson.Raw (ocsigen/js_of_ocaml#1640) * Compiler: Decode sourcemap mappings only when necessary (ocsigen/js_of_ocaml#1664) * Compiler: mark [TextEncoder] as reserved * Compiler: add support for the Wasm backend in parts of the pipeline, in prevision for the merge of wasm_of_ocaml * Compiler: introduce a Targetint module that follows the semantic of the backend (js or wasm) * Compiler: warn on joo_global_object * Compiler: revisit static env handling (ocsigen/js_of_ocaml#1708) * Compiler: Emit index source_map to avoid changing mappings (ocsigen/js_of_ocaml#1714, ocsigen/js_of_ocaml#1715) * Compiler: improved source map generation (ocsigen/js_of_ocaml#1716) * Runtime: change Sys.os_type on windows (Cygwin -> Win32) * Runtime: backtraces are really expensive, they need to be explicitly requested at compile time (--enable with-js-error) or at startup (OCAMLRUNPARAM=b=1) * Runtime: allow dynlink of precompiled js with separate compilation (ocsigen/js_of_ocaml#1676) * Runtime: reimplement the runtime of weak and ephemeron (ocsigen/js_of_ocaml#1707) * Lib: Modify Typed_array API for compatibility with WebAssembly * Lib: add details element and toggle event (ocsigen/js_of_ocaml#1728) * Toplevel: no longer set globals for toplevel initialization * Runtime: precompute constants used in `caml_lxm_next` (ocsigen/js_of_ocaml#1730) * Runtime: cleanup runtime ## Bug fixes * Runtime: fix parsing of unsigned integers (0u2147483648) (ocsigen/js_of_ocaml#1633, ocsigen/js_of_ocaml#1666) * Runtime: fix incorrect pos_in after unmarshalling * Runtime: make float_of_string stricter (ocsigen/js_of_ocaml#1609) * Toplevel: fix missing primitives with separate compilation * Compiler: fix link of packed modules with separate compilation * Compiler: Fixed the static evaluation of some equalities (ocsigen/js_of_ocaml#1659) * Compiler: fix global analysis bug (subsumes ocsigen/js_of_ocaml#1556) --- .../js_of_ocaml-compiler.5.9.0/opam | 56 +++++++++++++++++++ .../js_of_ocaml-lwt.5.9.0/opam | 48 ++++++++++++++++ .../js_of_ocaml-ppx.5.9.0/opam | 45 +++++++++++++++ .../js_of_ocaml-ppx_deriving_json.5.9.0/opam | 45 +++++++++++++++ .../js_of_ocaml-toplevel.5.9.0/opam | 48 ++++++++++++++++ .../js_of_ocaml-tyxml.5.9.0/opam | 49 ++++++++++++++++ packages/js_of_ocaml/js_of_ocaml.5.9.0/opam | 45 +++++++++++++++ 7 files changed, 336 insertions(+) create mode 100644 packages/js_of_ocaml-compiler/js_of_ocaml-compiler.5.9.0/opam create mode 100644 packages/js_of_ocaml-lwt/js_of_ocaml-lwt.5.9.0/opam create mode 100644 packages/js_of_ocaml-ppx/js_of_ocaml-ppx.5.9.0/opam create mode 100644 packages/js_of_ocaml-ppx_deriving_json/js_of_ocaml-ppx_deriving_json.5.9.0/opam create mode 100644 packages/js_of_ocaml-toplevel/js_of_ocaml-toplevel.5.9.0/opam create mode 100644 packages/js_of_ocaml-tyxml/js_of_ocaml-tyxml.5.9.0/opam create mode 100644 packages/js_of_ocaml/js_of_ocaml.5.9.0/opam diff --git a/packages/js_of_ocaml-compiler/js_of_ocaml-compiler.5.9.0/opam b/packages/js_of_ocaml-compiler/js_of_ocaml-compiler.5.9.0/opam new file mode 100644 index 00000000000..b25f81f09ec --- /dev/null +++ b/packages/js_of_ocaml-compiler/js_of_ocaml-compiler.5.9.0/opam @@ -0,0 +1,56 @@ +opam-version: "2.0" +synopsis: "Compiler from OCaml bytecode to JavaScript" +description: + "Js_of_ocaml is a compiler from OCaml bytecode to JavaScript. It makes it possible to run pure OCaml programs in JavaScript environment like browsers and Node.js" +maintainer: ["Ocsigen team "] +authors: ["Ocsigen team "] +license: [ + "GPL-2.0-or-later" "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception" +] +homepage: "https://ocsigen.org/js_of_ocaml/latest/manual/overview" +doc: "https://ocsigen.org/js_of_ocaml/latest/manual/overview" +bug-reports: "https://github.com/ocsigen/js_of_ocaml/issues" +depends: [ + "dune" {>= "3.15"} + "ocaml" {>= "4.08" & < "5.4"} + "num" {with-test} + "ppx_expect" {>= "v0.14.2" & with-test} + "ppxlib" {>= "0.15.0"} + "re" {with-test} + "cmdliner" {>= "1.1.0"} + "sedlex" {>= "3.3"} + "qcheck" {with-test} + "menhir" + "menhirLib" + "menhirSdk" + "yojson" + "odoc" {with-doc} +] +depopts: ["ocamlfind"] +conflicts: [ + "ocamlfind" {< "1.5.1"} + "js_of_ocaml" {< "3.0"} +] +dev-repo: "git+https://github.com/ocsigen/js_of_ocaml.git" +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@doc" {with-doc} + ] +] +url { + src: + "https://github.com/ocsigen/js_of_ocaml/releases/js_of_ocaml-5.9.0.tbz" + checksum: [ + "sha256=daf2c7811df906fe4a8e59cd6973ccf0bdbe4a7d0e1f1fd17c9584bd0b438594" + "sha512=67d8f647e453f3855aff556afee0ce4524a7833852343f90271ee7c540e40c3dead0fc728acb667fcf7df69068a7c9521db809d2d0dfa5a1a0b31d0f1b60d566" + ] +} +x-commit-hash: "8e1b6caf472ca4412ee09a28d6593c71b2d3af8d" diff --git a/packages/js_of_ocaml-lwt/js_of_ocaml-lwt.5.9.0/opam b/packages/js_of_ocaml-lwt/js_of_ocaml-lwt.5.9.0/opam new file mode 100644 index 00000000000..e49e0a4a728 --- /dev/null +++ b/packages/js_of_ocaml-lwt/js_of_ocaml-lwt.5.9.0/opam @@ -0,0 +1,48 @@ +opam-version: "2.0" +synopsis: "Compiler from OCaml bytecode to JavaScript" +description: + "Js_of_ocaml is a compiler from OCaml bytecode to JavaScript. It makes it possible to run pure OCaml programs in JavaScript environment like browsers and Node.js" +maintainer: ["Ocsigen team "] +authors: ["Ocsigen team "] +license: [ + "GPL-2.0-or-later" "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception" +] +homepage: "https://ocsigen.org/js_of_ocaml/latest/manual/overview" +doc: "https://ocsigen.org/js_of_ocaml/latest/manual/overview" +bug-reports: "https://github.com/ocsigen/js_of_ocaml/issues" +depends: [ + "dune" {>= "3.15"} + "ocaml" {>= "4.08"} + "js_of_ocaml" {= version} + "js_of_ocaml-ppx" {= version} + "lwt" {>= "2.4.4"} + "num" {with-test} + "ppx_expect" {>= "v0.14.2" & with-test} + "ppxlib" {>= "0.22.0" & with-test} + "re" {>= "1.9.0" & with-test} + "odoc" {with-doc} +] +depopts: ["graphics" "lwt_log"] +dev-repo: "git+https://github.com/ocsigen/js_of_ocaml.git" +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@doc" {with-doc} + ] +] +url { + src: + "https://github.com/ocsigen/js_of_ocaml/releases/js_of_ocaml-5.9.0.tbz" + checksum: [ + "sha256=daf2c7811df906fe4a8e59cd6973ccf0bdbe4a7d0e1f1fd17c9584bd0b438594" + "sha512=67d8f647e453f3855aff556afee0ce4524a7833852343f90271ee7c540e40c3dead0fc728acb667fcf7df69068a7c9521db809d2d0dfa5a1a0b31d0f1b60d566" + ] +} +x-commit-hash: "8e1b6caf472ca4412ee09a28d6593c71b2d3af8d" diff --git a/packages/js_of_ocaml-ppx/js_of_ocaml-ppx.5.9.0/opam b/packages/js_of_ocaml-ppx/js_of_ocaml-ppx.5.9.0/opam new file mode 100644 index 00000000000..61f2336422e --- /dev/null +++ b/packages/js_of_ocaml-ppx/js_of_ocaml-ppx.5.9.0/opam @@ -0,0 +1,45 @@ +opam-version: "2.0" +synopsis: "Compiler from OCaml bytecode to JavaScript" +description: + "Js_of_ocaml is a compiler from OCaml bytecode to JavaScript. It makes it possible to run pure OCaml programs in JavaScript environment like browsers and Node.js" +maintainer: ["Ocsigen team "] +authors: ["Ocsigen team "] +license: [ + "GPL-2.0-or-later" "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception" +] +homepage: "https://ocsigen.org/js_of_ocaml/latest/manual/overview" +doc: "https://ocsigen.org/js_of_ocaml/latest/manual/overview" +bug-reports: "https://github.com/ocsigen/js_of_ocaml/issues" +depends: [ + "dune" {>= "3.15"} + "ocaml" {>= "4.08"} + "js_of_ocaml" {= version} + "ppxlib" {>= "0.15.0"} + "num" {with-test} + "ppx_expect" {>= "v0.14.2" & with-test} + "re" {>= "1.9.0" & with-test} + "odoc" {with-doc} +] +dev-repo: "git+https://github.com/ocsigen/js_of_ocaml.git" +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@doc" {with-doc} + ] +] +url { + src: + "https://github.com/ocsigen/js_of_ocaml/releases/js_of_ocaml-5.9.0.tbz" + checksum: [ + "sha256=daf2c7811df906fe4a8e59cd6973ccf0bdbe4a7d0e1f1fd17c9584bd0b438594" + "sha512=67d8f647e453f3855aff556afee0ce4524a7833852343f90271ee7c540e40c3dead0fc728acb667fcf7df69068a7c9521db809d2d0dfa5a1a0b31d0f1b60d566" + ] +} +x-commit-hash: "8e1b6caf472ca4412ee09a28d6593c71b2d3af8d" diff --git a/packages/js_of_ocaml-ppx_deriving_json/js_of_ocaml-ppx_deriving_json.5.9.0/opam b/packages/js_of_ocaml-ppx_deriving_json/js_of_ocaml-ppx_deriving_json.5.9.0/opam new file mode 100644 index 00000000000..69cb107db61 --- /dev/null +++ b/packages/js_of_ocaml-ppx_deriving_json/js_of_ocaml-ppx_deriving_json.5.9.0/opam @@ -0,0 +1,45 @@ +opam-version: "2.0" +synopsis: "Compiler from OCaml bytecode to JavaScript" +description: + "Js_of_ocaml is a compiler from OCaml bytecode to JavaScript. It makes it possible to run pure OCaml programs in JavaScript environment like browsers and Node.js" +maintainer: ["Ocsigen team "] +authors: ["Ocsigen team "] +license: [ + "GPL-2.0-or-later" "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception" +] +homepage: "https://ocsigen.org/js_of_ocaml/latest/manual/overview" +doc: "https://ocsigen.org/js_of_ocaml/latest/manual/overview" +bug-reports: "https://github.com/ocsigen/js_of_ocaml/issues" +depends: [ + "dune" {>= "3.15"} + "ocaml" {>= "4.08"} + "js_of_ocaml" {= version} + "ppxlib" {>= "0.15"} + "num" {with-test} + "ppx_expect" {>= "v0.14.2" & with-test} + "re" {>= "1.9.0" & with-test} + "odoc" {with-doc} +] +dev-repo: "git+https://github.com/ocsigen/js_of_ocaml.git" +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@doc" {with-doc} + ] +] +url { + src: + "https://github.com/ocsigen/js_of_ocaml/releases/js_of_ocaml-5.9.0.tbz" + checksum: [ + "sha256=daf2c7811df906fe4a8e59cd6973ccf0bdbe4a7d0e1f1fd17c9584bd0b438594" + "sha512=67d8f647e453f3855aff556afee0ce4524a7833852343f90271ee7c540e40c3dead0fc728acb667fcf7df69068a7c9521db809d2d0dfa5a1a0b31d0f1b60d566" + ] +} +x-commit-hash: "8e1b6caf472ca4412ee09a28d6593c71b2d3af8d" diff --git a/packages/js_of_ocaml-toplevel/js_of_ocaml-toplevel.5.9.0/opam b/packages/js_of_ocaml-toplevel/js_of_ocaml-toplevel.5.9.0/opam new file mode 100644 index 00000000000..d2cc3b63d43 --- /dev/null +++ b/packages/js_of_ocaml-toplevel/js_of_ocaml-toplevel.5.9.0/opam @@ -0,0 +1,48 @@ +opam-version: "2.0" +synopsis: "Compiler from OCaml bytecode to JavaScript" +description: + "Js_of_ocaml is a compiler from OCaml bytecode to JavaScript. It makes it possible to run pure OCaml programs in JavaScript environment like browsers and Node.js" +maintainer: ["Ocsigen team "] +authors: ["Ocsigen team "] +license: [ + "GPL-2.0-or-later" "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception" +] +homepage: "https://ocsigen.org/js_of_ocaml/latest/manual/overview" +doc: "https://ocsigen.org/js_of_ocaml/latest/manual/overview" +bug-reports: "https://github.com/ocsigen/js_of_ocaml/issues" +depends: [ + "dune" {>= "3.15"} + "ocaml" {>= "4.08"} + "js_of_ocaml-compiler" {= version} + "ocamlfind" {>= "1.5.1"} + "cohttp-lwt-unix" {with-test} + "graphics" {with-test} + "num" {with-test} + "ppx_expect" {>= "v0.14.2" & with-test} + "ppxlib" {>= "0.15"} + "re" {>= "1.9.0" & with-test} + "odoc" {with-doc} +] +dev-repo: "git+https://github.com/ocsigen/js_of_ocaml.git" +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@doc" {with-doc} + ] +] +url { + src: + "https://github.com/ocsigen/js_of_ocaml/releases/js_of_ocaml-5.9.0.tbz" + checksum: [ + "sha256=daf2c7811df906fe4a8e59cd6973ccf0bdbe4a7d0e1f1fd17c9584bd0b438594" + "sha512=67d8f647e453f3855aff556afee0ce4524a7833852343f90271ee7c540e40c3dead0fc728acb667fcf7df69068a7c9521db809d2d0dfa5a1a0b31d0f1b60d566" + ] +} +x-commit-hash: "8e1b6caf472ca4412ee09a28d6593c71b2d3af8d" diff --git a/packages/js_of_ocaml-tyxml/js_of_ocaml-tyxml.5.9.0/opam b/packages/js_of_ocaml-tyxml/js_of_ocaml-tyxml.5.9.0/opam new file mode 100644 index 00000000000..c5d0cdf73a2 --- /dev/null +++ b/packages/js_of_ocaml-tyxml/js_of_ocaml-tyxml.5.9.0/opam @@ -0,0 +1,49 @@ +opam-version: "2.0" +synopsis: "Compiler from OCaml bytecode to JavaScript" +description: + "Js_of_ocaml is a compiler from OCaml bytecode to JavaScript. It makes it possible to run pure OCaml programs in JavaScript environment like browsers and Node.js" +maintainer: ["Ocsigen team "] +authors: ["Ocsigen team "] +license: [ + "GPL-2.0-or-later" "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception" +] +homepage: "https://ocsigen.org/js_of_ocaml/latest/manual/overview" +doc: "https://ocsigen.org/js_of_ocaml/latest/manual/overview" +bug-reports: "https://github.com/ocsigen/js_of_ocaml/issues" +depends: [ + "dune" {>= "3.15"} + "ocaml" {>= "4.08"} + "js_of_ocaml" {= version} + "js_of_ocaml-ppx" {= version} + "react" {>= "1.2.2"} + "reactiveData" {>= "0.2"} + "tyxml" {>= "4.6"} + "num" {with-test} + "ppx_expect" {>= "v0.14.2" & with-test} + "ppxlib" {>= "0.22.0" & with-test} + "re" {>= "1.9.0" & with-test} + "odoc" {with-doc} +] +dev-repo: "git+https://github.com/ocsigen/js_of_ocaml.git" +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@doc" {with-doc} + ] +] +url { + src: + "https://github.com/ocsigen/js_of_ocaml/releases/js_of_ocaml-5.9.0.tbz" + checksum: [ + "sha256=daf2c7811df906fe4a8e59cd6973ccf0bdbe4a7d0e1f1fd17c9584bd0b438594" + "sha512=67d8f647e453f3855aff556afee0ce4524a7833852343f90271ee7c540e40c3dead0fc728acb667fcf7df69068a7c9521db809d2d0dfa5a1a0b31d0f1b60d566" + ] +} +x-commit-hash: "8e1b6caf472ca4412ee09a28d6593c71b2d3af8d" diff --git a/packages/js_of_ocaml/js_of_ocaml.5.9.0/opam b/packages/js_of_ocaml/js_of_ocaml.5.9.0/opam new file mode 100644 index 00000000000..bb4aae95e7d --- /dev/null +++ b/packages/js_of_ocaml/js_of_ocaml.5.9.0/opam @@ -0,0 +1,45 @@ +opam-version: "2.0" +synopsis: "Compiler from OCaml bytecode to JavaScript" +description: + "Js_of_ocaml is a compiler from OCaml bytecode to JavaScript. It makes it possible to run pure OCaml programs in JavaScript environment like browsers and Node.js" +maintainer: ["Ocsigen team "] +authors: ["Ocsigen team "] +license: [ + "GPL-2.0-or-later" "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception" +] +homepage: "https://ocsigen.org/js_of_ocaml/latest/manual/overview" +doc: "https://ocsigen.org/js_of_ocaml/latest/manual/overview" +bug-reports: "https://github.com/ocsigen/js_of_ocaml/issues" +depends: [ + "dune" {>= "3.15"} + "ocaml" {>= "4.08"} + "js_of_ocaml-compiler" {= version} + "ppxlib" {>= "0.15"} + "num" {with-test} + "ppx_expect" {>= "v0.14.2" & with-test} + "re" {>= "1.9.0" & with-test} + "odoc" {with-doc} +] +dev-repo: "git+https://github.com/ocsigen/js_of_ocaml.git" +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@doc" {with-doc} + ] +] +url { + src: + "https://github.com/ocsigen/js_of_ocaml/releases/js_of_ocaml-5.9.0.tbz" + checksum: [ + "sha256=daf2c7811df906fe4a8e59cd6973ccf0bdbe4a7d0e1f1fd17c9584bd0b438594" + "sha512=67d8f647e453f3855aff556afee0ce4524a7833852343f90271ee7c540e40c3dead0fc728acb667fcf7df69068a7c9521db809d2d0dfa5a1a0b31d0f1b60d566" + ] +} +x-commit-hash: "8e1b6caf472ca4412ee09a28d6593c71b2d3af8d"