Commits
Close file1 in nonblocking lock test
d4161e1667 • LeRoyce Pearson • Apr 8, 2020
Disable open flock flags on darwin
772bb1ade3 • LeRoyce Pearson • Apr 8, 2020
Return error from `else`
d0d7895d33 • LeRoyce Pearson • Apr 8, 2020
Catch error.WouldBlock as unreachable
45d6fb9e36 • LeRoyce Pearson • Apr 8, 2020
Add `OpenFileW` `share_access_nonblocking` parameter
858aefac7f • LeRoyce Pearson • Apr 8, 2020
Add lock_nonblocking flag for creating or opening files
317f06dc77 • LeRoyce Pearson • Apr 8, 2020
Fix file locking on windows
117d15ed7a • LeRoyce Pearson • Apr 7, 2020
Make lock option an enum
71c5aab3e7 • LeRoyce Pearson • Apr 7, 2020
Fix compile error on darwin
28d71c97d1 • LeRoyce Pearson • Apr 7, 2020
Only call `os.flock` on systems that lack openat locks
20597c8596 • LeRoyce Pearson • Apr 7, 2020
Remove return value from os.flock()
49886d2e45 • LeRoyce Pearson • Apr 7, 2020
Merge branch 'master' into feature-file-locks
798207ec80 • LeRoyce Pearson • Apr 7, 2020
Fix compile errors about adding error.FileLocksNotSupported
ea32a7d2bc • LeRoyce Pearson • Apr 3, 2020
Add LOCK_* constants to BSD `os/bits`
4dd0822a36 • LeRoyce Pearson • Apr 3, 2020
Fix compile errors in stage2
733f1c25bd • LeRoyce Pearson • Apr 3, 2020
Use `flock` instead of `fcntl` to lock files
ea6525797d • LeRoyce Pearson • Apr 3, 2020
Add FileLocksNotSupported error to OpenError
e7cf3f92a9 • LeRoyce Pearson • Apr 3, 2020
Merge branch 'master' into feature-file-locks
f757f0ea59 • LeRoyce Pearson • Apr 3, 2020
Merge branch 'master' into feature-file-locks
35c462caf0 • LeRoyce Pearson • Apr 3, 2020
Merge branch 'master' into feature-file-locks
457f557c37 • LeRoyce Pearson • Mar 28, 2020
Merge branch 'master' into feature-file-locks
c7f4e68464 • LeRoyce Pearson • Mar 27, 2020
Block until file is unlocked on windows
1a6c3aeec9 • LeRoyce Pearson • Mar 24, 2020
Fix compile error on windows
8bec1304c3 • LeRoyce Pearson • Mar 24, 2020
Merge branch 'master' into feature-file-locks
113b217593 • LeRoyce Pearson • Mar 24, 2020
Add O_SHLOCK and O_EXLOCK to freebsd and netbsd
0b93932a21 • LeRoyce Pearson • Mar 24, 2020
Use locking open flags if they are defined
5b278fb606 • LeRoyce Pearson • Mar 24, 2020
Remove `fcntlFlock` and replace with plain `fcntl`
613956cc47 • LeRoyce Pearson • Mar 18, 2020
Match netbsd's flock fields with others
32c5825030 • LeRoyce Pearson • Mar 18, 2020
Make `fcntlFlock` follow conventions of `os.zig`
b773a8b175 • LeRoyce Pearson • Mar 18, 2020
Change fcntl params to ?*c_void
4532f5ecad • LeRoyce Pearson • Mar 17, 2020
Skip file lock test in single threaded mode
819537d70a • LeRoyce Pearson • Mar 15, 2020
Fix compile error on windows
947abb7626 • LeRoyce Pearson • Mar 14, 2020
Extract `run_lock_file_test`
49128c86f8 • LeRoyce Pearson • Mar 14, 2020
Make lock tests more flexible
7ab77685a8 • LeRoyce Pearson • Mar 14, 2020
Add multiple read lock test
873c7a59e9 • LeRoyce Pearson • Mar 14, 2020
Call `std.os.waitpid` instead of `std.os.linux.waitpid`
72eb9933fd • LeRoyce Pearson • Mar 14, 2020
Add note about mandatory locks on linux
43ccc2d81e • LeRoyce Pearson • Mar 14, 2020
Add test to check that locking works
43c4faba55 • LeRoyce Pearson • Mar 14, 2020
Add `lock` option to CreateFlags
a636b59cb5 • LeRoyce Pearson • Mar 14, 2020
Add flock command paramter to `os.fcntlFlock`
4eff48b12e • LeRoyce Pearson • Mar 14, 2020
Define Flock for all posix systems
f66a607607 • LeRoyce Pearson • Mar 14, 2020
Implement blocking file locking API for windows
e1868029e9 • LeRoyce Pearson • Mar 14, 2020
Add fnctlFlock system call, use it to lock files
9af0590a28 • LeRoyce Pearson • Mar 14, 2020
Add `lock` to fs.File.OpenFlags
3110060351 • LeRoyce Pearson • Mar 14, 2020
Fix compilation with `--no-emit-bin`
eb4d313dbc • Noam Preil • Mar 13, 2020
Merge branch 'fengb-format-stream'
3eff77bfb5 • Andrew Kelley • Mar 13, 2020
Merge pull request #4716 from LemonBoy/sys-misc
a9297f2267 • Andrew Kelley • Mar 13, 2020
Merge pull request #4727 from nrdmn/uefi3
5dd3c8eed6 • Andrew Kelley • Mar 13, 2020
Merge pull request #4725 from ziglang/update-musl
2f06971a7e • Andrew Kelley • Mar 12, 2020
Merge pull request #4707 from Vexu/small-atomics
f51bec321b • Andrew Kelley • Mar 12, 2020
Merge pull request #4720 from Vexu/translate-c
aa49f972d6 • Andrew Kelley • Mar 12, 2020
Remove unused static_crt_dir field from libc config
8a22c50c08 • daurnimator • Mar 12, 2020
ci: remove workaround for FreeBSD upstream bug
214af69814 • Andrew Kelley • Mar 12, 2020
fix `zig targets` not reporting native info
f58705b4a6 • Andrew Kelley • Mar 12, 2020
fix bug
3f1c8e3d58 • Heppokoyuki • Mar 12, 2020
Merge pull request #4714 from mikdusan/target
75e9a722db • Andrew Kelley • Mar 12, 2020
Merge pull request #4713 from Heppokoyuki/uefi-file-protocols
3ded862cdf • Andrew Kelley • Mar 12, 2020
Merge pull request #4710 from ziglang/io-stream-iface
895f67cc6d • Andrew Kelley • Mar 11, 2020
fix stray warn() in runtime safety test
571f3ed161 • Andrew Kelley • Mar 11, 2020
Merge pull request #4709 from LemonBoy/implement-2096
51c6bb92b1 • Andrew Kelley • Mar 11, 2020
std: simplify format enum-literals
83f6f730cd • Michael Dusan • Mar 10, 2020
fix zig fmt on noasync block
1ad831a0ef • Vexu • Mar 10, 2020
add allocSentinel function
90c232bbe8 • Jonathan Marler • Mar 10, 2020
Merge pull request #4703 from Vexu/translate-c
9c4dc7b1bb • Andrew Kelley • Mar 10, 2020
std: Fix detection of Linux kernel version
3e93dce0a1 • LemonBoy • Mar 10, 2020
Merge pull request #4590 from xackus/fix-4587
675f01f176 • Andrew Kelley • Mar 10, 2020
ir: Fix codegen of ?*T types where T is zero-sized
1f44b29724 • LemonBoy • Mar 10, 2020
Merge pull request #4700 from Vexu/noasync
638d5c3aca • Andrew Kelley • Mar 9, 2020
Merge branch 'LemonBoy-fix-4527'
52c01840ce • Andrew Kelley • Mar 9, 2020
std: add some definitions for netlink sockets
648f94c027 • daurnimator • Mar 9, 2020
Merge pull request #4695 from leroycep/feature-inode-stat
6ab156ce7d • Andrew Kelley • Mar 9, 2020
Windows: Fix std.fs.realpath/os.realpathW for directories
9b1b44b41c • Ryan Liptak • Mar 9, 2020
ir: Create usize result_loc for array subscript expr
e2fd289a33 • LemonBoy • Mar 8, 2020
ir: Prevent crash in compiler error
06d0dac0fb • LemonBoy • Mar 8, 2020
Merge pull request #4687 from daurnimator/fix-typo
f90fe1f8f2 • Andrew Kelley • Mar 8, 2020
Merge pull request #4690 from Vexu/translate-c
a5cb19c0ac • Andrew Kelley • Mar 8, 2020
std: One more cpuid fix
2b1316954f • LemonBoy • Mar 8, 2020
Revert "Translate C: Group generated casts"
9e60c89601 • Andrew Kelley • Mar 8, 2020
Revert "translate-c remove redundant grouping, fix nested loops without blocks."
8b80cb3072 • Andrew Kelley • Mar 8, 2020
Implement UTF-8 to UTF-16LE literal conversion
cf38ce9701 • Jared Miller • Mar 8, 2020
add missing errors to std.os.windows.CreateDirectoryError
6ac76bc25e • Andrew Kelley • Mar 8, 2020
add std.event.Loop pread and faccessat
0720f338d4 • Andrew Kelley • Mar 8, 2020
std: Fix version detection on x86
c5885f012a • LemonBoy • Mar 7, 2020
fix std.fs.makeDirAbsolute
c25d9417d3 • Andrew Kelley • Mar 7, 2020
translate-c remove redundant grouping, fix nested loops without blocks.
abe7305e16 • Vexu • Mar 7, 2020
Translate C: Group generated casts
895672b3f9 • Lachlan Easton • Mar 7, 2020
fix detectNativeCpuAndFeatures including foreign asm
80ff549e26 • Andrew Kelley • Mar 7, 2020
Merge branch 'alichay-master'
54799ccaf8 • Andrew Kelley • Mar 7, 2020
Merge branch 'daurnimator-less-buffer'
7f975bf09f • Andrew Kelley • Mar 6, 2020
stage1: make get_optional_type more robust
fa46bcb368 • Andrew Kelley • Mar 6, 2020
translate-c more macro ops
83d27f71ef • Vexu • Mar 6, 2020
Merge pull request #4651 from LemonBoy/fix-4645
7df9169081 • Andrew Kelley • Mar 6, 2020
?HMODULE instead of HMODULE
3163a16617 • Andrew Kelley • Mar 6, 2020
fix `@embedFile` docs
0e5b48d1a2 • Andrew Kelley • Mar 6, 2020
ir: remove pointless and misleading code in `@embedFile`
3dc8cb12e8 • Andrew Kelley • Mar 6, 2020
translate-c: default initialize non-extern variables to undefined
eaccfffe56 • Vexu • Mar 6, 2020
Revert "put FreeBSD CI in timeout for misbehavior"
6b069f5c8c • Andrew Kelley • Mar 6, 2020
std: fix sendfile on macOS and FreeBSD
d31b65e762 • Michael Dusan • Mar 6, 2020
stage1: fix regression
428677ea36 • Michael Dusan • Mar 6, 2020
srht: workaround FreeBSD fiasco
c08444b33f • Michael Dusan • Mar 6, 2020