Thicket thicket
ocaml
REPOS 27
W46.2024 · 11–17 Nov

All repository summaries

15 active · 12 unchanged

Back to weekly digest

janestreet/opam-repository

Permalink

Fixes

  • opam-repository (with-extensions): Merged PR adds a missing sigwait patch to ocaml-variants, fixing oxcaml compiler builds on macOS. A related fix was also opened in flambda-backend. #34
  • opam-repository (with-extensions): Closes the macOS Thread.wait_signal crash raised by dune 3.16.0+jst on every invocation, resolved by the sigwait patch above. #29
  • opam-repository (with-extensions): Closes build failures for merlin-lib and uuseg under the with-extensions branch; a commenter reports a new release resolves them. #27

Compatibility and Releases

  • opam-repository (with-extensions): PR proposing ocamlbuild 0.15.0+jst for OCaml 5.2+flambda compatibility was closed without merging. #31
  • opam-repository (with-extensions): PR adding patched merlin, lsp, utop, and ocamlformat for the 5.2 with-extensions toolchain was closed without merging. #32

ocaml-multicore/eio

Permalink

Fixes

  • Eio (ocaml-multicore): fork_daemon and fork_promise_exn now record the backtrace when a fiber fails, matching the behaviour already present in fork. Error messages such as Fatal error: exception Not_found now include the full stack trace instead of a bare exception name. Merged 2024-11-16 by @talex5. #779

ocaml-multicore/picos

Permalink

Fixes

  • Picos PR #330: Merged specification tightening for Spawn cancellation semantics. Clarifies that no Fiber.t is produced when the parent fiber is already canceled before the spawn effect executes. (#330, by polytypic)

ocaml-multicore/saturn

Permalink

Features

  • Saturn (ocaml-multicore) PR #160: opens a non-blocking bounded queue for the Saturn concurrent data-structure library, based on the Michael-Scott algorithm with length maintenance. Avoids a Picos dependency. Opened 2024-11-15 by lyrm; merged 2024-11-23, outside this interval.

  • Saturn (ocaml-multicore) PR #161: adds benchmarks for the unsafe Michael-Scott queue and improves readability of existing safe/unsafe hash-table benchmarks. Opened 2024-11-16 by lyrm; merged 2024-11-23, outside this interval.

ocaml/dune

Permalink

Features

  • Dune (job-limit proposal): Discussion proposing a (with-jobs N …) action stanza to cap concurrent jobs when invoking external build systems such as make. Opened by @rlepigre; no implementation merged. Discussion #11112

Fixes

  • Dune cache: Bug report noting the cache does not restore empty directories, causing rule-digest mismatches and full rebuilds of dependent rules. Opened by @mefyl; still open at interval end. #11117

ocaml/ocaml

Permalink

