| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-07-07 | expose glibc version in builtin | Andrew Kelley | |
| 2019-07-07 | ability to target any glibc version | Andrew Kelley | |
| 2019-07-03 | add -ffunction-sections arg when building C objects | Andrew Kelley | |
| the other changes in this commit are minor tidying up | |||
| 2019-07-03 | Merge branch 'function-sections' of https://github.com/timonkruiper/zig into ↵ | Andrew Kelley | |
| timonkruiper-function-sections | |||
| 2019-07-03 | Merge branch 'comptime-union-init' of https://github.com/rbscott/zig into ↵ | Andrew Kelley | |
| rbscott-comptime-union-init | |||
| 2019-07-02 | Merge branch 'has-field' of https://github.com/shawnl/zig into shawnl-has-field | Andrew Kelley | |
| 2019-07-02 | print dir name on failure to write to cache dir | Andrew Kelley | |
| closes #2429 | |||
| 2019-07-02 | improved logic on whether to include start files | Andrew Kelley | |
| 2019-07-02 | Added ZigLLVMCreateTargetMachine and pass function-sections flag | Timon Kruiper | |
| Also added extra cache line Added the ZigLVVMCreateTargetMachine to self hosted zig code | |||
| 2019-07-01 | Added function-section functionality | Timon Kruiper | |
| 2019-06-28 | rename std/special/bootstrap.zig to std/special/start.zig | Andrew Kelley | |
| 2019-06-27 | fixups | Andrew Kelley | |
| * better detection for already seen packages * "root" instead of "@root" | |||
| 2019-06-27 | Merge branch 'root-import' of https://github.com/emekoi/zig into ↵ | Andrew Kelley | |
| emekoi-root-import | |||
| 2019-06-26 | fix incorrectly omitting variable declarations | Andrew Kelley | |
| in non-debug modes | |||
| 2019-06-26 | Merge remote-tracking branch 'origin/master' into copy-elision-3 | Andrew Kelley | |
| 2019-06-26 | all tests passing on linux | Andrew Kelley | |
| 2019-06-25 | fix union init with void payload | Andrew Kelley | |
| all std lib tests passing now | |||
| 2019-06-24 | align (vector -> array) store to result location | Michael Dusan | |
| 2019-06-22 | elide redundant safety check when switching on tagged unions | Andrew Kelley | |
| 2019-06-22 | stage1: add @sin @cos @exp @exp2 @ln @log2 @log10 @fabs @floor @ceil @trunc ↵ | Shawn Landden | |
| @round and expand @sqrt This revealed that the accuracy of ln is not as good as the current algorithm in musl and glibc, and should be ported again. v2: actually include tests v3: fix reversal of in and out arguments on f128M_sqrt() add test for @sqrt on comptime_float do not include @nearbyInt() until it works on all targets. | |||
| 2019-06-21 | fix extern functions returning byval structs | Andrew Kelley | |
| 2019-06-20 | fix coroutines | Andrew Kelley | |
| 2019-06-19 | fix double getelementptr of runtime global | Andrew Kelley | |
| 2019-06-19 | Merge remote-tracking branch 'origin/master' into copy-elision-3 | Andrew Kelley | |
| 2019-06-19 | fix optional pointer to size zero struct | Andrew Kelley | |
| 2019-06-19 | fix comptime test error for empty error set | Andrew Kelley | |
| 2019-06-19 | fix extraneous nested union field instruction | Andrew Kelley | |
| 2019-06-19 | fix comptime modification of const struct field | Andrew Kelley | |
| 2019-06-19 | stage1: add support for @mulAdd fused-multiply-add for floats and vectors of ↵ | Shawn Landden | |
| floats Not all of the softfloat library is being built.... Vector support is very buggy at the moment, but should work when the bugs are fixed. (as I had the same code working with another vector function, that hasn't been merged yet). | |||
| 2019-06-18 | back to many behavioral tests passing | Andrew Kelley | |
| 2019-06-17 | Remove duplicate exe name with zig run | Jonathan Marler | |
| 2019-06-17 | inferred comptime values rather than elided scopes | Andrew Kelley | |
| because of this example: ```zig export fn entry(b: bool) usize { var runtime = [1]i32{3}; comptime var i: usize = 0; inline while (i < 2) : (i += 1) { const result = if (i == 0) [1]i32{2} else runtime; } comptime { return i; } } ``` The problem is that the concept of "resetting" a result location, introduced in the previous commit, cannot handle elision scopes. This concept is inherently broken with inline loops. | |||
| 2019-06-15 | better result location handling of inline loops | Andrew Kelley | |
| 2019-06-15 | better result location semantics with optionals and return locations | Andrew Kelley | |
| somewhere along this branch, #1901 has been fixed. | |||
| 2019-06-15 | Merge remote-tracking branch 'origin/master' into copy-elision-3 | Andrew Kelley | |
| 2019-06-14 | standard library integrates with knowledge of stripped debug info | Andrew Kelley | |
| 2019-06-14 | expose builtin.strip_debug_info | Andrew Kelley | |
| zig code now can be made aware that it will not have any debug information available at runtime. | |||
| 2019-06-14 | fix `@export` for arrays not respecting the symbol name | Andrew Kelley | |
| Previously, the symbol name parameter of `@export` would be ignored for variables, and the variable name would be used for the symbol name. Now it works as expected. See #2679 | |||
| 2019-06-14 | fix peer result location with error code and payload | Andrew Kelley | |
| 2019-06-11 | fixed infinite loop when caching packages | emekoi | |
| 2019-06-11 | made root package available to itself | emekoi | |
| 2019-06-11 | made root package available to all other packages | emekoi | |
| 2019-06-11 | fix returning scalar values | Andrew Kelley | |
| ```zig export fn entry1() i32 { return bar(); } ``` ```llvm define i32 @entry1() #2 !dbg !35 { Entry: %0 = call fastcc i32 @bar(), !dbg !39 ret i32 %0, !dbg !41 } ``` | |||
| 2019-06-11 | fix `@bitCast` semantics when there is no parent result loc | Andrew Kelley | |
| 2019-06-11 | fix struct and array init when result casted to anyerror!?T | Andrew Kelley | |
| 2019-06-11 | fix implicit casting return value struct/arary init to optional | Andrew Kelley | |
| 2019-06-11 | fix comptime function calls | Andrew Kelley | |
| 2019-06-10 | remove the final legacy stack allocation | Andrew Kelley | |
| 2019-06-10 | use result loc for ref instruction | Andrew Kelley | |
| 2019-06-10 | result location semantics for vector to array | Andrew Kelley | |
| ```zig export fn entry() void { var x: @Vector(4, i32) = undefined; var y: [4]i32 = x; } ``` ```llvm define void @entry() #2 !dbg !35 { Entry: %x = alloca <4 x i32>, align 16 %y = alloca [4 x i32], align 4 %0 = bitcast <4 x i32>* %x to i8*, !dbg !47 call void @llvm.memset.p0i8.i64(i8* align 16 %0, i8 -86, i64 16, i1 false), !dbg !47 call void @llvm.dbg.declare(metadata <4 x i32>* %x, metadata !39, metadata !DIExpression()), !dbg !47 %1 = load <4 x i32>, <4 x i32>* %x, align 16, !dbg !48 %2 = bitcast [4 x i32]* %y to <4 x i32>*, !dbg !48 store <4 x i32> %1, <4 x i32>* %2, align 16, !dbg !48 call void @llvm.dbg.declare(metadata [4 x i32]* %y, metadata !45, metadata !DIExpression()), !dbg !49 ret void, !dbg !50 } ``` | |||
