zig/lib/std
Andrew Kelley a2bb246db4 Revert "std.fmt.format: small optimization to avoid runtime bloat"
This reverts commit 11d38a7e52.

The benefits of this commit are not enough to justify the compromise
that it made.

closes #5977
2020-08-05 13:30:43 -07:00
..
atomic run zig fmt on std lib and self hosted 2020-07-11 20:41:19 +03:00
build elf: Iterate over headers w/o need for allocator 2020-08-01 16:01:48 +00:00
c translate-c: use ArrayList for macro tokens 2020-07-27 15:38:56 +03:00
crypto remove unnecessary operations 2020-08-01 17:15:53 +03:00
debug std: add function for writing fixed width ULEB128 2020-08-02 11:09:35 -07:00
event run zig fmt on std lib and self hosted 2020-07-11 20:41:19 +03:00
fmt std.meta.IntType -> std.meta.Int 2020-04-28 19:11:31 -06:00
fs Move delete file logic into windows.DeleteFile fn 2020-07-31 16:31:51 +02:00
hash make use of hasUniqueRepresentation to speed up hashing facilities, fastpath in getAutoHashFn is particularly important for hashmap performance 2020-07-26 23:04:33 +02:00
heap run zig fmt on std lib and self hosted 2020-07-11 20:41:19 +03:00
http std: don't store allocator inside of std.http.HeaderEntry 2020-07-13 00:38:59 +10:00
io update compile error tests and some doc comments 2020-07-12 00:54:07 +03:00
json run zig fmt on std lib and self hosted 2020-07-11 20:41:19 +03:00
math Fix bug in big.int.Mutable.toManaged() and add tests 2020-07-27 07:16:44 +00:00
meta Merge pull request #5932 from Sahnvour/hash 2020-07-27 07:12:54 +00:00
net Test case for tcpConnectToHost fix 2020-06-07 22:39:35 +10:00
os std.os tests: improve robustness of "symlink with relative paths" 2020-08-04 23:45:53 -07:00
rand ziggurat uses @truncate instead of & 0xff 2020-04-18 14:41:33 -04:00
special zig fmt 2020-08-04 23:04:20 -07:00
target use typeInfo instead of hardcoded tables in std.Target 2020-07-11 20:11:20 +03:00
testing new allocator interface 2020-06-26 13:34:48 -06:00
time (breaking) std.time fixups and API changes 2020-05-24 21:40:08 -04:00
unicode Update all remaining uses of &outStream().stream 2020-04-03 12:12:23 -04:00
valgrind string literals are now null terminated 2019-11-21 20:43:41 -05:00
zig stage2: add the .debug_line header and associated data types 2020-08-02 12:02:43 -07:00
array_list_sentineled.zig run zig fmt on std lib and self hosted 2020-07-11 20:41:19 +03:00
array_list.zig std.ArrayList: add appendNTimesAssumeCapacity 2020-07-31 01:16:17 -07:00
ascii.zig Creates std.ascii.control_code that contains the C0 control codes as named constants. 2020-05-16 12:46:44 -04:00
atomic.zig mv std/ lib/ 2019-09-25 23:35:41 -04:00
base64.zig mv std/ lib/ 2019-09-25 23:35:41 -04:00
bloom_filter.zig Add mips support to standard library 2020-04-24 15:28:55 -04:00
buf_map.zig Merge pull request #5786 from ziglang/std-hash-map 2020-07-05 21:12:20 +00:00
buf_set.zig update std lib to new hash map API 2020-07-05 21:11:42 +00:00
build.zig zig build: fix addBuildOption for []const u8 and ?[]const u8 2020-08-04 22:55:45 -07:00
builtin.zig add is_tuple field to struct typeinfo 2020-07-17 00:15:34 +03:00
c.zig translate-c: use ArrayList for macro tokens 2020-07-27 15:38:56 +03:00
cache_hash.zig run zig fmt on std lib and self hosted 2020-07-11 20:41:19 +03:00
child_process.zig Fix opening NUL device on Windows 2020-07-31 19:16:04 +02:00
coff.zig new ArrayList API: fix everything else 2020-04-02 16:12:08 +02:00
comptime_string_map.zig run zig fmt on std lib and self hosted 2020-07-11 20:41:19 +03:00
crypto.zig hashing algorithms: fix logic and index out of bounds 2020-02-24 13:43:54 -05:00
cstr.zig breaking: std.mem.len no longer takes a type argument 2020-03-01 13:21:39 -05:00
debug.zig run zig fmt on std lib and self hosted 2020-07-11 20:41:19 +03:00
dwarf_bits.zig std.dwarf: add LNCT constants from DWARF v5 2020-08-02 11:09:39 -07:00
dwarf.zig stage2: add DWARF info for the main compilation unit 2020-07-31 06:48:17 +00:00
dynamic_library.zig publicize member functions affected by #4909 2020-05-08 14:26:28 +03:00
elf.zig elf: Iterate over headers w/o need for allocator 2020-08-01 16:01:48 +00:00
event.zig self-hosted libc detection 2020-02-16 13:25:30 -05:00
fifo.zig Use writer for LinearFifo instead of deprecated outStream 2020-07-27 17:05:39 +03:00
fmt.zig Revert "std.fmt.format: small optimization to avoid runtime bloat" 2020-08-05 13:30:43 -07:00
fs.zig Move delete file logic into windows.DeleteFile fn 2020-07-31 16:31:51 +02:00
hash_map.zig .debug_line incremental compilation initial support 2020-08-02 19:25:26 -07:00
hash.zig merge dumps tool: merging ast nodes 2019-10-11 18:13:24 -04:00
heap.zig Make allocator test functions public 2020-07-12 21:45:25 +00:00
http.zig mv std/ lib/ 2019-09-25 23:35:41 -04:00
io.zig Support Reader for InStream 2020-06-09 13:36:17 -04:00
json.zig zig fmt 2020-08-04 23:04:20 -07:00
linked_list.zig run zig fmt on std lib 2020-05-24 10:04:09 -04:00
log.zig Fix std.log example to make the log handler print the newline 2020-07-22 22:08:08 +00:00
macho.zig delete extra code, more forgiveness 2020-02-22 12:44:21 +01:00
math.zig run zig fmt on std lib and self hosted 2020-07-11 20:41:19 +03:00
mem.zig zig fmt 2020-08-04 23:04:20 -07:00
meta.zig add std.meta.TrailerFlags API 2020-07-14 17:19:17 -07:00
mutex.zig introduce operating system version ranges as part of the target 2020-02-28 14:51:53 -05:00
net.zig zig fmt 2020-08-04 23:04:20 -07:00
once.zig std: Introduce the Once synchronization primitive 2020-04-18 15:48:32 -04:00
os.zig Apply suggestions from code review 2020-08-02 19:36:49 +02:00
packed_int_array.zig Fix typo in PackedIntArray tests 2020-05-30 23:17:55 +02:00
pdb.zig Pdb.openFile use []const u8 instead of []u8 2020-06-24 22:27:30 -04:00
priority_queue.zig std.mem.dupe is deprecated, move all references in std 2020-07-04 21:40:06 +03:00
process.zig std.mem.dupe is deprecated, move all references in std 2020-07-04 21:40:06 +03:00
progress.zig run zig fmt on std lib and self hosted 2020-07-11 20:41:19 +03:00
rand.zig make rand function public, fixes crypto benchmark 2020-05-20 21:27:08 -04:00
rb.zig rb: fix rb.Node.getLast() that never worked 2020-01-30 12:05:57 -05:00
reset_event.zig (breaking) std.time fixups and API changes 2020-05-24 21:40:08 -04:00
segmented_list.zig run zig fmt on std lib and self hosted 2020-07-11 20:41:19 +03:00
sort.zig run zig fmt on std lib and self hosted 2020-07-11 20:41:19 +03:00
spinlock.zig introduce operating system version ranges as part of the target 2020-02-28 14:51:53 -05:00
start_windows_tls.zig un-special-case startup code in the std lib 2019-12-12 18:33:44 -05:00
start.zig @asyncCall now requires an argument tuple 2020-06-24 14:07:39 +03:00
std.zig std: add StringHashMapUnmanaged 2020-07-13 00:34:02 +10:00
target.zig self-hosted: AST flattening, astgen improvements, result locations, and more 2020-07-23 23:05:26 -07:00
testing.zig run zig fmt on std.testing 2020-07-25 23:33:15 -07:00
thread.zig run zig fmt on std lib and self hosted 2020-07-11 20:41:19 +03:00
time.zig fixed timestamp() 2020-06-01 14:43:13 -04:00
unicode.zig Add std.unicode.Utf8Iterator.peek 2020-06-18 20:35:03 -04:00
valgrind.zig short std.builtin enum literals in std lib 2020-03-01 13:57:41 -05:00
zig.zig stage2 .debug_line stepping with gdb is working 2020-08-03 21:01:06 -07:00