Commits

openbsd: avoid error.OperationUnsupported

7014976d3d • Michael Dusan • Dec 24, 2025

openbsd: fix OS version detection

8fdfeb624d • Michael Dusan • Dec 24, 2025

openbsd: use Io.Dir.realPathFileAbsolute

90bc371f56 • Michael Dusan • Dec 24, 2025

dragonfly: define std.c.nlink_t

486ed907f7 • Michael Dusan • Dec 24, 2025

update more "realpath" callsites

70e19ea353 • Andrew Kelley • Dec 24, 2025

Update a few more callsites for std.Io changes

51a6f3a525 • Ryan Liptak • Dec 24, 2025

fileStat needs read permissions on Windows

8968d75fb1 • Ryan Liptak • Dec 24, 2025

dirOpenFileWtf16: Disallow opening directories when requesting write permissions

bb788cd392 • Ryan Liptak • Dec 24, 2025

Dir.readFile/readFileAlloc: take advantage of `.allow_directory = false` on Windows

e442a0ecc2 • Ryan Liptak • Dec 24, 2025

Fix sizing of buffer/reservation size for dirReadWindows

ad08117e9d • Ryan Liptak • Dec 24, 2025

std.debug: fix simple_panic

fd0c324cb0 • Andrew Kelley • Dec 24, 2025

update all incremental tests to new std API

debf307594 • Andrew Kelley • Dec 24, 2025

std: consolidate all instances of std.Io.Threaded into a singleton

77d2ad8c92 • Andrew Kelley • Dec 24, 2025

fix compilation of incr-check

50c585227e • Andrew Kelley • Dec 24, 2025

update the init templates to new std API

7d955274bb • Andrew Kelley • Dec 24, 2025

compiler: fix test-unit compilation failures

2e4a6c88b5 • Andrew Kelley • Dec 24, 2025

std.Io: implement directory reading for WASI

99f25bfc23 • Andrew Kelley • Dec 24, 2025

compiler: update calls to realpath

98f05a0f53 • Andrew Kelley • Dec 24, 2025

fix "hello world"

7423d6a404 • Andrew Kelley • Dec 24, 2025

std.Io.Threaded: reinstate fchmodat fallback

e41342af83 • Andrew Kelley • Dec 24, 2025

std.Io.Threaded: remove handling of ECANCELED

64de4a7371 • Andrew Kelley • Dec 24, 2025

std: rename other Dir "make" functions to "create"

a8088306f6 • Andrew Kelley • Dec 24, 2025

std: rename makeDir to createDir for consistency with createFile

6e0c7ed865 • Andrew Kelley • Dec 24, 2025

std.Io.Threaded: don't assume dirents are aligned

52ba2a4c72 • Andrew Kelley • Dec 24, 2025

don't skip test for closed issue

6cfd2df695 • Andrew Kelley • Dec 24, 2025

std.fs.test: don't try to test nonexistent API

bf81666beb • Andrew Kelley • Dec 24, 2025

std.Io.Threaded: fix NetBSD compilation

88110139fe • Andrew Kelley • Dec 24, 2025

std.Io.Threaded: fix fchmodat on linux with libc

4025af9c05 • Andrew Kelley • Dec 24, 2025

std.Io.Dir.Reader: fix min_buffer_len on 32-bit linux

6aa31cedb7 • Andrew Kelley • Dec 24, 2025

std: fix compilation errors on FreeBSD

3e624e17a4 • Andrew Kelley • Dec 24, 2025

std: fix compilation targeting WASI

405db921dc • Andrew Kelley • Dec 24, 2025

std.debug: fix printLineFromFile

1381f9f612 • Andrew Kelley • Dec 24, 2025

std.Io.Threaded: fix splat buffer calculations

ac11b82738 • Andrew Kelley • Dec 24, 2025

std: fix test "max file name component lengths"

d060cb8cd6 • Andrew Kelley • Dec 24, 2025

std: fix Io.Dir.min_buffer_len on Linux

002d444964 • Andrew Kelley • Dec 24, 2025

std.fs.test: fix rebase conflicts

018e34271f • Andrew Kelley • Dec 24, 2025

std: Enough fixes to get things compiling on Windows

3431f45031 • Ryan Liptak • Dec 24, 2025

windows: Remove BadPathName from error set of GetFinalPathNameByHandle

1136d36362 • Ryan Liptak • Dec 24, 2025

all comments are notes, and use doc comments where possible

07c4ea2de0 • Andrew Kelley • Dec 24, 2025

os.windows: Add comment explaining why we don't need a separate EX definition for RENAME_INFORMATION

edcbd7ed2c • Ryan Liptak • Dec 24, 2025

fs tests: Remove references to readLinkW which no longer exists

b6cde02322 • Ryan Liptak • Dec 24, 2025

SelfInfo.Windows: a few fixes for std.Io

f96ef9780a • Ryan Liptak • Dec 24, 2025

std.Progress.start: handle cancelation from isTty

2f30b0f44d • Andrew Kelley • Dec 24, 2025

std.process: Fix executableDirPath functions

406950f756 • Ryan Liptak • Dec 24, 2025

testFilenameLimits: Fix collision with dir and filename

8767a9a6d1 • Ryan Liptak • Dec 24, 2025

std.Io: introduce path_only to File.OpenFlags

c1b9c46319 • Andrew Kelley • Dec 24, 2025

std.Io.Threaded: allow length-0 file writes

f27bd87ade • Andrew Kelley • Dec 24, 2025

std: fix "open smoke test" by passing allow_directory option

6f00157e1e • Andrew Kelley • Dec 24, 2025

std.Io.Threaded: fix dirDeleteDir when not empty

