aboutsummaryrefslogtreecommitdiff
path: root/std/os
AgeCommit message (Collapse)Author
2017-05-01`@import("builtin")` instead of `@compileVar`Andrew Kelley
See #226 Closes #220
2017-04-30zig build: support install for zig artifactsAndrew Kelley
also make os.copyFile atomic closes #332
2017-04-30zig build: organize build artifactsAndrew Kelley
closes #328
2017-04-30zig build: when compiling C files put .o files in cache dirAndrew Kelley
See #328
2017-04-30back to AT&T syntax for assemblyAndrew Kelley
this reverts 5c04730534ea7933855429c5fc5dc7b22eba7bc2. sadly the quality of the intel dialect in llvm's assembly parser has many frustrating bugs, and generally has unfortunate syntax. the plan is to use AT&T for now since it at least works, and eventually zig will have its own assembly parser for x86 and it will be as close to NASM as possible.
2017-04-29add implicit cast from [0]T to %[]TAndrew Kelley
closes #347 also add std.os.path.relative
2017-04-24better stack traces for ELF x86_64Andrew Kelley
2017-04-22std.os.ChildProcess: fix closing wrong file descriptorsAndrew Kelley
2017-04-21update syntax for try and nullable unwrappingAndrew Kelley
closes #285
2017-04-21std: fix PATH resolution when spawning childAndrew Kelley
2017-04-21rename `@ptrcast` to `@ptrCast` to follow conventionAndrew Kelley
2017-04-21zig build system supports building a libraryAndrew Kelley
See #329 Supporting work: * move std.cstr.Buffer0 to std.buffer.Buffer * add build.zig to example/shared_library/ and add an automated test for it * add std.list.List.resizeDown * improve std.os.makePath - no longer recursive - takes into account . and .. * add std.os.path.isAbsolute * add std.os.path.resolve * reimplement std.os.path.dirname - no longer requires an allocator - handles edge cases correctly
2017-04-20delete test_artifacts directory when tests completeAndrew Kelley
* add std.os.deleteTree * add std.os.deleteDir * add std.os.page_size * add std.os API for iterating over directories * refactor duplication in build.zig * update documentation on how to run tests
2017-04-19convert compare-output tests to use zig build systemAndrew Kelley
2017-04-18rename `@intType` to `@IntType` to follow conventionAndrew Kelley
closes #327
2017-04-17zig build system creates symlinks atomicallyAndrew Kelley
* add std.base64 * add std.os.rename * add std.os.atomicSymLink
2017-04-17zig build system: progress toward install and uninstallAndrew Kelley
also: * add std.os.path.join * add std.os.deleteFile
2017-04-17improvements to zig build system and unwrap error safetyAndrew Kelley
* zig build system: create standard dynamic library sym links * unwrapping an error results in a panic message that contains the error name * rename error.SysResources to error.SystemResources * add std.os.symLink * add std.os.deleteFile
2017-04-17zig build system: ability to link against dynamic library stepAndrew Kelley
2017-04-08add enumTagName builtin functionAndrew Kelley
closes #299
2017-04-05std: ChildProcess.spawn looks at PATH env varAndrew Kelley
closes #303
2017-04-04zig build system: fix cleanup on error, report spawn errorAndrew Kelley
2017-04-04zig build system improvements, add some std APIAndrew Kelley
* add std.buf_map.BufMap * add std.buf_set.BufSet * add std.mem.split * zig build system improvements (See #204) - automatically parses NIX_CFLAGS_COMPILE and NIX_LDFLAGS - add builder.addCIncludePath - add builder.addRPath - add builder.addLibPath - add exe.linkLibrary
2017-04-04API for command line argsAndrew Kelley
closes #300
2017-04-03fix std build for darwinAndrew Kelley
2017-04-03delete alloca builtin functionAndrew Kelley
See #225 introduce os.EnvMap
2017-04-03zig build system: add setLinkerScript and setTargetAndrew Kelley
* See #204 - zig build system * allow builtin types Os, Environ, Arch to be used at runtime. they have zero_bits=false and debug info now. * Eradicate use of `@alloca` in std for syscalls. See #225 * add `std.io.writeFile` * `std.debug.panic` adds a newline to format
2017-04-02proof of concept build systemAndrew Kelley
see #204
2017-04-02expose environment variables in standard libraryAndrew Kelley
closes #118
2017-04-02zig build system progressAndrew Kelley
* In-progress os.ChildProcess.spawn implementation. See #204 * Add explicit cast from integer to error. Closes #294 * fix casting from error to integer * fix compiler crash when initializing variable to undefined with no type
2017-03-31change `@bitcast` to `@ptrcast`Andrew Kelley
See #290
2017-03-31first pass at zig build systemAndrew Kelley
* `zig build --export [obj|lib|exe]` changed to `zig build_obj`, `zig build_lib` and `zig build_exe` respectively. * `--name` parameter is optional when it can be inferred from the root source filename. closes #207 * `zig build` now looks for `build.zig` which interacts with `std.build.Builder` to describe the targets, and then the zig build system prints TODO: build these targets. See #204 * add `@bitcast` which is mainly used for pointer reinterpret casting and make explicit casting not do pointer reinterpretation. Closes #290 * fix debug info for byval parameters * sort command line help options * `std.debug.panic` supports format string printing * add `std.mem.IncrementingAllocator` * fix const ptr to a variable with data changing at runtime. closes #289
2017-03-26organize std and make import relative to current fileAndrew Kelley
closes #216