| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-09-25 | mv std/ lib/ | Andrew Kelley | |
| that's all this commit does. further commits will fix cli flags and such. see #2221 | |||
| 2019-03-02 | rename std lib files to new convention | Andrew Kelley | |
| 2019-02-08 | std.debug.assert: remove special case for test builds | Andrew Kelley | |
| Previously, std.debug.assert would `@panic` in test builds, if the assertion failed. Now, it's always `unreachable`. This makes release mode test builds more accurately test the actual code that will be run. However this requires tests to call `std.testing.expect` rather than `std.debug.assert` to make sure output is correct. Here is the explanation of when to use either one, copied from the assert doc comments: Inside a test block, it is best to use the `std.testing` module rather than assert, because assert may not detect a test failure in ReleaseFast and ReleaseSafe mode. Outside of a test block, assert is the correct function to use. closes #1304 | |||
| 2018-05-30 | run zig fmt on the codebase | Andrew Kelley | |
| 2018-05-26 | run zig fmt on some of the codebase | Andrew Kelley | |
| See #1003 | |||
| 2018-05-16 | convert more std lib files to postfix pointer deref | Andrew Kelley | |
| 2018-01-25 | syntax: functions require return type. remove `->` | Andrew Kelley | |
| The purpose of this is: * Only one way to do things * Changing a function with void return type to return a possible error becomes a 1 character change, subtly encouraging people to use errors. See #632 Here are some imperfect sed commands for performing this update: remove arrow: ``` sed -i 's/\(\bfn\b.*\)-> /\1/g' $(find . -name "*.zig") ``` add void: ``` sed -i 's/\(\bfn\b.*\))\s*{/\1) void {/g' $(find ../ -name "*.zig") ``` Some cleanup may be necessary, but this should do the bulk of the work. | |||
| 2018-01-17 | Add crypto internal test functions | Marc Tiehuis | |
