Repository activity
40458 results across all weeks
Add Atomic.compare_and_exchange
As suggested in #14889, I added the compare_and_exchange function in Atomic :
JeannalyseAdd a SECURITY.md file
Include information on how to report a security issue, and a list of supported versions, as
Török Edwin (@edwintorok)Add a failing test for writable sockets in Win32 Unix.select
I created this PR just to demonstrate the behavior in CI, if there is interest in merging I will prepare it properly.
Kento Okura (@kentookura)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 ocamldep `-strict` flag
Adds a -strict flag to ocamldep which makes it exit with a non-zero code whenever an error occurs (file does not exist, parse error, etc). In case of error, no output is generated.
Nicolás Ojeda Bär (@nojb)Add support for O_NOFOLLOW
This PR adds support for O_NOFOLLOW to Unix.
Romain Beauxis (@toots)Align the documentation of OCAMLPARAM with the code.
Several small changes to update both versions of the doc (TeX manual and man page) to agree between them and with the code.
Damien Doligez (@damiendoligez)Allocate the continuation of perform after evaluating its argument
Fix for #15196.
Tim McGilchrist (@tmcgilchrist)Allow arbitrary patterns on the right-hand side of `as` patterns
Currently, OCaml alias patterns only allow a variable on the right-hand side of as:
Michał Kosior (@crqch)Avoid unsafe reliance on GADT equations in generated field-reading code
The following program compiles on trunk without warnings
Jeremy Yallop (@yallop)Bring FlexDLL in tree
Bring the FlexDLL https://github.com/ocaml/flexdll code into the tree, replacing the Git submodule.
Nicolás Ojeda Bär (@nojb)Bytecode: more optimization hints (immediate reads, variant tests)
This follows up on #13438 by keeping two more pieces of information from Lambda in the bytecode hints. They are useful to compilers from bytecode such as wasm_of_ocaml.
Jérôme Vouillon (@vouillon)Certain array indexing operations lead to segfaults in native code
This was discovered by using an LLM (claude) to enhance the smt-validation of Cmm_helpers (https://github.com/smuenzel/ocaml-pverify/compare/master...test-cmmhelpers)
Stefan Muenzel (@smuenzel)Consolidate variance check for constrained parameters
In https://github.com/ocaml/ocaml/issues/15163, a large object type caused performance issues in the variance check.
Stefan Muenzel (@smuenzel)Dangling minor heap pointer in a shallow fiber's effect handler after a nested `perform`
Ethan Chou (@echoumcp1)Do not use movzx on amd64 for compare
Currently, on amd64, we use the sequence cmp, setCC, movzx for integer comparisons that need to be materialized.
Stefan Muenzel (@smuenzel)Documentation of permissions for `Sys.mkdir`
Hi,
Martin Constantino–Bodin (@Mbodin)Don't track parents in occur_rec (from #13004)
In #13004 (comment) @gasche and @Octachron propose eliminating the parents from occur_rec.
Stefan Muenzel (@smuenzel)Enable runtime events tests on Windows
Minor rewriting of the tests to use Unix.createProcess rather than Unix.fork, otherwise the functionality is the same. Needed https://github.com/ocaml/ocaml/pull/15186 to fix a Windows lseek bug.
Tim McGilchrist (@tmcgilchrist)Extend non-unit statement warning message
Currently, warning 10 looks like:
Stefan Muenzel (@smuenzel)