| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-11-14 | ** and ++ operators force comptime on operands | Andrew Kelley | |
| closes #1707 | |||
| 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-11-09 | array type syntax implies comptime | Andrew Kelley | |
| 2018-10-26 | remove @minValue,@maxValue; add std.math.minInt,maxInt | Andrew Kelley | |
| closes #1466 closes #1476 | |||
| 2018-10-15 | remove implicit cast from T to *const T | Andrew Kelley | |
| closes #1465 | |||
| 2018-10-15 | Solve the return type ambiguity (#1628) | Jimmi Holst Christensen | |
| Changed container and initializer syntax * <container> { ... } -> <container> . { ... } * <exrp> { ... } -> <expr> . { ...} | |||
| 2018-09-26 | fix variables which are pointers to packed struct fields | Andrew Kelley | |
| closes #1121 | |||
| 2018-09-26 | the last number in a packed ptr is host int bytes | Andrew Kelley | |
| See #1121 | |||
| 2018-09-26 | fix implicit casting to *c_void | Andrew Kelley | |
| closes #1588 also some small std lib changes regarding posix sockets and one doc typo fix | |||
| 2018-09-25 | fix self reference through fn ptr field crash | Andrew Kelley | |
| closes #1208 | |||
| 2018-09-24 | fix more bigint code paths and add tests | Andrew Kelley | |
| 2018-09-24 | fix comptime bitwise operations with negative values | Andrew Kelley | |
| closes #1387 closes #1529 | |||
| 2018-09-21 | stage1: unify 2 implementations of pointer deref | Andrew Kelley | |
| I found out there were accidentally two code paths in zig ir for pointer dereference. So this should fix a few bugs. closes #1486 | |||
| 2018-09-21 | fix comptime string concatenation ignoring slice bounds | Andrew Kelley | |
| closes #1362 | |||
| 2018-09-21 | fixups | Andrew Kelley | |
| 2018-09-21 | Merge branch 'BitByteOffsetOfs' of https://github.com/raulgrell/zig into ↵ | Andrew Kelley | |
| raulgrell-BitByteOffsetOfs | |||
| 2018-09-21 | fix comptime slice of pointer to array | Andrew Kelley | |
| closes #1565 | |||
| 2018-09-20 | better string literal caching implementation | Andrew Kelley | |
| We were caching the ConstExprValue of string literals, which works if you can never modify ConstExprValues. This premise is broken with `comptime var ...`. So I implemented an optimization in ConstExprValue arrays, where it stores a `Buf *` directly rather than an array of ConstExprValues for the elements, and then similar to array of undefined, it is expanded into the canonical form when necessary. However many operations can happen directly on the `Buf *`, which is faster. Furthermore, before a ConstExprValue array is expanded into canonical form, it removes itself from the string literal cache. This fixes the issue, because before an array element is modified it would have to be expanded. closes #1076 | |||
| 2018-09-18 | fix optional pointer to empty struct incorrectly being non-null | Andrew Kelley | |
| closes #1178 | |||
| 2018-09-18 | implementation for bitcasting extern enum type to c_int | Andrew Kelley | |
| closes #1036 | |||
| 2018-09-18 | fix implicit cast of packed struct field to const ptr | Andrew Kelley | |
| closes #966 | |||
| 2018-09-18 | fix @bytesToSlice on a packed struct | Andrew Kelley | |
| closes #1551 | |||
| 2018-09-17 | link to #1544 | Josh Wolfe | |
| 2018-09-17 | somewhat realistic usecase test for shifting strange integer sizes | Josh Wolfe | |
| 2018-09-17 | fix codegen for @intCast to u0 | Andrew Kelley | |
| 2018-09-17 | fix crash when bit shifting a u1 | Andrew Kelley | |
| 2018-09-17 | dereferencing a *u0 is comptime-known to be 0 | Andrew Kelley | |
| 2018-09-17 | allow extern structs to have stdcallcc function pointers | Andrew Kelley | |
| closes #1536 | |||
| 2018-09-16 | fix crash when pointer casting a runtime extern function | Andrew Kelley | |
| 2018-09-14 | fix alignment of structs | Andrew Kelley | |
| closes #1248 closes #1052 closes #1154 | |||
| 2018-09-14 | fix tagged union with all void payloads but meaningful tag | Andrew Kelley | |
| closes #1322 | |||
| 2018-09-13 | fix assertion failure on compile-time `@intToPtr` of function | Andrew Kelley | |
| 2018-09-13 | remove `this`. add `@This()`. | Andrew Kelley | |
| closes #1283 | |||
| 2018-09-13 | remove the scope parameter of setFloatMode | Andrew Kelley | |
| also document that scopes inherit this value. See #367 See #1283 | |||
| 2018-09-13 | fix tagged union with only 1 field tripping assertion | Andrew Kelley | |
| closes #1495 now the tag type of an enum with only 1 item is comptime_int. | |||
| 2018-09-11 | fix incorrect error union const value generation | Andrew Kelley | |
| closes #1442 zig needed to insert explicit padding into this structure before it got bitcasted. | |||
| 2018-09-11 | fix incorrect union const value generation | Andrew Kelley | |
| closes #1381 The union was generated as a 3 byte struct when it needed to be 4 bytes so that the packed struct bitcast could work correctly. Now it recognizes this situation and adds padding bytes to become the correct size so that it can fit into an array. | |||
| 2018-09-07 | C ABI: support returning large structs on x86_64 | Andrew Kelley | |
| also panic instead of emitting bad code for returning small structs See #1481 | |||
| 2018-09-07 | builtin functions: @byteOffsetOf and @bitOffsetOf | raulgrell | |
| 2018-09-05 | stage1: improve handling of generic fn proto type expr | Andrew Kelley | |
| closes #902 | |||
| 2018-09-05 | add compile error for using outer scoped runtime variables | Andrew Kelley | |
| from a fn defined inside it. closes #876 | |||
| 2018-09-05 | add test case for #726 | Andrew Kelley | |
| 2018-09-05 | allow comptime_int to @floatToInt | Andrew Kelley | |
| 2018-09-05 | stage1: fix tagged union with no payloads | Andrew Kelley | |
| closes #1478 | |||
| 2018-09-03 | fix incorrect value for inline loop | Andrew Kelley | |
| 09cc1dc66067f378 failed to handle mem_slot_index correctly closes #1436 | |||
| 2018-09-03 | ability to @ptrCast to *void | Andrew Kelley | |
| fixes #960 | |||
| 2018-08-28 | fix crash when var in inline loop has different types | Andrew Kelley | |
| closes #917 closes #845 closes #741 closes #740 | |||
| 2018-08-27 | minor fixups | Andrew Kelley | |
| 2018-08-27 | Allow implicit cast from *T and [*]T to ?*c_void | raulgrell | |
| 2018-08-27 | fix false negative determining if function is generic | Andrew Kelley | |
| This solves the smaller test case of #1421 but the other test case is still an assertion failure. | |||
