| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2011-11-01 | Organize std.rc and make exports explicit | Brian Anderson | -51/+77 | |
| 2011-11-01 | Add should_fail annotation for unit tests | Matt Brubeck | -14/+23 | |
| This allows test cases to assert that a function is expected to fail. Tests annotated with "should_fail" will succeed only if the function fails. | ||||
| 2011-10-31 | Add a char::to_digit function | Matt Brubeck | -10/+11 | |
| 2011-10-31 | Correct handling of non-numeric chars in parse_buf | Matt Brubeck | -2/+18 | |
| Without this fix, int::parse_buf and uint::parse_buf return incorrect results for any strings that contain non-numeric characters. Fixes #1102. | ||||
| 2011-10-31 | Rename std::str::chars to iter_chars | Marijn Haverbeke | -3/+3 | |
| 2011-10-31 | Add a way to iterate over a str's chars to std::str | Marijn Haverbeke | -1/+16 | |
| 2011-10-30 | Fix int::parse_buf for negative numbers (#1102) | Matt Brubeck | -2/+4 | |
| 2011-10-30 | Make float::from_str ignore whitespace (#1089) | Matt Brubeck | -3/+21 | |
| Discard leading and trailing whitespace, for consistency with C/JS/Java/etc. Also, don't allow floating point numbers that start or end with 'e'. | ||||
| 2011-10-29 | stdlib: Fix type in docs for result::chan | Brian Anderson | -1/+1 | |
| 2011-10-29 | stdlib: Add vec::concat to concatenate a vector of vectors | Brian Anderson | -0/+13 | |
| Compare to str::concat | ||||
| 2011-10-29 | stdlib: Make io failures recoverable by returning a result | Brian Anderson | -17/+28 | |
| 2011-10-29 | stdlib: Add result::chain for composing results | Brian Anderson | -8/+31 | |
| 2011-10-29 | stdlib: Add result module | Brian Anderson | -0/+87 | |
| This contains a result tag with ok(T) and error(U) variants. I expect to use it for error handling on functions that can recover from errors, like in the io module. | ||||
| 2011-10-28 | stdlib: Add fs::splitext | Brian Anderson | -0/+49 | |
| Splits a path into the filename + extension | ||||
| 2011-10-28 | stdlib: Add vec::init. Returns all but the last element. | Brian Anderson | -1/+17 | |
| Per haskell, to go with head/tail, and last. | ||||
| 2011-10-28 | Change behavior of float::nonpositive/nonnegative | Matt Brubeck | -6/+28 | |
| Rather than being defined as !positive and !negative, these should act the same as negative and positive (respectively). The only effect of this change should be that all four functions will now return false for NaN. | ||||
| 2011-10-28 | Use IEEE 754 semantics for NaN (Issue #1084) | Matt Brubeck | -0/+3 | |
| 2011-10-28 | +0.0 should be positive and -0.0 should be negative. | Matt Brubeck | -6/+6 | |
| 2011-10-28 | stdlib: Replace an unsafe cast with ptr::null | Brian Anderson | -2/+1 | |
| 2011-10-28 | stdlib: Make reinterpret_cast and leak unsafe | Brian Anderson | -13/+17 | |
| 2011-10-28 | stdlib: Make merge_sort take [mutable? T] | Brian Anderson | -2/+3 | |
| 2011-10-28 | stdlib: Fix the list::foldl implementation | Brian Anderson | -7/+7 | |
| 2011-10-28 | stdlib: Rename list::length to list::len to match vec::len | Brian Anderson | -2/+2 | |
| 2011-10-28 | stdlib: Rename the 'ls_' param in list functions to 'ls' | Brian Anderson | -7/+7 | |
| 2011-10-28 | stdlib: Make list::from_vec more efficient | Brian Anderson | -7/+1 | |
| 2011-10-28 | stdlib: make list::from_vec take [mutable? T] | Brian Anderson | -1/+1 | |
| 2011-10-28 | Make shared kind the default only for generic functions | Marijn Haverbeke | -16/+10 | |
| You almost never want a function with pinned type params. For types, objects, resources, and tags, pinned types are actually often more sane. For most of these, shared rarely makes sense. Only tricky case is objs -- you'll have to think about the kinds you want there. Issue #1076 | ||||
| 2011-10-28 | Move to short type parameter keywords | Marijn Haverbeke | -15/+15 | |
| Issue #1076 | ||||
| 2011-10-27 | Add std::vec::foldr | Brian Anderson | -1/+14 | |
| 2011-10-27 | Add reverse iterators to std::vec | Brian Anderson | -0/+29 | |
| 2011-10-27 | Remove std::vec::eachi. Same function as iter2. | Brian Anderson | -24/+11 | |
| 2011-10-27 | Implement vec::foldl without recursion | Brian Anderson | -6/+6 | |
| 2011-10-27 | Add std::vec::iter | Brian Anderson | -1/+12 | |
| 2011-10-27 | Remove std::int::eq_alias | Brian Anderson | -3/+0 | |
| This is the exact same function as int::eq | ||||
| 2011-10-27 | Make option::is_some option::is_none pure | Brian Anderson | -2/+2 | |
| 2011-10-27 | Make vec::reversed take [mutable? T] | Brian Anderson | -1/+1 | |
| 2011-10-27 | Make std:vec::grow_fn take an init_op type | Brian Anderson | -2/+2 | |
| 2011-10-27 | Reorder std::vec so the documentation renders better | Brian Anderson | -34/+35 | |
| Put all types first, then predicates, then functions | ||||
| 2011-10-27 | Convert various functions in std to take lambda blocks | Brian Anderson | -5/+5 | |
| 2011-10-27 | Document std::bitv | Brian Anderson | -3/+125 | |
| 2011-10-27 | Add more std docs | Brian Anderson | -27/+145 | |
| 2011-10-27 | Remove uint::max/min in favor if math::max/min | Matt Brubeck | -4/+0 | |
| 2011-10-27 | Add documentation to std::uint | Matt Brubeck | -10/+73 | |
| 2011-10-27 | Add std documentation for float and u8 functions | Matt Brubeck | -0/+41 | |
| 2011-10-27 | Mark uint add/sub/mul/div/rem functions as pure | Matt Brubeck | -5/+5 | |
| 2011-10-27 | Add function aliases for float operators | Matt Brubeck | -0/+30 | |
| 2011-10-27 | Add more std docs | Brian Anderson | -7/+164 | |
| 2011-10-27 | Cleanup in std::task | Brian Anderson | -14/+14 | |
| 2011-10-27 | More std docs | Brian Anderson | -3/+26 | |
| 2011-10-26 | Remove task::join_id | Brian Anderson | -5/+0 | |
| This is the old, racy way of joining to a task. It is no longer used. | ||||
