| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-07-22 | Draft out dir symlinks branch | Jakub Konka | |
| 2020-07-22 | Start drafting CreateSymbolicLink using ntdll syscalls | Jakub Konka | |
| 2020-07-22 | Ensure Dir.deleteTree does not dereference symlinks | Jakub Konka | |
| Otherwise, the behaviour can lead to unexpected results, resulting in removing an entire tree that's not necessarily under the root. Furthermore, this change is needed if are to properly handle dir symlinks on Windows. Without explicitly requiring that a directory or file is opened with `FILE_OPEN_REPARSE_POINT`, Windows automatically dereferences all symlinks along the way. This commit adds another option to `OpenDirOptions`, namely `.no_follow`, which defaults to `false` and can be used to specifically open a directory symlink on Windows or call `openat` with `O_NOFOLLOW` flag in POSIX. | |||
| 2020-07-22 | Fix Windows build | Jakub Konka | |
| 2020-07-22 | Move symlink to fs.symlinkAbsolute with SymlinkFlags | Jakub Konka | |
| This way `std.fs.symlinkAbsolute` becomes cross-platform and we can legally include `SymlinkFlags` as an argument that's only used on Windows. Also, now `std.os.symlink` generates a compile error on Windows with a message to instead use `std.os.windows.CreateSymbolicLink`. Finally, this PR also reshuffles the tests between `std.os.test` and `std.fs.test`. | |||
| 2020-07-22 | Refactor | Jakub Konka | |
| 2020-07-22 | Ensure we use Win32 prefix in Win32 calls | Jakub Konka | |
| 2020-07-22 | Handle relative/absolute symlinks; add more tests | Jakub Konka | |
| 2020-07-22 | Add smoke test for dir symlinks | Jakub Konka | |
| 2020-07-22 | Add SymlinkFlags needed to create symlinks to dirs on Win | Jakub Konka | |
| 2020-07-22 | Fix readlink smoke test | Jakub Konka | |
| 2020-07-22 | Refactor | Jakub Konka | |
| 2020-07-22 | Fix unlinkatW to allow file symlink deletion on Windows | Jakub Konka | |
| 2020-07-22 | Use NtCreateFile to get handle to reparse point | Jakub Konka | |
| 2020-07-22 | Fix incorrect byte format of REPARSE_DATA_BUFFER struct | Jakub Konka | |
| 2020-07-22 | Use windows.CreateFileW to open the reparse point | Jakub Konka | |
| 2020-07-22 | Add windows.ReadLink similar to OpenFile but for reparse points only | Jakub Konka | |
| 2020-07-22 | Debug readlinkW using OpenFile | Jakub Konka | |
| 2020-07-22 | Finish symlink implementation on Windows | Jakub Konka | |
| 2020-07-22 | Add readlink smoke test | Jakub Konka | |
| 2020-07-22 | Start drafting out os.readlink on Windows | Jakub Konka | |
| 2020-07-20 | Merge branch 'master' of https://github.com/ziglang/zig into ↵ | Anthony Arian | |
| 5002-fix-entrypoint-with-winmain | |||
| 2020-07-11 | run zig fmt on std lib and self hosted | Vexu | |
| 2020-07-01 | Implement std.os for powerpc64{,le} | Shawn Anastasio | |
| 2020-06-27 | Merge pull request #5064 from marler8997/newAllocator | Andrew Kelley | |
| new allocator interface | |||
| 2020-06-27 | Move fs-specific tests from os/test.zig to fs/test.zig | Ryan Liptak | |
| The moved tests do not use `std.os` directly and instead use `std.fs` functions, so it makes more sense for them to be in `fs/test.zig` | |||
| 2020-06-26 | new allocator interface | Jonathan Marler | |
| 2020-06-24 | Implement fstatat targeting WASI | Jakub Konka | |
| Also, add more informative `@compileError` in a few `std.os` functions that would otherwise yield a cryptic compile error when targeting WASI. Finally, enhance docs in a few places and add test case for `fstatat`. | |||
| 2020-06-22 | Enhance std.os.readlinkat coverage | Jakub Konka | |
| Adds Windows stub (still needs to be implemented on Windows), adds WASI implementation, adds unit test testing basic chain of ops: create file -> symlink -> readlink. | |||
| 2020-06-22 | Enhance std.os.symlinkat coverage | Jakub Konka | |
| Fixes `std.os.symlinkat` compile errors, adds Windows stub (still needs to be implemented), adds WASI implementation. | |||
| 2020-06-21 | Add errors to windows.WSAStartup and WSACleanup | Nameless | |
| 2020-06-20 | zig fmt | Andrew Kelley | |
| 2020-06-15 | Implement WinMain Callers that Pass Valid Params | Anthony Arian | |
| 2020-06-04 | std.os.windows.OpenFile: Handle FILE_IS_A_DIRECTORY status | Ryan Liptak | |
| Fixes #5533 | |||
| 2020-06-04 | Windows: Handle ERROR_DIRECTORY in std.fs.deleteDirAbsolute when called on a ↵ | Ryan Liptak | |
| file path ERROR_DIRECTORY (267) is returned from kernel32.RemoveDirectoryW if the path is not a directory. Note also that os.DirectDirError already includes NotDir Before: error.Unexpected: GetLastError(267): The directory name is invalid. After: error: NotDir | |||
| 2020-06-02 | cleanups | Andrew Kelley | |
| * improve docs * add TODO comments for things that don't have open issues * remove redundant namespacing of struct fields * guard against ioctl returning EINTR * remove the general std.os.ioctl function in favor of the specific ioctl_SIOCGIFINDEX function. This allows us to have a more precise error set, and more type-safe API. | |||
| 2020-06-02 | Change ioctl's request type to i32 | Luna | |
| 2020-06-02 | Replace syscall3 to os.ioctl | Luna | |
| 2020-06-02 | Add std.os.ioctl | Luna | |
| 2020-06-02 | Make ifru fields sentinel-terminated | Luna | |
| 2020-06-02 | Replace C types in declarations | Luna | |
| 2020-06-02 | Replace C shorts by integer types | Luna | |
| 2020-06-02 | Fix ifreq definition | Luna | |
| 2020-06-02 | Only resolve scope id when needed | Luna | |
| 2020-06-02 | Add some interface structs to linux bits | Luna | |
| 2020-06-01 | Merge pull request #5475 from marler8997/windowsDns | Andrew Kelley | |
| support name resolution on windows | |||
| 2020-06-01 | Fix evented builds on windows with runtime safety on | Alexandros Naskos | |
| 2020-05-31 | more windows network fixes | Jonathan Marler | |
| * support posix SOCK_NONBLOCK and SOCK_CLOEXEC flags on windows * fix bugs in os.socket and os.connect to return at the correct place | |||
| 2020-05-31 | Merge pull request #5478 from vrischmann/fix-iouring | Veikka Tuominen | |
| linux: fix IOSQE_BIT decl and io_uring_sqe flags | |||
| 2020-05-30 | linux: fix IOSQE_BIT decl and io_uring_sqe flags | Vincent Rischmann | |
