Commits

basic docs for new async/await semantics

d3672493cc • Andrew Kelley • Aug 15, 2019

fix error return traces for async calls of blocking functions

55f5cee86b • Andrew Kelley • Aug 15, 2019

remove `cancel`

13b5a4bf8c • Andrew Kelley • Aug 15, 2019

codegen for async call of blocking function

64c293f8a4 • Andrew Kelley • Aug 14, 2019

add compile error for await in exported function

f3f838cc01 • Andrew Kelley • Aug 14, 2019

rename behavior test files

7799423f24 • Andrew Kelley • Aug 14, 2019

respect local variable alignment in async functions

5749dc49d8 • Andrew Kelley • Aug 14, 2019

get_struct_type accepts field alignment overrides

dd8c8c0802 • Andrew Kelley • Aug 13, 2019

avoid the word "coroutine", they're "async functions"

5092634103 • Andrew Kelley • Aug 13, 2019

organize TODOs

82d4ebe53a • Andrew Kelley • Aug 13, 2019

alignment of structs no longer depends on LLVM

12ff91c1c9 • Andrew Kelley • Aug 13, 2019

Merge remote-tracking branch 'origin/master' into rewrite-coroutines

8a9289996a • Andrew Kelley • Aug 13, 2019

fix async function frames not aligned enough

24d5ec0783 • Andrew Kelley • Aug 12, 2019

fix no-longer-correct `nonnull` attribute on merge err ret traces fn

911b1a0428 • Andrew Kelley • Aug 12, 2019

fix cancel invoking branch on undefined memory

62c5bc6058 • Andrew Kelley • Aug 12, 2019

all tests passing

4d8d513e16 • Andrew Kelley • Aug 11, 2019

fix canceling async functions which have error return tracing

af8c6ccb4b • Andrew Kelley • Aug 11, 2019

add test case for typical async/await usage

3f5c6d7a89 • Andrew Kelley • Aug 10, 2019

fix returning a const error from async function

77d098e92d • Andrew Kelley • Aug 10, 2019

fix try in an async function with error union and non-zero-bit payload

22428a7546 • Andrew Kelley • Aug 10, 2019

fix combining try with errdefer cancel

b9d1d45dfd • Andrew Kelley • Aug 10, 2019

fix cancel inside an errdefer

2e7f53f1f0 • Andrew Kelley • Aug 9, 2019

fix passing string literals to async functions

614cab5d68 • Andrew Kelley • Aug 8, 2019

closer to std lib event stuff working

da56959a9a • Andrew Kelley • Aug 8, 2019

fix var args call on non-generic function

93840f8610 • Andrew Kelley • Aug 8, 2019

fix segfault with var args

cfe84423c9 • Andrew Kelley • Aug 8, 2019

better compile errors when frame depends on itself

bfa1d12fba • Andrew Kelley • Aug 8, 2019

add compile error for unable to determine async fn frame

8be95af480 • Andrew Kelley • Aug 8, 2019

async functions in single threaded mode do not use atomic ops

8d4cb85285 • Andrew Kelley • Aug 8, 2019

more debuggable safety for awaiting twice

d813805f77 • Andrew Kelley • Aug 8, 2019

cancel, defer, errdefer all working as intended now

34bfdf193a • Andrew Kelley • Aug 8, 2019

cancel works on non-pointers

e11cafbd4f • Andrew Kelley • Aug 7, 2019

clean up the bitcasting of awaiter fn ptr

f587fa1cd7 • Andrew Kelley • Aug 7, 2019

implement cancel

7e1fcb55b3 • Andrew Kelley • Aug 7, 2019

fix awaiting when result type is a struct

1afbb53661 • Andrew Kelley • Aug 6, 2019

error return trace across suspend points

966c9ea63c • Andrew Kelley • Aug 6, 2019

passing the error return trace async function test

17199b0879 • Andrew Kelley • Aug 6, 2019

improve async function semantics

400500a3af • Andrew Kelley • Aug 6, 2019

async functions have error return traces where appropriate

20f63e588e • Andrew Kelley • Aug 5, 2019

add a src() method to AstNode to aid debugging

dfe8c5a2e9 • Andrew Kelley • Aug 5, 2019

delete IrInstructionMarkErrRetTracePtr

a7763c06f9 • Andrew Kelley • Aug 5, 2019

support async functions with inferred error sets

0d8c9fcb18 • Andrew Kelley • Aug 5, 2019

refactor logic for determining if there is a frame pointer

f27e5d439c • Andrew Kelley • Aug 5, 2019

Merge remote-tracking branch 'origin/master' into rewrite-coroutines

b7c94be688 • Andrew Kelley • Aug 4, 2019

simpler, less memory intensive suspend/resume implementation

fbf21efd24 • Andrew Kelley • Aug 4, 2019

move state from ZigFn to CodeGen to save memory

042914de75 • Andrew Kelley • Aug 4, 2019

suspension points inside branching control flow

fa30ebfbe5 • Andrew Kelley • Aug 4, 2019

fix regression in calling extern functions

12924477a5 • Andrew Kelley • Aug 4, 2019

implement `@asyncCall` which supports async function pointers

87710a1cc2 • Andrew Kelley • Aug 3, 2019

add compile error for calling async function pointer

c879209661 • Andrew Kelley • Aug 3, 2019

