aboutsummaryrefslogtreecommitdiff
path: root/std/os/windows/index.zig
AgeCommit message (Collapse)Author
2019-03-02rename std lib files to new conventionAndrew Kelley
2019-02-06implement Thread Local Storage on WindowsAndrew Kelley
2019-01-11fixed mutex on windowsemekoi
2018-11-13New Zig formal grammar (#1685)Jimmi Holst Christensen
Reverted #1628 and changed the grammar+parser of the language to not allow certain expr where types are expected
2018-10-26remove @minValue,@maxValue; add std.math.minInt,maxIntAndrew Kelley
closes #1466 closes #1476
2018-10-15Solve the return type ambiguity (#1628)Jimmi Holst Christensen
Changed container and initializer syntax * <container> { ... } -> <container> . { ... } * <exrp> { ... } -> <expr> . { ...}
2018-09-30added dynamic library loading for windowsemekoi
2018-09-02switch most windows calls to use W versions instead of AAndrew Kelley
See #534
2018-09-02rework code to avoid duplicate operationsAndrew Kelley
2018-08-29use RtlCaptureStackBackTrace on windowsAndrew Kelley
2018-08-27zig fmtAndrew Kelley
2018-08-08std.event.fs.pwritev windows implementationAndrew Kelley
also fix 2 bugs where the function didn't call allocator.shrink: * std.mem.join * std.os.path.resolve
2018-07-20self-hosted: share C++ code for finding libc on windowsAndrew Kelley
2018-07-17self-hosted: implement getAppDataDir for windowsAndrew Kelley
2018-07-12zig fmtAndrew Kelley
2018-07-09std.event.Loop multithreading for windows using IOCPAndrew Kelley
2018-07-09implement std.os.cpuCount for windowsAndrew Kelley
2018-06-12implement std.os.Dir for windowsAndrew Kelley
improve std.os.File.access so that it does not depend on shlwapi.dll closes #1084
2018-06-06fix std.os.windows.PathFileExists specified in the wrong DLL (#1066)Andrew Kelley
closes #1054
2018-06-05disallow unknown-length pointer to opaqueAndrew Kelley
This also means that translate-c has to detect when a pointer to opaque is happening, and use `*` instead of `[*]`. See #1059
2018-06-04disallow single-item pointer indexingAndrew Kelley
add pointer arithmetic for unknown length pointer
2018-05-31use * for pointer type instead of &Andrew Kelley
See #770 To help automatically translate code, see the zig-fmt-pointer-reform-2 branch. This will convert all & into *. Due to the syntax ambiguity (which is why we are making this change), even address-of & will turn into *, so you'll have to manually fix thes instances. You will be guaranteed to get compile errors for them - expected 'type', found 'foo'
2018-05-30run zig fmt on the codebaseAndrew Kelley
2018-05-29run zig fmt on the codebaseAndrew Kelley
See #1003
2018-04-29support kernel threads for windowsAndrew Kelley
* remove std.os.spawnThreadAllocator - windows does not support an explicit stack, so using an allocator for a thread stack space does not work. * std.os.spawnThread - instead of accepting a stack argument, the implementation will directly allocate using OS-specific APIs.
2018-04-22fixupsAndrew Kelley
2018-04-22Merge branch 'std.os.time' of https://github.com/tgschultz/zig into ↵Andrew Kelley
tgschultz-std.os.time
2018-04-18Added unstaged changes.tgschultz
2018-04-13Replace File.exists with File.accessMarc Tiehuis
2018-02-12introduce std.heap.ArenaAllocator and std.heap.DirectAllocatorAndrew Kelley
* DirectAllocator does the underlying syscall for every allocation. * ArenaAllocator takes another allocator as an argument and allocates bytes up front, falling back to DirectAllocator with increasingly large allocation sizes, to avoid calling it too often. Then the entire arena can be freed at once. The self hosted parser is updated to take advantage of ArenaAllocator for the AST that it returns. This significantly reduces the complexity of cleanup code. docgen and build runner are updated to use the combination of ArenaAllocator and DirectAllocator instead of IncrementingAllocator, which is now deprecated in favor of FixedBufferAllocator combined with DirectAllocator. The C allocator calls aligned_alloc instead of malloc, in order to respect the alignment parameter. Added asserts in Allocator to ensure that implementors of the interface return slices of the correct size. Fixed a bug in Allocator when you call realloc to grow the allocation.
2018-01-25syntax: functions require return type. remove `->`Andrew Kelley
The purpose of this is: * Only one way to do things * Changing a function with void return type to return a possible error becomes a 1 character change, subtly encouraging people to use errors. See #632 Here are some imperfect sed commands for performing this update: remove arrow: ``` sed -i 's/\(\bfn\b.*\)-> /\1/g' $(find . -name "*.zig") ``` add void: ``` sed -i 's/\(\bfn\b.*\))\s*{/\1) void {/g' $(find ../ -name "*.zig") ``` Some cleanup may be necessary, but this should do the bulk of the work.
2018-01-19Removed PLARGE_INTEGERJimmi Holst Christensen
2018-01-19Implemented windows versions of seekTo and getPosJimmi Holst Christensen
2018-01-04self-hosted compiler works on windowsAndrew Kelley
* better error message for realpath failing * fix bug in std.io.readFileAllocExtra incorrectly returning error.EndOfStream * implement std.os.selfExePath and std.os.selfExeDirPath for windows
2017-11-16Added DLL loading capability in windows to the std lib.dimenus
2017-11-10add windows implementation of io.File.getEndPosAndrew Kelley
2017-10-15fix child process stdio piping behavior on windowsAndrew Kelley
2017-10-15use correct integer type for windows BOOLAndrew Kelley
2017-10-15implement environment variables for windowsAndrew Kelley
2017-10-14implement std.os.rename for windowsAndrew Kelley
2017-10-14implement std.os.symLink for windowsAndrew Kelley
2017-10-14implement os.makeDir for windowsAndrew Kelley
2017-10-14implement std.os.ChildProcess for windowsAndrew Kelley
2017-10-11fix std.os.getRandomBytes for windowsAndrew Kelley
2017-10-11implement command line argument parsing for windowsAndrew Kelley
See #302
2017-10-09implement std.io.InStream for windowsAndrew Kelley
See #302
2017-10-09implement os.path.real for windows and update allocator interfaceAndrew Kelley
2017-10-08implement std.os.deleteFile for windowsAndrew Kelley
2017-10-08implement os.getCwd for windowsAndrew Kelley
2017-09-27implement IncrementingAllocator for WindowsAndrew Kelley