| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-08-22 | fix incorrectly generating an unused const fn global | Andrew Kelley | |
| closes #1277 | |||
| 2018-08-22 | allow implicit cast from *[N]T to ?[*]T (#1398) | Raul Leal | |
| * allow implicit cast from *[N]T to ?[*]T | |||
| 2018-08-21 | fix linux | Andrew Kelley | |
| * error.BadFd is not a valid error code. it would always be a bug to get this error code. * merge error.Io with existing error.InputOutput * merge error.PathNotFound with existing error.FileNotFound. Not all OS's support both. * add os.File.openReadC * add error.BadPathName for windows file operations with invalid characters * add os.toPosixPath to help stack allocate a null terminating byte * add some TODOs for other functions to investigate removing the allocator requirement * optimize some implementations to use the alternate functions when a null byte is already available * add a missing error.SkipZigTest * os.selfExePath uses a non-allocating API * os.selfExeDirPath uses a non-allocating API * os.path.real uses a non-allocating API * add os.path.realAlloc and os.path.realC * convert many windows syscalls to use the W versions (See #534) | |||
| 2018-08-03 | fix tagged union initialization with a runtime void | Andrew Kelley | |
| closes #1328 | |||
| 2018-08-03 | better support for `_` identifier | kristopher tate | |
| * disallow variable declaration of `_` * prevent `_` from shadowing itself * prevent read access of `_` closes #1204 closes #1320 | |||
| 2018-08-02 | pull request fixups | Andrew Kelley | |
| * clean up parser code * fix stage2 parse and render code * remove redundant test * make stage1 compile tests leaner | |||
| 2018-08-02 | test/cases/cancel.zig: update suspend to use @handle(); | kristopher tate | |
| Tracking Issue #1296 ; | |||
| 2018-08-02 | test/cases/coroutines.zig: update suspend to use @handle(); | kristopher tate | |
| Tracking Issue #1296 ; | |||
| 2018-08-02 | test/cases/coroutines.zig: test for immediate resume inside of suspend with ↵ | kristopher tate | |
| @handle(); Tracking Issue #1296 ; | |||
| 2018-08-02 | test/cases/coroutines.zig: update test to reflect that the promise symbol is ↵ | kristopher tate | |
| no in scope with suspend; Tracking Issue #1296 ; | |||
| 2018-08-02 | test/cases/coroutine_await_struct.zig: update test to reflect that the ↵ | kristopher tate | |
| promise symbol is no in scope with suspend; Tracking Issue #1296 ; | |||
| 2018-08-02 | test/cases/coroutines.zig: remove dummy assert used for testing; | kristopher tate | |
| 2018-08-02 | src/codegen.cpp: remove `add_node_error` from `ir_render_handle`; | kristopher tate | |
| Tracking Issue #1296 ; Thanks @andrewrk ; | |||
| 2018-08-02 | test/cases/couroutines.zig: test @handle(); | kristopher tate | |
| Tracking Issue #1296 ; | |||
| 2018-07-30 | add behavior tests for cancel semantics | Andrew Kelley | |
| 2018-07-27 | suspend sets suspend bit | Andrew Kelley | |
| 2018-07-19 | fix generation of error defers for fns inside fns | Andrew Kelley | |
| closes #878 | |||
| 2018-07-17 | fix @setEvalBranchQuota not respected in generic fn calls | Andrew Kelley | |
| closes #1257 | |||
| 2018-07-16 | allow implicit cast of undefined to optional | Andrew Kelley | |
| 2018-07-16 | all integer sizes are available as primitives | Andrew 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-14 | add an assertion to the test | Andrew Kelley | |
| 2018-07-14 | codegen: Store returned value if type is 'handle_is_ptr' and function is not ↵ | Eduardo Sánchez Muñoz | |
| 'first_arg_ret'. Seems to fix #1230, includes test. | |||
| 2018-07-13 | allow == for comparing optional pointers | Andrew Kelley | |
| closes #658 | |||
| 2018-07-07 | add @popCount intrinsic | Andrew Kelley | |
| 2018-07-06 | fix iterating over a void slice | Andrew Kelley | |
| closes #1203 | |||
| 2018-07-04 | fix await on early return when return type is struct | Andrew Kelley | |
| previously, await on an early return would try to access the destroyed coroutine frame; now it copies the result into a temporary variable before destroying the coroutine frame | |||
| 2018-06-30 | Merge pull request #1167 from ziglang/comptime-array-by-value | Jimmi Holst Christensen | |
| Implement const_values_equal for arrays | |||
| 2018-06-28 | Implement const_values_equal for array type | Jimmi HC | |
| * This allows arrays to be passed by value at comptime | |||
| 2018-06-28 | Correct hex-float parsing | Marc Tiehuis | |
| Unblocks #495. | |||
| 2018-06-27 | fix coroutine accessing freed memory | Andrew Kelley | |
| closes #1164 | |||
| 2018-06-27 | fix comptime @tagName crashing sometimes | Andrew Kelley | |
| closes #1118 | |||
| 2018-06-27 | simplify comptime floating-point @divTrunc | Ben Noordhuis | |
| Replace a conditional ceil/floor call with an unconditional trunc call. | |||
| 2018-06-27 | add f16 type | Ben Noordhuis | |
| Add support for half-precision floating point operations. Introduce `__extendhfsf2` and `__truncsfhf2` in std/special/compiler_rt. Add `__gnu_h2f_ieee` and `__gnu_f2h_ieee` as aliases that are used in Windows builds. The logic in std/special/compiler_rt/extendXfYf2.zig has been reworked and can now operate on 16 bits floating point types. `extendXfYf2()` and `truncXfYf2()` are marked `inline` to work around a not entirely understood stack alignment issue on Windows when calling the f16 versions of the builtins. closes #1122 | |||
| 2018-06-27 | scope variables in floating point cast tests | Ben Noordhuis | |
| Fixes a bug where the result of a @floatCast wasn't actually checked; it was checking the result from the previous @floatCast. | |||
| 2018-06-26 | fix crash for optional pointer to empty struct | Andrew Kelley | |
| closes #1153 | |||
| 2018-06-22 | clean up self hosted main. delete unsupported commands | Andrew Kelley | |
| 2018-06-21 | add casting docs, __extenddftf2, and __extendsftf2 | Andrew Kelley | |
| 2018-06-21 | Add test case | Isaac Hier | |
| 2018-06-20 | fix f128 remainder division bug | Ben Noordhuis | |
| The modulo operation computed rem(b+rem(a,b), b) which produces -1 for a=1 and b=2. Switch to a - b * trunc(a/b) which produces the expected result, 1. closes #1137 | |||
| 2018-06-20 | zig fmt | Andrew Kelley | |
| 2018-06-20 | fix runtime fn ptr equality codegen | Andrew Kelley | |
| closes #1140 | |||
| 2018-06-19 | fix calling method with comptime pass-by-non-copyign-value self arg | Andrew Kelley | |
| closes #1124 | |||
| 2018-06-19 | `@floatToInt` now has safety-checked undefined behavior | Andrew Kelley | |
| when the integer part does not fit in the destination integer type * Also fix incorrect safety triggered for integer casting an `i32` to a `u7`. closes #1138 * adds compiler-rt function: `__floatuntidf` | |||
| 2018-06-19 | Merge pull request #1136 from alexnask/typeinfo_improvements | Andrew Kelley | |
| @typeInfo now uses optional types instead of @typeOf(undefined) | |||
| 2018-06-19 | @typeInfo now uses optional types instead of @typeOf(undefined) | Alexandros Naskos | |
| 2018-06-19 | remove enum to/from int casting syntax; add `@enumToInt`/`@intToEnum` | Andrew Kelley | |
| see #1061 | |||
| 2018-06-18 | remove error to/from int casting syntax; add `@errorToInt`/`@intToError` | Andrew Kelley | |
| See #1061 | |||
| 2018-06-18 | remove []u8 casting syntax. add `@bytesToSlice` and `@sliceToBytes` | Andrew Kelley | |
| See #1061 | |||
| 2018-06-18 | remove error set casting syntax. add `@errSetCast` | Andrew Kelley | |
| See #1061 | |||
| 2018-06-18 | fix compiler crash when using @intToFloat with float literal | Andrew Kelley | |
| closes #1132 | |||
