| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-12-16 | expose the ability to disable C sanitization | Andrew Kelley | |
| and disable C sanitization when building libcs. Empirically, they seem to trigger undef-sanitization. | |||
| 2019-12-16 | use -fsanitize=undefined for C code in safe build modes | Andrew Kelley | |
| closes #3569 | |||
| 2019-12-15 | improve extern enum | Vexu | |
| 2019-12-15 | Generate the fn pointers into the correct address space | LemonBoy | |
| Fixes #3645 | |||
| 2019-12-15 | Make sure the address is aligned for intToPtr ops | LemonBoy | |
| Closes #773 | |||
| 2019-12-13 | Merge pull request #3896 from Vexu/translate-c-2 | Andrew Kelley | |
| Translate-c self-hosted var decl and remove translate mode | |||
| 2019-12-13 | revert removal of translate mode in stage 1 | Vexu | |
| 2019-12-12 | un-special-case startup code in the std lib | Andrew Kelley | |
| Previously, the compiler had special logic to determine whether to include the startup code, which was in `std/special/start.zig`. Now, the file is moved to `std/start.zig`, and there is no special logic in the compiler. Instead, the standard library unconditionally imports the `start.zig` file, which then has a `comptime` block that does the logic of determining what, if any, start symbols to export. Instead of `start.zig` being in its own special package, it is just another normal file that is part of the standard library. `std.builtin.TestFn` is now part of the standard library rather than specially generated by the compiler. | |||
| 2019-12-12 | remove concept of translate mode | Vexu | |
| 2019-12-10 | Replace typeOf with TypeOf in stage0 | Robin Voetter | |
| 2019-12-09 | remove var args from the language | Andrew Kelley | |
| closes #208 | |||
| 2019-12-08 | tuple detection does not require AST node | Andrew Kelley | |
| 2019-12-06 | Merge pull request #3856 from ziglang/builtin-call | Andrew Kelley | |
| introduce `@call` and remove other builtin calls | |||
| 2019-12-06 | remove `@inlineCall` from zig | Andrew Kelley | |
| 2019-12-05 | private linkage for unnamed internal constants | Andrew Kelley | |
| 2019-12-05 | remove `@noInlineCall` from zig | Andrew Kelley | |
| 2019-12-05 | implement `@call` | Andrew Kelley | |
| closes #3732 | |||
| 2019-12-03 | fix `zig builtin` | Andrew Kelley | |
| 2019-12-03 | WinMainCRTStartup implies defaulting to console subsystem | Andrew Kelley | |
| 2019-12-03 | activate start code when pub main exists | Andrew Kelley | |
| and rename LinkType->LinkMode, OutType->OutputMode | |||
| 2019-12-03 | correct caching and add test for missing fn name | Vexu | |
| 2019-12-03 | move more startup code to std lib | Vexu | |
| 2019-12-02 | Accept comptime-known expression for asm | LemonBoy | |
| 2019-12-01 | inline ConstGlobalRefs into ZigValue | Andrew Kelley | |
| Having ConstGlobalRefs be a pointer in ZigValue was a hack that caused plenty of bugs. It was used to work around difficulties in type coercing array values into slices. However, after #3787 is merged, array values no longer type coerce into slices, and so this provided an opportunity to clean up the code. This has the nice effect of reducing stage1 peak RAM usage during the std lib tests from 3.443 GiB to 3.405 GiB (saving 39 MiB). There is one behavior test failing in this branch, which I plan to debug after merging #3787. | |||
| 2019-11-30 | Merge pull request #3284 from Sahnvour/export_variables | Andrew Kelley | |
| Improved support for exporting variables | |||
| 2019-11-25 | stage1: consolodate interning | Michael Dusan | |
| - merge const_void_val → intern.x_void - move const_zero_byte → intern.zero_byte - wrap intern access | |||
| 2019-11-25 | const interning for 1-possible-value types | Michael Dusan | |
| 2019-11-25 | unembed ZigValue from IrInstruction | Michael Dusan | |
| 2019-11-25 | rename ConstExprValue → ZigValue | Michael Dusan | |
| 2019-11-24 | Merge remote-tracking branch 'origin/master' into null-terminated-pointers | Andrew Kelley | |
| 2019-11-24 | gen-h: register the need for stdbool.h and stdint.h when exploring types ↵ | Sahnvour | |
| recursively otherwise they wouldn't be included when only a struct contains them | |||
| 2019-11-24 | gen-h: add a pass for exported variables | Sahnvour | |
| 2019-11-24 | refactored gen_h_file to improve maintainability and output | Sahnvour | |
| - extracted functions - factorised extern "C" into a block containing all function prototypes instead of writing macros all over the place - using intermediate buffers instead of writing directly to the output file | |||
| 2019-11-24 | all tests passing | Andrew Kelley | |
| 2019-11-23 | update the stage1 implementation to the new proposal | Andrew Kelley | |
| See #3731 | |||
| 2019-11-21 | improve broken llvm module error message | Vexu | |
| 2019-11-21 | string literals are now null terminated | Andrew Kelley | |
| this also deletes C string literals from the language, and then makes the std lib changes and compiler changes necessary to get the behavior tests and std lib tests passing again. | |||
| 2019-11-21 | add null terminated pointers and arrays to self-hosted | Andrew Kelley | |
| as well as `@typeInfo` and `@Type` | |||
| 2019-11-14 | Update discriminant value also for zero-sized unions | LemonBoy | |
| Fixes #3681 | |||
| 2019-11-14 | rework layout of struct type fields | Andrew Kelley | |
| This removes the remaining hack in the implementation of anonymous struct literals, and they can now therefore now have greater than 16 fields/elements. | |||
| 2019-11-14 | rework comptime struct value layout, removing 1/2 hacks | Andrew Kelley | |
| in the implementation of anonymous struct literals | |||
| 2019-11-13 | Merge pull request #3675 from Vexu/atomic-store | Andrew Kelley | |
| Add @atomicStore builtin | |||
| 2019-11-12 | fix anonymous struct literal assigned to variable | Andrew Kelley | |
| closes #3667 | |||
| 2019-11-12 | fn parameters participate in result location semantics | Andrew Kelley | |
| See #3665 | |||
| 2019-11-13 | add @atomicStore builtin | Vexu | |
| 2019-11-11 | fix unresolved type making it to codegen | Andrew Kelley | |
| found this trying to build oxid | |||
| 2019-11-08 | introduce `@as` builtin for type coercion | Andrew Kelley | |
| This commit also hooks up type coercion (previously called implicit casting) into the result location mechanism, and additionally hooks up variable declarations, maintaining the property that: var a: T = b; is semantically equivalent to: var a = @as(T, b); See #1757 | |||
| 2019-11-07 | correctly use llvm undef in release modes | Shawn Landden | |
| 2019-11-07 | Fix ptrCast of array references to fn | LemonBoy | |
| Closes #3607 | |||
| 2019-11-05 | implement storing vector elements via runtime index | Andrew Kelley | |
