Repository activity
40458 results across all weeks
Update "Polymorphism and its limitations" manual chapter for OCaml 5.5
Merlin04Value of `Domain.recommended_domain_count` may not be the right default
Hi,
redianthusVarious Runtime events documentation improvements
I've tried to clarify, simplify, and reuse existing terminology where possible. Each change is self contained and could land by itself, but it's easier to review as a whole.
Tim McGilchrist (@tmcgilchrist)[Haiku] Unix socket test+single-thread setlocale+signals
Activate Haiku backend
Anarchos (@Sylvain78)[trunk] Fix handling of backup thread on Win32 (#15029)
(trunk cherry-pick of #15029)
Nicolás Ojeda Bär (@nojb)`Set.{union,inter,diff}`: better complexity for sets with sharing
This patch adds fast paths based on physical equality to the set operations union, inter, and diff. This change reduces the complexity of these operations when the sets involved are "related", ie share subsets, as well as increasing the amount of sharing in the resulting sets (which in turn make it more likely for the optimization to trigger again).
Nicolás Ojeda Bär (@nojb)`cmo` files have different digest on different platforms and ocaml 5.1.1 variant option
This issue comes from this Discuss post and encouraged by @dra27 .
Shiwei Weng 翁士伟 (@arbipher)discourage slop in the github issue template
This was proposed by @smuenzel in https://github.com/ocaml/ocaml/pull/14899#issuecomment-5460479325 .
Gabriel Scherer (@gasche)inline syntax for [%foo open! struct end]
this is likely more of a question than a feature request: does it make sense to allow open!%foo as syntax to inline [%foo open! ..]?
Antonio Nuno Monteiro (@anmonteiro)invalid unwind info in ocamlopt binaries in the stack reallocation path
Hi. So last few months I was working on new backtrace library (http://github.com/gperftools/aw-backtrace). As part of that effort I built a program (https://github.com/gperftools/unwind-check) that compares unwind info with actual effect of instructions and currently flags perhaps ~every function in ocamlopt itself and other binaries produced by it.
Aliaksei Kandratsenka (@alk)link-time linking
EDIT: changed the description to better reflect the current state of the PR. I will also post the new description as a comment for anyone following via emails (afaict, editsdon't trigger email notifications).
Raphaël Proust (@raphael-proust)remove instructions for `opam custom-install`
opam custom-install doesn't work on recent opam. the issue has been reported 2 years ago: https://github.com/OCamlPro/opam-custom-install/issues/1, maybe it's time to stop advertising in HACKING doc.
Raphaël Proust (@raphael-proust)runtime_events: ring buffer file size overflows a 32-bit int
current_ring_total_size in runtime/runtime_events.c is an int, but the size it holds is max_domains * ring_size_bytes plus headers, which passes 2 GiB at ordinary settings. The right hand side is computed in size_t and truncated on assignment, so the file is created at the wrong size and the ring is unusable.
Tim McGilchrist (@tmcgilchrist)stdlib: add a `Format_string` module for basic format string functions
This PR introduces a new Format_string module to give a home to basic format string functions, away from the Stdlib module.
Florian Angeletti (@Octachron)testsuite: handle variation in libc error messages
Musl and glibc do not agree if ENAMETOOLONG should be "$filename: Filename too long" or "$filename: File name too long".
Florian Angeletti (@Octachron)weak_array_par: data race in ephe_clean_minor
In test tests/weak-ephe-final/weak_array_par.ml, TSan reports a data race of this line with itself:
Olivier Nicole (@OlivierNicole)Merlin diagnostic relatedInformation uses one-based line numbers
Description
Ali Caglayan (@Alizter)feat(server): add tab stops to construct completions
Make generated construct completions interactive for clients with snippet support: expression holes become ordered placeholders, followed by a final tab stop. For example, (B ) becomes (B ${1:})$0.
Rudi Grinberg (@rgrinberg)feat(server): offer whole-call completions
Offer secondary whole-call completions for OCaml functions with at least two labelled or optional arguments. Positional arguments do not count toward that threshold, but all arguments receive independent placeholders in declaration order.
Rudi Grinberg (@rgrinberg)fix(code-actions): ignore nested with when finding destruct-line cases
Track parentheses and end-delimited constructs while scanning for the first match case so module-type constraints such as S with type t = _ are not mistaken for the outer match with.
Rudi Grinberg (@rgrinberg)