zig/lib/std
Andrew Kelley bd46410419 Revert "Merge pull request #18410 from dweiller/by-length-slice-bug"
This reverts commit d9d840a33a, reversing
changes made to a04d433094.

This is not an adequate implementation of the missing safety check, as
evidenced by the changes to std.json that are reverted in this commit.

Reopens #18382
Closes #18510
2024-01-13 23:21:44 -07:00
..
Build Expose -f(no-)formatted-panics to the build system (again) 2024-01-13 22:07:34 -08:00
c translate-c: use Aro's tokenizer 2023-11-25 12:28:19 +02:00
compress lib: correct unnecessary uses of 'var' 2023-11-19 09:55:07 +00:00
crypto Deprecate suggestVectorSize in favor of suggestVectorLength 2024-01-01 16:18:57 +01:00
dwarf lib: correct unnecessary uses of 'var' 2023-11-19 09:55:07 +00:00
event rework std.atomic 2023-11-22 19:08:55 -07:00
fmt lib: correct unnecessary uses of 'var' 2023-11-19 09:55:07 +00:00
fs fix std.fs.Dir.makePath silent failure (#16878) 2024-01-08 15:58:14 -05:00
hash AstGen: add error for using inline loops in comptime only scopes 2023-12-08 16:54:32 -08:00
heap std.heap: Use @alignOf(T) rather than 0 if not manually overridden for alignment of MemoryPool items 2023-11-21 13:23:53 +00:00
http std.http: add missing documentation and a few examples 2024-01-13 18:51:38 -08:00
io Fix fmt UTF-8 characters as fill (#18533) 2024-01-13 22:47:03 -05:00
json Revert "Merge pull request #18410 from dweiller/by-length-slice-bug" 2024-01-13 23:21:44 -07:00
math fix #17142, wrong comptime log_int computation 2024-01-13 18:46:16 -08:00
mem
meta AstGen: add error for redundant comptime var in comptime scope (#18242) 2024-01-09 20:09:39 -05:00
net std: disable flaky tcp server test 2023-12-19 12:01:09 -07:00
os add ability to open dlls with platform-specific flags (#18370) 2024-01-09 20:11:22 -05:00
rand lib: correct unnecessary uses of 'var' 2023-11-19 09:55:07 +00:00
sort lib: correct unnecessary uses of 'var' 2023-11-19 09:55:07 +00:00
tar tar: rename reader to iterator 2024-01-13 19:37:33 -07:00
Target Re-run update_cpu_features (LLVM 17) 2024-01-09 17:53:43 +01:00
testing
Thread bsd: debitrot atomic and debug 2023-11-26 14:28:22 -05:00
time
tz
unicode
valgrind
zig Merge pull request #18403 from FnControlOption/parse 2024-01-03 13:10:26 -08:00
array_hash_map.zig std: remove meta.trait 2023-11-22 13:24:27 -05:00
array_list.zig std.ArrayList: Clarify that ensureTotalCapacity/ensureTotalCapacityPrecise will never shrink the array 2024-01-13 19:58:22 -08:00
ascii.zig
atomic.zig rework std.atomic 2023-11-22 19:08:55 -07:00
base64.zig lib: correct unnecessary uses of 'var' 2023-11-19 09:55:07 +00:00
bit_set.zig Merge pull request #17852 from ziglang/zig-reduce 2023-11-04 14:25:50 -04:00
BitStack.zig
bounded_array.zig
buf_map.zig lib: correct unnecessary uses of 'var' 2023-11-19 09:55:07 +00:00
buf_set.zig lib: correct unnecessary uses of 'var' 2023-11-19 09:55:07 +00:00
Build.zig std.Build: pass code model in various compile steps 2024-01-06 18:33:24 -08:00
builtin.zig Make @typeInfo return null-terminated strings 2024-01-07 15:35:18 +01:00
c.zig std: make c.versionCheck() a comptime-known function 2024-01-12 16:17:39 -08:00
child_process.zig More accurate argv-to-command-line serialization when spawning child processes on Windows 2023-12-18 23:58:26 +01:00
coff.zig lib: correct unnecessary uses of 'var' 2023-11-19 09:55:07 +00:00
compress.zig
comptime_string_map.zig std.CompTimeStringMap*: support empty initialization list 2024-01-05 05:09:24 +02:00
crypto.zig x86_64: implement 128-bit builtins 2023-10-23 22:42:18 -04:00
debug.zig fixups from previous commit 2024-01-08 00:21:57 -07:00
dwarf.zig lib: correct unnecessary uses of 'var' 2023-11-19 09:55:07 +00:00
dynamic_library.zig add ability to open dlls with platform-specific flags (#18370) 2024-01-09 20:11:22 -05:00
elf.zig elf: init output COMDAT group sections 2023-11-09 17:41:14 +01:00
enums.zig Work around stage1 not yet returning null-terminated @typeInfo strings 2024-01-07 16:21:08 +01:00
event.zig
fifo.zig x86_64: implement enough to pass unicode tests 2023-10-23 22:42:18 -04:00
fmt.zig Fix fmt UTF-8 characters as fill (#18533) 2024-01-13 22:47:03 -05:00
fs.zig std.fs.File: flatten struct 2023-11-22 15:24:57 -07:00
hash.zig
hash_map.zig std.hash_map: clarify error when Context is missing pub hash/eql 2023-12-23 16:15:19 +02:00
heap.zig std.heap: add runtime safety for calling stackFallback(N).get multiple times 2024-01-09 17:18:20 -08:00
http.zig Remove some @as coercions from assertions 2024-01-03 21:20:48 +01:00
Ini.zig
io.zig std.io.GenericReader: add missing error annotations 2024-01-13 13:16:51 -08:00
json.zig x86_64: pass more tests 2023-10-25 04:28:30 -04:00
leb128.zig Dwarf: improve x86_64 backend debug info 2023-11-12 03:21:52 -05:00
linked_list.zig Revert "std.SinglyLinkedList: add sort function" 2023-11-24 22:33:50 -07:00
log.zig
macho.zig macho: rename flag to EXPORT_SYMBOL_FLAGS_WEAK_DEFINITION 2023-12-06 23:29:08 +01:00
math.zig fix #17142, wrong comptime log_int computation 2024-01-13 18:46:16 -08:00
mem.zig std.mem: fix simd.suggestVectorLength merge conflict 2024-01-09 18:20:53 -07:00
meta.zig Fix failing type reifications 2024-01-07 16:27:50 +01:00
multi_array_list.zig Correct expected/actual parameter order of some assertions 2024-01-03 21:20:49 +01:00
net.zig std.net: add explicit error sets for IP parsing 2023-12-16 16:15:51 +00:00
once.zig x86_64: fix std test failures 2023-11-03 23:18:21 -04:00
os.zig std: make c.versionCheck() a comptime-known function 2024-01-12 16:17:39 -08:00
packed_int_array.zig std.builtin.Endian: make the tags lower case 2023-10-31 21:37:35 -04:00
pdb.zig lib: correct unnecessary uses of 'var' 2023-11-19 09:55:07 +00:00
priority_dequeue.zig lib: correct unnecessary uses of 'var' 2023-11-19 09:55:07 +00:00
priority_queue.zig lib: correct unnecessary uses of 'var' 2023-11-19 09:55:07 +00:00
process.zig Update ArgIterator on Windows to follow standard Windows parsing rules 2023-12-18 22:55:46 +01:00
Progress.zig lib: correct unnecessary uses of 'var' 2023-11-19 09:55:07 +00:00
rand.zig std: remove meta.trait 2023-11-22 13:24:27 -05:00
RingBuffer.zig std.RingBuffer.zig: Fix typo in readLastAssumeLength 2023-11-21 13:55:09 +02:00
segmented_list.zig x86_64: implement enough to pass unicode tests 2023-10-23 22:42:18 -04:00
SemanticVersion.zig std.zig.system.NativeTargetInfo: fix glibc version parsing 2023-10-23 06:00:53 -04:00
simd.zig Deprecate suggestVectorSize in favor of suggestVectorLength 2024-01-01 16:18:57 +01:00
sort.zig lib: correct unnecessary uses of 'var' 2023-11-19 09:55:07 +00:00
start.zig stage2 AArch64: get empty file compiling again 2024-01-08 23:53:24 -08:00
start_windows_tls.zig
std.zig std.Target: flatten 2024-01-01 17:51:18 -07:00
tar.zig tar: improve diagnostic reporting 2024-01-13 19:37:33 -07:00
Target.zig std.Target.Query: remove deprecated API 2024-01-01 17:51:18 -07:00
testing.zig std.testing.expectEqualSlices: some improvements 2024-01-08 00:13:21 -07:00
Thread.zig doc: possible typo at std.Thread.spawn comment 2023-12-30 14:17:36 +02:00
time.zig os.uefi: add ns to epoch 2023-12-20 20:05:16 -08:00
treap.zig lib: correct unnecessary uses of 'var' 2023-11-19 09:55:07 +00:00
tz.zig std.builtin.Endian: make the tags lower case 2023-10-31 21:37:35 -04:00
unicode.zig Fix fmt UTF-8 characters as fill (#18533) 2024-01-13 22:47:03 -05:00
Uri.zig std.Uri: fix implementation of resolve with trailing slashes 2024-01-13 18:50:29 -08:00
valgrind.zig
wasm.zig
zig.zig std.Target.Query: remove deprecated API 2024-01-01 17:51:18 -07:00