aboutsummaryrefslogtreecommitdiff
path: root/std/os
AgeCommit message (Collapse)Author
2018-07-20self-hosted: share C++ code for finding libc on windowsAndrew Kelley
2018-07-20Fixed windows getPosJimmi HC
2018-07-19std.os.File: add missing pub modifiersAndrew Kelley
2018-07-18self-hosted: find libc on linuxAndrew Kelley
2018-07-18fix std.os.getAppDataDir test on linuxAndrew Kelley
2018-07-18fix build on windowsAndrew Kelley
* move getAppDataDir and utf16leToUtf8 from self-hosted to std lib * fix std.event.Loop on windows
2018-07-17self-hosted: implement getAppDataDir for windowsAndrew Kelley
2018-07-16all integer sizes are available as primitivesAndrew Kelley
* fix wrong implicit cast for `@IntType` bit_count parameter. * fix incorrect docs for `@IntType` bit_count parameter. closes #1242 closes #745 closes #1240
2018-07-12zig fmtAndrew Kelley
2018-07-09Merge remote-tracking branch 'origin/master' into m-n-threadingAndrew Kelley
2018-07-09std.event.Loop multithreading for windows using IOCPAndrew Kelley
2018-07-09implement std.os.cpuCount for windowsAndrew Kelley
2018-07-09ZIG_DEBUG_COLOR=1 overrides tty detection for runtime stack tracesAndrew Kelley
2018-07-09zig fmtAndrew Kelley
2018-07-09std.os.cpuCount implementation for macosAndrew Kelley
2018-07-08tests passing with kqueue on macosAndrew Kelley
2018-07-07add std.os.cpuCount and have std.event.Loop use it for thread pool sizeAndrew Kelley
2018-07-07M:N threadingAndrew Kelley
* add std.atomic.QueueMpsc.isEmpty * make std.debug.global_allocator thread-safe * std.event.Loop: now you have to choose between - initSingleThreaded - initMultiThreaded * std.event.Loop multiplexes coroutines onto kernel threads * Remove std.event.Loop.stop. Instead the event loop run() function returns once there are no pending coroutines. * fix crash in ir.cpp for calling methods under some conditions * small progress self-hosted compiler, analyzing top level declarations * Introduce std.event.Lock for synchronizing coroutines * introduce std.event.Locked(T) for data that only 1 coroutine should modify at once. * make the self hosted compiler use multi threaded event loop * make std.heap.DirectAllocator thread-safe See #174 TODO: * call sched_getaffinity instead of hard coding thread pool size 4 * support for Windows and MacOS * #1194 * #1197
2018-06-20remove std.mem.Allocator.construct and other fixupsAndrew Kelley
2018-06-20zig fmtAndrew Kelley
2018-06-21std: update stdlib to match updated allocator create signature; ref #733kristopher tate
2018-06-18remove error to/from int casting syntax; add `@errorToInt`/`@intToError`Andrew Kelley
See #1061
2018-06-18standard library fixesAndrew Kelley
2018-06-18remove []u8 casting syntax. add `@bytesToSlice` and `@sliceToBytes`Andrew Kelley
See #1061
2018-06-17remove integer and float casting syntaxAndrew Kelley
* add `@intCast` * add `@floatCast` * add `@floatToInt` * add `@intToFloat` See #1061
2018-06-16posix read can return error.IsDirAndrew Kelley
2018-06-16pointer reform: missed change in windows specific code.Sahnvour
2018-06-16add basic std lib code for loading dynamic librariesAndrew Kelley
this is going to only work for very basic libraries; I plan to slowly add more features over time to support more complicated libraries
2018-06-14fix build on windows, broken by previous commitAndrew Kelley
2018-06-14std.os.path.dirname: return null instead of empty sliceAndrew Kelley
for when there is no directory component. Makes it harder to write bugs. closes #1017
2018-06-12zig fmtAndrew 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-10breaking syntax change: orelse keyword instead of ?? (#1096)Andrew Kelley
use the `zig-fmt-optional-default` branch to have zig fmt automatically do the changes. closes #1023
2018-06-09breaking syntax change: ??x to x.? (#1095)Andrew Kelley
See #1023 This also renames Nullable/Maybe to Optional
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-04Pointer Reform: proper slicing and indexing (#1053)Andrew Kelley
* enable slicing for single-item ptr to arrays * disable slicing for other single-item pointers * enable indexing for single-item ptr to arrays * disable indexing for other single-item pointers see #770 closes #386
2018-06-04Merge branch 'zig-custom-format' of https://github.com/tgschultz/zig into ↵Andrew Kelley
tgschultz-zig-custom-format I removed the code that checks for type signature and type. A function named `format` is enough for zig to give it a try.
2018-06-04disallow single-item pointer indexingAndrew Kelley
add pointer arithmetic for unknown length pointer
2018-06-01fix incorrect address-of syntax on windowsAndrew Kelley
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-30Fix MacOS CI Timer test failing...?tgschultz
2018-05-29fix AtomicFile for relative pathsAndrew Kelley
closes #1017
2018-05-29run zig fmt on the codebaseAndrew Kelley
See #1003
2018-05-24update github.com/zig-lang to github.com/ziglangAndrew Kelley
2018-05-16convert more std lib files to postfix pointer derefAndrew Kelley
2018-05-13Merge branch 'master' into pointer-reformAndrew Kelley
2018-05-11fix windows build systemAndrew Kelley
broken by 6e821078f625a03eb8b7794c983da0f7793366ab
2018-05-10partial conversion to post-fix pointer deref using zig fmtAndrew Kelley