aboutsummaryrefslogtreecommitdiff
path: root/lib/std/rb.zig
AgeCommit message (Collapse)Author
2020-09-29move std.rb to the standard library orphanageAndrew Kelley
https://github.com/ziglang/std-lib-orphanage/ This code is not used by anything else in the standard library or by the compiler or any of its tools and therefore it's a great candidate to be maintained by a third party.
2020-08-20add license header to all std lib filesAndrew Kelley
add SPDX license identifier copyright ownership is zig contributors
2020-01-30rb: fix rb.Node.getLast() that never workedShawn Landden
2020-01-19rb: type Tree.sort with SortErrorShawn Landden
2020-01-19rb: add sort() that re-sorts tree with new compare functionShawn Landden
You can also specify the same compare function, but after updating the context that the function will use (connected to the rb.Tree) before.
2020-01-19rb: *breaking* make API thread-safeShawn Landden
use @fieldParentPtr to access your context fields, which lie if you struct that contains a rb.Tree member (without a pointer). Also simplifies the init() function so rb.Tree can be initialized in a single line, without having to use "undefined".
2020-01-19rb: just use @include("std")Shawn Landden
we already have to use --override-std-dir when running std tests, and having it this way makes it much easier to run just the tests of this file.
2020-01-01std.mem.compare: breaking API changesAndrew Kelley
* `std.mem.Compare` is now `std.math.Order` and the enum tags renamed to follow new style convention. * `std.mem.compare` is renamed to `std.mem.order`. * new function `std.math.order`
2019-09-25mv std/ lib/Andrew Kelley
that's all this commit does. further commits will fix cli flags and such. see #2221