47a2e8026f • Andrew Kelley • Dec 24, 2025

std.Io.Threaded: implement dirHardLink

651ff9f9ee • Andrew Kelley • Dec 24, 2025

std: update remaining unit tests for std.Io API changes

7ce5ee2e92 • Andrew Kelley • Dec 24, 2025

std.dynamic_library: use a global static single threaded Io

21d0264c61 • Andrew Kelley • Dec 24, 2025

std: add support for realpath on file handle

8632a28ca9 • Andrew Kelley • Dec 24, 2025

std.posix: make nlink_t on unsupported systems u0

9bbb8e0d8e • Andrew Kelley • Dec 24, 2025

std: Update/fix some usages/implementations of std.Io APIs

f078c7138f • Ryan Liptak • Dec 24, 2025

Test Dir.Reader.min_buffer_len via "max file name component lengths" test

1edae601a1 • Ryan Liptak • Dec 24, 2025

std.Io.Dir.CopyFileOptions: rename override_permissions

3466056478 • Andrew Kelley • Dec 24, 2025

std.Io.Dir.renameAbsolute: consistent parameter order

d8b1cc953e • Andrew Kelley • Dec 24, 2025

std.os.linux.IoUring: update for new fs API

e205b13ffb • Andrew Kelley • Dec 24, 2025

std: move some tests from posix to fs

b4bfd501ae • Andrew Kelley • Dec 24, 2025

std.Io: add unimplemented hard link API to File and Dir

f3723b42e1 • Andrew Kelley • Dec 24, 2025

std.Io.Threaded: fix compilation errors on posix

446c145ca8 • Andrew Kelley • Dec 24, 2025

Implement dirReadWindows

a2416c685a • Ryan Liptak • Dec 24, 2025

File.OpenFlags: Add `allow_directory` and default it to true

d72983da44 • Ryan Liptak • Dec 24, 2025

compiler: fix build from source on macOS

1264469a41 • Andrew Kelley • Dec 24, 2025

compiler: fix compilation when linking libc

54865e0483 • Andrew Kelley • Dec 24, 2025

compiler: fix build failures from std.Io-fs

a5b719e9eb • Andrew Kelley • Dec 24, 2025

fix more fallout from locking stderr

608145c2f0 • Andrew Kelley • Dec 24, 2025

std: rework locking stderr

aa57793b68 • Andrew Kelley • Dec 24, 2025

std.Io: fix dir iteration on macOS

97f106f949 • Andrew Kelley • Dec 24, 2025

fix build runner compilation errors on macOS

22afd168d9 • Andrew Kelley • Dec 24, 2025

std.c.utimensat: add const

9407ad8516 • Andrew Kelley • Dec 24, 2025

compiler: fix most compilation errors from std.fs changes

16bd2e137e • Andrew Kelley • Dec 24, 2025

link.MappedFile: update statx usage

4458e423bf • Andrew Kelley • Dec 24, 2025

std.Io.Threaded: update call to statx

2a40c1b556 • Andrew Kelley • Dec 24, 2025

std.os.linux: move statx docs to proper location

f82e7dfbc0 • Andrew Kelley • Dec 24, 2025

update lockStderrWriter sites

1925e0319f • Andrew Kelley • Dec 24, 2025

std.process.cleanExit: take an Io parameter

ec56696503 • Andrew Kelley • Dec 24, 2025

update uses of std.debug.lockStdErr

e68ae8d7a1 • Andrew Kelley • Dec 24, 2025

link: update to new file system APIs

54e4a3456c • Andrew Kelley • Dec 24, 2025

std.Io.Dir: improve realPath documentation

22b0eea3c0 • Andrew Kelley • Dec 24, 2025

update occurences of std.fs.openDirAbsolute

6484101f78 • Andrew Kelley • Dec 24, 2025

update occurences of setEndPos to setLength

1ed845e1f6 • Andrew Kelley • Dec 24, 2025

compiler: update various code to new fs API

16f8af1b9a • Andrew Kelley • Dec 24, 2025

std: update fchmodat tests

e1cf753db7 • Andrew Kelley • Dec 24, 2025

std.tar: update fs API calls to take io argument

68621afd2e • Andrew Kelley • Dec 24, 2025

std.Io.Dir: add setFilePermissions and setFileOwner

0e230993d5 • Andrew Kelley • Dec 24, 2025

std.Build.Step.Run: restore Color.inherit logic

c4cefd6835 • Andrew Kelley • Dec 24, 2025

std.Io: implement dir reading for BSDs

91fa252cf2 • Andrew Kelley • Dec 24, 2025

std.Io.Dir: fix walking

94ef56ee26 • Andrew Kelley • Dec 24, 2025

std.Io: implement dirRead for Linux

7bc0166b7c • Andrew Kelley • Dec 24, 2025

std: update tty config references in the build system

b042e93522 • Andrew Kelley • Dec 24, 2025

std: save terminal escape stripping for later

7837d975dc • Andrew Kelley • Dec 24, 2025

std: finish implementing futexWait with timer

95b0399d1b • Andrew Kelley • Dec 24, 2025

std.Io: add ResetEvent based on futexes

3a6e15449b • Andrew Kelley • Dec 24, 2025

std: rework TTY detection and printing

ffcbd48a12 • Andrew Kelley • Dec 24, 2025

std: WIP: debug-level stderr writing

78d262d96e • Andrew Kelley • Dec 24, 2025

std.debug: fix printLineFromFile

03526c59d4 • Andrew Kelley • Dec 24, 2025

build_runner compiling again

5b436d2c51 • Andrew Kelley • Dec 24, 2025

std.Progress: use a global static Io instance

90f7259ef1 • Andrew Kelley • Dec 24, 2025