| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-08-24 | remove redundant license headers from zig standard library | Andrew Kelley | |
| We already have a LICENSE file that covers the Zig Standard Library. We no longer need to remind everyone that the license is MIT in every single file. Previously this was introduced to clarify the situation for a fork of Zig that made Zig's LICENSE file harder to find, and replaced it with their own license that required annual payments to their company. However that fork now appears to be dead. So there is no need to reinforce the copyright notice in every single file. | |||
| 2021-08-13 | ComptimeStringMap: expose kvs array in returned struct | Ryan Liptak | |
| Allows for iterating over the kvs when constructing with a list literal instead of having to create a separate array to pass into ComptimeStringMap in order to maintain access to the values. For example when making a set, before in order to loop over the kvs you'd have to do something like: const MyKV = struct { @"0": []const u8 }; const kvs: []const MyKV = &[_]MyKV{ .{ @"0" = "foo"}, .{ @"0" = "bar" } }; const map = ComptimeStringMap(void, kvs); for (kvs) |kv| {} whereas now it's possible to do: const map = ComptimeStringMap(void, .{ .{"foo"}, .{"bar"} }); for (map.kvs) |kv| {} | |||
| 2021-06-21 | fix code broken from previous commit | Jacob G-W | |
| 2021-06-15 | std: don't reference non-existant ComptimeStringHashMap type | Björn Linse | |
| 2021-05-08 | std: update usage of std.testing | Veikka Tuominen | |
| 2020-12-31 | Year++ | Frank Denis | |
| 2020-08-20 | add license header to all std lib files | Andrew Kelley | |
| add SPDX license identifier copyright ownership is zig contributors | |||
| 2020-07-11 | run zig fmt on std lib and self hosted | Vexu | |
| 2020-06-08 | std.sort: give comparator functions a context parameter | Andrew Kelley | |
| 2020-05-26 | std.ComptimeStringMap: Add support for void value type (i.e. a set) | Ryan Liptak | |
| 2020-05-26 | Add std.ComptimeStringMap | Ryan Liptak | |
