| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-04-24 | stage1: Prevent the creation of illegal ptr types | LemonBoy | |
| Closes #5140 | |||
| 2020-04-23 | stage1: fix crash on accessing an array of size zero with runtime index | xackus | |
| 2020-04-18 | update std lib to decls being disallowed between fields | Vexu | |
| 2020-04-18 | disallow declarations between container fields | Vexu | |
| 2020-04-18 | fix typeInfo tests | Vexu | |
| 2020-04-17 | add error for non-exter variadic functions | Vexu | |
| 2020-04-17 | fix missing compile errors on builtin cast functions | Vexu | |
| 2020-04-14 | Shift error message now says "fixed-width integer type" instead of just ↵ | foobles | |
| "integer type" (#5028) * error message of ir_analyze_bit_shift now more accurate/specific * fixed compile error test to match bit shift error message | |||
| 2020-04-09 | add error message for invalid assignment | Vexu | |
| 2020-04-08 | move array and struct const checks to more appropriate places | Vexu | |
| 2020-04-08 | fix missing compile error on assign to slice and array parameters | Vexu | |
| 2020-04-07 | fix broken tests | Vexu | |
| 2020-04-07 | fix missing const on address of literal | Vexu | |
| 2020-04-03 | add compiler-error test: coerce | Michael Dusan | |
| Issue fixed by an unknown commit. closes #4207 | |||
| 2020-04-03 | stage1: add compile errors for sentinel slicing | Michael Dusan | |
| closes #3963 | |||
| 2020-04-01 | add compile-error test: bitcast | Michael Dusan | |
| Issue fixed by an unknown commit. closes #3818 | |||
| 2020-04-01 | ir: Fix comparison of ?T values | LemonBoy | |
| The code assumed that every ?T had a pointer child type T, add some more checks to make sure the type is effectively a pointer. Closes #4789 | |||
| 2020-04-01 | Fix some nullptr dereferences on arm-linux-musleabhif | Timon Kruiper | |
| 2020-03-31 | add compile-error test for #2687 | Michael Dusan | |
| Issue fixed by an unknown commit. closes #2687 | |||
| 2020-03-26 | update compile error tests | Andrew Kelley | |
| 2020-03-23 | Merge pull request #4741 from momumi/master | Andrew Kelley | |
| allow `_` separators in number literals (stage 1) | |||
| 2020-03-21 | ir: Disallow comparison between enum literal and untagged enum | LemonBoy | |
| Closes #4770 | |||
| 2020-03-21 | Address review comments | LemonBoy | |
| 2020-03-19 | fix compile error for reading past end of pointer casted array | Andrew Kelley | |
| 2020-03-19 | test & docs fixups to work with new semantics | Andrew Kelley | |
| 2020-03-15 | add more test cases for invalid number literals | momumi | |
| 2020-03-15 | make parsing `0.0_e1` an error | momumi | |
| 2020-03-15 | allow `_` separators in number literals (stage 1) | momumi | |
| * Underscores `_` may be placed between two digits in a int/float literal * Consecutive underscores are not allowed * Fixed parsing bug in exponents of hexadecimal float literals. Exponents should always be base 10, but hex characters would be parsed inside the exponent and everything after them would be ignored. eg: `0x1.0p1ab1` would be parsed as `0x1.0p1`. | |||
| 2020-03-12 | Merge pull request #4707 from Vexu/small-atomics | Andrew Kelley | |
| Support atomic operations with bools and non power of two integers | |||
| 2020-03-12 | support `@atomicRmw` at comptime | Vexu | |
| 2020-03-10 | use atomic bools in std lib | Vexu | |
| 2020-03-10 | ir: Implement more safety checks for shl/shr | LemonBoy | |
| The checks are now valid on types whose size is not a power of two. Closes #2096 | |||
| 2020-03-09 | Merge pull request #4590 from xackus/fix-4587 | Andrew Kelley | |
| fix failed assert on generic fn opaque return type | |||
| 2020-03-09 | better error messages and more tests | xackus | |
| 2020-03-09 | add LemonBoy's test | Vexu | |
| 2020-03-09 | implement noasync scopes | Vexu | |
| 2020-03-08 | ir: Create usize result_loc for array subscript expr | LemonBoy | |
| Allow the subscript expression to infer the resulting type. Closes #4169 | |||
| 2020-03-08 | ir: Prevent crash in compiler error | LemonBoy | |
| Anonymous containers have no struct_field->type AstNode set, let's always use the field node itself to make the error messages consistent. Closes #4691 | |||
| 2020-03-08 | fix failed assert on generic fn opaque return type | xackus | |
| 2020-03-08 | Fix grammar in error message | daurnimator | |
| 2020-03-04 | ir: Implement @TypeOf with multiple arguments | LemonBoy | |
| Closes #439 | |||
| 2020-02-28 | separate std.Target and std.zig.CrossTarget | Andrew Kelley | |
| Zig now supports a more fine-grained sense of what is native and what is not. Some examples: This is now allowed: -target native Different OS but native CPU, default Windows C ABI: -target native-windows This could be useful for example when running in Wine. Different CPU but native OS, native C ABI. -target x86_64-native -mcpu=skylake Different C ABI but otherwise native target: -target native-native-musl -target native-native-gnu Lots of breaking changes to related std lib APIs. Calls to getOs() will need to be changed to getOsTag(). Calls to getArch() will need to be changed to getCpuArch(). Usage of Target.Cross and Target.Native need to be updated to use CrossTarget API. `std.build.Builder.standardTargetOptions` is changed to accept its parameters as a struct with default values. It now has the ability to specify a whitelist of targets allowed, as well as the default target. Rather than two different ways of collecting the target, it's now always a string that is validated, and prints helpful diagnostics for invalid targets. This feature should now be actually useful, and contributions welcome to further improve the user experience. `std.build.LibExeObjStep.setTheTarget` is removed. `std.build.LibExeObjStep.setTarget` is updated to take a CrossTarget parameter. `std.build.LibExeObjStep.setTargetGLibC` is removed. glibc versions are handled in the CrossTarget API and can be specified with the `-target` triple. `std.builtin.Version` gains a `format` method. | |||
| 2020-02-28 | update std lib to new Target API | Andrew Kelley | |
| 2020-02-27 | ir: Robust checking for init expr type | LemonBoy | |
| Closes #3979 | |||
| 2020-02-26 | ir: Allow empty inferred error sets | LemonBoy | |
| Closes #4564 | |||
| 2020-02-26 | fix `@tagName` on extern and non-exhaustive enums | Vexu | |
| 2020-02-25 | ir: Various fixes for comptime ptr handling | LemonBoy | |
| * Correctly fold ptrToInt on optional types * Generate null as ConstPtrSpecialNull in intToPtr * Correctly stop ptrToInt on ?*T where T is zero-sized Closes #4535 | |||
| 2020-02-25 | remove `@IntType` and `@ArgType` (mostly) from the compiler | Vexu | |
| 2020-02-24 | remove uses of `@ArgType` and `@IntType` | Vexu | |
| 2020-02-24 | remove usages of `@typeId`, `@memberCount`, `@memberName` and `@memberType` | Vexu | |
