| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-10-26 | remove @minValue,@maxValue; add std.math.minInt,maxInt | Andrew Kelley | |
| closes #1466 closes #1476 | |||
| 2018-10-15 | Solve the return type ambiguity (#1628) | Jimmi Holst Christensen | |
| Changed container and initializer syntax * <container> { ... } -> <container> . { ... } * <exrp> { ... } -> <expr> . { ...} | |||
| 2018-10-09 | more efficient builtin library code generation | Andrew Kelley | |
| * introduce --disable-pic option which can generally be allowed to be the default. compiler_rt.a and builtin.a get this option when you build a static executable. * compiler_rt and builtin libraries are not built for build-lib --static * posix_spawn instead of fork/execv * disable the error limit on LLD. Fixes the blank lines printed | |||
| 2018-10-09 | support building static libraries | Andrew Kelley | |
| closes #1493 closes #54 | |||
| 2018-10-04 | refactor ir.cpp | Andrew Kelley | |
| Analysis functions no longer return `ZigType *`. Instead they return `IrInstruction *`. | |||
| 2018-09-30 | Fixes --emit asm on windows and makes C header file generation explicit. (#1612) | Sahnvour | |
| * build: only do codegen_link when emitting an actual binary. Fixes #1371 * build: only output C header file when explicitely asked to | |||
| 2018-09-27 | add dll export storage class where appropriate | Andrew Kelley | |
| closes #1443 | |||
| 2018-09-26 | the last number in a packed ptr is host int bytes | Andrew Kelley | |
| See #1121 | |||
| 2018-09-21 | Merge branch 'BitByteOffsetOfs' of https://github.com/raulgrell/zig into ↵ | Andrew Kelley | |
| raulgrell-BitByteOffsetOfs | |||
| 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 | Merge remote-tracking branch 'origin/master' into llvm7 | Andrew Kelley | |
| 2018-09-17 | fix codegen for @intCast to u0 | Andrew Kelley | |
| 2018-09-16 | Merge remote-tracking branch 'origin/master' into llvm7 | 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 | stage1: put test output artifact back in zig-cache folder | Andrew Kelley | |
| close #1508 | |||
| 2018-09-11 | rename --enable-timing-info to -ftime-report to match clang | Andrew Kelley | |
| and have it print llvm's internal timing info | |||
| 2018-09-11 | bring back zig-cache | Andrew Kelley | |
| we need somewhere to put .o files and leave them while the user executes their program, so that stack traces on MacOS can find the .o files and get at the DWARF info. if we try to clean up old global tmp dir files, first of all that's a hard and complicated problem, and secondly it's not clear how that is better than dumping the .o file inside zig-cache locally. | |||
| 2018-09-11 | stage1: clean up timing report in test mode | Andrew Kelley | |
| 2018-09-11 | fix docgen tests | Andrew Kelley | |
| 2018-09-11 | Merge remote-tracking branch 'origin/master' into stage1-caching | Andrew Kelley | |
| 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-11 | ability to disable cache. off by default except for... | Andrew Kelley | |
| ...zig run, zig build, compiler_rt.a, and builtin.a | |||
| 2018-09-10 | stage1 caching: zig no longer uses zig-cache | Andrew Kelley | |
| 2018-09-10 | caching is working | Andrew Kelley | |
| * add almost all the input parameter state to the hash - missing items are the detected MSVC installation on Windows and detected libc installation on POSIX - also missing are C files and .h files that libclang finds * artifacts are created in global cache directory instead of zig-cache. - exception: builtin.zig is still in zig-cache * zig run uses the new cache correctly * zig run uses execv on posix systems | |||
| 2018-09-10 | Merge remote-tracking branch 'origin/master' into llvm7 | Andrew Kelley | |
| 2018-09-10 | stage1: always optimize blake and softfloat even in debug mode | Andrew Kelley | |
| 2018-09-09 | basic compiler id hash working | Andrew Kelley | |
| 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 | C ABI: support medium size structs & unions for x86_64 params | Andrew Kelley | |
| See #1481 | |||
| 2018-09-07 | stage1: function to classify x86_64 abi types | Andrew Kelley | |
| 2018-09-07 | builtin functions: @byteOffsetOf and @bitOffsetOf | raulgrell | |
| 2018-09-07 | add C ABI test for big unions | Andrew Kelley | |
| 2018-09-07 | stage1: refactor variable inits to use c abi fn walk | Andrew Kelley | |
| 2018-09-07 | stage1: refactor param vars for C ABI | Andrew Kelley | |
| 2018-09-07 | stage1: refactor fn type analysis to use C ABI walk fn | Andrew Kelley | |
| 2018-09-07 | stage1: c abi for big struct works | Andrew Kelley | |
| 2018-09-06 | add C ABI tests | Andrew Kelley | |
| 2018-09-06 | stage1: compile error instead of incorrect code | Andrew Kelley | |
| for unimplemented C ABI See #1411 See #1481 | |||
| 2018-09-05 | assume evenly divided base64 | Andrew Kelley | |
| 2018-09-05 | start creating a hash of input parameters | Andrew Kelley | |
| See #1416 | |||
| 2018-09-05 | stage1: rename more TypeTableEntry types to ZigType | Andrew Kelley | |
| 2018-09-05 | stage1: rename VariableTableEntry to ZigVar | Andrew Kelley | |
| 2018-09-05 | stage1: rename FnTableEntry to ZigFn | Andrew Kelley | |
| 2018-09-05 | stage1: rename TypeTableEntry to ZigType | Andrew Kelley | |
| 2018-09-05 | stage1: fix tagged union with no payloads | Andrew Kelley | |
| closes #1478 | |||
