| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-08-18 | stage1: let \r\n slide | Andrew Kelley | |
| 2020-07-11 | add 'anytype' to stage1 and langref | Vexu | |
| 2020-05-05 | Rename noasync to nosuspend in C++ compiler | Tadeo Kondrak | |
| 2020-04-01 | stage1: make C++ switch fallthrough an error | Michael Dusan | |
| Make fallthrough an error when compiler supports it. This requires a new macro that is defined with such compilers to be used as a statement, at all fallthrough sites: switch (...) { case 0: ... ZIG_FALLTHROUGH; case 1: ... break; default: ... break; } If we ever move to C++17 as minimal requirement, then the macro can be replaced with `[[fallthrough]];` at statement sites. | |||
| 2020-03-30 | fixed bugs hitting EOF immediately after //, /// or //! | Kelly Boothby | |
| 2020-03-15 | make parsing `0.0_e1` an error | momumi | |
| 2020-03-15 | allow `_` separators in number literals (stage 1) | momumi | |
| * Underscores `_` may be placed between two digits in a int/float literal * Consecutive underscores are not allowed * Fixed parsing bug in exponents of hexadecimal float literals. Exponents should always be base 10, but hex characters would be parsed inside the exponent and everything after them would be ignored. eg: `0x1.0p1ab1` would be parsed as `0x1.0p1`. | |||
| 2020-02-10 | stage1: memory/report overhaul | Michael Dusan | |
| - split util_base.hpp from util.hpp - new namespaces: `mem` and `heap` - new `mem::Allocator` interface - new `heap::CAllocator` impl with global `heap::c_allocator` - new `heap::ArenaAllocator` impl - new `mem::TypeInfo` extracts names without RTTI - name extraction is enabled w/ ZIG_ENABLE_MEM_PROFILE=1 - new `mem::List` takes explicit `Allocator&` parameter - new `mem::HashMap` takes explicit `Allocator&` parameter - add Codegen.pass1_arena and use for all `ZigValue` allocs - deinit Codegen.pass1_arena early in `zig_llvm_emit_output()` | |||
| 2020-01-15 | disallow multiline strings in test and library names | Vexu | |
| 2020-01-06 | remove stdcallcc, extern, nakedcc from stage1; zig fmt rewrites | Andrew Kelley | |
| 2020-01-02 | Implement the callconv() annotation | LemonBoy | |
| 2019-11-23 | update the stage1 implementation to the new proposal | Andrew Kelley | |
| See #3731 | |||
| 2019-11-21 | string literals are now null terminated | Andrew Kelley | |
| this also deletes C string literals from the language, and then makes the std lib changes and compiler changes necessary to get the behavior tests and std lib tests passing again. | |||
| 2019-11-15 | implemented container doc comments in stage 1 | Vexu | |
| 2019-11-11 | stop accepting deprecated `use` keyword | Andrew Kelley | |
| closes #2591 | |||
| 2019-11-06 | add token for parsing pointer dereference | Brendan Hansknecht | |
| 2019-10-09 | Merge pull request #3390 from nrdmn/unicode_character_literals | Andrew Kelley | |
| unicode character literals | |||
| 2019-10-07 | unicode character literals | Nick Erdmann | |
| 2019-10-06 | stage1 parser supports doc comments | Andrew Kelley | |
| 2019-09-11 | Recognize & skip the UTF-8 BOM | LemonBoy | |
| 2019-09-05 | implement `noasync` function calls | Andrew Kelley | |
| See #3157 | |||
| 2019-09-05 | Add the noinline keyword for function declarations | LemonBoy | |
| 2019-08-26 | fix some compile error regressions | Andrew Kelley | |
| 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-06 | Make anyerror not a keyword | hryx | |
| 2019-07-04 | Unicode escapes: stage1 tokenizer and behavior tests | hryx | |
| 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-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-16 | stage1 tokenizer: add more missing break statements | Andrew Kelley | |
| 2019-05-16 | Add break after digit_value check in TokenizeStateCharCode | SamTebbs33 | |
| 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-23 | character literals: allow unicode escapes | Andrew Kelley | |
| also make the documentation for character literals more clear. closes #2089 see #2097 | |||
| 2019-03-23 | remove octal and hex floats from the language | Andrew Kelley | |
| closes #2093 This is technically a breaking change but I would be surprised if anyone was actually using this feature. | |||
| 2019-03-22 | float literals now parse using musl's 128 bit float code | Andrew Kelley | |
| fixes float literals not having 128 bit precision | |||
| 2019-03-22 | Simplify hex-float parsing code | Marc Tiehuis | |
| 2019-03-21 | hex float parsing: solve another case | Andrew Kelley | |
| this works now: 0x1.edcb34a235253948765432134674fp-1 | |||
| 2019-03-21 | fix parsing of large hex float literals | Andrew Kelley | |
| closes #2083 | |||
| 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-30 | Move tokenizer error location to offending char | Matthew McAllister | |
| Previously, it pointed to the start of the current token, but this made it difficult to tell where the error occurred when it was, say, in the middle of a string. | |||
| 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 | rename `section` keyword to `linksection` | Andrew Kelley | |
| add zig fmt support for this syntax closes #1152 | |||
| 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-09-26 | Tweak SYMBOL_CHAR define in tokenizer.cpp | Wink Saville | |
| Make it a little clearer what a SYMBOL_CHAR is, use ALPHA instead of ALPHA_EXCEPT_C and case 'c', which is ALPHA's definition. | |||
| 2018-09-13 | remove `this`. add `@This()`. | Andrew Kelley | |
| closes #1283 | |||
| 2018-07-18 | fix invalid character test on windows | Andrew Kelley | |
| 2018-06-28 | Correct hex-float parsing | Marc Tiehuis | |
| Unblocks #495. | |||
