zig/lib/std
Andrew Kelley d87cd06296 rework zig fmt to use less syscalls and open fds
* `std.fs.Dir.Entry.Kind` is moved to `std.fs.File.Kind`
 * `std.fs.File.Stat` gains the `kind` field, so performing a stat() on
   a File now tells what kind of file it is. On Windows this only will
   distinguish between directories and files.
 * rework zig fmt logic so that in the case of opening a file and
   discovering it to be a directory, it closes the file descriptor
   before re-opening it with O_DIRECTORY, using fewer simultaneous open
   file descriptors when walking a directory tree.
 * rework zig fmt logic so that it pays attention to the kind of
   directory entries, and when it sees a sub-directory it attempts to
   open it as a directory rather than a file, reducing the number of
   open() syscalls when walking a directory tree.
2020-06-20 18:27:37 -04:00
..
atomic Adds some documentation to std.atomic.Queue. 2020-04-04 13:47:07 -04:00
build reference emit_raw in std lib tests 2020-06-18 20:17:53 -04:00
c Use std.ComptimeStringMap in the C tokenizer 2020-05-26 23:10:08 -07:00
crypto Merge pull request #5189 from zigazeljko/patch-1 2020-05-16 13:20:14 +03:00
debug std.meta.IntType -> std.meta.Int 2020-04-28 19:11:31 -06:00
event (breaking) std.time fixups and API changes 2020-05-24 21:40:08 -04:00
fmt std.meta.IntType -> std.meta.Int 2020-04-28 19:11:31 -06:00
fs rework zig fmt to use less syscalls and open fds 2020-06-20 18:27:37 -04:00
hash Optimization of vectors hashing 2020-05-06 17:08:49 +05:00
heap small bump to ArenaAllocator minimum alloc size 2020-05-20 16:30:28 -04:00
http std.sort: give comparator functions a context parameter 2020-06-08 15:16:40 -04:00
io Support Reader for InStream 2020-06-09 13:36:17 -04:00
json run zig fmt on std lib 2020-05-24 10:04:09 -04:00
math Improve f128 standard library support 2020-06-17 18:18:45 +02:00
meta Merge pull request #5449 from data-man/more_traits 2020-06-01 14:50:01 -04:00
net Test case for tcpConnectToHost fix 2020-06-07 22:39:35 +10:00
os std.os.windows.OpenFile: Handle FILE_IS_A_DIRECTORY status 2020-06-04 22:53:23 -04:00
rand ziggurat uses @truncate instead of & 0xff 2020-04-18 14:41:33 -04:00
special Merge pull request #4976 from xackus/std-lib-docs 2020-06-01 14:50:05 +03:00
target Add strict_align to pre-v6 ARM targets 2020-06-12 13:43:12 -04:00
testing Add explicit error message for too many frees 2020-01-30 01:12:21 -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
zig add workaround for #5599 2020-06-14 20:13:02 +03:00
array_list_sentineled.zig new ArrayList API: fix std.ArrayListSentineled 2020-04-02 15:14:28 +02:00
array_list.zig ArrayList(u8) support writer interface 2020-06-16 18:26:54 -04: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
base64.zig
bloom_filter.zig Add mips support to standard library 2020-04-24 15:28:55 -04:00
buf_map.zig Fix BufMap value leak 2020-01-29 22:22:01 -06:00
buf_set.zig Convert a bunch of page_allocator to testing.allocator 2020-01-29 22:22:01 -06:00
build.zig reference emit_raw in std lib tests 2020-06-18 20:17:53 -04:00
builtin.zig Merge pull request #5203 from tadeokondrak/@type-for-even-more-types 2020-06-18 21:25:03 -04:00
c.zig Add declaration for libc ioctl 2020-06-02 14:56:19 -04:00
cache_hash.zig fix std lib tests for WASI 2020-05-25 19:46:28 -04:00
child_process.zig update windows impl of child process to new File API 2020-05-02 04:31:26 -04:00
coff.zig new ArrayList API: fix everything else 2020-04-02 16:12:08 +02:00
comptime_string_map.zig std.sort: give comparator functions a context parameter 2020-06-08 15:16:40 -04: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 Add std.debug.print for "printf debugging" 2020-06-17 18:36:44 +02:00
dwarf_bits.zig debug: Split the DWARF stuff in its own file 2020-02-20 19:41:28 +01:00
dwarf.zig publicize member functions affected by #4909 2020-05-08 14:26:28 +03:00
dynamic_library.zig publicize member functions affected by #4909 2020-05-08 14:26:28 +03:00
elf.zig Support Reader for InStream 2020-06-09 13:36:17 -04:00
event.zig self-hosted libc detection 2020-02-16 13:25:30 -05:00
fifo.zig Support Reader for InStream 2020-06-09 13:36:17 -04:00
fmt.zig Use writer in std.fmt 2020-06-20 18:23:57 +00:00
fs.zig rework zig fmt to use less syscalls and open fds 2020-06-20 18:27:37 -04:00
hash_map.zig std.HashMap: allow ensureCapacity with a zero parameter 2020-06-02 14:41:45 -04:00
hash.zig
heap.zig Expose full llvm intrinsic 2020-06-09 00:22:34 -04:00
http.zig
io.zig Support Reader for InStream 2020-06-09 13:36:17 -04:00
json.zig std: remove std.debug.getStderrStream 2020-06-15 23:51:25 +10:00
linked_list.zig run zig fmt on std lib 2020-05-24 10:04:09 -04:00
log.zig Don't attempt to use io from thin air 2020-06-19 02:06:27 -04:00
macho.zig delete extra code, more forgiveness 2020-02-22 12:44:21 +01:00
math.zig Improve f128 standard library support 2020-06-17 18:18:45 +02:00
mem.zig rename std.mem.defaultInit to std.mem.zeroInit 2020-06-01 14:47:18 -04:00
meta.zig Merge pull request #5203 from tadeokondrak/@type-for-even-more-types 2020-06-18 21:25:03 -04:00
mutex.zig introduce operating system version ranges as part of the target 2020-02-28 14:51:53 -05:00
net.zig std.sort: give comparator functions a context parameter 2020-06-08 15:16:40 -04:00
once.zig std: Introduce the Once synchronization primitive 2020-04-18 15:48:32 -04:00
os.zig Windows: Fix std.fs.Dir.deleteDir() deleting files 2020-06-04 22:51:58 -04:00
packed_int_array.zig Fix typo in PackedIntArray tests 2020-05-30 23:17:55 +02:00
pdb.zig Support Reader for InStream 2020-06-09 13:36:17 -04:00
priority_queue.zig Make PriorityQueue.Iterator public 2020-05-13 18:38:03 +03:00
process.zig Support Reader for InStream 2020-06-09 13:36:17 -04:00
progress.zig (breaking) std.time fixups and API changes 2020-05-24 21:40:08 -04: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 Add writeToSlice method to SegmentedList. (#5405) 2020-05-26 13:04:25 -04:00
sort.zig std.sort: give comparator functions a context parameter 2020-06-08 15:16:40 -04: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 zig fmt 2020-05-05 09:38:02 -06:00
std.zig Introduce std.log 2020-06-17 02:14:52 +02:00
target.zig link: introduce the concept of output mode and link mode 2020-05-01 06:47:20 -04:00
testing.zig std.testing: fix a crash when printing diffs 2020-05-22 00:27:51 -04:00
thread.zig Update ErrorUnion thread spawn result to return null instead of 0 2020-05-05 04:15:43 -04: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 add ZIR compare output test case to test suite 2020-05-01 06:47:20 -04:00