Skip to content

Commit b49edaf

Browse files
committed
[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)
1 parent 9e5cf6f commit b49edaf

File tree

7 files changed

+336
-0
lines changed
  • packages
    • js_of_ocaml/js_of_ocaml.5.9.0
    • js_of_ocaml-compiler/js_of_ocaml-compiler.5.9.0
    • js_of_ocaml-lwt/js_of_ocaml-lwt.5.9.0
    • js_of_ocaml-ppx/js_of_ocaml-ppx.5.9.0
    • js_of_ocaml-ppx_deriving_json/js_of_ocaml-ppx_deriving_json.5.9.0
    • js_of_ocaml-toplevel/js_of_ocaml-toplevel.5.9.0
    • js_of_ocaml-tyxml/js_of_ocaml-tyxml.5.9.0

7 files changed

+336
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
opam-version: "2.0"
2+
synopsis: "Compiler from OCaml bytecode to JavaScript"
3+
description:
4+
"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"
5+
maintainer: ["Ocsigen team <[email protected]>"]
6+
authors: ["Ocsigen team <[email protected]>"]
7+
license: [
8+
"GPL-2.0-or-later" "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
9+
]
10+
homepage: "https://ocsigen.org/js_of_ocaml/latest/manual/overview"
11+
doc: "https://ocsigen.org/js_of_ocaml/latest/manual/overview"
12+
bug-reports: "https://github.com/ocsigen/js_of_ocaml/issues"
13+
depends: [
14+
"dune" {>= "3.15"}
15+
"ocaml" {>= "4.08" & < "5.4"}
16+
"num" {with-test}
17+
"ppx_expect" {>= "v0.14.2" & with-test}
18+
"ppxlib" {>= "0.15.0"}
19+
"re" {with-test}
20+
"cmdliner" {>= "1.1.0"}
21+
"sedlex" {>= "3.3"}
22+
"qcheck" {with-test}
23+
"menhir"
24+
"menhirLib"
25+
"menhirSdk"
26+
"yojson"
27+
"odoc" {with-doc}
28+
]
29+
depopts: ["ocamlfind"]
30+
conflicts: [
31+
"ocamlfind" {< "1.5.1"}
32+
"js_of_ocaml" {< "3.0"}
33+
]
34+
dev-repo: "git+https://github.com/ocsigen/js_of_ocaml.git"
35+
build: [
36+
["dune" "subst"] {dev}
37+
[
38+
"dune"
39+
"build"
40+
"-p"
41+
name
42+
"-j"
43+
jobs
44+
"@install"
45+
"@doc" {with-doc}
46+
]
47+
]
48+
url {
49+
src:
50+
"https://github.com/ocsigen/js_of_ocaml/releases/js_of_ocaml-5.9.0.tbz"
51+
checksum: [
52+
"sha256=daf2c7811df906fe4a8e59cd6973ccf0bdbe4a7d0e1f1fd17c9584bd0b438594"
53+
"sha512=67d8f647e453f3855aff556afee0ce4524a7833852343f90271ee7c540e40c3dead0fc728acb667fcf7df69068a7c9521db809d2d0dfa5a1a0b31d0f1b60d566"
54+
]
55+
}
56+
x-commit-hash: "8e1b6caf472ca4412ee09a28d6593c71b2d3af8d"

