Repository activity
40458 results across all weeks
Fix typos in doc comment
miodvallat
Olivier Nicole (@OlivierNicole)Fixes #14765.
OlivierNicole
Olivier Nicole (@OlivierNicole)Generate native Iatomic_fetch_add across all architectures
Extends #14524 to all remaining backends. Thanks to @OlivierNicole for the discussion and the guidance on the s390x implementation that this builds on.
Zane Hambly (@Zaneham)Go backward in caml_string_equal
Because the last word will always differ for strings whose byte-length are different (but the word lengths are the same), this will likely lead to more early exits and better performances.
Arthur Carcano (@krtab)Implement Dynarray.sort
This PR adds new standard library functions : Dynarray.stable_sort_sub, Dynarray.stable_sort and Dynarray.sort.
JeannalyseImplicit source positions
See ocaml/RFCs#52.
Olivier Nicole (@OlivierNicole)In-prefix tests fail in Windows CI
With errors like:
Olivier Nicole (@OlivierNicole)Make Seq.cycle create a cyclic sequence
Make Seq.cycle create a cyclic sequence rather than an infinite sequence.
Jeremy Yallop (@yallop)Make ring buffer file size a size_t to avoid integer overflow
current_ring_total_size size it holds is max_domains * ring_size_bytes plus headers, which passes 2 GiB at ordinary settings. Make the value a size_t and defensively check whether there will be overflow.
Tim McGilchrist (@tmcgilchrist)OCaml 5.5.1
Type system bug fix for module-dependent functions
Florian Angeletti (@Octachron)Optimize weak.blit
If an ephemeron has K keys and we ask to blit a sub-range of keys of
Gabriel Scherer (@gasche)POWER fix assembler errors when offset exceeds a 16-bit immediate
POWER D-form and DS-form loads and stores, addi and li all take a 16-bit signed immediate. The frame-management code emitted stack offsets straight into that field, so a function whose frame exceeds 32 KB produces operands the assembler rejects:
Tim McGilchrist (@tmcgilchrist)Parsing error and semantic incoherence
Currently the parsing of a constructor leads to an incoherent depending of the syntactic category of the constructor.
Samuel Vivien (@samsa1)Proposal nested record definitions
Since OCaml 4.03, inline records in variant constructors have proven to be a valuable feature. This PR extends the same mechanism to record fields:
David Sancho (@davesnx)Races in strstubs.c are benign and perhaps should be annotated somehow?
Dear OCaml maintainers,
Nathan Taylor (@dijkstracula)Runtime events spam during full major collection
(Text drafted with Claude, repro code is mine, all tests and data hand verified)
Nikos Gorogiannis (@ngorogiannis)Stop-the-world barriers take seconds on Windows when a domain repeatedly enters and leaves a blocking section
On Windows, a stop-the-world section can take five to ten seconds when domains that allocate run alongside even one domain that repeatedly enters and leaves a blocking section. Every domain is stopped for that time. The same program on Linux and macOS completes its barriers in a few hundredths of a second.
Daniel Larraz (@daniel-larraz)Sys_error exception in Format.flush_standard_formatters
A bit of a minor issue, but I encountered some exceptions in the at_exit functions that flush standard file descriptors.
Olivier Andrieu (@oandrieu)Tsan fails when configured with both --enable-flambda and --enable-tsan
Eight tests in tests/tsan fail when flambda and TSan are enabled together. Reproduced on trunk at 0b6f59a110 across ppc64le Linux, amd64 Linux and arm64 macOS:
Tim McGilchrist (@tmcgilchrist)Unmarshaling: guard against overflow when computing header_len + data_len (4.14 backport)
Backport of #15019 to the 4.14 maintenance branch.
Xavier Leroy (@xavierleroy)