Repository activity
40458 results across all weeks
Add reproducing test for 1915
Parsing of := and custom indexing operators seems to fail in reconstruct_identifier. I'm unsure if I'll be able to look into a fix myself, but some reproducing tests are here.
Brian Ward (@WardBrian)Clarify intention in an ocaml-index test.
cc @voodoos
Tim ats (@Tim-ats-d)Failed to build on Haiku
On Haiku i get the following error when installing merlin.5.8.1-506~preview using OCaml trunk
Kate (@kit-ty-kate)Fix "merlin_loc" in constrained expression.
In Merlin there is a notion of "extended loc", that extends the normal loc in different scenarios. For instance, the loc of x is extended to the following ranges:
Paul-Elliot Anglès d'Auriac (@panglesd)Go to method definition
In the following:
Paul-Elliot Anglès d'Auriac (@panglesd)Improve enclosing ("Selection Range" in the LSP jargon)
Made with @PizieDust.
Paul-Elliot Anglès d'Auriac (@panglesd)Improve location of some custom operators
This (maybe?) closes #1915.
Brian Ward (@WardBrian)Record-field completions discard deprecation attributes
Record-field completions lose their deprecation metadata. Reproduced directly with Merlin's CLI on main at c823a8c, built with OCaml 5.5.0; OCaml-LSP is not involved in this reproduction.
Rudi Grinberg (@rgrinberg)#14898: lambda/Translcore, do not trust GADT equations introduced by a partial match
This PR fixes the miscompilation reported by #14898 by making sure that the translation to Lambda.t do not use local GADTs equations introduced on a partial match to compute the kind of function parameters.
Florian Angeletti (@Octachron)Add Atomic.compare_and_exchange
As suggested in #14889, I added the compare_and_exchange function in Atomic :
JeannalyseAdd Lambda.shallow_fold_left and make use of it
I added Lambda.fold_left and used it to rewrite Transmod.scan_used_globals, Translclass.free_methods, and Lambda.free_variables. The later two turned out to be very similar, so I made an extensible version of Lambda.free_variables called Lambda.free_variables_open and made Translate.free_methods rely on it.
Vladimir Keleshev (@keleshev)Add a lifecycle event for child process creation (EV_PROCESS_CREATE)
The motivation is a consumer that wants to follow OCaml processes created from a parent process. For example using runtime events for an OCaml program that uses Unix.fork. The consumer API is pid-addressed. create_cursor : (string * int) option -> cursor takes a directory and a pid, and the C side builds <dir>/<pid>.events and opens it (runtime_events_consum…
Tim McGilchrist (@tmcgilchrist)Add parsetree support for wildcards/holes in simple expressions and module expressions
This PR first extends the parser to recognise syntax errors specifically related to invalid uses of _ in more places. It then converts these illegal _ to a new parsetree node, moving the error handling for encountering them to the type checker. The value of this change is that ppxes can both transform parsetrees which include the new node, and also use the O…
David Allsopp (@dra27)Add runtime events for direct major allocations and GC ramp-up
This (now) adds three counters and one span to runtime events.
Tim McGilchrist (@tmcgilchrist)Always advance work counter in idle slices
With the GC idle phase, it's possible for non-allocating small-heap programs to get stuck such that a loop calling Gc.major_slice won't advance the GC. This PR makes it so that any idle slice advances the work counter and so will eventually get out of the idle phase.
Nick Barnes (@NickBarnes)Bit counting as C primitives, with clz and ctz emitted on amd64 and arm64
Hello,
Zane Hambly (@Zaneham)CONTRIBUTING.md: retire some inactive maintainers
Currently the set of maintainers is sensibly larger than the set of active maintainers, with people who in practice have been inactive maintenance-wise for years. We (OCaml maintainers) would like to gradually migrate to a model where the set of maintainers is closer to the set of active maintainers, by "retiring" some people regularly, possibly inviting the…
Gabriel Scherer (@gasche)Custom runtime events are behaving randomly when used in fast paced environments
Last week I decided to see what was possible to do with custom runtime events.
Mattias (@mattiasdrp)Deadcode: do not delete atomic loads whose result is discarded
Atomic loads should act as fences, and thus not be deleted
Xavier Clerc (@xclerc)Disable beyond 2038 support check in 32 bit CI
Some 32-bit CI nodes fail after #14997. This fixes it by adding the --disable-year2038 option to the configure step on these nodes.
Olivier Nicole (@OlivierNicole)