0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/std
Andrew Kelley af229c1fdc
std lib (breaking): posixRead can return less than buffer size
closes #1414

std.io.InStream.read now can return less than buffer size
introduce std.io.InStream.readFull for previous behavior

add std.os.File.openWriteNoClobberC
rename std.os.deleteFileWindows to std.os.deleteFileW
remove std.os.deleteFilePosix
add std.os.deleteFileC

std.os.copyFile no longer takes an allocator
std.os.copyFileMode no longer takes an allocator
std.os.AtomicFile no longer takes an allocator

add std.os.renameW
add windows support for std.os.renameC

add a test for std.os.AtomicFile
History 2018-10-01 13:50:55 -04:00
..
atomic std lib: flesh out the async I/O streaming API a bit 2018-10-01 10:53:39 -04:00
c fixups 2018-09-21 14:15:58 -04:00
crypto update std lib API for I/O 2018-09-30 17:28:35 -04:00
debug update std lib API for I/O 2018-09-30 17:28:35 -04:00
event std lib (breaking): posixRead can return less than buffer size 2018-10-01 13:50:55 -04:00
fmt fix formatInt to handle upcasting to base int size 2018-09-20 13:46:20 -04:00
hash remove this. add @This(). 2018-09-13 16:34:33 -04:00
math remove unnecessary setFloatMode calls 2018-09-18 15:15:03 -04:00
os std lib (breaking): posixRead can return less than buffer size 2018-10-01 13:50:55 -04:00
rand overhaul api for getting random integers (#1578) 2018-09-27 00:35:38 -04:00
special update std lib API for I/O 2018-09-30 17:28:35 -04:00
zig update std lib API for I/O 2018-09-30 17:28:35 -04:00
array_list.zig remove this. add @This(). 2018-09-13 16:34:33 -04:00
base64.zig remove integer and float casting syntax 2018-06-17 02:57:07 -04:00
buf_map.zig breaking syntax change: orelse keyword instead of ?? (#1096) 2018-06-10 01:13:51 -04:00
buf_set.zig breaking syntax change: orelse keyword instead of ?? (#1096) 2018-06-10 01:13:51 -04:00
buffer.zig self-hosted: create tmp dir for .o files and emit .o file for fn 2018-07-16 20:52:50 -04:00
build.zig std lib (breaking): posixRead can return less than buffer size 2018-10-01 13:50:55 -04:00
coff.zig update std lib API for I/O 2018-09-30 17:28:35 -04:00
cstr.zig fix windows 2018-08-21 16:07:28 -04:00
dwarf.zig self-hosted: create tmp dir for .o files and emit .o file for fn 2018-07-16 20:52:50 -04:00
dynamic_library.zig merged windows dll apis 2018-09-30 01:05:13 -05:00
elf.zig update std lib API for I/O 2018-09-30 17:28:35 -04:00
empty.zig recognize ar program and pass --gc-sections to ld 2016-05-11 14:44:10 -07:00
event.zig update std lib API for I/O 2018-09-30 17:28:35 -04:00
hash_map.zig remove this. add @This(). 2018-09-13 16:34:33 -04:00
heap.zig remove this. add @This(). 2018-09-13 16:34:33 -04:00
index.zig std/index.zig: Fix import 2018-09-18 19:01:35 -04:00
io.zig std lib (breaking): posixRead can return less than buffer size 2018-10-01 13:50:55 -04:00
io_test.zig update std lib API for I/O 2018-09-30 17:28:35 -04:00
json.zig self-hosted: watch files and trigger a rebuild 2018-08-03 17:22:17 -04:00
json_test.zig Fix json parser comma after empty object case 2018-06-08 17:43:13 +12:00
lazy_init.zig remove this. add @This(). 2018-09-13 16:34:33 -04:00
linked_list.zig remove this. add @This(). 2018-09-13 16:34:33 -04:00
macho.zig zig fmt 2018-08-27 19:25:40 -04:00
mem.zig remove this. add @This(). 2018-09-13 16:34:33 -04:00
mutex.zig add std.event.RwLock and a few more std changes 2018-08-01 16:26:37 -04:00
net.zig remove this. add @This(). 2018-09-13 16:34:33 -04:00
pdb.zig update std lib API for I/O 2018-09-30 17:28:35 -04:00
rb.zig std/rb.zig: fix comment 2018-09-01 22:23:34 -07:00
segmented_list.zig remove this. add @This(). 2018-09-13 16:34:33 -04:00
sort.zig Add generic comparator generator functions for sorting 2018-07-11 18:44:30 +12:00
unicode.zig fix linux 2018-08-21 20:31:50 -04:00