| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-03-19 | fix alignment when slicing with comptime start and end index | Andrew Kelley | |
| 2020-03-19 | `@ptrCast` supports casting a slice to pointer | Andrew Kelley | |
| 2020-03-19 | fix slice of string literal having the wrong type | Andrew Kelley | |
| 2020-03-19 | fixes in semantic analysis needed to support this feature | Andrew Kelley | |
| 2020-03-19 | slicing with comptime start and end results in array | Andrew Kelley | |
| implements #863 | |||
| 2020-03-19 | ir: More changes to sentinel-terminated const arrays | LemonBoy | |
| * Don't add an extra slot for the sentinel. Most of the code keeps using the constant value from the type descriptor, let's harmonize all the code dealing with sentinels. * Properly write out sentinel values when reinterpreting pointers at comptime. * Allow the reading of the 0th element in a `[0:S]T` type. | |||
| 2020-03-13 | Merge remote-tracking branch 'origin/master' into llvm10 | Andrew Kelley | |
| 2020-03-12 | Merge pull request #4707 from Vexu/small-atomics | Andrew Kelley | |
| Support atomic operations with bools and non power of two integers | |||
| 2020-03-12 | add note to disabled tests, improve comptime cmpxchg | Vexu | |
| 2020-03-12 | Simplify stores, use sext for signed ints | Vexu | |
| 2020-03-12 | support `@atomicRmw` at comptime | Vexu | |
| 2020-03-11 | Move abi size checking to codegen | Vexu | |
| 2020-03-11 | support cmpxchg at comptime | Vexu | |
| 2020-03-11 | special case atomic operations on zero bit types | Vexu | |
| 2020-03-11 | support non power of two integers in atomic ops | Vexu | |
| 2020-03-10 | ir: Fix shift code for u0 operands | LemonBoy | |
| 2020-03-10 | use atomic bools in std lib | Vexu | |
| 2020-03-10 | support atomic operations with bools | Vexu | |
| 2020-03-10 | ir: Implement more safety checks for shl/shr | LemonBoy | |
| The checks are now valid on types whose size is not a power of two. Closes #2096 | |||
| 2020-03-09 | Merge pull request #4590 from xackus/fix-4587 | Andrew Kelley | |
| fix failed assert on generic fn opaque return type | |||
| 2020-03-09 | ir: Fix codegen of ?*T types where T is zero-sized | LemonBoy | |
| * Fix codegen for optional types that decay to a pointer, the type behaves as a boolean * Fix comptime evaluation of zero-sized arrays, always initialize the internal array elements Closes #4673 | |||
| 2020-03-09 | Merge pull request #4700 from Vexu/noasync | Andrew Kelley | |
| Implement new noasync syntax | |||
| 2020-03-09 | better error messages and more tests | xackus | |
| 2020-03-09 | lazy_cmp_zero only resolves type is zero bits for alignof | Andrew Kelley | |
| 2020-03-09 | ir: Fix lazy comparison between @alignOf and zero | LemonBoy | |
| Closes #4527 | |||
| 2020-03-09 | disallow resume and suspend in noasync scopes | Vexu | |
| 2020-03-09 | implement noasync scopes | Vexu | |
| 2020-03-08 | ir: Create usize result_loc for array subscript expr | LemonBoy | |
| Allow the subscript expression to infer the resulting type. Closes #4169 | |||
| 2020-03-08 | fix failed assert on generic fn opaque return type | xackus | |
| 2020-03-08 | Strip trailing whitespace from src/ir.cpp | daurnimator | |
| 2020-03-08 | Fix grammar in error message | daurnimator | |
| 2020-03-07 | Merge remote-tracking branch 'origin/master' into llvm10 | Andrew Kelley | |
| 2020-03-06 | stage1: make get_optional_type more robust | Andrew Kelley | |
| Now it will emit a compile error rather than crashing when the child type has not been resolved properly. Introduces `get_optional_type2` which should be used generally inside ir.cpp. Fix some std lib compile errors noticed by the provided test case. Thanks @LemonBoy for the test case. Closes #4377. Fixes #4374. | |||
| 2020-03-06 | ir: remove pointless and misleading code in `@embedFile` | Andrew Kelley | |
| 2020-03-05 | Revert "Allow constant struct val to reallocate its fields when resolving an ↵ | Andrew Kelley | |
| inferred struct field with a comptime value." This reverts commit debcc79d56a40f77b92e243b4e344fc9385bd405. This caused a regression when building self-hosted | |||
| 2020-03-05 | Allow constant struct val to reallocate its fields when resolving an ↵ | Alexandros Naskos | |
| inferred struct field with a comptime value. | |||
| 2020-03-04 | `@TypeOf` avoids heap allocation for only 1 parameter | Andrew Kelley | |
| 2020-03-04 | ir: Implement @TypeOf with multiple arguments | LemonBoy | |
| Closes #439 | |||
| 2020-03-04 | Merge pull request #4573 from alexnask/tuple_concat | Andrew Kelley | |
| Allow concatenation of tuples that contain a mix of runtime and comptime values | |||
| 2020-03-04 | get_codegen_ptr_type returns possible error | Andrew Kelley | |
| And fix most of the fallout. This also makes optional pointers not require resolving zero bits, because the comptime value struct layout no longer depends on whether the type has zero bits. Thanks to @LemonBoy for the behavior test case Closes #4357 Closes #4359 | |||
| 2020-03-03 | Merge remote-tracking branch 'origin/master' into llvm10 | Andrew Kelley | |
| 2020-03-02 | Merge branch 'master' of https://github.com/ziglang/zig into tuple_concat | Alexandros Naskos | |
| 2020-03-02 | Removed unused variable | Alexandros Naskos | |
| 2020-02-29 | C pointer slices are no longer allowzero (#4462) | Alexandros Naskos | |
| * Slices from C pointers are no longer allowzero but instead insert a runtime assertion. * Added a test, fixed code for cases with non-allowzero C pointers * Create new type when flipping allow_zero, sometimes we get a cached value back from adjust_ptr_len. * Added comments, changed panic message * Added runtime safety test. | |||
| 2020-02-28 | Removed unused variable | Alexandros Naskos | |
| 2020-02-28 | More fixes, removed debug prints | Alexandros Naskos | |
| 2020-02-28 | Fixed tuple concatenation with runtime and comptime values. | Alexandros Naskos | |
| 2020-02-27 | fix exported variable not respecting linkage | Andrew Kelley | |
| 2020-02-27 | ir: Robust checking for init expr type | LemonBoy | |
| Closes #3979 | |||
| 2020-02-26 | fix `@tagName` on extern and non-exhaustive enums | Vexu | |