Features

  • OCaml runtime (PR #13616, opened): introduces run-length encoding of free blocks in the shared heap, making sweep time proportional to the non-free proportion rather than total heap size. Sparse heaps see up to ~4× faster sweeping; dense heaps see a small regression from the extra write on allocation. PR link

  • OCaml major GC (PR #13580, in draft): adds a sweep-only phase at the start of each major GC cycle, reducing latent garbage delay by roughly half a cycle. Created 2024-10-29; still in draft during this interval, not yet merged. PR link

ocaml/ocaml-lsp

Permalink

Features

  • ocaml-lsp (merged PR #1369): adds the ocamllsp/typeSearch custom LSP request, gated behind the handleTypeSearch server capability. Clients send a query pattern, result limit, and with_doc flag at a cursor position; the server returns matching types with name, signature, location, optional doc, cost, and a constructible template. VS Code client support is in progress via #1626.

Compatibility and Releases

  • ocaml-lsp (issue #1395): open enhancement requesting a configuration option to disable Merlin's -short-paths mode per project. Currently the option is always enabled, which can produce misleading type-alias signatures in diagnostics. No implementation merged as of the reporting interval.

ocaml/ocaml.org

Permalink

Features

  • ocaml.org books: Harvard CS51 textbook (Programming Well: Abstraction and Design in Computation) proposed for the books section; issue closed 2024-11-12. #2808

Fixes

  • ocaml.org playground: Bool, Unit, Either, and Weak modules are not loaded, producing "Reference to undefined global" errors on expressions like Bool.not true. Open; no fix merged in this interval. #2812

  • ocaml.org tutorial: The "Function as Values" subsection of Values and Functions is flagged as unusually short. Open; no change merged in this interval. #2811

ocaml/ocamlfind

Permalink

Fixes

  • ocamlfind configure: Merged fix checks whether dynlink_subdir is set before use, resolving a crash on Linuxbrew builds. Closes #88 and #90.

  • ocamlfind bytes build: Merged fix sets OCAMLOPT_SHARED to $(OCAMLOPT) in the bytes replacement Makefile. Closes #89.

  • ocamlfind opam build: Merged change disables -with-relative-paths-at in the opam build, removing a dependency on OPAM_SWITCH_PREFIX being correct. By @dra27. See #91.

Compatibility and Releases

  • ocamlfind 1.9.8: Release branch merged 2024-11-16, incorporating the configure and build fixes above. See #94.

ocaml/odoc

Permalink

Features

  • odoc-md (new package): Merged. Processes standalone Markdown files into page-*.odoc for linking and rendering. Requires OCaml ≥ 4.14 (cmarkit dependency). #1234

  • odoc driver compile/link split: Merged. Separates the compile and link phases so documentation in package A can link to package B without a direct dependency. #1241

  • odoc driver -p / -l: Merged. The driver now accepts -p <pkg> (opam package) or -l <lib> (findlib library) to select what to document, including dependencies. #1229

  • odoc @children_order tag: Opened. Declares the display order of child pages via a single-paragraph tag. Supersedes part of the frontmatter work. #1243

  • odoc Html remap: Opened. Adds a mode that generates HTML for selected packages and rewrites cross-package links to their ocaml.org documentation pages. #1248

Fixes

  • odoc tag scoping: Merged. @-tags now end implicitly at a blank line, heading, or next tag, matching shorthand-list behaviour. Fixes #1138. #1239

  • odoc odoc_driver crash: Merged. Packages installed via dune install lack a <pkg>.change file, which previously caused a hard crash. A missing odoc-md dependency is also added. #1249

Compatibility and Releases

  • odoc sidebar and index overhaul: Opened. Unifies page, document, and unit sidebar trees; replaces the unit index hashtable with an ordered tree; splits odoc_search into odoc_search and odoc_index. Supersedes #1220. #1244

ocaml/opam

Permalink

Releases

  • opam 2.3.0: Released 2024-11-13. No significant changes compared to 2.3.0~rc1; the full changelog spans the alpha, beta, and rc pre-releases. Release notes

Compatibility

  • opam pin (git-lfs): In 2.2, opam pin add -n . fails on local repos with uninitialized git-lfs files; in 2.1 the same error was silently ignored during opam install. Tracked for 2.3.1. #6298

ocaml/opam-repository

Permalink

Fixes

  • opam-repository conf-pkg-config: Homebrew deprecated the pkg-config formula in favour of pkgconf, causing opam to repeatedly flag a missing system dependency on macOS. Fixed via #26878; issue closed 2024-11-14.

  • opam-repository macOS/arm64 builds: brew remove gcc as a workaround for a prior conflict also removed zstd, breaking ocamlc.opt and ocamlrun with a dyld error. Resolved by brew reinstall zstd; issue closed 2024-11-15.

Compatibility and Releases

  • opam-repository conf-sdl2(-*): Depext names for openSUSE Tumbleweed (libSDL2-devel, libSDL2_image-devel, libSDL2_ttf-devel) no longer match current package names (SDL2-devel, etc.), blocking installation of tsdl and related packages. #26900 opened 2024-11-16, still open.

  • opam-repo-ci: Proposal to pin CI workers to the distro-provided opam version rather than an arbitrary or master-branch build, so failures surface before developers encounter them. #26889 opened 2024-11-14, still open.

ocsigen/js_of_ocaml

Permalink

Features

  • js_of_ocaml: draft PR #1734 proposes HTML popover API bindings. Open and blocked; not merged.

Fixes

  • js_of_ocaml: issue #1733 documents that caml_exn_with_js_backtrace allocates a new JS Error for constant exceptions (tag 248, e.g. Not_found), causing a ~5× slowdown in exception-heavy code. Closed as a question; no code change applied.

oxcaml/merlin

Permalink

Compatibility and Releases

  • Merlin 5.2.0minus-3: Released 2024-11-15. Updates Merlin for OCaml 5.2.0minus-3, including the new compiler directory layout and removal of Jane syntax. Release

  • Merlin 5.2.0minus-3: Resolves a build dependency cycle by relocating language_extension.ml from utils/ to parsing/ in the compiler. #119

  • Merlin 5.2.0minus-3: Adapts signature-combination logic for default modalities in signatures, a new OCaml 5.2 feature. #119

oxcaml/oxcaml

Permalink

Features

  • oxcaml: Closes #951 for or_null on unboxed types; middle-end implementation is complete. Front-end support and tests remain pending.
12 repositories · no changes