| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-08-23 | MacOS stack traces use the already mmapped executable | Andrew Kelley | |
| ...rather than trying to find the executable on the file system. Also use a more robust PIE offset calculation based on the available metadata. And for the last function, use the data that tells the end rather than assuming 4K. Also they print in a consistent way with Linux stack traces. | |||
| 2018-08-23 | Merge pull request #1402 from ziglang/default-fp-ieee-strict | Andrew Kelley | |
| Default to strict IEEE floating point | |||
| 2018-08-23 | Default to strict IEEE floating point | Marc Tiehuis | |
| Closes #1227. | |||
| 2018-08-22 | rename std.debug.ElfStackTrace to std.debug.DebugInfo | Andrew Kelley | |
| 2018-08-23 | std/mem.zig: test writing u64 integers; | kristopher tate | |
| 2018-08-21 | fix selfExePath on macosx | Andrew Kelley | |
| 2018-08-21 | fix linux | Andrew Kelley | |
| * error.BadFd is not a valid error code. it would always be a bug to get this error code. * merge error.Io with existing error.InputOutput * merge error.PathNotFound with existing error.FileNotFound. Not all OS's support both. * add os.File.openReadC * add error.BadPathName for windows file operations with invalid characters * add os.toPosixPath to help stack allocate a null terminating byte * add some TODOs for other functions to investigate removing the allocator requirement * optimize some implementations to use the alternate functions when a null byte is already available * add a missing error.SkipZigTest * os.selfExePath uses a non-allocating API * os.selfExeDirPath uses a non-allocating API * os.path.real uses a non-allocating API * add os.path.realAlloc and os.path.realC * convert many windows syscalls to use the W versions (See #534) | |||
| 2018-08-21 | fix windows | Andrew Kelley | |
| 2018-08-21 | *WIP* std.os assumes comptime-known max path size | Andrew Kelley | |
| this allows us to remove the requirement of allocators for a lot of functions See #1392 | |||
| 2018-08-20 | Merge branch 'path_max' of https://github.com/shawnl/zig into shawnl-path_max | Andrew Kelley | |
| 2018-08-20 | refactor std.os.makePath to use a switch instead of if | Andrew Kelley | |
| 2018-08-20 | std.fmt.format: handle non-pointer struct/union/enum | Andrew Kelley | |
| Also adds support for printing structs via reflection. The case when structs have pointers to themselves is not handled yet. closes #1380 | |||
| 2018-08-19 | do not use an allocator when we don't need to because of the existance of ↵ | Shawn Landden | |
| PATH_MAX | |||
| 2018-08-18 | Add secureZero function | Marc Tiehuis | |
| This is identical to `mem.set(u8, slice, 0)` except that it will never be optimized out by the compiler. Intended usage is for clearing secret data. The resulting assembly has been manually verified in --release-* modes. It would be valuable to test the 'never be optimized out' claim in tests but this is harder than initially expected due to how much Zig appears to know locally. May be doable with @intToPtr, @ptrToInt to get around known data dependencies but I could not work it out right now. | |||
| 2018-08-14 | fixed handling of [*]u8 when no format specifier is set | tgschultz | |
| If fmt was called on with a [*]u8 or [*]const u8 argument, but the fmt string did not specify 's' to treat it as a string, it produced a compile error due to accessing index 1 of a 0 length slice. | |||
| 2018-08-10 | rb: some style fixes | Shawn Landden | |
| avoid @import("std") as is the custom compare function name | |||
| 2018-08-10 | Merge pull request #1294 from ziglang/async-fs | Andrew Kelley | |
| introduce std.event.fs for async file system functions | |||
| 2018-08-10 | windows: call CancelIo when canceling an fs watch | Andrew Kelley | |
| 2018-08-09 | windows fs watching: fix not initializing table value | Andrew Kelley | |
| 2018-08-09 | windows: only create io completion port once | Andrew Kelley | |
| 2018-08-09 | initial windows implementation of std.event.fs.Watch | Andrew Kelley | |
| 2018-08-08 | std.event.fs.preadv windows implementation | Andrew Kelley | |
| 2018-08-08 | std.event.fs.pwritev windows implementation | Andrew Kelley | |
| also fix 2 bugs where the function didn't call allocator.shrink: * std.mem.join * std.os.path.resolve | |||
| 2018-08-07 | fix linux regressions | Andrew Kelley | |
| 2018-08-07 | std.event.fs.Watch distinguishes between Delete and CloseWrite on darwin | Andrew Kelley | |
| TODO: after 1 event emitted for a deleted file, the file is no longer watched | |||
| 2018-08-07 | implement std.event.fs.Watch for macos | Andrew Kelley | |
| 2018-08-07 | mem: use pub on Compare (#1352) | Shawn Landden | |
| fixes rb /home/shawn/git/zig/std/rb.zig:133:37: error: 'Compare' is private compare_fn: fn(*Node, *Node) mem.Compare, | |||
| 2018-08-07 | Merge pull request #1338 from shawnl/master | Andrew Kelley | |
| std: add red-black tree implementation | |||
| 2018-08-07 | mem: add mem.compare(), and use it for mem.lessThan() | Shawn Landden | |
| 2018-08-07 | mem: move enum Compare from rb to mem | Shawn Landden | |
| 2018-08-06 | std: add red-black tree implementation | Shawn Landden | |
| This is to be used with @fieldParentPtr(); Example: const rb = @import("std").rb; const Number = struct { node: rb.Node, value: i32, }; fn number(node: *rb.Node) *Number { @fieldParentPtr(Number, "node", node); } fn compare(l: *rb.Node, r: *rb.Node) rb.Compare { var left = number(l); var right = number(r); if (left.value < right.value) { return rb.Compare.LessThan; } else if (left.value == right.value) { return rb.Compare.Equal; } else if (left.value > right.value) { return rb.Compare.GreaterThan; } unreachable; } -- A version that caches rb.Tree.first() could be added in the future. | |||
| 2018-08-07 | fix hash map test | Andrew Kelley | |
| 2018-08-07 | std.event.fs support for macos | Andrew Kelley | |
| The file I/O stuff is working, but the fs watching stuff is not yet. | |||
| 2018-08-06 | merge @kristate's std lib changes to darwin | Andrew Kelley | |
| 2018-08-06 | std.HashMap.autoHash: use xor instead of wrapping mult | Andrew Kelley | |
| 2018-08-06 | fix Thread impl on Linux and add docs | Andrew Kelley | |
| 2018-08-06 | separate os.Thread.Id and os.Thread.Handle because of windows | Andrew Kelley | |
| 2018-08-06 | fix std.os.Thread.getCurrentId for linux | Andrew Kelley | |
| 2018-08-06 | Merge branch 'threadid' of https://github.com/mdsteele/zig into ↵ | Andrew Kelley | |
| mdsteele-threadid | |||
| 2018-08-06 | More type cast fixes | Andrea Orru | |
| 2018-08-06 | Fix casts | Andrea Orru | |
| 2018-08-06 | Merge branch 'master' into zen_stdlib | Andrea Orru | |
| 2018-08-04 | Don't compare ?Thread.Id == Thread.Id in the test | Matthew D. Steele | |
| It doesn't work, because of issue #1332. | |||
| 2018-08-04 | Merge branch 'master' into llvm7 | Andrew Kelley | |
| 2018-08-04 | zig/std/os/index.zig: clean-up thread id; (#1) | kristopher tate | |
| Ref #1316 #1330 | |||
| 2018-08-03 | Add thread ID support to std.os.Thread (fixes #1316) | Matthew D. Steele | |
| 2018-08-03 | Merge remote-tracking branch 'origin/master' into async-fs | Andrew Kelley | |
| 2018-08-03 | when decls don't change, don't regenerate them | Andrew Kelley | |
| 2018-08-03 | self-hosted: watch files and trigger a rebuild | Andrew Kelley | |
| 2018-08-03 | Fix a type error in std.os.linux.getpid() (#1326) | Matthew D. Steele | |
| syscall0() returns usize, but we were trying to @bitCast to i32. | |||