Diff for: packages/js_of_ocaml-lwt/js_of_ocaml-lwt.5.9.0/opam

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
opam-version: "2.0"
2+
synopsis: "Compiler from OCaml bytecode to JavaScript"
3+
description:
4+
"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"
5+
maintainer: ["Ocsigen team <[email protected]>"]
6+
authors: ["Ocsigen team <[email protected]>"]
7+
license: [
8+
"GPL-2.0-or-later" "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
9+
]
10+
homepage: "https://ocsigen.org/js_of_ocaml/latest/manual/overview"
11+
doc: "https://ocsigen.org/js_of_ocaml/latest/manual/overview"
12+
bug-reports: "https://github.com/ocsigen/js_of_ocaml/issues"
13+
depends: [
14+
"dune" {>= "3.15"}
15+
"ocaml" {>= "4.08"}
16+
"js_of_ocaml" {= version}
17+
"js_of_ocaml-ppx" {= version}
18+
"lwt" {>= "2.4.4"}
19+
"num" {with-test}
20+
"ppx_expect" {>= "v0.14.2" & with-test}
21+
"ppxlib" {>= "0.22.0" & with-test}
22+
"re" {>= "1.9.0" & with-test}
23+
"odoc" {with-doc}
24+
]
25+
depopts: ["graphics" "lwt_log"]
26+
dev-repo: "git+https://github.com/ocsigen/js_of_ocaml.git"
27+
build: [
28+
["dune" "subst"] {dev}
29+
[
30+
"dune"
31+
"build"
32+
"-p"
33+
name
34+
"-j"
35+
jobs
36+
"@install"
37+
"@doc" {with-doc}
38+
]
39+
]
40+
url {
41+
src:
42+
"https://github.com/ocsigen/js_of_ocaml/releases/js_of_ocaml-5.9.0.tbz"
43+
checksum: [
44+
"sha256=daf2c7811df906fe4a8e59cd6973ccf0bdbe4a7d0e1f1fd17c9584bd0b438594"
45+
"sha512=67d8f647e453f3855aff556afee0ce4524a7833852343f90271ee7c540e40c3dead0fc728acb667fcf7df69068a7c9521db809d2d0dfa5a1a0b31d0f1b60d566"
46+
]
47+
}
48+
x-commit-hash: "8e1b6caf472ca4412ee09a28d6593c71b2d3af8d"

