Repository activity
40458 results across all weeks
Fix (harmless) gcc warning calloc-transposed-args
fork_action.c:101:28: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args]
Thomas Leonard (@talex5)Fix NT path handling and stat in eio_windows
While fixing #931 and adding tests, I went into a rabbithole of fixes involving Windows symlinks. For anyone who want to follow (pun intended) in my footsteps, beware of Windows Redirect Guard which is now active on OpenSSH by default and completely destroys the symlink-using Flexlink OCaml toolchain.
Anil Madhavapeddy (@avsm)No way to create a hard link
Eio.Path has symlink, rename and unlink, and chmod gained ~follow:false in 1.4 (thanks!), but I can't find a way to create a hard link:
Thomas Gazagnaire (@samoht)Windows: Paths are handed to NtCreateFile unqualified, raising Unix.ENOENT
NtCreateFile expects the paths to be fully qualified: https://learn.microsoft.com/en-us/windows/win32/api/winternl/nf-winternl-ntcreatefile
Kento Okura (@kentookura)Windows: add rename support
This is somewhat more complex than expected since Windows behaves differently for overwriting files or directories, and the more modern MoveFileEx is path based and so unsuitable for our 'at' based handle approach.
Anil Madhavapeddy (@avsm)Windows: process spawning support
The long awaited Windows process spawn after 2 unsuccessful other attempts that I didn't open a PR for! This is layered over #929 as we need pipes to work for tests.
Anil Madhavapeddy (@avsm)eio_linux: spawn sometimes fails with `Unix.EUNKNOWNERR 26`
This program sometimes fails after a bit:
Thomas Leonard (@talex5)eio_windows: fix anonymous pipes on Windows
This is a testcase failing on my machine atm, so opening to check windows CI here as well (I'm struggling with Windows Redirection Guard nuking my ssh setup due to the use of symlinks in Flexlink!)
Anil Madhavapeddy (@avsm)Build fails with `Unbound module Stdlib` when a project uses menhir with package management
Description
Ashish Agarwal (@agarwal)Design basic stanza configuration for discretionary tools
Tooling management requirement 1.8. Discretionary tools specifies that we must have a way of installing discretionary tools in addition to (and in a way distinct from) project dependencies. Requirement 4.2. Persistent configuration for discretionary tools requires that we have a way of making the configuration of this installation persistent. To address this…
Shon Feder (@shonfeder)Fix builds failing with `Unbound module Stdlib` when a project uses menhir with package management
Description
Shon Feder (@shonfeder)In the future release, deps does not load package dependencies transitively
For the Frama-C team.
Allan Blanchard (@AllanBlanchard)Repro case for loading too many rules for `@fmt`
When doing dune build @fmt Dune loads the rules and, given the package does not exist fails to evaluate the pform. However in the case of cram stanzas, there's no need to evaluate these pforms as the result should not matter for formatting.
Marek Kubica (@Leonidas-from-XIV)Support commands retrying when global lock is held
We fixed the bad hanging behavior reported in #12685 by ensuring that the commands would not end up hanging forever waiting for an RPC server what wasn't going to appear. This indeed prevents hanging, but it still omits some helpful low-hanging fruit: rather than just failing with error, we can make commands wait to obtain the lock.
Shon Feder (@shonfeder)[RFC] Use `dune shell` for testing failing command
When an action fails we currently print a little sh script which should run the command in the same way:
François Bobot (@bobot)[WIP] Add User Stories for Dune Tools
Description
Sudha Parimala (@Sudha247)`_build/default` in `compile_commands.json`'s "`directory"` value
Expected Behavior
sully-vian (@sully-vian)`generate_opam_files` broken in 3.24
Expected Behavior
Simmo Saan (@sim642)ci: avoid opam Git maintenance race
Description
Ali Caglayan (@Alizter)directory completion candidates still generate spaces
Problem
Ali Caglayan (@Alizter)