| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-04-29 | Finished FnDef TypeInfo generation (warning: may be buggy). | Alexandros Naskos | |
| 2018-04-29 | More FnDef TypeInfo generation. | Alexandros Naskos | |
| 2018-04-28 | Started work on function definition TypeInfo generation. | Alexandros Naskos | |
| 2018-04-28 | Added definition TypeInfo generation, except for function definitions. | Alexandros Naskos | |
| 2018-04-27 | Added BoundFn TypeInfo generation. | Alexandros Naskos | |
| 2018-04-27 | Added Fn TypeInfo generation. | Alexandros Naskos | |
| 2018-04-27 | Added struct TypeInfo generation. | Alexandros Naskos | |
| 2018-04-27 | Fixed enum tag type detection in TypeInfo generation. | Alexandros Naskos | |
| 2018-04-26 | Added ErrorUnion, Union TypeInfo generation | Alexandros Naskos | |
| 2018-04-26 | Switched to shallow TypeInfo. | Alexandros Naskos | |
| 2018-04-26 | Added ErrorSet TypeInfo generation. | Alexandros Naskos | |
| 2018-04-26 | Added Enum TypeInfo except for methods | Alexandros Naskos | |
| 2018-04-26 | Reset parent on cached TypeInfo values if we need to. | Alexandros Naskos | |
| 2018-04-26 | Added TypeInfo cache | Alexandros Naskos | |
| 2018-04-25 | Changed TypeInfo layout. | Alexandros Naskos | |
| 2018-04-24 | Added ArrayInfo, NullableInfo, PromiseInfo generation | Alexandros Naskos | |
| 2018-04-24 | Attempt at adding comptime union field access | Alexandros Naskos | |
| 2018-04-24 | One step towards @typeInfo | Alexandros Naskos | |
| 2018-04-22 | exit(1) instead of abort() for file not found | Andrew Kelley | |
| 2018-04-22 | linux: support VDSO for clock_gettime | Andrew Kelley | |
| also fix a compiler crash when using cmpxchg with nullable pointer | |||
| 2018-04-19 | Added field builtin function | Jimmi Holst Christensen | |
| 2018-04-18 | support break in suspend blocks | Andrew Kelley | |
| * you can label suspend blocks * labeled break supports suspend blocks See #803 | |||
| 2018-04-18 | improve cmpxchg | Andrew Kelley | |
| * remove @cmpxchg, add @cmpxchgWeak and @cmpxchgStrong - See explanations in the langref. * add operand type as first parameter * return type is ?T where T is the operand type closes #461 | |||
| 2018-04-16 | Added ReleaseSmall mode | Alexandros Naskos | |
| 2018-04-15 | add @atomicLoad builtin | Andrew Kelley | |
| See #174 | |||
| 2018-04-15 | exit with error code instead of panic for file not found | Andrew Kelley | |
| 2018-04-15 | add @sqrt built-in function | Andrew Kelley | |
| See #767 | |||
| 2018-04-13 | fix undefined behavior triggered by fn inline test | Andrew Kelley | |
| LLVM destroys the string that we use to test if LLVM deleted the inlined function. Also fixed forgetting to initialize a buffer in std lib path detection. | |||
| 2018-04-09 | async tcp server proof of concept | Andrew Kelley | |
| 2018-04-08 | error return traces work with async return case | Andrew Kelley | |
| 2018-04-08 | fix calling convention at callsite of zig-generated fns | Andrew Kelley | |
| 2018-04-08 | put the error return addresses in the coro frame | Andrew Kelley | |
| 2018-04-08 | codegen: fix not putting llvm allocas together | Andrew Kelley | |
| 2018-04-08 | error return traces for the early return case | Andrew Kelley | |
| it would work but LLVM is not correctly spilling the addresses. See #821 | |||
| 2018-04-06 | fix llvm assert on version string with git sha | Ben Noordhuis | |
| LLVM's CodeViewDebug pass misparses the version string when it contains a git revision so stop doing that. This only affected Windows builds. closes #898 | |||
| 2018-04-01 | Add run compiler command | Marc Tiehuis | |
| 'zig run file.zig' builds a file and stores the artifacts in the global cache. On successful compilation the binary is executed. 'zig run file.zig -- a b c' does the same, but passes the arguments a, b and c as runtime arguments to the program. Everything after an '--' are treated as runtime arguments. On a posix system, a shebang can be used to run a zig file directly. An example shebang would be '#!/usr/bin/zig run'. You may not be able pass extra compile arguments currently as part of the shebang. Linux for example treats all arguments after the first as a single argument which will result in an 'invalid command'. Currently there is no customisability for the cache path as a compile argument. For a posix system you can use `TMPDIR=. zig run file.zig` to override, in this case using the current directory for the run cache. The input file is always recompiled, even if it has changed. This is intended to be cached but further discussion/thought needs to go into this. Closes #466. | |||
| 2018-03-30 | find libc and zig std lib at runtime | Andrew Kelley | |
| this removes the following configure options: * ZIG_LIBC_LIB_DIR * ZIG_LIBC_STATIC_LIB_DIR * ZIG_LIBC_INCLUDE_DIR * ZIG_DYNAMIC_LINKER * ZIG_EACH_LIB_RPATH * zig's reliance on CMAKE_INSTALL_PREFIX these options are still available as command line options, however, the default will attempt to execute the system's C compiler to collect system defaults for these values. closes #870 | |||
| 2018-03-24 | fix invalid codegen for error return traces across suspend points | Andrew Kelley | |
| See #821 Now the code works correctly, but error return traces are missing the frames from coroutines. | |||
| 2018-03-24 | add promise->T syntax parsing | Andrew Kelley | |
| closes #857 | |||
| 2018-03-24 | fix async fns with inferred error sets | Andrew Kelley | |
| closes #856 | |||
| 2018-03-24 | move error ret tracing codegen to zig ir | Andrew Kelley | |
| progress towards #821 | |||
| 2018-03-23 | Fix OpqaueType usage in exported c functions | Marc Tiehuis | |
| We prefer `struct typename`. If a typedef is required, this must be done manually after generation. | |||
| 2018-03-13 | fix casting a function to a pointer causing compiler crash | Andrew Kelley | |
| closes #777 | |||
| 2018-03-10 | fix await multithreaded data race | Andrew Kelley | |
| coro return was reading from a value that coro await was writing to. that wasn't how it was designed to work, it was an implementation mistake. this commit also has some work-in-progress code for fixing error return traces across suspend points. | |||
| 2018-03-10 | improvements to stack traces | Andrew Kelley | |
| * @panic generates an error return trace * printing an error return trace no longer interferes with normal stack traces. * instead of ignore_frame_count, we look at the return address when you call panic, and that's the first stack trace function makes stack traces much cleaner - the error return trace flows gracefully into the stack trace | |||
| 2018-03-06 | var is no longer a pseudo-type, it is syntax | Andrew Kelley | |
| closes #779 | |||
| 2018-03-02 | add optnone noinline to async functions | Andrew Kelley | |
| this works around LLVM optimization assertion failures. https://bugs.llvm.org/show_bug.cgi?id=36578 closes #800 | |||
| 2018-03-01 | fix not casting result of llvm.coro.promise | Andrew Kelley | |
| 2018-03-01 | implementation of await | Andrew Kelley | |
| but it has bugs | |||
| 2018-02-28 | implement coroutine resume | Andrew Kelley | |
