0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib/std
Jakub Konka 070282a96e libstd: fix off-by-one error in def of ProcSym in pdb
Make sure `ProcSym` includes a single element byte-array which delimits
the start of the symbol's name as part of its definition. This makes
the code more elegant in that accessing the name is equivalent to taking
the address of this one element array.
History 2022-08-17 16:36:02 -04:00
..
atomic std: replace usage of std.meta.bitCount() with @bitSizeOf() 2022-04-27 11:10:52 +02:00
build macho: sync with zld 2022-08-03 21:19:41 +02:00
c std: fix definition of SIG_IGN, SIG_DFL, etc. 2022-08-11 12:09:34 +02:00
compress stage2: make error{} the same size as anyerror 2022-06-11 23:49:33 +03:00
crypto std: add workaround for stage2 bug 2022-08-09 16:19:55 +03:00
dwarf wasm: Implement debug info for parameters 2022-05-09 18:51:46 +02:00
event std.event: use .{} to initiate Lock to unlocked state 2022-07-01 00:09:36 +03:00
fmt std.fmt.parse_float: disable failing aarch64 test from LLVM 14 2022-07-06 16:23:42 -07:00
fs std.fs: Fix WalkerEntry.dir not always being the containing dir 2022-08-15 11:25:51 +03:00
hash Fix #12423: auto_hash not hashing arrays of slices uniquely 2022-08-14 23:12:48 +03:00
heap Move sys_can_stack_trace from GPA to std.debug so that it can be re-used as needed 2022-06-25 21:27:56 -07:00
http std: add http definitions for Method and Status (#10661) 2022-05-11 15:43:18 -04:00
io std: update test cases to reflect new packed struct semantics 2022-07-12 18:38:11 -07:00
json std.json: Fix parsing of large numbers 2022-07-23 13:52:16 +03:00
math Use Managed.len in sub, divFloor, and divTrunc too 2022-07-16 11:46:13 +09:00
mem Revert "std.mem.Allocator: add alignedCreate" 2022-07-23 15:30:12 +03:00
meta std.meta.TrailerFlags: improve init type 2022-05-04 21:26:48 +02:00
net AstGen: fix loop control flow applying to wrong loop 2022-07-13 16:10:41 -07:00
os Merge pull request #12410 from ifreund/sig-err-dfl-ign-fix 2022-08-11 15:05:07 -04:00
rand crypto: add the Xoodoo permutation, prepare for Gimli deprecation (#11866) 2022-07-01 13:18:08 +02:00
target std: rename std.Target.systemz to .s390x 2022-07-28 23:22:44 -07:00
testing Move sys_can_stack_trace from GPA to std.debug so that it can be re-used as needed 2022-06-25 21:27:56 -07:00
Thread math: make cast return optional instead of an error 2022-05-27 16:43:33 -04:00
time std.time.epoch: fix issue in documentation 2021-12-16 19:08:58 -08:00
tz Support legacy TZ format, expose header struct to a potential writer 2022-01-01 12:47:08 +00:00
unicode migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
valgrind remove redundant license headers from zig standard library 2021-08-24 12:25:09 -07:00
x std.fmt: require specifier for unwrapping ?T and E!T 2022-07-26 11:25:49 -07:00
zig test: simplify testTokenize 2022-08-16 00:20:19 +02:00
array_hash_map.zig Sema: solve a false positive "depends on itself" 2022-05-06 22:40:57 -07:00
array_list.zig link.MachO: use accurate alignment attribute on pointers 2022-08-10 22:28:05 -07:00
ascii.zig allocgate: std Allocator interface refactor 2021-11-30 23:32:47 +00:00
atomic.zig std.Thread.Futex improvements (#11464) 2022-04-19 19:42:15 -05:00
base64.zig std.base64: upgrade to new function pointer semantics 2022-03-30 20:38:01 -07:00
bit_set.zig stage2: check that struct is a tuple when value tags differ in eql 2022-06-17 21:04:21 +03:00
bounded_array.zig AstGen: detect declarations shadowing locals 2022-08-16 20:35:03 +03:00
buf_map.zig reverse some of the now unneeded changes from squeek 2022-05-11 18:41:23 -06:00
buf_set.zig std.BufSet.clone: fix key ownership 2022-03-01 13:28:47 -05:00
build.zig std.fmt: require specifier for unwrapping ?T and E!T 2022-07-26 11:25:49 -07:00
builtin.zig stage2: Implement explicit backing integers for packed structs 2022-08-10 19:54:45 +02:00
c.zig std.c: Move Darwin-unspecific functions from std/c/darwin.zig to std/c.zig 2022-05-07 00:02:15 +09:00
child_process.zig math: make cast return optional instead of an error 2022-05-27 16:43:33 -04:00
coff.zig std.coff: parse out codebase and entrypoint from optionalheader 2022-04-28 18:31:20 +03:00
compress.zig stage2: small fixes + adjustments to std tests 2022-06-11 23:49:33 +03:00
comptime_string_map.zig remove redundant license headers from zig standard library 2021-08-24 12:25:09 -07:00
crypto.zig crypto: add the Xoodoo permutation, prepare for Gimli deprecation (#11866) 2022-07-01 13:18:08 +02:00
cstr.zig allocgate: std Allocator interface refactor 2021-11-30 23:32:47 +00:00
debug.zig AstGen: detect declarations shadowing locals 2022-08-16 20:35:03 +03:00
dwarf.zig math: make cast return optional instead of an error 2022-05-27 16:43:33 -04:00
dynamic_library.zig math: make cast return optional instead of an error 2022-05-27 16:43:33 -04:00
elf.zig target: Rename sparcv9 -> sparc64 2022-05-13 16:43:59 -04:00
enums.zig std.enums: make directEnumArrayLen public 2022-08-05 15:41:03 +03:00
event.zig std, compiler-rt: remove test names where applicable 2021-09-01 17:54:06 -07:00
fifo.zig allocgate: std Allocator interface refactor 2021-11-30 23:32:47 +00:00
fmt.zig std.fmt: add more invalid format string errors 2022-07-27 18:07:53 +03:00
fs.zig std.fs: Fix WalkerEntry.dir not always being the containing dir 2022-08-15 11:25:51 +03:00
hash.zig lint: duplicate import (#10519) 2022-01-07 00:06:06 -05:00
hash_map.zig std: fix missing hash map safety 2022-04-20 17:18:06 -07:00
heap.zig std: update tests to stage2 semantics 2022-06-03 20:21:20 +03:00
http.zig std: add http definitions for Method and Status (#10661) 2022-05-11 15:43:18 -04:00
io.zig stage2: progress towards stage3 2022-04-14 10:12:45 -07:00
json.zig std.json: expose encodeJsonString and encodeJsonStringChars 2022-07-24 11:51:59 +03:00
leb128.zig std.leb128: disable regressed test due to LLVM 14 2022-07-06 20:12:00 -07:00
linked_list.zig remove redundant license headers from zig standard library 2021-08-24 12:25:09 -07:00
log.zig std.log: deduplicate switch 2022-07-09 15:19:03 +03:00
macho.zig macho: add missing align cast in LoadCommandIterator 2022-08-03 21:19:41 +02:00
math.zig std.math: add degreesToRadians and radiansToDegrees 2022-07-11 16:40:05 +03:00
mem.zig std.mem.zeroes: Zero sized structs with uninitialized members (#12246) 2022-08-05 15:47:52 +03:00
meta.zig Makes std.meta.Tuple and std.meta.ArgsTuple generate a unique type instead of generating one per invocation. 2022-08-05 15:39:53 +03:00
multi_array_list.zig std.MultiArrayList: add functions addOne, pop, and popOrNull (#11553) 2022-04-29 22:51:53 -04:00
net.zig std.mem: add first method to SplitIterator and SplitBackwardsIterator 2022-07-25 22:04:30 +03:00
once.zig std.Thread.Mutex: change API to lock() and unlock() 2021-11-09 18:31:03 -07:00
os.zig Merge pull request #12410 from ifreund/sig-err-dfl-ign-fix 2022-08-11 15:05:07 -04:00
packed_int_array.zig zig fmt: remove trailing whitespace on doc comments 2022-04-05 18:08:33 +03:00
pdb.zig libstd: fix off-by-one error in def of ProcSym in pdb 2022-08-17 16:36:02 -04:00
priority_dequeue.zig PriorityDequeue: use compareFn in update() method 2022-07-25 18:12:32 +03:00
priority_queue.zig PriorityQueue: use compareFn in update() 2022-07-22 19:25:38 +03:00
process.zig std.mem: add first method to SplitIterator and SplitBackwardsIterator 2022-07-25 22:04:30 +03:00
Progress.zig std.Progress.log: adjust API 2022-05-26 21:58:19 -07:00
rand.zig crypto: add the Xoodoo permutation, prepare for Gimli deprecation (#11866) 2022-07-01 13:18:08 +02:00
segmented_list.zig std: disable tests that crash stage2 2022-06-03 20:21:20 +03:00
SemanticVersion.zig std.mem: add first method to SplitIterator and SplitBackwardsIterator 2022-07-25 22:04:30 +03:00
simd.zig SIMD size suggestions: suggestions code now compiles, added more 2022-07-22 18:58:43 +03:00
sort.zig std: add sort method to ArrayHashMap and MultiArrayList 2022-03-10 13:13:17 -05:00
start.zig remove 'builtin.stage2_arch', Sema is smart enough now 2022-08-07 16:07:08 -07:00
start_windows_tls.zig stage1, stage2: rename c_void to anyopaque (#10316) 2021-12-19 00:24:45 -05:00
std.zig std: add http definitions for Method and Status (#10661) 2022-05-11 15:43:18 -04:00
target.zig Type: adjust C type sizes 2022-08-06 14:42:05 -07:00
testing.zig std.testing: make the caret indicator line more helpful 2022-07-25 15:51:22 +03:00
Thread.zig std.Thread: fix mutable ref of temporary 2022-07-04 16:53:41 -07:00
time.zig math: make cast return optional instead of an error 2022-05-27 16:43:33 -04:00
treap.zig treap: zig fmt 2022-04-15 17:01:01 -05:00
tz.zig std.tz: fix function returning pointer to local variable 2022-06-17 21:04:21 +03:00
unicode.zig Sema: handle tuple and anon_struct in resolveTypeFully 2022-06-11 11:02:56 +03:00
valgrind.zig lint: duplicate import (#10519) 2022-01-07 00:06:06 -05:00
wasm.zig wasm: Implement memset, and sret arguments. 2022-01-04 17:59:05 +01:00
x.zig stage2: small fixes + adjustments to std tests 2022-06-11 23:49:33 +03:00
zig.zig Compilation: do not repeat same source line for notes 2022-07-10 23:47:56 +03:00