Repository activity
40458 results across all weeks
configure: use Autoconf support for detecting the C++ compiler
The C++ compiler detection is currently only enabled when ocamltest is enabled. We re-use the C compiler front-end by passing the -xc++ option of GCC and Clang to make sure the same toolchain is used for C and C++.
Antonin Décimo (@MisterDA)disable testsuite/tests/misc/sorts.ml, which is a benchmark
This test takes 10-11s to run on my machine, does not check for a clear regression, and has never failed (as long as I can remember). This is just wasting CI time, so let us disable it.
Gabriel Scherer (@gasche)feat(typing): add support for optional polymorphic parameters
Encode optional polymorphic parameters as Tpoly (ty option, vars).
Alistair (@johnyob)int Atomic.t introduces polling points and calls to caml_atomic_fetch_add_field
I noticed that code like this fails on 5.5 and trunk because it has polling points:
Török Edwin (@edwintorok)let-rec check: give generic arrays dynamic size
The let-rec check classifies expressions according to whether they have statically-known size. For example, in the following expression
Jeremy Yallop (@yallop)runtime: Fix sigaltstack call with musl on certain Intel CPUs
The OCaml runtime calls sigaltstack with the size of the stack set to SIGSTKSZ. Musl libc defines that as a build-time constant.
Nat Mote (@nmote)Create <file>.mli code action emits a resource operation without checking client support
The "open related source" code action attaches a CreateFile workspace edit
emre (@dayangac)Document symbols use kinds the client may not support
textDocument/documentSymbol returns symbol kinds the client may not support,
emre (@dayangac)Exceptions with record arguments should not be functors.
Record-like arguments are important. OCaml 4.14, release 1.17.0 from OPAM
Dmitrii Kosarev (@Kakadu)Improve semantic tokens support
Bug fixes
Ulugbek Abdullaev (@ulugbekna)LSP errors are very noisy
The LSP/ merlin seems to raise in a lot of cases (leading to the LSP query to return an error), where I would expect it to just return an empty result.
Tilman Roeder (@dyedgreen)Respect Client Capabilities
List of capabilities we don't currently respect (not exhaustive):
Rudi Grinberg (@rgrinberg)Unnecessary and Deprecated diagnostic tags are never sent
textDocument/publishDiagnostics never carries tags, so editors do not grey
emre (@dayangac)Unused-code quick fixes never match real diagnostic messages
Most of the unused-code quick fixes never appear, because the diagnostic matcher
emre (@dayangac)chore: auto-format flakes
Rudi Grinberg (@rgrinberg)feat(lsp): add semantic token helpers and use them in ocamllsp
Add a small public Lsp.Semantic_tokens helper API and switch
Rudi Grinberg (@rgrinberg)fix(code-actions): match the diagnostic messages ocamllsp emits
The unused-code quick fixes matched bare descriptions like unused open
emre (@dayangac)fix(code-actions): only offer to create a counterpart when the client can
The open-related code action attached a CreateFile workspace edit whenever the
emre (@dayangac)fix(definition): log locate failures instead of failing the request
Merlin reports a failure for ordinary cursor positions: a keyword, a name
emre (@dayangac)fix(diagnostics): tag unused and deprecated values
The diagnostic tag was selected by matching the message against
emre (@dayangac)