aboutsummaryrefslogtreecommitdiff
path: root/std/os/windows.zig
AgeCommit message (Collapse)Author
2019-09-25mv std/ lib/Andrew Kelley
that's all this commit does. further commits will fix cli flags and such. see #2221
2019-09-01Revert "Merge pull request #2991 from emekoi/mingw-ci"Andrew Kelley
This reverts commit ec7d7a5b14540ea3b2bab9f11318630338467965, reversing changes made to 81c441f8855d4c58f0b2ff86d3d007cf0bf395d3. It looks like this broke colors in Windows Command Prompt (#3147) and this method of detecting native C ABI isn't working well (#3121).
2019-08-21Merge pull request #2991 from emekoi/mingw-ciAndrew Kelley
mingw improvements
2019-08-15zig fmtAndrew Kelley
2019-08-07Remove unneeded casts.Euan Torano
2019-08-06Fix function signature and use a loop to ensure buffer is filled.Euan Torano
2019-08-03move windows abi detection to `get_native_target`emekoi
2019-08-02accept unix style paths on windows-gnuemekoi
2019-07-15fix build on windowsAndrew Kelley
2019-07-15move lib dirs to lib subdirAndrew Kelley
also start prefering NtDll API. so far: * NtQueryInformationFile * NtClose adds a performance workaround for windows unicode conversion. but that should probably be removed before merging
2019-07-15fix the build on windowsAndrew Kelley
2019-07-15implement std.fs.File.updateTimes for windowsAndrew Kelley
2019-07-15move some of the installation from cmake to zig buildAndrew Kelley
This moves the installation of shipped source files from large CMakeLists.txt lists to zig build recursive directory installation. On my computer a cmake `make install` takes 2.4 seconds even when it has to do nothing, and prints a lot of unnecessary lines to stdout that say "up-to-date: [some file it is installing]". After this commit, the default output of `make` is down to 1 second, and it does not print any junk to stdout. Further, a `make install` is no longer required and `make` is sufficient. This closes #2874. It also closes #2585. `make` now always invokes `zig build` for installing files and libuserland.a, and zig's own caching system makes that go fast.
2019-07-05add std.os.windows.subsystemAndrew Kelley
The original issue that #2445 wanted to fix was solved in the previous commit. However it also exposed the subsystem in the standard library, which is still useful. So that's done in this commit, and #2445 can be closed.
2019-07-02return `FileNotFound` for PATH_NOT_FOUND in DeleteFileWemekoi
2019-06-26add missing error code for DeleteFileWAndrew Kelley
2019-06-18Fix windows create process retry/path searchJonathan Marler
2019-06-09different array literal syntax when inferring the sizeAndrew Kelley
old syntax: []i32{1, 2, 3} new syntax: [_]i32{1, 2, 3} closes #1797
2019-06-05switched to fixed-length buffer for error messagesemekoi
2019-06-05fixed mismatched typesemekoi
2019-06-05windows.unexpectedError prints a human friendly stringemekoi
2019-05-29run zig fmt to update `use` to `usingnamespace`Andrew Kelley
2019-05-27fixes for windows to build self hosted compilerAndrew Kelley
2019-05-27std lib fixes for zig build on windowsAndrew Kelley
2019-05-27more fixes for windows and wasiAndrew Kelley
2019-05-27fixes for Windows and WASIAndrew Kelley
2019-05-26tests passing on linuxAndrew Kelley
2019-05-26more cleanup. down to just the `@hasDecl` builtinAndrew Kelley
2019-05-26clean up references to osAndrew Kelley
2019-05-26clean up references to posixAndrew Kelley
2019-05-26starting to fix the regressionsAndrew Kelley
2019-05-26rename "posix" to "bits"Andrew Kelley
2019-05-26do Jay's suggestion with posix/os API naming & layoutAndrew Kelley
2019-05-26more progress. moving windows API layer to its own fileAndrew Kelley
2019-05-26more progress on posix API layerAndrew Kelley
see #2380
2019-05-26extract posix functions from std/os.zig to std/os/posix.zigAndrew Kelley
See #2380
2019-05-11Implement Windows' DirectAllocator on top of VirtualAlloc and VirtualFree.Sahnvour
2019-03-02rename std lib files to new conventionAndrew Kelley
2017-06-04progress toward hello world without libc in windowsAndrew Kelley
2017-03-26organize std and make import relative to current fileAndrew Kelley
closes #216