zig/lib/std
Isaac Freund 3634d44d08 std: fix Reader.readUntilDelimiterOrEofAlloc() API
The current API does not allow the user to distinguish between EOF and
an empty line. Reader.readUntilDelimiterOrEof() gets this API right so
update readUntilDelimiterOrEofAlloc() to match it. Returning an optional
here additionally makes calling this in a loop much cleaner.

Remove readUntilDelimiterOrEofArrayList() as it no longer needed to
implement readUntilDelimiterOrEof() and has the same API issues
described without a clear way to fix them.
2020-12-29 19:09:36 -08:00
..
atomic std: Validate the atomic ordering parameter in atomic.Int 2020-12-10 09:23:48 +01:00
build Return encoded slice from base64 encode 2020-12-24 01:27:21 +02:00
c openbsd: add commonly used libc wrappers for pledge(2) and unveil(2) 2020-12-25 16:43:14 +02:00
compress small fixes and zig fmt 2020-12-09 13:54:26 +02:00
crypto std/crypto: increment the correct words for vectorized salsa20 2020-12-28 21:28:39 -08:00
event Update event loop sendto error to SendToError 2020-12-28 01:00:23 +02:00
fmt std: Implement more useful approxEq semantics 2020-11-05 16:08:49 +01:00
fs std: fix compile errors introduced in previous commit 2020-12-23 20:49:38 -07:00
hash Handle unions in autoHash 2020-12-26 19:43:15 +08:00
heap small fixes and zig fmt 2020-12-09 13:54:26 +02:00
io std: fix Reader.readUntilDelimiterOrEofAlloc() API 2020-12-29 19:09:36 -08:00
json std.json: unreachable -> expect in tests 2020-12-08 19:16:17 -05:00
math std: explicitly cast indices to usize 2020-12-09 16:48:41 +01:00
mem
meta Handle unions in autoHash 2020-12-26 19:43:15 +08:00
net More fixups for Windows targets 2020-10-28 10:03:23 +01:00
os std.ChildProcess: improvements to collectOutputPosix 2020-12-29 11:13:00 -07:00
rand std: introduce a thread-local CSPRNG for general use 2020-12-18 12:22:46 -07:00
special zig test: std.testing.zig_exe_path is now available 2020-12-28 20:00:34 -07:00
target
testing
time
unicode std: Make utf8CountCodepoints much faster 2020-11-05 16:10:34 +01:00
valgrind
zig std.CrossTarget: add isNativeAbi() 2020-12-13 00:40:35 +01:00
array_hash_map.zig std: Re-enable ArrayHashMap test for mips targets 2020-11-02 11:46:07 +01:00
array_list.zig std.ChildProcess: improvements to collectOutputPosix 2020-12-29 11:13:00 -07:00
ascii.zig std: Add a few helpers for matching ascii strings (#7300) 2020-12-04 15:27:28 -05:00
atomic.zig std: add std.atomic.Bool 2020-11-19 00:58:13 +11:00
auto_reset_event.zig std: fix compile errors introduced in previous commit 2020-12-23 20:49:38 -07:00
base64.zig Return encoded slice from base64 encode 2020-12-24 01:27:21 +02:00
buf_map.zig fix memory leak in BufMap 2020-11-30 10:40:16 -08:00
buf_set.zig
build.zig builder: implement sanitize_thread option 2020-12-26 11:56:50 +02:00
builtin.zig stage1: Initial implementation of @extern 2020-11-20 22:32:43 +01:00
c.zig std: add c._exit() and use in ChildProcess 2020-12-26 16:51:55 -08:00
child_process.zig std.ChildProcess: fix max_output_bytes handling 2020-12-29 14:02:12 -07:00
coff.zig remove deprecated uses of ArrayList.span 2020-11-07 11:15:44 +00:00
compress.zig
comptime_string_map.zig
crypto.zig std: introduce a thread-local CSPRNG for general use 2020-12-18 12:22:46 -07:00
cstr.zig
debug.zig rework std.ResetEvent, improve std lib Darwin integration 2020-12-23 16:57:18 -08:00
dwarf.zig Merge pull request #7005 from jshholland/deprecate-span 2020-11-18 13:14:48 +02:00
dwarf_bits.zig
dynamic_library.zig Fix WindowsDynLib.openW trying to strip the \??\ prefix when it does not exist 2020-11-30 11:12:33 -08:00
elf.zig Merge branch 'piepiepie' of https://github.com/LemonBoy/zig into pie 2020-11-22 12:39:44 -07:00
event.zig std/event: Fix import path for WaitGroup 2020-12-03 12:43:55 -08:00
fifo.zig Merge pull request #6434 from daurnimator/fifo.pump 2020-11-18 16:35:13 +02:00
fmt.zig std: Fix formatting of type values 2020-12-13 23:21:23 -05:00
fs.zig Return encoded slice from base64 encode 2020-12-24 01:27:21 +02:00
hash.zig
hash_map.zig small fixes and zig fmt 2020-12-09 13:54:26 +02:00
heap.zig std/heap: fix documentation of raw_c_allocator 2020-12-28 16:15:04 +02:00
io.zig std: clenup, fixes, fmt 2020-12-24 00:23:29 +02:00
json.zig std: clenup, fixes, fmt 2020-12-24 00:23:29 +02:00
leb128.zig Add builtin.Signedness, use it instead of is_signed 2020-11-19 18:59:21 +02:00
linked_list.zig
log.zig
macho.zig lld+macho: lld xcomp to x86_64 macos now works 2020-12-17 10:04:53 +01:00
math.zig Fix typo in math.order 2020-12-16 12:14:44 +02:00
mem.zig Merge pull request #7084 from xackus/mem-volatile 2020-11-18 13:06:35 +02:00
meta.zig std.crypto.random: introduce fork safety 2020-12-18 15:54:01 -07:00
mutex.zig std: fix compile errors introduced in previous commit 2020-12-23 20:49:38 -07:00
net.zig move ArrayListSentineled to std lib orphanage 2020-12-23 16:24:22 +02:00
once.zig
os.zig std.ChildProcess: improvements to collectOutputPosix 2020-12-29 11:13:00 -07:00
packed_int_array.zig Add builtin.Signedness, use it instead of is_signed 2020-11-19 18:59:21 +02:00
pdb.zig remove deprecated uses of ArrayList.span 2020-11-07 11:15:44 +00:00
priority_queue.zig small fixes and zig fmt 2020-12-09 13:54:26 +02:00
process.zig std.process: update arg iterator tests 2020-12-28 21:09:47 -07:00
Progress.zig std.Progress: work around time going backwards 2020-12-23 13:36:21 -08:00
rand.zig std: introduce a thread-local CSPRNG for general use 2020-12-18 12:22:46 -07:00
ResetEvent.zig rework std.ResetEvent, improve std lib Darwin integration 2020-12-23 16:57:18 -08:00
SemanticVersion.zig std: Introduce SemanticVersion data structure 2020-11-06 15:07:48 -05:00
sort.zig
spinlock.zig
start.zig std.crypto.random: introduce fork safety 2020-12-18 15:54:01 -07:00
start_windows_tls.zig
StaticResetEvent.zig std: fix compile errors introduced in previous commit 2020-12-23 20:49:38 -07:00
std.zig Merge pull request #7531 from Vexu/orphanage 2020-12-24 10:59:37 +02:00
target.zig stage2: Use correct ppc generic feature set 2020-11-20 08:38:10 +01:00
testing.zig zig test: std.testing.zig_exe_path is now available 2020-12-28 20:00:34 -07:00
thread.zig std: make the use of pthread_join POSIX-compliant 2020-12-02 10:59:35 +01:00
time.zig std: Fix early overflow in time calculation 2020-11-01 17:06:14 -05:00
unicode.zig Switch to using unicode when parsing the command line on windows (#7241) 2020-11-30 13:47:01 -05:00
valgrind.zig Revert "std.valgrind: add helgrind functions" 2020-12-24 01:14:41 -07:00
zig.zig