| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2012-07-05 | Ignore a should_fail test on windows | Brian Anderson | -0/+1 | |
| 2012-07-05 | A new `times` method on numeric types | Ben Striegel | -1/+34 | |
| This method is intended to elegantly subsume two common iteration functions. The first is `iter::range`, which is used identically to the method introduced in this commit, but currently works only on uints. The second is a common case of `{int, i8, uint, etc.}::range`, in the case where the inductive variable is ignored. Compare the usage of the three: ``` for iter::range(100u) { // do whatever } for int::range(0, 100) |_i| { // do whatever } for 100.times { // do whatever } ``` I feel that the latter reads much more nicely than the first two approaches, and unlike the first two the new method allows the user to ignore the specific type of the number (ineed, if we're throwing away the inductive variable, who cares what type it is?). A minor benefit is that this new method will be somewhat familiar to users of Ruby, from which we borrow the name "times". | ||||
| 2012-07-04 | convert doc-attributes to doc-comments using ↵ | Gareth Daniel Smith | -14/+14 | |
| ./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498 | ||||
| 2012-07-01 | Convert to new closure syntax | Brian Anderson | -2/+2 | |
| 2012-06-30 | Eliminate usages of old sugared call syntax | Brian Anderson | -2/+2 | |
| 2012-06-29 | Switch the compiler over to using ~[] notation instead of []/~. Closes #2759. | Michael Sullivan | -2/+2 | |
| 2012-06-25 | Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725. | Michael Sullivan | -1/+1 | |
| 2012-06-25 | Remove redundant 'extension' mods from numeric mods | Brian Anderson | -14/+11 | |
| 2012-06-25 | Automatically export methods on core numeric types | Ben Striegel | -11/+13 | |
| Each numeric type now contains an extensions module that is automatically exported. At the moment each extensions module contains only the impl for the `num::num` iface. Other impls soon to follow (hopefully). | ||||
| 2012-06-25 | core: Convert declarations to not use the trailing 'unsafe' notation | Brian Anderson | -2/+2 | |
| 2012-06-14 | Comments only: Annotate FIXMEs in libcore | Tim Chevalier | -2/+2 | |
| 2012-06-14 | Add a Num typeclass | Patrick Walton | -0/+1 | |
| 2012-06-12 | Rewrite int/uint helper functions to use refs | Erick Tryzelaar | -15/+15 | |
| This lets us pass them to generic functions. | ||||
| 2012-06-09 | Allow multiple `num` impls to be imported at once | Ben Striegel | -3/+2 | |
| If we import num::num, it gets reexported implicitly and causes collisions if you try to import (for example) int::num and i8::num at the same time. | ||||
| 2012-06-08 | Inline `range` for all integral types | Ben Striegel | -0/+1 | |
| 2012-06-07 | Add neg() to the num iface | Patrick Walton | -0/+1 | |
| 2012-06-07 | Add a Num typeclass | Patrick Walton | -1/+32 | |
| 2012-06-06 | Revert "Revert "Merge pull request #2516 from mozilla/incoming" due to failures" | Tim Chevalier | -0/+14 | |
| This reverts commit 9fae95860de510f6874810cf43efb83f101246ef. | ||||
| 2012-06-04 | Shave off one more string append in a rare case. | Graydon Hoare | -5/+6 | |
| 2012-06-04 | Implement stack-only variants of int/uint str conversion and output. | Graydon Hoare | -1/+9 | |
| 2012-05-26 | core: Make range follow the for loop protocol | Brian Anderson | -2/+5 | |
| 2012-05-16 | core: Ignore more tests on more platforms | Brian Anderson | -4/+4 | |
| 2012-05-16 | core: Ignore int-template::test_parse_buf on windows | Brian Anderson | -0/+2 | |
| 2012-05-16 | core: Ignore int-template::test_from_str on windows | Brian Anderson | -0/+2 | |
| Alignment problems | ||||
| 2012-05-15 | core: Generalize int-string conversions to all int types | Brian Anderson | -0/+99 | |
| Issue #2239 | ||||
| 2012-05-07 | Comment only: add a FIXME on int::abs | Tim Chevalier | -0/+1 | |
| 2012-04-16 | core: Factor out int/i8/16/32/64 mods into int-template | Brian Anderson | -0/+51 | |
