| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2017-08-29 | introduce align keyword | Andrew Kelley | |
| * remove `@setGlobalAlign` * add align keyword for setting alignment on functions and variables. * loads and stores use alignment from pointer * memcpy, memset use alignment from pointer * add syntax for pointer alignment * slices can have volatile * add u2, i2 primitives * ignore preferred align and use abi align everywhere * back to only having alignOf builtin. preferredAlignOf is too tricky to be useful. See #432. Partial revert of e726925e802eddab53cbfd9aacbc5eefe95c356f. See #37 | |||
| 2017-08-28 | Merge branch 'embed-lld' | Andrew Kelley | |
| Zig now depends on LLVM 5.0.0. For the latest version that supports LLVM 4.0.1, use 2a49c876be76dc98996a3251310728ad32b22363. Unfortunately we had to embed LLD into Zig due to some MACH-O related LLD bugs. One of them is already upstream and another is awaiting feedback on the llvm-dev mailing list. You can use cmake option -DZIG_FORCE_EXTERNAL_LLD=ON to still use external LLD if you want to live with the MACH-O bugs or if your system LLD is patched. Closes #273 | |||
| 2017-08-26 | fix wrong switch target type with enum from .h file | Andrew Kelley | |
| fixes crash when else => unreachable is missing | |||
| 2017-08-26 | update for llvm 5.0.0rc1 | Andrew Kelley | |
| 2017-06-16 | parseh: fix not recognizing integer suffixes on hex numbers | Andrew Kelley | |
| 2017-06-14 | progress toward windows hello world working | Andrew Kelley | |
| 2017-05-23 | building with mingw for windows | Andrew Kelley | |
| 2017-05-07 | rename c_long_double to c_longdouble | Andrew Kelley | |
| to be consistent with other c primitive type names | |||
| 2017-04-13 | typedefpocalypse | Andrew Kelley | |
| closes #314 | |||
| 2017-03-26 | add stack protector safety when linking libc | Andrew Kelley | |
| * introduce zigrt file. it contains only weak symbols so that multiple instances can be merged. it contains __zig_panic so that multiple .o files can call the same panic function. * remove `@setFnVisible` builtin and add @setGlobalLinkage builtin which is more powerful * add `@panic` builtin function. * fix collision of symbols with extern prototypes and internal function names * add stack protector safety when linking against libc. To add the safety mechanism without libc requires implementing Thread Local Storage. See #276 | |||
| 2017-03-20 | fix test regression regarding shadowing names | Andrew Kelley | |
| closes #271 | |||
| 2017-03-10 | update to llvm 4.0 | Andrew Kelley | |
| 2017-02-27 | fix inability to write to global in some cases | Andrew Kelley | |
| before, when we initialized a variable by copying the initialization value, it made the internal const value references point to a duplicate value, resulting in a phony duplicate global value being updated instead of the real on. now the behavior is as expected. thanks to hoppetosse for pointing out this bug on IRC. | |||
| 2017-02-04 | ability to set global variable alignment and ... | Andrew Kelley | |
| ..section in the initialization expression | |||
| 2017-02-03 | exported global variables get emitted as external in LLVM | Andrew Kelley | |
| 2017-02-03 | implement packed structs | Andrew Kelley | |
| closes #183 | |||
| 2017-01-13 | fix some stuff when llvm has assertions on | Andrew Kelley | |
| 2017-01-12 | fix use decl regression | Andrew Kelley | |
| 2017-01-12 | IR: fix array concatenation | Andrew Kelley | |
| all tests passing | |||
| 2017-01-12 | IR: implement macro for function aliasing function pointer | Andrew Kelley | |
| 2017-01-11 | pass some parseh tests | Andrew Kelley | |
| 2017-01-11 | pass more tests | Andrew Kelley | |
| 2017-01-10 | partially fix parseh command | Andrew Kelley | |
| 2017-01-04 | IR: add unreachable code compiler error | Andrew Kelley | |
| 2016-12-28 | IR: pass passSliceOfEmptyStructToFn test | Andrew Kelley | |
| 2016-12-26 | IR: pass intToPtrCast test | Andrew Kelley | |
| 2016-12-25 | IR: support compile time global pointer reinterpret | Andrew Kelley | |
| this required moving the place we store types to ConstExprValue | |||
| 2016-12-18 | IR: all structs anonymous | Andrew Kelley | |
| 2016-12-11 | IR: fix implementation of parseh | Andrew Kelley | |
| libc hello world works now | |||
| 2016-12-04 | IR: re-organize where state goes to prepare for generics | Andrew Kelley | |
| * Rip out legacy code for generics * put scope in instruction instead of AST nodes * separate top level decl stuff from AST nodes - remove the assumption that there is a 1:1 correspondence between an output instruction and an AST node - This way we won't have to clone AST nodes for generics. | |||
| 2016-12-01 | rewrite scope implementation | Andrew Kelley | |
| * now there are not extra unused hash tables * each variable declaration opens a new scope inside a function | |||
| 2016-12-01 | rename BlockContext to Scope | Andrew Kelley | |
| 2016-11-18 | IR: correctly codegening memset and memcpy | Andrew Kelley | |
| 2016-11-17 | remove AST cloning code and add AST render for while loops | Andrew Kelley | |
| 2016-11-04 | WIP moving all analysis to IR | Andrew Kelley | |
| 2016-09-28 | remove compiler directives | Andrew Kelley | |
| * add `setFnTest`, `setFnVisible`, `setFnStaticEval`, `setFnNoInline` builtin functions to replace previous directive functionality * add `coldcc` and `nakedcc` as keywords which can be used as part of a function prototype. * `setDebugSafety` builtin can be used to set debug safety features at a per block scope level. * closes #169 | |||
| 2016-09-23 | enums support member functions | Andrew Kelley | |
| 2016-09-19 | use size_t for indexes | Andrew Kelley | |
| protect against incorrect copies in debug mode | |||
| 2016-09-10 | rename LLVMZig to ZigLLVM | Andrew Kelley | |
| 2016-09-05 | fix gcc 5.4.0compile errors | Andrew Kelley | |
| 2016-09-04 | port to llvm 3.9 | Andrew Kelley | |
| 2016-08-07 | ability to have a return type of 'type' | Andrew Kelley | |
| 2016-08-04 | new multiline string syntax | Andrew Kelley | |
| This patch also moves a bunch of the parser code into the tokenizer. Closes #162. | |||
| 2016-07-17 | rename NodeTypeStructDecl to NodeTypeContainerDecl | Andrew Kelley | |
| 2016-05-07 | support generic data structures | Andrew Kelley | |
| See #22 | |||
| 2016-04-22 | parseh: support anonymous enums and enums with initializers | Andrew Kelley | |
| 2016-04-22 | add syntax to allow symbols to have arbitrary strings as names | Andrew Kelley | |
| 2016-04-21 | better parsing of C macros | Andrew Kelley | |
| See #88 | |||
| 2016-03-08 | update to llvm 3.8.0 | Andrew Kelley | |
| 2016-03-01 | c_void is provided outside of C imports | Andrew Kelley | |
