| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-01-27 | Merge branch 'master' into ir-clean-up-vars | Andrew Kelley | |
| 2020-01-27 | Merge branch 'fx-4274' of https://github.com/LemonBoy/zig into LemonBoy-fix-4274 | Andrew Kelley | |
| 2020-01-26 | fix compilation error | Andrew Kelley | |
| 2020-01-25 | Merge remote-tracking branch 'origin/master' into layneson-cpus_and_features | Andrew Kelley | |
| 2020-01-25 | fix memory profiling | Andrew Kelley | |
| 2020-01-25 | split IrInstruction into IrInst, IrInstSrc, IrInstGen | Andrew Kelley | |
| This makes it so that less memory is used for IR instructions, as well as catching bugs when one expected one kind of instruction and received the other. | |||
| 2020-01-23 | More error checking for unresolved TLDs | LemonBoy | |
| Closes #4274 | |||
| 2020-01-20 | improve `zig targets` | Andrew Kelley | |
| 2020-01-18 | Merge pull request #4222 from LemonBoy/eutwouwth | Andrew Kelley | |
| Prevent crash with empty non-exhaustive enum | |||
| 2020-01-18 | Fix edge case in tagName handling of unions | LemonBoy | |
| Closes #4226 | |||
| 2020-01-18 | Get rid of some dead logic | LemonBoy | |
| 2020-01-18 | Prevent crash with empty non-exhaustive enum | LemonBoy | |
| 2020-01-18 | Allow @tagName on enum literals | LemonBoy | |
| Closes #4214 | |||
| 2020-01-17 | Merge pull request #4191 from Vexu/non-exhaustive-enums | Andrew Kelley | |
| Implement non-exhaustive enums | |||
| 2020-01-16 | revert one part of ir get_elem_ptr analysis | Andrew Kelley | |
| this reverts one part of 4c3bfeca. it solves some behavior regressions but introduces new ones. This change was incorrect to make however, and this commit takes the code in a better direction. | |||
| 2020-01-16 | fix regression with optionals and globals | Andrew Kelley | |
| 2020-01-16 | fix regressions double implicit casting return ptr | Andrew Kelley | |
| 2020-01-16 | fix regression with inferred struct fields | Andrew Kelley | |
| 2020-01-16 | fix regressions in get_elem_ptr related to undefined | Andrew Kelley | |
| 2020-01-16 | fix implicit cast regression | Andrew Kelley | |
| 2020-01-16 | fix regression with var ptrs not being const | Andrew Kelley | |
| 2020-01-16 | fix regression in global const alignment | Andrew Kelley | |
| 2020-01-16 | zig ir.cpp details: remove the mem_slot mechanism | Andrew Kelley | |
| Previously, there was hacky code to deal with result locations and how they work with regards to comptime values and runtime values. In addition, there was a hacky "mem_slot" mechanism that managed the memory for local variables, and acted differently depending on comptime vs runtime situations. All that is deleted in this commit, and as a result, result locations code has one less complication. Importantly, this means that a comptime result location is now passed to a function when it is evaluated at comptime. This test causes many regressions, and some of the behavior tests are disabled (commented out) in this commit. Future commits will re-enable the tests before merging the branch. | |||
| 2020-01-16 | add struct field default value to typeinfo | Vexu | |
| 2020-01-16 | implement `@bitSizeOf` | Vexu | |
| 2020-01-16 | turn panics into compile errors, require at least 1 field in non-exhaustive enum | Vexu | |
| 2020-01-15 | small fixes | Vexu | |
| * error for '_' prong on exhaustive enum * todo panic for `@tagName` on non-exhaustive enum * don't require '_' field on tagged unions | |||
| 2020-01-15 | add is_exhaustive field to typeinfo | Vexu | |
| 2020-01-15 | implement non-exhaustive enums | Vexu | |
| 2020-01-14 | Make sure @export symbol name is not empty | LemonBoy | |
| 2020-01-13 | Validate switch range endpoints | LemonBoy | |
| 2020-01-12 | Fix @call being too eager to resolve the fn argument | LemonBoy | |
| Closes #4020 | |||
| 2020-01-12 | Propagate errors in for loop bodies | LemonBoy | |
| Closes #3819 | |||
| 2020-01-09 | Merge pull request #3955 from LemonBoy/fix-1528 | Andrew Kelley | |
| Pointer arithmetic affects the alignment factor | |||
| 2020-01-09 | New @export() handling | LemonBoy | |
| Use a struct as second parameter to be future proof (and also allows to specify default values for the parameters) Closes #2679 as it was just a matter of a few lines of code. | |||
| 2020-01-09 | Correct alignment calculation for runtime addends | LemonBoy | |
| 2020-01-08 | Propagate more failures upwards | LemonBoy | |
| Fixes #4112 | |||
| 2020-01-08 | Fix calculation of new alignment factor | LemonBoy | |
| 2020-01-08 | Pointer arithmetic affects the alignment factor | LemonBoy | |
| Closes #1528 | |||
| 2020-01-07 | Fix crash with unresolved loc | LemonBoy | |
| Fixes #4099 | |||
| 2020-01-07 | Fix crash in struct initializer evaluation | LemonBoy | |
| Closes #4100 | |||
| 2020-01-06 | Prevent bitCast to enum types | LemonBoy | |
| Stop the user from creating invalid enum values. | |||
| 2020-01-06 | fix regression with `@TypeInfo` | Andrew Kelley | |
| 2020-01-06 | remove stdcallcc, extern, nakedcc from stage1; zig fmt rewrites | Andrew Kelley | |
| 2020-01-06 | Merge branch 'cc-work' of https://github.com/LemonBoy/zig into LemonBoy-cc-work | Andrew Kelley | |
| 2020-01-03 | Correct evaluation of optional type alignment | LemonBoy | |
| The lazy logic was too oversimplified and produced a different result than the one computed later causing all kinds of problems. Closes #4013 | |||
| 2020-01-02 | Merge pull request #4027 from ziglang/fix-float-ops | Andrew Kelley | |
| fix float ops with respect to vectors | |||
| 2020-01-02 | fix comptime vector float ops and add test coverage | Andrew Kelley | |
| also rename `@ln` to `@log` to match libc convention. | |||
| 2020-01-02 | Implement Thiscall CC | LemonBoy | |
| 2020-01-02 | Implement the callconv() annotation | LemonBoy | |
