| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-09-09 | implement spilling when returning error union async function call | Andrew Kelley | |
| closes #3190 | |||
| 2019-09-09 | release builds of stage1 have llvm ir verification | Andrew Kelley | |
| the stage2 zig code however gets compiled in release mode, and stripped. | |||
| 2019-09-08 | move logic for propagating framework dirs to zig cc | Andrew Kelley | |
| 2019-09-07 | implement spills when expressions used across suspend points | Andrew Kelley | |
| closes #3077 | |||
| 2019-09-07 | fix await used in an expression generating bad LLVM | Andrew Kelley | |
| 2019-09-06 | runtime safety for noasync function calls | Andrew Kelley | |
| See #3157 | |||
| 2019-09-05 | implement `noasync` function calls | Andrew Kelley | |
| See #3157 | |||
| 2019-09-05 | Resolve lazy values when checking for definedness | LemonBoy | |
| Fixes #3154 | |||
| 2019-09-04 | fixups and add documentation for `@Type` | Andrew Kelley | |
| 2019-09-03 | Add @Type builtin | Jonathan Marler | |
| 2019-09-03 | emit a compile error if a test becomes async | Andrew Kelley | |
| See #3117 | |||
| 2019-09-03 | fix compiler crash in struct field pointers | Andrew Kelley | |
| when the llvm type has not been fully analyzed. This is a regression from lazy values. | |||
| 2019-09-03 | fix stack traces on macos when passing absolute path to root source file | Andrew Kelley | |
| The comment added by this commit is copied here: For macOS stack traces, we want to avoid having to parse the compilation unit debug info. As long as each debug info file has a path independent of the compilation unit directory (DW_AT_comp_dir), then we never have to look at the compilation unit debug info. If we provide an absolute path to LLVM here for the compilation unit debug info, LLVM will emit DWARF info that depends on DW_AT_comp_dir. To avoid this, we pass "." for the compilation unit directory. This forces each debug file to have a directory rather than be relative to DW_AT_comp_dir. According to DWARF 5, debug files will no longer reference DW_AT_comp_dir, for the purpose of being able to support the common practice of stripping all but the line number sections from an executable. closes #2700 | |||
| 2019-09-02 | omit prefix data for async functions sometimes | Andrew Kelley | |
| When `@frameSize` is never called, and `@asyncCall` on a runtime-known pointer is never used, no prefix data for async functions is needed. Related: #3160 | |||
| 2019-09-02 | fix const result loc, runtime if cond, else unreachable | Andrew Kelley | |
| Closes #2791. See that issue for more details; I documented the debugging process quite thoroughly on this one. | |||
| 2019-09-02 | add ability to specify darwin framework search dirs | Andrew Kelley | |
| 2019-08-31 | improvements to `@asyncCall` | Andrew Kelley | |
| * `await @asyncCall` generates better code. See #3065 * `@asyncCall` works with a real `@Frame(func)` in addition to a byte slice. Closes #3072 * `@asyncCall` allows passing `{}` (a void value) as the result pointer, which uses the result location inside the frame. Closes #3068 * support `await @asyncCall` on a non-async function. This is in preparation for safe recursion (#1006). | |||
| 2019-08-31 | `@typeOf` now guarantees no runtime side effects | Andrew Kelley | |
| related: #1627 | |||
| 2019-08-30 | support recursive async and non-async functions | Andrew Kelley | |
| which heap allocate their own frames related: #1006 | |||
| 2019-08-29 | await does not force async if callee is blocking | Andrew Kelley | |
| closes #3067 | |||
| 2019-08-29 | make `@sizeOf` lazy | Andrew Kelley | |
| 2019-08-29 | fix not fully resolving debug info for structs causing llvm error | Andrew Kelley | |
| 2019-08-28 | fix implicit cast from zero sized array ptr to slice | Andrew Kelley | |
| closes #1850 | |||
| 2019-08-26 | fix regression with global variable assignment... | Andrew Kelley | |
| ...with optional unwrapping with var initialized to undefined | |||
| 2019-08-25 | hook up unions with lazy values | Andrew Kelley | |
| this case works now: ```zig const Expr = union(enum) { Literal: u8, Question: *Expr, }; ``` | |||
| 2019-08-23 | better handling of lazy structs | Andrew Kelley | |
| this case works now: ```zig const A = struct { b_list_pointer: *const []B, }; const B = struct { a_pointer: *const A, }; const b_list: []B = [_]B{}; const a = A{ .b_list_pointer = &b_list }; const obj = B{ .a_pointer = &a }; ``` | |||
| 2019-08-23 | allow top level declarations to be lazy | Andrew Kelley | |
| this case now works: ```zig const A = struct { b: B, }; const B = fn (A) void; ``` | |||
| 2019-08-23 | Merge remote-tracking branch 'origin/master' into fix-field-alignment-kludge | Andrew Kelley | |
| 2019-08-23 | Encapsulate bigint representation, assert on cast data loss | Jonathan Marler | |
| 2019-08-22 | introduce lazy values | Andrew Kelley | |
| see #2174 | |||
| 2019-08-16 | fix and test case for returning from suspend block | Andrew Kelley | |
| See #3063 | |||
| 2019-08-16 | codegen: LLVMConstSub instead of LLVMBuildSub in one place | Andrew Kelley | |
| 2019-08-15 | fix crash with sometimes type not being resolved | Andrew Kelley | |
| 2019-08-15 | add assertion about control flow to fix gcc warning | Andrew Kelley | |
| 2019-08-15 | fix error return traces for async calls of blocking functions | Andrew Kelley | |
| 2019-08-15 | remove `cancel` | Andrew Kelley | |
| 2019-08-14 | codegen for async call of blocking function | Andrew Kelley | |
| 2019-08-13 | avoid the word "coroutine", they're "async functions" | Andrew Kelley | |
| 2019-08-13 | alignment of structs no longer depends on LLVM | Andrew Kelley | |
| fixes async function tests in optimized builds | |||
| 2019-08-13 | Merge remote-tracking branch 'origin/master' into rewrite-coroutines | Andrew Kelley | |
| 2019-08-13 | flip the order of fields in error unions | Andrew Kelley | |
| to prepare for fixing u128 alignment issues | |||
| 2019-08-11 | fix no-longer-correct `nonnull` attribute on merge err ret traces fn | Andrew Kelley | |
| 2019-08-11 | fix cancel invoking branch on undefined memory | Andrew Kelley | |
| 2019-08-11 | all tests passing | Andrew Kelley | |
| 2019-08-11 | fix canceling async functions which have error return tracing | Andrew Kelley | |
| 2019-08-10 | fix returning a const error from async function | Andrew Kelley | |
| 2019-08-10 | fix try in an async function with error union and non-zero-bit payload | Andrew Kelley | |
| 2019-08-09 | fix combining try with errdefer cancel | Andrew Kelley | |
| 2019-08-09 | fix cancel inside an errdefer | Andrew Kelley | |
| 2019-08-08 | fix passing string literals to async functions | Andrew Kelley | |