Diff for: packages/js_of_ocaml-ppx/js_of_ocaml-ppx.5.9.0/opam

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
opam-version: "2.0"
2+
synopsis: "Compiler from OCaml bytecode to JavaScript"
3+
description:
4+
"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"
5+
maintainer: ["Ocsigen team <[email protected]>"]
6+
authors: ["Ocsigen team <[email protected]>"]
7+
license: [
8+
"GPL-2.0-or-later" "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
9+
]
10+
homepage: "https://ocsigen.org/js_of_ocaml/latest/manual/overview"
11+
doc: "https://ocsigen.org/js_of_ocaml/latest/manual/overview"
12+
bug-reports: "https://github.com/ocsigen/js_of_ocaml/issues"
13+
depends: [
14+
"dune" {>= "3.15"}
15+
"ocaml" {>= "4.08"}
16+
"js_of_ocaml" {= version}
17+
"ppxlib" {>= "0.15.0"}
18+
"num" {with-test}
19+
"ppx_expect" {>= "v0.14.2" & with-test}
20+
"re" {>= "1.9.0" & with-test}
21+
"odoc" {with-doc}
22+
]
23+
dev-repo: "git+https://github.com/ocsigen/js_of_ocaml.git"
24+
build: [
25+
["dune" "subst"] {dev}
26+
[
27+
"dune"
28+
"build"
29+
"-p"
30+
name
31+
"-j"
32+
jobs
33+
"@install"
34+
"@doc" {with-doc}
35+
]
36+
]
37+
url {
38+
src:
39+
"https://github.com/ocsigen/js_of_ocaml/releases/js_of_ocaml-5.9.0.tbz"
40+
checksum: [
41+
"sha256=daf2c7811df906fe4a8e59cd6973ccf0bdbe4a7d0e1f1fd17c9584bd0b438594"
42+
"sha512=67d8f647e453f3855aff556afee0ce4524a7833852343f90271ee7c540e40c3dead0fc728acb667fcf7df69068a7c9521db809d2d0dfa5a1a0b31d0f1b60d566"
43+
]
44+
}
45+
x-commit-hash: "8e1b6caf472ca4412ee09a28d6593c71b2d3af8d"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
opam-version: "2.0"
2+
synopsis: "Compiler from OCaml bytecode to JavaScript"
3+
description:
4+
"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"
5+
maintainer: ["Ocsigen team <[email protected]>"]
6+
authors: ["Ocsigen team <[email protected]>"]
7+
license: [
8+
"GPL-2.0-or-later" "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
9+
]
10+
homepage: "https://ocsigen.org/js_of_ocaml/latest/manual/overview"
11+
doc: "https://ocsigen.org/js_of_ocaml/latest/manual/overview"
12+
bug-reports: "https://github.com/ocsigen/js_of_ocaml/issues"
13+
depends: [
14+
"dune" {>= "3.15"}
15+
"ocaml" {>= "4.08"}
16+
"js_of_ocaml" {= version}
17+
"ppxlib" {>= "0.15"}
18+
"num" {with-test}
19+
"ppx_expect" {>= "v0.14.2" & with-test}
20+
"re" {>= "1.9.0" & with-test}
21+
"odoc" {with-doc}
22+
]
23+
dev-repo: "git+https://github.com/ocsigen/js_of_ocaml.git"
24+
build: [
25+
["dune" "subst"] {dev}
26+
[
27+
"dune"
28+
"build"
29+
"-p"
30+
name
31+
"-j"
32+
jobs
33+
"@install"
34+
"@doc" {with-doc}
35+
]
36+
]
37+
url {
38+
src:
39+
"https://github.com/ocsigen/js_of_ocaml/releases/js_of_ocaml-5.9.0.tbz"
40+
checksum: [
41+
"sha256=daf2c7811df906fe4a8e59cd6973ccf0bdbe4a7d0e1f1fd17c9584bd0b438594"
42+
"sha512=67d8f647e453f3855aff556afee0ce4524a7833852343f90271ee7c540e40c3dead0fc728acb667fcf7df69068a7c9521db809d2d0dfa5a1a0b31d0f1b60d566"
43+
]
44+
}
45+
x-commit-hash: "8e1b6caf472ca4412ee09a28d6593c71b2d3af8d"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
opam-version: "2.0"
2+
synopsis: "Compiler from OCaml bytecode to JavaScript"
3+
description:
4+
"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"
5+
maintainer: ["Ocsigen team <[email protected]>"]
6+
authors: ["Ocsigen team <[email protected]>"]
7+
license: [
8+
"GPL-2.0-or-later" "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
9+
]
10+
homepage: "https://ocsigen.org/js_of_ocaml/latest/manual/overview"
11+
doc: "https://ocsigen.org/js_of_ocaml/latest/manual/overview"
12+
bug-reports: "https://github.com/ocsigen/js_of_ocaml/issues"
13+
depends: [
14+
"dune" {>= "3.15"}
15+
"ocaml" {>= "4.08"}
16+
"js_of_ocaml-compiler" {= version}
17+
"ocamlfind" {>= "1.5.1"}
18+
"cohttp-lwt-unix" {with-test}
19+
"graphics" {with-test}
20+
"num" {with-test}
21+
"ppx_expect" {>= "v0.14.2" & with-test}
22+
"ppxlib" {>= "0.15"}
23+
"re" {>= "1.9.0" & with-test}
24+
"odoc" {with-doc}
25+
]
26+
dev-repo: "git+https://github.com/ocsigen/js_of_ocaml.git"
27+
build: [
28+
["dune" "subst"] {dev}
29+
[
30+
"dune"
31+
"build"
32+
"-p"
33+
name
34+
"-j"
35+
jobs
36+
"@install"
37+
"@doc" {with-doc}
38+
]
39+
]
40+
url {
41+
src:
42+
"https://github.com/ocsigen/js_of_ocaml/releases/js_of_ocaml-5.9.0.tbz"
43+
checksum: [
44+
"sha256=daf2c7811df906fe4a8e59cd6973ccf0bdbe4a7d0e1f1fd17c9584bd0b438594"
45+
"sha512=67d8f647e453f3855aff556afee0ce4524a7833852343f90271ee7c540e40c3dead0fc728acb667fcf7df69068a7c9521db809d2d0dfa5a1a0b31d0f1b60d566"
46+
]
47+
}
48+
x-commit-hash: "8e1b6caf472ca4412ee09a28d6593c71b2d3af8d"
+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
opam-version: "2.0"
2+
synopsis: "Compiler from OCaml bytecode to JavaScript"
3+
description:
4+
"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"
5+
maintainer: ["Ocsigen team <[email protected]>"]
6+
authors: ["Ocsigen team <[email protected]>"]
7+
license: [
8+
"GPL-2.0-or-later" "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
9+
]
10+
homepage: "https://ocsigen.org/js_of_ocaml/latest/manual/overview"
11+
doc: "https://ocsigen.org/js_of_ocaml/latest/manual/overview"
12+
bug-reports: "https://github.com/ocsigen/js_of_ocaml/issues"
13+
depends: [
14+
"dune" {>= "3.15"}
15+
"ocaml" {>= "4.08"}
16+
"js_of_ocaml" {= version}
17+
"js_of_ocaml-ppx" {= version}
18+
"react" {>= "1.2.2"}
19+
"reactiveData" {>= "0.2"}
20+
"tyxml" {>= "4.6"}
21+
"num" {with-test}
22+
"ppx_expect" {>= "v0.14.2" & with-test}
23+
"ppxlib" {>= "0.22.0" & with-test}
24+
"re" {>= "1.9.0" & with-test}
25+
"odoc" {with-doc}
26+
]
27+
dev-repo: "git+https://github.com/ocsigen/js_of_ocaml.git"
28+
build: [
29+
["dune" "subst"] {dev}
30+
[
31+
"dune"
32+
"build"
33+
"-p"
34+
name
35+
"-j"
36+
jobs
37+
"@install"
38+
"@doc" {with-doc}
39+
]
40+
]
41+
url {
42+
src:
43+
"https://github.com/ocsigen/js_of_ocaml/releases/js_of_ocaml-5.9.0.tbz"
44+
checksum: [
45+
"sha256=daf2c7811df906fe4a8e59cd6973ccf0bdbe4a7d0e1f1fd17c9584bd0b438594"
46+
"sha512=67d8f647e453f3855aff556afee0ce4524a7833852343f90271ee7c540e40c3dead0fc728acb667fcf7df69068a7c9521db809d2d0dfa5a1a0b31d0f1b60d566"
47+
]
48+
}
49+
x-commit-hash: "8e1b6caf472ca4412ee09a28d6593c71b2d3af8d"

