| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 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 | 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-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 | 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 | 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-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-09 | Added Slice as it's own type info in userland | Jimmi HC | |
| 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 | |
| 2018-04-27 | Fixed enum tag type detection in TypeInfo generation. | Alexandros Naskos | |
| 2018-04-26 | Added ErrorUnion, Union TypeInfo generation | Alexandros Naskos | |
| 2018-04-26 | Switched to shallow TypeInfo. | Alexandros Naskos | |
| 2018-04-26 | Added ErrorSet TypeInfo generation. | Alexandros Naskos | |
| 2018-04-26 | Added Enum TypeInfo except for methods | Alexandros Naskos | |
| 2018-04-26 | Reset parent on cached TypeInfo values if we need to. | Alexandros Naskos | |
| 2018-04-26 | Added TypeInfo cache | Alexandros Naskos | |
| 2018-04-25 | Changed TypeInfo layout. | Alexandros Naskos | |
| 2018-04-24 | Added ArrayInfo, NullableInfo, PromiseInfo generation | Alexandros Naskos | |
| 2018-04-24 | Attempt at adding comptime union field access | Alexandros Naskos | |
| 2018-04-24 | One step towards @typeInfo | Alexandros Naskos | |
| 2018-04-22 | exit(1) instead of abort() for file not found | Andrew Kelley | |
| 2018-04-22 | linux: support VDSO for clock_gettime | Andrew Kelley | |
| also fix a compiler crash when using cmpxchg with nullable pointer | |||
| 2018-04-19 | Added field builtin function | Jimmi Holst Christensen | |
| 2018-04-18 | support break in suspend blocks | Andrew Kelley | |
| * you can label suspend blocks * labeled break supports suspend blocks See #803 | |||
| 2018-04-18 | improve cmpxchg | Andrew Kelley | |
| * remove @cmpxchg, add @cmpxchgWeak and @cmpxchgStrong - See explanations in the langref. * add operand type as first parameter * return type is ?T where T is the operand type closes #461 | |||
