| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-07-27 | remove ability to break from suspend blocks | Andrew Kelley | |
| closes #803 | |||
| 2018-07-26 | coroutines have 3 more bits of atomic state | Andrew Kelley | |
| 2018-07-26 | add compile error for ignoring return value of while loop bodies | Andrew Kelley | |
| closes #1049 | |||
| 2018-07-24 | self-hosted: function types use table lookup | Andrew Kelley | |
| 2018-07-24 | fix logic for determining whether param requires comptime | Andrew Kelley | |
| closes #778 closes #1213 | |||
| 2018-07-20 | self-hosted: share C++ code for finding libc on windows | Andrew Kelley | |
| 2018-07-18 | Allow pointers to anything in extern/exported declarations (#1258) | Jimmi Holst Christensen | |
| * type_allowed_in_extern accepts all ptr not size 0 * Generate correct headers for none extern structs/unions/enums | |||
| 2018-07-16 | all integer sizes are available as primitives | Andrew Kelley | |
| * fix wrong implicit cast for `@IntType` bit_count parameter. * fix incorrect docs for `@IntType` bit_count parameter. closes #1242 closes #745 closes #1240 | |||
| 2018-07-11 | add compile error for disallowed types in extern structs | Andrew Kelley | |
| closes #1218 | |||
| 2018-07-07 | add @popCount intrinsic | Andrew Kelley | |
| 2018-07-06 | add compile error notes for where struct definitions are | Andrew Kelley | |
| closes #1202 | |||
| 2018-07-03 | fix runtime libc detection depending on locale | Andrew Kelley | |
| closes #1165 | |||
| 2018-06-30 | Merge pull request #1167 from ziglang/comptime-array-by-value | Jimmi Holst Christensen | |
| Implement const_values_equal for arrays | |||
| 2018-06-30 | Revert "ir_resolve_const now checks recursivly for undef values" | Jimmi Holst Christensen | |
| This reverts commit 4c3f27ce1ea17b5236a022971ebace73a02b7c2b. | |||
| 2018-06-30 | Revert "contains_comptime_undefined_value should not follow pointers" | Jimmi Holst Christensen | |
| This reverts commit 58b1692182dc2f8da5b535f59e9a89cfab10a7b6. | |||
| 2018-06-29 | contains_comptime_undefined_value should not follow pointers | Jimmi HC | |
| 2018-06-29 | ir_resolve_const now checks recursivly for undef values | Jimmi HC | |
| 2018-06-29 | Assert that array is not ConstArraySpecialUndef in const_values_equal | Jimmi HC | |
| 2018-06-28 | Implement const_values_equal for array type | Jimmi HC | |
| * This allows arrays to be passed by value at comptime | |||
| 2018-06-27 | fix coroutine accessing freed memory | Andrew Kelley | |
| closes #1164 | |||
| 2018-06-27 | fix comptime @tagName crashing sometimes | Andrew Kelley | |
| closes #1118 | |||
| 2018-06-27 | add f16 type | Ben Noordhuis | |
| Add support for half-precision floating point operations. Introduce `__extendhfsf2` and `__truncsfhf2` in std/special/compiler_rt. Add `__gnu_h2f_ieee` and `__gnu_f2h_ieee` as aliases that are used in Windows builds. The logic in std/special/compiler_rt/extendXfYf2.zig has been reworked and can now operate on 16 bits floating point types. `extendXfYf2()` and `truncXfYf2()` are marked `inline` to work around a not entirely understood stack alignment issue on Windows when calling the f16 versions of the builtins. closes #1122 | |||
| 2018-06-26 | rename get_maybe_type to get_optional_type | Andrew Kelley | |
| 2018-06-21 | fix compiler crash for invalid enum | Andrew Kelley | |
| closes #1079 closes #1147 | |||
| 2018-06-19 | fix calling method with comptime pass-by-non-copyign-value self arg | Andrew Kelley | |
| closes #1124 | |||
| 2018-06-18 | disallow opaque as a return type of fn type syntax | Andrew Kelley | |
| closes #1115 | |||
| 2018-06-16 | allow passing by non-copying value | Andrew Kelley | |
| closes #733 | |||
| 2018-06-14 | Enabled optional types of zero bit types with no LLVM DI type. (#1110) | Alexandros Naskos | |
| * Zero bit optional types do not need a LLVM DI type | |||
| 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 | |||
| 2018-06-09 | nullable pointers follow const-casting rules | Andrew Kelley | |
| any *T -> ?*T cast is allowed implicitly, even when it occurs deep inside the type, and the cast is a no-op at runtime. in order to add this I had to make the comptime value representation of nullable pointers the same as the comptime value representation of normal pointers, so that we don't have to do any recursive transformation of values when doing this kind of cast. | |||
| 2018-06-08 | Allow access of array.len through a pointer | Jimmi HC | |
| 2018-06-07 | fix structs that contain types which require comptime | Andrew Kelley | |
| Now, if a struct has any fields which require comptime, such as `type`, then the struct is marked as requiring comptime as well. Same goes for unions. This means that a function will implicitly be called at comptime if the return type is a struct which contains a field of type `type`. closes #586 | |||
| 2018-06-06 | Pointer Reform: update @typeInfo | Andrew Kelley | |
| * add assertion for trying to do @typeInfo on global error set * remove TypeInfo.Slice * add TypeInfo.Pointer.Size with possible values - One - Many - Slice See #770 | |||
| 2018-06-05 | disable field access for unknown length pointers | Andrew Kelley | |
| See #770 | |||
| 2018-06-05 | disallow unknown-length pointer to opaque | Andrew Kelley | |
| This also means that translate-c has to detect when a pointer to opaque is happening, and use `*` instead of `[*]`. See #1059 | |||
| 2018-06-05 | fix crash when evaluating return type has compile error | Andrew Kelley | |
| closes #1058 | |||
| 2018-06-05 | Renamed UndefinedLiteral to Undefined | Jimmi HC | |
| 2018-06-05 | Removed NullLiteral to Null | Jimmi HC | |
| 2018-06-05 | Renamed "(int/float literal)" to "comptime_int/float" | Jimmi HC | |
| 2018-06-04 | Pointer Reform: proper slicing and indexing (#1053) | Andrew Kelley | |
| * enable slicing for single-item ptr to arrays * disable slicing for other single-item pointers * enable indexing for single-item ptr to arrays * disable indexing for other single-item pointers see #770 closes #386 | |||
| 2018-06-04 | never call malloc with size 0 | Andrew Kelley | |
| instead we return nullptr. this makes the behavior consistent across all platforms. closes #1044 closes #1045 | |||
| 2018-06-04 | disallow single-item pointer indexing | Andrew Kelley | |
| add pointer arithmetic for unknown length pointer | |||
| 2018-05-31 | use * for pointer type instead of & | Andrew Kelley | |
| See #770 To help automatically translate code, see the zig-fmt-pointer-reform-2 branch. This will convert all & into *. Due to the syntax ambiguity (which is why we are making this change), even address-of & will turn into *, so you'll have to manually fix thes instances. You will be guaranteed to get compile errors for them - expected 'type', found 'foo' | |||
| 2018-05-30 | Removed copy-pasted resolve_inferred_error_set | Jimmi HC | |
| both ir.cpp and analyze.cpp have a function resolve_inferred_error_set, which is a nearly exact copy-paste. This commit removes the one in ir.cpp and exposes then one in analyze.cpp. This also allows us to make analyze_fn_body local to analyze.cpp, as it is not used anywhere in ir.cpp after this change | |||
| 2018-05-24 | update github.com/zig-lang to github.com/ziglang | Andrew Kelley | |
| 2018-05-09 | Merge branch 'master' into pointer-reform | Andrew Kelley | |
| 2018-05-09 | Added Slice as it's own type info in userland | Jimmi HC | |
| 2018-05-03 | Fixed extern enums having the wrong size (#970) | Jimmi Holst Christensen | |
| Fixed extern enums having the wrong size See #977 | |||
| 2018-04-30 | support foo.* for ptr deref | Andrew Kelley | |
| See #770 | |||