Diff for: packages/js_of_ocaml/js_of_ocaml.5.9.0/opam

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
opam-version: "2.0"
2+
synopsis: "Compiler from OCaml bytecode to JavaScript"
3+
description:
4+
"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"
5+
maintainer: ["Ocsigen team <[email protected]>"]
6+
authors: ["Ocsigen team <[email protected]>"]
7+
license: [
8+
"GPL-2.0-or-later" "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
9+
]
10+
homepage: "https://ocsigen.org/js_of_ocaml/latest/manual/overview"
11+
doc: "https://ocsigen.org/js_of_ocaml/latest/manual/overview"
12+
bug-reports: "https://github.com/ocsigen/js_of_ocaml/issues"
13+
depends: [
14+
"dune" {>= "3.15"}
15+
"ocaml" {>= "4.08"}
16+
"js_of_ocaml-compiler" {= version}
17+
"ppxlib" {>= "0.15"}
18+
"num" {with-test}
19+
"ppx_expect" {>= "v0.14.2" & with-test}
20+
"re" {>= "1.9.0" & with-test}
21+
"odoc" {with-doc}
22+
]
23+
dev-repo: "git+https://github.com/ocsigen/js_of_ocaml.git"
24+
build: [
25+
["dune" "subst"] {dev}
26+
[
27+
"dune"
28+
"build"
29+
"-p"
30+
name
31+
"-j"
32+
jobs
33+
"@install"
34+
"@doc" {with-doc}
35+
]
36+
]
37+
url {
38+
src:
39+
"https://github.com/ocsigen/js_of_ocaml/releases/js_of_ocaml-5.9.0.tbz"
40+
checksum: [
41+
"sha256=daf2c7811df906fe4a8e59cd6973ccf0bdbe4a7d0e1f1fd17c9584bd0b438594"
42+
"sha512=67d8f647e453f3855aff556afee0ce4524a7833852343f90271ee7c540e40c3dead0fc728acb667fcf7df69068a7c9521db809d2d0dfa5a1a0b31d0f1b60d566"
43+
]
44+
}
45+
x-commit-hash: "8e1b6caf472ca4412ee09a28d6593c71b2d3af8d"

0 commit comments

Comments
 (0)