| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2017-10-15 | fix windows argument parsing | Andrew Kelley | |
| 2017-10-06 | fix compiler crash when invalid value used | Andrew Kelley | |
| closes #527 | |||
| 2017-10-03 | add @setAlignStack builtin | Andrew Kelley | |
| 2017-09-28 | Allow 128-bit hex float literals | Marc Tiehuis | |
| Closes #499. | |||
| 2017-09-17 | add test for struct with invalid field | Andrew Kelley | |
| see #468 | |||
| 2017-09-10 | fix not verifying GlobalLinkage and AtomicOrder types | Andrew Kelley | |
| thanks to aep4Ayai on IRC | |||
| 2017-09-09 | more compile errors for non-const variables of things | Andrew Kelley | |
| closes #456 | |||
| 2017-09-05 | add OpaqueType builtin | Andrew Kelley | |
| closes #326 | |||
| 2017-08-31 | setEvalBranchQuota must be called from top of comptime stack | Andrew Kelley | |
| 2017-08-31 | allow array literals to have size and fix comptime bug | Andrew Kelley | |
| 2017-08-30 | align syntax: align(4) instead of align 4 | Andrew Kelley | |
| closes #37 | |||
| 2017-08-30 | compile error for not-aligned-enough pointer to cmpxchg | Andrew Kelley | |
| See #37 | |||
| 2017-08-30 | add tests for function alignment handling | Andrew Kelley | |
| See #37 | |||
| 2017-08-29 | more alignment improvements | Andrew Kelley | |
| * add alignment capability for fn protos * add @alignCast * fix some ast rendering code * fix some ir rendering code * add error for pointer cast increasing alignment * update allocators in std to correctly align See #37 | |||
| 2017-08-29 | fix tests | Andrew Kelley | |
| 2017-08-29 | ptrCast gives compile error for increasing alignment | Andrew Kelley | |
| See #37 | |||
| 2017-08-29 | prevent implicitly increasing pointer alignment | Andrew Kelley | |
| See #37 | |||
| 2017-08-29 | introduce align keyword | Andrew Kelley | |
| * remove `@setGlobalAlign` * add align keyword for setting alignment on functions and variables. * loads and stores use alignment from pointer * memcpy, memset use alignment from pointer * add syntax for pointer alignment * slices can have volatile * add u2, i2 primitives * ignore preferred align and use abi align everywhere * back to only having alignOf builtin. preferredAlignOf is too tricky to be useful. See #432. Partial revert of e726925e802eddab53cbfd9aacbc5eefe95c356f. See #37 | |||
| 2017-08-19 | add compile error for globally shadowing a primitive type | Andrew Kelley | |
| closes #423 | |||
| 2017-08-19 | bit shifting safety | Andrew Kelley | |
| * add u3, u4, u5, u6, u7 and i3, i4, i5, i6, i7 * shift operations shift amount parameter type is integer with log2 bit width of other param - This enforces not violating undefined behavior on shift amount >= bit width with the type system * clean up math.log, math.ln, math.log2, math.log10 closes #403 | |||
| 2017-08-09 | more intuitive left shift and right shift operators | Andrew Kelley | |
| Before: * << is left shift, not allowed to shift 1 bits out * <<% is left shift, allowed to shift 1 bits out * >> is right shift, allowed to shift 1 bits out After: * << is left shift, allowed to shift 1 bits out * >> is right shift, allowed to shift 1 bits out * @shlExact is left shift, not allowed to shift 1 bits out * @shrExact is right shift, not allowed to shift 1 bits out Closes #413 | |||
| 2017-08-08 | add ptrToInt builtin, remove usize(ptr) cast | Andrew Kelley | |
| closes #415 | |||
| 2017-08-07 | add ability to explicitly cast float to integer | Andrew Kelley | |
| closes #414 | |||
| 2017-08-07 | Correct floating-point literal allowed ranges | Marc Tiehuis | |
| The exponent range for floating-point values is [-1022, 1023]. Fixes #399. | |||
| 2017-08-05 | fix initializing undefined and crash when casting to invalid type | Andrew Kelley | |
| closes #408 | |||
| 2017-06-14 | progress toward windows hello world working | Andrew Kelley | |
| 2017-06-03 | compileError builtin includes "referenced by" notes | Andrew Kelley | |
| to help track down the cause closes #278 | |||
| 2017-05-26 | fix segfault with array of generic functions | Andrew Kelley | |
| closes #377 | |||
| 2017-05-25 | fix segfault with array of variadic functions | Andrew Kelley | |
| closes #377 | |||
| 2017-05-21 | add compile error for goto leaving defer expression | Andrew Kelley | |
| closes #284 | |||
| 2017-05-21 | add error for break/continue exiting defer expression | Andrew Kelley | |
| See #284 | |||
| 2017-05-21 | fix compiler crash when indexing types | Andrew Kelley | |
| closes #376 | |||
| 2017-05-20 | add setFloatMode builtin and std.math.floor | Andrew Kelley | |
| * skip installing std/rand_test.zig as it's not needed beyond running the std lib tests * add std.math.floor function * add setFloatMode builtin function to choose between builtin.FloatMode.Optimized (default) and builtin.FloatMode.Strict (Optimized is equivalent to -ffast-math in gcc) | |||
| 2017-05-19 | change slicing syntax from ... to .. | Andrew Kelley | |
| See #359 | |||
| 2017-05-16 | add compile error for compile-time integer cast truncating bits | Andrew Kelley | |
| closes #371 | |||
| 2017-05-14 | add compile error for comptime division by zero | Andrew Kelley | |
| closes #372 | |||
| 2017-05-10 | add compile error for casting negative value to... | Andrew Kelley | |
| ...unsigned integer at compile-time | |||
| 2017-05-07 | detect duplicate switch value even when else prong present | Andrew Kelley | |
| closes #43 | |||
| 2017-05-07 | switch expression - add compile errors | Andrew Kelley | |
| * for duplicate integer value * for missing integer values * for missing else prong see #43 | |||
| 2017-05-06 | allow division and remainder operators sometimes | Andrew Kelley | |
| when the values are comptime known and the result would be the same, allow `/` and `%` for signed integers and floats. closes #365 | |||
| 2017-05-06 | builtin functions for division and remainder division | Andrew Kelley | |
| * add `@divTrunc` and `@divFloor` functions * add `@rem` and `@mod` functions * add compile error for `/` and `%` with signed integers * add `.bit_count` for float primitive types closes #217 | |||
| 2017-05-04 | add compile error when unable to inline a function | Andrew Kelley | |
| See #38 | |||
| 2017-05-04 | implement while for nullables and error unions | Andrew Kelley | |
| See #357 | |||
| 2017-05-03 | change while syntax | Andrew Kelley | |
| Old: ``` while (condition; expression) {} ``` New: ``` while (condition) : (expression) {} ``` This is in preparation to allow nullable and error union types as the condition. See #357 | |||
| 2017-05-03 | remove test and try expressions in favor of if expressions | Andrew Kelley | |
| See #357 | |||
| 2017-05-03 | add compile error for shadowing variable | Andrew Kelley | |
| closes #360 | |||
| 2017-05-03 | zig build: cache_root is relative to build_root | Andrew Kelley | |
| 2017-05-01 | `@import("builtin")` instead of `@compileVar` | Andrew Kelley | |
| See #226 Closes #220 | |||
| 2017-04-27 | phi instruction retains stack ptr hint | Andrew Kelley | |
| 2017-04-27 | add compile error for returning local variable address | Andrew Kelley | |
| closes #344 | |||
