aboutsummaryrefslogtreecommitdiff
path: root/std/os/darwin.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-08-15zig fmtAndrew Kelley
2019-08-02Fix call to S_ISCHR and implement for MacEuan Torano
2019-05-29run zig fmt to update `use` to `usingnamespace`Andrew 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-04-27fixed syntax erroremekoi
2019-03-25munmap allows address 0Andrew Kelley
fixes test suite regression on macOS from previous commit
2019-03-02rename std lib files to new conventionAndrew Kelley
2019-02-14darwin: fix pointer cast in mmapAndrew Kelley
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-08-07std.event.fs support for macosAndrew Kelley
The file I/O stuff is working, but the fs watching stuff is not yet.
2018-08-06merge @kristate's std lib changes to darwinAndrew Kelley
2018-07-22re-organize std lib darwin filesAndrew Kelley
2018-07-21std.os.posix: Add AF_* for darwin;kristopher tate
Tracking issue #1271;
2018-07-09zig fmtAndrew Kelley
2018-07-09std.os.cpuCount implementation for macosAndrew Kelley
2018-07-08tests passing with kqueue on macosAndrew Kelley
2018-06-17remove integer and float casting syntaxAndrew Kelley
* add `@intCast` * add `@floatCast` * add `@floatToInt` * add `@intToFloat` See #1061
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-05-16convert more std lib files to postfix pointer derefAndrew Kelley
2018-04-29fix std threads for macosAndrew Kelley
2018-04-22Merge branch 'std.os.time' of https://github.com/tgschultz/zig into ↵Andrew Kelley
tgschultz-std.os.time
2018-04-18Fixed compiler errors around darwin code.tgschultz
2018-04-18Added unstaged changes.tgschultz
2018-04-13Replace File.exists with File.accessMarc Tiehuis
2018-04-09async tcp server proof of conceptAndrew Kelley
2018-03-28std/os: getting dir entries works on OS XAndrew Kelley
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.
2017-12-23move std/debug.zig to a subdirectoryAndrew Kelley
self hosted compiler parser tests do some fuzz testing
2017-12-22fix darwin and windows from previous commitAndrew Kelley
2017-12-22explicitly return from blocksAndrew Kelley
instead of last statement being expression value closes #629
2017-11-10add a std lib test for reading and writing filesAndrew Kelley
* fix fstat wrong on darwin * move std.debug.global_allocator to std.debug.global_allocator_state and make it private * add std.debug.global_allocator as a pointer (to upgrade your zig code remove the '&')
2017-11-09Fix Stat include in darwin land (#605)Jeff Fowler
2017-11-09fix typo on darwin lseek (#602)Jeff Fowler
2017-10-03fix isatty for macOS and libc (#523)Snorre
2017-09-26implement setreuid, setregid for darwinAndrew Kelley
2017-09-19std: fix os.sleep on darwin and windowsAndrew Kelley
2017-09-08fix ChildProcess.spawn on darwinAndrew Kelley
2017-08-29ptrCast gives compile error for increasing alignmentAndrew Kelley
See #37
2017-08-27all tests passing in MacOSAndrew Kelley
depends on LLD 5.0.0 with 3 patches See #273
2017-08-27macos passing all tests except for building a shared libraryAndrew Kelley
see #273
2017-08-27all behavior tests passing for macosAndrew Kelley
See #273
2017-08-27progress toward tests passing on MacOSAndrew Kelley