| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-10-08 | generated docs: error sets in fn docs | Andrew Kelley | |
| 2019-10-07 | generated docs: show doc comments on functions | Andrew Kelley | |
| 2019-10-06 | stage1 parser supports doc comments | Andrew Kelley | |
| 2019-09-05 | implement `noasync` function calls | Andrew Kelley | |
| See #3157 | |||
| 2019-09-05 | Add the noinline keyword for function declarations | LemonBoy | |
| 2019-08-30 | support recursive async and non-async functions | Andrew Kelley | |
| which heap allocate their own frames related: #1006 | |||
| 2019-08-22 | parsing of align(N) on struct fields | Tetralux | |
| 2019-08-16 | implement new async syntax in self-hosted compiler | Vexu | |
| 2019-08-15 | remove `cancel` | Andrew Kelley | |
| 2019-07-26 | add the `anyframe` and `anyframe->T` types | Andrew Kelley | |
| 2019-07-19 | remove coroutines implementation and promise type | Andrew Kelley | |
| 2019-07-19 | fix usingnamespace | Andrew Kelley | |
| It used to be that usingnamespace was only allowed at top level. This made it OK to put the state inside the AST node data structure. However, now usingnamespace can occur inside any aggregate data structure, and therefore the state must be in the TopLevelDeclaration rather than in the AST node. There were two other problems with the usingnamespace implementation: * It was passing the wrong destination ScopeDecl, so it could cause an incorrect error such as "import of file outside package path". * When doing `usingnamespace` on a file that already had `pub usingnamespace` in it would "steal" the usingnamespace, causing incorrect "use of undeclared identifier" errors in the target file. closes #2632 closes #2580 | |||
| 2019-07-16 | rename internal names regarding `usingnamespace` | Andrew Kelley | |
| 2019-07-06 | Make anyerror not a keyword | hryx | |
| 2019-06-11 | Merge remote-tracking branch 'origin/master' into copy-elision-3 | Andrew Kelley | |
| 2019-06-10 | whitespace cleanup | Andrew Kelley | |
| 2019-06-10 | Add check for null body in if, for and while | SamTebbs33 | |
| 2019-06-09 | Merge remote-tracking branch 'origin/master' into copy-elision-3 | Andrew Kelley | |
| 2019-06-09 | different array literal syntax when inferring the size | Andrew Kelley | |
| old syntax: []i32{1, 2, 3} new syntax: [_]i32{1, 2, 3} closes #1797 | |||
| 2019-06-08 | hook up result locs for `try` | Andrew Kelley | |
| 2019-05-29 | change `use` to `usingnamespace` | Andrew Kelley | |
| See #2014 `use` syntax is still accepted for now. `zig fmt` automatically updates code. After a release cycle the old syntax will be removed. | |||
| 2019-05-11 | fixes #2235 | Jimmi Holst Christensen | |
| 2019-05-11 | Fixed parser for extern threadlocal variables | Jimmi Holst Christensen | |
| 2019-05-10 | Fixes and simplifications for stage 1 parser | Jimmi HC | |
| 2019-04-22 | Allow tag expr for enum but not struct | hryx | |
| 2019-03-25 | implement allowzero pointer attribute | Andrew Kelley | |
| closes #1953 only needed for freestanding targets. also adds safety for `@intToPtr` when the address is zero. | |||
| 2019-03-24 | introduce the enum literal type | Andrew Kelley | |
| see #683 | |||
| 2019-03-20 | add docs for assembly and fix global assembly parsing | Andrew Kelley | |
| Previously, global assembly was parsed expecting it to have the template syntax. However global assembly has no inputs, outputs, or clobbers, and thus does not have template syntax. This is now fixed. This commit also adds a compile error for using volatile on global assembly, since it is meaningless. closes #1515 | |||
| 2019-03-19 | Updated parser to newest grammar | Jimmi Holst Christensen | |
| 2019-02-28 | remove namespace type; files are empty structs | Andrew Kelley | |
| closes #1047 | |||
| 2019-02-17 | Deduplicate compile log statement warnings | Matthew McAllister | |
| 2019-02-10 | langref: update grammar with c pointers | Andrew Kelley | |
| See #1059 | |||
| 2019-02-10 | added C pointer type and implicit int-to-ptr for this type | Andrew Kelley | |
| See #1059 | |||
| 2019-02-06 | thread local storage working for linux x86_64 | Andrew Kelley | |
| 2019-01-29 | backport copy elision changes | Andrew Kelley | |
| This commit contains everything from the copy-elision-2 branch that does not have to do with copy elision directly, but is generally useful for master branch. * All const values know their parents, when applicable, not just structs and unions. * Null pointers in const values are represented explicitly, rather than as a HardCodedAddr value of 0. * Rename "maybe" to "optional" in various code locations. * Separate DeclVarSrc and DeclVarGen * Separate PtrCastSrc and PtrCastGen * Separate CmpxchgSrc and CmpxchgGen * Represent optional error set as an integer, using the 0 value. In a const value, it uses nullptr. * Introduce type_has_one_possible_value and use it where applicable. * Fix debug builds not setting memory to 0xaa when storing undefined. * Separate the type of a variable from the const value of a variable. * Use copy_const_val where appropriate. * Rearrange structs to pack data more efficiently. * Move test/cases/* to test/behavior/* * Use `std.debug.assertOrPanic` in behavior tests instead of `std.debug.assert`. * Fix outdated slice syntax in docs. | |||
| 2019-01-29 | simpler implementation of `&&` and `||` hints | Andrew Kelley | |
| This accomplishes the same goal, but with less changes, so that I can backport copy elision stuff easier. | |||
| 2019-01-25 | Hint at use of and/or when &&/|| is improperly used (#1886) | kristopher tate | |
| 2018-11-17 | Updated comments in parser.cpp | Jimmi HC | |
| 2018-11-17 | rename `section` keyword to `linksection` | Andrew Kelley | |
| add zig fmt support for this syntax closes #1152 | |||
| 2018-11-13 | Fixed error where we didn't expect the return type of a function | Jimmi Holst Christensen | |
| 2018-11-13 | New Zig formal grammar (#1685) | Jimmi Holst Christensen | |
| Reverted #1628 and changed the grammar+parser of the language to not allow certain expr where types are expected | |||
| 2018-10-15 | Solve the return type ambiguity (#1628) | Jimmi Holst Christensen | |
| Changed container and initializer syntax * <container> { ... } -> <container> . { ... } * <exrp> { ... } -> <expr> . { ...} | |||
| 2018-09-26 | the last number in a packed ptr is host int bytes | Andrew Kelley | |
| See #1121 | |||
| 2018-09-13 | remove `this`. add `@This()`. | Andrew Kelley | |
| closes #1283 | |||
| 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 | src/parser.cpp: fix typo from rebase; | kristopher tate | |
| 2018-08-02 | src/parser.cpp: remove promise_symbol from suspend; | kristopher tate | |
| Tracking Issue #1296 ; | |||
| 2018-07-27 | remove ability to break from suspend blocks | Andrew Kelley | |
| closes #803 | |||
| 2018-06-10 | breaking syntax change: orelse keyword instead of ?? (#1096) | Andrew Kelley | |
| use the `zig-fmt-optional-default` branch to have zig fmt automatically do the changes. closes #1023 | |||
| 2018-06-09 | breaking syntax change: ??x to x.? (#1095) | Andrew Kelley | |
| See #1023 This also renames Nullable/Maybe to Optional | |||
