zig/lib/std
dweiller a53cf299a6 std.compress.zstandard: add error condition to ring buffer decoding
Previously `executeSequenceRingBuffer()` would not verify the offset
against the number of bytes already decoded, so it would happily copy
garbage bytes rather than return an error before the window was filled.

To fix this a new `written_count` is added to the decode state that
tracks the total number of bytes decoded.
2023-02-20 09:09:06 +11:00
..
atomic update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
Build Merge pull request #11982 from marler8997/ignoreSigpipe 2023-02-19 13:55:12 -05:00
c netbsd: use versioned __msync13 from libc 2023-01-28 19:05:38 -05:00
compress std.compress.zstandard: add error condition to ring buffer decoding 2023-02-20 09:09:06 +11:00
crypto improve error message for byref capture of byval array 2023-02-18 19:20:19 -07:00
dwarf wasm: Implement debug info for parameters 2022-05-09 18:51:46 +02:00
event update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
fmt update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
fs Revert "Merge pull request #14661 from evacchi/zig-wasi-preopens" 2023-02-19 09:40:55 -07:00
hash std.hash: add XxHash64 and XxHash32 2023-02-20 09:09:05 +11:00
heap update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
http std.http.Client: default to lazy root cert scanning 2023-01-17 01:44:56 -05:00
io std: restrict mem.span() and mem.len() to sentinel terminated pointers 2023-01-29 15:07:06 -05:00
json update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
math update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
mem split @qualCast into @constCast and @volatileCast 2023-02-15 01:43:57 +02:00
meta update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
net update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
os update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
rand update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
target update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
testing std.mem.Allocator: allow shrink to fail 2022-11-29 23:30:38 -07:00
Thread update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
time
tz
unicode update usages of @call 2022-12-13 13:14:20 +02:00
valgrind std.valgrind.callgrind: fix string type 2022-08-22 13:55:00 +03:00
zig Merge pull request #14671 from ziglang/multi-object-for 2023-02-19 10:10:59 -05:00
array_hash_map.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
array_list.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
ascii.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
atomic.zig all: rename i386 to x86 2022-11-04 00:09:27 +03:30
base64.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
bit_set.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
bounded_array.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
buf_map.zig reverse some of the now unneeded changes from squeek 2022-05-11 18:41:23 -06:00
buf_set.zig
Build.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
builtin.zig Sema: implement for_len 2023-02-18 19:17:21 -07:00
c.zig Add std.c.umask. 2023-02-14 02:17:33 +02:00
child_process.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
coff.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
compress.zig std.compress: add zstandard decompressor 2023-02-20 09:09:05 +11:00
comptime_string_map.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
crypto.zig crypto: add AES-CMAC (RFC 4493) (#14545) 2023-02-16 21:18:20 +01:00
cstr.zig std: restrict mem.span() and mem.len() to sentinel terminated pointers 2023-01-29 15:07:06 -05:00
debug.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
dwarf.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
dynamic_library.zig update usages of @call 2022-12-13 13:14:20 +02:00
elf.zig run zig fmt on everything checked by CI 2022-11-18 19:22:42 +00:00
enums.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
event.zig
fifo.zig
fmt.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
fs.zig split @qualCast into @constCast and @volatileCast 2023-02-15 01:43:57 +02:00
hash.zig std.hash: add XxHash64 and XxHash32 2023-02-20 09:09:05 +11:00
hash_map.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
heap.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
http.zig std.http.Client: support transfer-encoding: chunked 2023-01-05 19:57:00 -07:00
Ini.zig add std.Ini for basic .ini file parsing 2023-01-11 15:39:48 -08:00
io.zig expose std.io.bufferedReaderSize 2023-01-11 15:39:48 -08:00
json.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
leb128.zig update uses of overflow arithmetic builtins 2022-12-27 15:13:14 +02:00
linked_list.zig chore: Remove unused constants 2022-09-11 23:18:43 -04:00
log.zig std: collect all options under one namespace 2023-01-05 02:31:29 -07:00
macho.zig std.macho: add OLD = 0 as valid mode for both arm64 and x86_64 2023-01-21 13:18:14 +01:00
math.zig math: implement absInt for integer vectors 2023-01-03 13:30:24 +02:00
mem.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
meta.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
multi_array_list.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
net.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
once.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
os.zig use std_options for keep_sigpipe and existence of SIG.PIPE to check for support 2023-02-18 11:49:15 -07:00
packed_int_array.zig Merge pull request #14671 from ziglang/multi-object-for 2023-02-19 10:10:59 -05:00
pdb.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
priority_dequeue.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
priority_queue.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
process.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
Progress.zig fix(terminal): handle some possible errors and resolve TODOs 2022-12-13 09:11:30 +01:00
rand.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
segmented_list.zig behavior: add test coverage for slicing zero length array field of struct 2022-12-10 12:33:17 +01:00
SemanticVersion.zig api(std.ascii): remove deprecated decls 2022-12-09 21:57:17 +01:00
simd.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
sort.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
start.zig ignore SIGPIPE by default 2023-02-17 09:08:41 -07:00
start_windows_tls.zig cbe: fixes for tls, support for not linking libc, and enabling tests 2023-01-29 15:04:13 -05:00
std.zig use std_options for keep_sigpipe and existence of SIG.PIPE to check for support 2023-02-18 11:49:15 -07:00
tar.zig zig build: add executable bit and file path to package hash 2023-02-01 18:42:29 -07:00
target.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
testing.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
Thread.zig std: restrict mem.span() and mem.len() to sentinel terminated pointers 2023-01-29 15:07:06 -05:00
time.zig std.time: add microTimestamp() (#13327) 2022-11-02 23:20:19 +01:00
treap.zig
tz.zig std.tz: fix function returning pointer to local variable 2022-06-17 21:04:21 +03:00
unicode.zig remove most conditional compilation based on stage1 2022-12-06 20:38:54 -07:00
Uri.zig std.Uri: make scheme non-optional 2023-01-06 18:52:39 -07:00
valgrind.zig LLVM: add valgrind integration for x86 and aarch64 2022-11-19 19:32:45 -07:00
wasm.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
zig.zig introduce ZON: Zig Object Notation 2023-02-03 00:06:11 -07:00