add runtime safety for resuming an awaiting function

e444e737b7 • Andrew Kelley • Aug 3, 2019

add compile error for async call of function pointer

24d78177ee • Andrew Kelley • Aug 3, 2019

implement async functions returning structs

0920bb0872 • Andrew Kelley • Aug 2, 2019

add heap allocated async function frame test

5bd330e76c • Andrew Kelley • Aug 2, 2019

Merge remote-tracking branch 'origin/master' into rewrite-coroutines

b3b6a98451 • Andrew Kelley • Aug 2, 2019

Merge branch 'master' into rewrite-coroutines

f07f09a373 • Andrew Kelley • Aug 2, 2019

implement async await and return

056c4e2c98 • Andrew Kelley • Aug 2, 2019

more passing coroutine tests

0f879d02a4 • Andrew Kelley • Aug 1, 2019

fix calling an inferred async function

1dd0c3d49f • Andrew Kelley • Aug 1, 2019

reimplement async with function splitting instead of switch

e7ae4e4645 • Andrew Kelley • Aug 1, 2019

improve support for anyframe and anyframe->T

dbdc4d62d0 • Andrew Kelley • Jul 29, 2019

add the `anyframe` and `anyframe->T` types

ee64a22045 • Andrew Kelley • Jul 26, 2019

async functions return void, no more GetSize resume block

018a89c7a1 • Andrew Kelley • Jul 26, 2019

`@frameSize` works via PrefixData

7b3686861f • Andrew Kelley • Jul 26, 2019

implement `@frameSize`

538c0cd225 • Andrew Kelley • Jul 25, 2019

implement `@frame` and `@Frame`

70bced5dcf • Andrew Kelley • Jul 25, 2019

calling an inferred async function

ead2d32be8 • Andrew Kelley • Jul 25, 2019

implement local variables in async functions

e220812f2f • Andrew Kelley • Jul 24, 2019

add error for function with ccc indirectly calling async function

19ee495750 • Andrew Kelley • Jul 23, 2019

inferring async from async calls

7e9760de10 • Andrew Kelley • Jul 23, 2019

Merge remote-tracking branch 'origin/master' into rewrite-coroutines

317d1ecb2c • Andrew Kelley • Jul 22, 2019

fix multiple coroutines existing clobbering each other

fcadeb50c0 • Andrew Kelley • Jul 22, 2019

fix suspend at end of function

650e07ebd9 • Andrew Kelley • Jul 22, 2019

disable segfault handler when panicking

5b69a9cd83 • Andrew Kelley • Jul 22, 2019

fix wrong calling convention on async resume

32d0ac1355 • Andrew Kelley • Jul 22, 2019

implement async function parameters

59bf9ca58c • Andrew Kelley • Jul 22, 2019

implement coroutine resume

11bd50f2b2 • Andrew Kelley • Jul 22, 2019

simple async function passing test

78e03c466c • Andrew Kelley • Jul 21, 2019

returning from async fn adds bad resume safety

56c08eb302 • Andrew Kelley • Jul 21, 2019

fix not jumping to entry

6053ca4f69 • Andrew Kelley • Jul 21, 2019

remove errors for async calling convention

27a5f2c4fa • Andrew Kelley • Jul 21, 2019

simple async function call working

72e983670e • Andrew Kelley • Jul 21, 2019

remove coroutines implementation and promise type

54e716afdc • Andrew Kelley • Jul 19, 2019

Merge branch 'fengb-tokenize-ampamp'

f429f4dcab • Andrew Kelley • Jul 19, 2019

fix usingnamespace

af8661405b • Andrew Kelley • Jul 19, 2019

zig build: add valgrind cli options

1d07bbbef2 • Andrew Kelley • Jul 19, 2019

closes #2916

e5d032982e • Michael Dusan • Jul 18, 2019

WIN32 -> _WIN32

3879bebc37 • Andrew Kelley • Jul 17, 2019

back to msvc as the default C ABI on Windows

95e04e3874 • Andrew Kelley • Jul 17, 2019

fixed slice length in getEnvVarOwned

d64bd30690 • dimenus • Jul 17, 2019

libc headers before C language headers, and disable libunwind on arm32

c0b4121ff2 • Andrew Kelley • Jul 17, 2019

Merge branch 'update-musl'

ec92739022 • Andrew Kelley • Jul 17, 2019

rename internal names regarding `usingnamespace`

b1f8b53d20 • Andrew Kelley • Jul 16, 2019

Merge branch 'JohnathanFL-master'

158e2312ea • Andrew Kelley • Jul 16, 2019

Merge branch 'msvc-libc-2064' of https://github.com/dimenus/zig into dimenus-msvc-libc-2064

15ed47921f • Andrew Kelley • Jul 16, 2019

cmake: allow user to select static vs dynamic LLVM

3a67c13b5d • daurnimator • Jul 16, 2019

retire the example/ folder, rename test-build-examples to "standalone"

9dcddc2249 • Andrew Kelley • Jul 16, 2019

fix documentation regarding mixing object files

92e781baa1 • Andrew Kelley • Jul 16, 2019

Merge branch 'SamTebbs33-main-return'

9a9a7daef0 • Andrew Kelley • Jul 16, 2019

fixed size of ZigClangAPValue on mingw-w64

0435026474 • emekoi • Jul 16, 2019