| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-05-14 | Use static string with fail!() and remove fail!(fmt!()) | Björn Steinbrink | -1/+1 | |
| fail!() used to require owned strings but can handle static strings now. Also, it can pass its arguments to fmt!() on its own, no need for the caller to call fmt!() itself. | ||||
| 2013-05-12 | auto merge of #6348 : sstewartgallus/rust/incoming, r=brson | bors | -1/+15 | |
| In this commit I added a useful utility type, named Void, that encapsulates the doable but annoying job of creating an uninhabited type. As well, a function on that type, named absurd, was created which is useful for ignoring the result of matching on that type. No unit tests were created because it is not possible to create an instance of this type to test the usage of. This type is useful because it is like NonCopyable in that it can be used to create a type with special characteristics without special bloat. For instance, instead of typing pub struct PhantomType { priv contents : () } for each void type one may want to use one can simply type pub struct PhantomType (Void);. This type make such special cases much easier to write. | ||||
| 2013-05-10 | Stop using the '<->' operator | Alex Crichton | -3/+3 | |
| 2013-05-10 | Implement util::swap without the '<->' operator | Alex Crichton | -5/+63 | |
| 2013-05-08 | Created utility uninhabited type | Steven Stewart-Gallus | -1/+15 | |
| In this commit I added a useful utility type, named Void, that encapsulates the doable but annoying job of creating an uninhabited type. As well, a function on that type, named absurd, was created which is useful for ignoring the result of matching on that type. No unit tests were created because it is not possible to create an instance of this type to test the usage of. This type is useful because it is like NonCopyable in that it can be used to create a type with special characteristics without special bloat. For instance, instead of typing pub struct PhantomType { priv contents : () } for each void type one may want to use one can simply type pub struct PhantomType (Void);. This type make such special cases much easier to write. | ||||
| 2013-05-02 | fix numerous dynamic borrow failures | Niko Matsakis | -9/+10 | |
| 2013-03-29 | librustc: Remove `fail_unless!` | Patrick Walton | -7/+7 | |
| 2013-03-22 | libcore: Remove `pure` from libcore. rs=depure | Patrick Walton | -2/+2 | |
| 2013-03-07 | librustc: Convert all uses of `assert` over to `fail_unless!` | Patrick Walton | -7/+7 | |
| 2013-03-04 | Adding missing imports for tests, and gate off others | Alex Crichton | -0/+1 | |
| 2013-03-04 | Remove unused imports throughout src/ | Alex Crichton | -2/+1 | |
| 2013-02-27 | Turn old `drop` blocks into `Drop` traits | Ben Striegel | -1/+4 | |
| 2013-02-20 | librustc: Separate most trait bounds with '+'. rs=plussing | Patrick Walton | -1/+1 | |
| 2013-02-15 | libcore: Get rid of `move`. | Luqman Aden | -7/+7 | |
| 2013-02-13 | Remove die!, raplace invocations with fail! Issue #4524 pt 3 | Nick Desaulniers | -1/+1 | |
| 2013-02-07 | Make ~fn non-copyable, make &fn copyable, split barefn/closure types, | Niko Matsakis | -4/+0 | |
| correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719. | ||||
| 2013-01-31 | Replace most invocations of fail keyword with die! macro | Nick Desaulniers | -1/+1 | |
| 2013-01-29 | libcore: De-export libcore. rs=deexporting | Patrick Walton | -5/+3 | |
| 2013-01-24 | remove remaining is_not_empty functions/methods | Daniel Micay | -1/+1 | |
| 2013-01-08 | librustc: Make unqualified identifier searches terminate at the nearest ↵ | Patrick Walton | -0/+5 | |
| module scope. r=tjc | ||||
| 2013-01-08 | Revert "librustc: Make unqualified identifier searches terminate at the ↵ | Patrick Walton | -5/+0 | |
| nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6. | ||||
| 2013-01-08 | librustc: Make unqualified identifier searches terminate at the nearest ↵ | Patrick Walton | -0/+5 | |
| module scope. r=tjc | ||||
| 2012-12-03 | Update license, add license boilerplate to most files. Remainder will follow. | Graydon Hoare | -0/+10 | |
| 2012-10-23 | Remove uses of binary move - <- - from tests and libraries | Tim Chevalier | -1/+1 | |
| 2012-10-12 | Make moves explicit in core tests | Tim Chevalier | -1/+1 | |
| 2012-10-04 | Forbid deprecated modes again in core | Tim Chevalier | -1/+1 | |
| Sadly, there's only one file that requires deprecated modes (stackwalk)... So, forbid them everywhere else. | ||||
| 2012-10-02 | Removing explicit uses of + mode | Tim Chevalier | -5/+5 | |
| This removes most explicit uses of the + argument mode. Pending a snapshot, I had to remove the forbid(deprecated_modes) pragma from a bunch of files. I'll put it back! + mode still has to be used in a few places for functions that get moved (see task.rs) The changes outside core and std are due to the to_bytes trait and making the compiler (with legacy modes on) agree with the libraries (with legacy modes off) about modes. | ||||
| 2012-09-28 | De-export logging, to_str, to_bytes, from_str, util. Part of #3583. | Graydon Hoare | -8/+8 | |
| 2012-09-21 | Install new pub/priv/export rules as defaults, old rules accessible under ↵ | Graydon Hoare | -0/+1 | |
| #[legacy_exports]; | ||||
| 2012-09-20 | core: Move 'unreachable' to util. Improve docs | Brian Anderson | -0/+28 | |
| 2012-09-20 | rustc: De-mode all overloaded operators | Patrick Walton | -1/+1 | |
| 2012-09-19 | core: Clean up crate docs and give all mods a brief description | Brian Anderson | -4/+6 | |
| 2012-09-12 | Add a bunch of inline hints. | Graydon Hoare | -0/+2 | |
| 2012-09-10 | Make more moves explicit in libcore | Tim Chevalier | -3/+3 | |
| 2012-09-07 | Convert all kind bounds to camel case. Remove send, owned keywords. | Brian Anderson | -1/+1 | |
| 2012-09-07 | Convert field terminators to commas. Stop parsing semis. | Brian Anderson | -1/+1 | |
| 2012-09-06 | Refactor trans to replace lvalue and friends with Datum. | Niko Matsakis | -1/+3 | |
| Also: - report illegal move/ref combos whether or not ref comes first - commented out fix for #3387, too restrictive and causes an ICE | ||||
| 2012-09-04 | core: Remove struct ctors | Brian Anderson | -1/+2 | |
| 2012-08-30 | libstd: More test fixes | Patrick Walton | -1/+3 | |
| 2012-08-29 | rustc: Make `<` and `=` into traits | Patrick Walton | -1/+1 | |
| 2012-08-26 | Camel case the option type | Brian Anderson | -2/+2 | |
| 2012-08-21 | implement a map testing benchmark | Niko Matsakis | -0/+18 | |
| This involved some other changes: - add a managed<T> wrapper that makes send_map usable from @-data - implement map<K,V> for managed<send_map> Unit tests are coming. | ||||
| 2012-08-17 | Remove the class keyword | Brian Anderson | -1/+1 | |
| 2012-08-14 | De-mode more pieces of core. | Graydon Hoare | -0/+4 | |
| 2012-08-13 | core: Camel case some lesser-used modules | Brian Anderson | -2/+2 | |
| 2012-08-07 | Add util::ignore | Ben Blum | -0/+3 | |
| 2012-08-02 | option::swap_unwrap, the ubiquitous 'option dance'. | Ben Blum | -0/+2 | |
| 2012-08-02 | Remove std::util | Ben Blum | -0/+9 | |
| 2012-08-01 | Add core::util, with swap, replace, and noncopyable | Ben Blum | -0/+46 | |
