| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-07-13 | allow == for comparing optional pointers | Andrew Kelley | |
| closes #658 | |||
| 2018-07-10 | Merge remote-tracking branch 'origin/master' into llvm7 | Andrew Kelley | |
| 2018-07-07 | add @popCount intrinsic | Andrew Kelley | |
| 2018-07-06 | fix iterating over a void slice | Andrew Kelley | |
| closes #1203 | |||
| 2018-07-02 | Merge remote-tracking branch 'origin/master' into llvm7 | Andrew Kelley | |
| 2018-07-02 | add runtime safety for `@intToEnum`; add docs for runtime safety | Andrew Kelley | |
| See #367 | |||
| 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-27 | dry floating-point type definitions | Ben Noordhuis | |
| 2018-06-20 | fix runtime fn ptr equality codegen | Andrew Kelley | |
| closes #1140 | |||
| 2018-06-19 | `@floatToInt` now has safety-checked undefined behavior | Andrew Kelley | |
| when the integer part does not fit in the destination integer type * Also fix incorrect safety triggered for integer casting an `i32` to a `u7`. closes #1138 * adds compiler-rt function: `__floatuntidf` | |||
| 2018-06-19 | Merge pull request #1136 from alexnask/typeinfo_improvements | Andrew Kelley | |
| @typeInfo now uses optional types instead of @typeOf(undefined) | |||
| 2018-06-19 | @typeInfo now uses optional types instead of @typeOf(undefined) | Alexandros Naskos | |
| 2018-06-19 | remove enum to/from int casting syntax; add `@enumToInt`/`@intToEnum` | Andrew Kelley | |
| see #1061 | |||
| 2018-06-18 | remove error to/from int casting syntax; add `@errorToInt`/`@intToError` | Andrew Kelley | |
| See #1061 | |||
| 2018-06-18 | remove []u8 casting syntax. add `@bytesToSlice` and `@sliceToBytes` | Andrew Kelley | |
| See #1061 | |||
| 2018-06-18 | remove error set casting syntax. add `@errSetCast` | Andrew Kelley | |
| See #1061 | |||
| 2018-06-18 | Merge remote-tracking branch 'origin/master' into llvm7 | Andrew Kelley | |
| 2018-06-18 | remove bool to int syntax. add @boolToInt | Andrew Kelley | |
| add missing docs See #1061 | |||
| 2018-06-17 | remove integer and float casting syntax | Andrew Kelley | |
| * add `@intCast` * add `@floatCast` * add `@floatToInt` * add `@intToFloat` See #1061 | |||
| 2018-06-16 | disable byval | Andrew Kelley | |
| 2018-06-16 | add basic std lib code for loading dynamic libraries | Andrew Kelley | |
| this is going to only work for very basic libraries; I plan to slowly add more features over time to support more complicated libraries | |||
| 2018-06-14 | Merge remote-tracking branch 'origin/master' into llvm7 | Andrew Kelley | |
| 2018-06-11 | implement @tagName as a switch instead of table lookup | Andrew Kelley | |
| closes #976 closes #1080 | |||
| 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-07 | add implicit casts from `*[N]T` | Andrew Kelley | |
| * to `[]T` * to `[*]T` See #770 | |||
| 2018-06-07 | remove @canImplicitCast builtin | Andrew Kelley | |
| nobody will miss it | |||
| 2018-06-07 | langref: automatic update of builtin.zig | Andrew Kelley | |
| now the docs can't get out of date for this See #367 | |||
| 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 | Merge remote-tracking branch 'origin/master' into llvm7 | Andrew Kelley | |
| 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 | Merge remote-tracking branch 'origin/master' into llvm7 | Andrew Kelley | |
| 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-26 | Merge remote-tracking branch 'origin/master' into llvm7 | Andrew Kelley | |
| 2018-05-24 | update github.com/zig-lang to github.com/ziglang | Andrew Kelley | |
| 2018-05-12 | add @newStackCall builtin function | Andrew Kelley | |
| See #1006 | |||
| 2018-05-10 | Merge remote-tracking branch 'origin/master' into llvm7 | Andrew Kelley | |
| 2018-05-09 | Added Slice as it's own type info in userland | Jimmi HC | |
| 2018-05-04 | Merge remote-tracking branch 'origin/master' into llvm7 | Andrew Kelley | |
| 2018-04-29 | Finished FnDef TypeInfo generation (warning: may be buggy). | Alexandros Naskos | |
| 2018-04-29 | More FnDef TypeInfo generation. | Alexandros Naskos | |
| 2018-04-28 | Started work on function definition TypeInfo generation. | Alexandros Naskos | |
| 2018-04-28 | Added definition TypeInfo generation, except for function definitions. | Alexandros Naskos | |
| 2018-04-27 | Added BoundFn TypeInfo generation. | Alexandros Naskos | |
| 2018-04-27 | Added Fn TypeInfo generation. | Alexandros Naskos | |
| 2018-04-27 | Added struct TypeInfo generation. | Alexandros Naskos | |
