| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-08-11 | auto merge of #8455 : nikomatsakis/rust/issue-5762-objects-dralston-d, r=graydon | bors | -2/+2 | |
| Fix #5762 and various other aspects of object invocation. r? @graydon | ||||
| 2013-08-11 | libsyntax: Update from `@Object` to `@mut Object` as required | Niko Matsakis | -2/+2 | |
| 2013-08-11 | syntax: Shrink enum Token and enum nonterminal | blake2-ppc | -4/+4 | |
| `enum Token` was 192 bytes (64-bit), as pointed out by pnkfelix; the only bloating variant being `INTERPOLATED(nonterminal)`. Updating `enum nonterminal` to use ~ where variants included big types, shrunk size_of(Token) to 32 bytes (64-bit). I am unsure if the `nt_ident` variant should have an indirection, with ast::ident being only 16 bytes (64-bit), but without this, enum Token would be 40 bytes. A dumb benchmark says that compilation time is unchanged, while peak memory usage for compiling std.rs is down 3% Before:: $ time ./x86_64-unknown-linux-gnu/stage1/bin/rustc --cfg stage1 src/libstd/std.rs 19.00user 0.39system 0:19.41elapsed 99%CPU (0avgtext+0avgdata 627820maxresident)k 0inputs+28896outputs (0major+228665minor)pagefaults 0swaps $ time ./x86_64-unknown-linux-gnu/stage1/bin/rustc -O --cfg stage1 src/libstd/std.rs 31.64user 0.34system 0:32.02elapsed 99%CPU (0avgtext+0avgdata 629876maxresident)k 0inputs+22432outputs (0major+229411minor)pagefaults 0swaps After:: $ time ./x86_64-unknown-linux-gnu/stage1/bin/rustc --cfg stage1 src/libstd/std.rs 19.07user 0.45system 0:19.55elapsed 99%CPU (0avgtext+0avgdata 609384maxresident)k 0inputs+28896outputs (0major+221997minor)pagefaults 0swaps $ time ./x86_64-unknown-linux-gnu/stage1/bin/rustc -O --cfg stage1 src/libstd/std.rs 31.90user 0.34system 0:32.28elapsed 99%CPU (0avgtext+0avgdata 612080maxresident)k 0inputs+22432outputs (0major+223726minor)pagefaults 0swaps | ||||
| 2013-08-08 | Allow attributes to appear as macro arguments | Niko Matsakis | -0/+2 | |
| Fixes #8393 | ||||
| 2013-08-03 | remove obsolete `foreach` keyword | Daniel Micay | -6/+6 | |
| this has been replaced by `for` | ||||
| 2013-08-02 | replace `range` with an external iterator | Daniel Micay | -3/+2 | |
| 2013-08-01 | std: Change `Times` trait to use `do` instead of `for` | blake2-ppc | -1/+1 | |
| Change the former repetition:: for 5.times { } to:: do 5.times { } .times() cannot be broken with `break` or `return` anymore; for those cases, use a numerical range loop instead. | ||||
| 2013-08-01 | migrate many `for` loops to `foreach` | Daniel Micay | -4/+4 | |
| 2013-07-22 | Ast spanned<T> refactoring, renaming: crate, local, blk, crate_num, crate_cfg. | Michael Woerister | -2/+2 | |
| `crate => Crate` `local => Local` `blk => Block` `crate_num => CrateNum` `crate_cfg => CrateConfig` Also, Crate and Local are not wrapped in spanned<T> anymore. | ||||
| 2013-07-17 | librustc: Remove all uses of "copy". | Patrick Walton | -11/+13 | |
| 2013-06-30 | Remove vec::{map, mapi, zip_map} and the methods, except for .map, since this | Huon Wilson | -2/+1 | |
| is very common, and the replacement (.iter().transform().collect()) is very ugly. | ||||
| 2013-06-25 | great renaming propagation: syntax | Corey Richardson | -5/+3 | |
| 2013-06-23 | vec: remove BaseIter implementation | Daniel Micay | -4/+4 | |
| I removed the `static-method-test.rs` test because it was heavily based on `BaseIter` and there are plenty of other more complex uses of static methods anyway. | ||||
| 2013-06-14 | add IteratorUtil to the prelude | Daniel Micay | -1/+0 | |
| 2013-06-13 | Use @str instead of @~str in libsyntax and librustc. Fixes #5048. | Huon Wilson | -4/+4 | |
| This almost removes the StringRef wrapper, since all strings are Equiv-alent now. Removes a lot of `/* bad */ copy *`'s, and converts several things to be &'static str (the lint table and the intrinsics table). There are many instances of .to_managed(), unfortunately. | ||||
| 2013-06-11 | fix tests, remove some warnings | Huon Wilson | -3/+2 | |
| 2013-06-10 | std: remove str::{connect,concat}*. | Huon Wilson | -1/+1 | |
| 2013-06-09 | std: remove fold[lr] in favour of iterators | Huon Wilson | -2/+2 | |
| 2013-06-08 | std: remove each[i]_mut functions, in favour of iterators. | Huon Wilson | -1/+2 | |
| 2013-06-05 | token_to_ident takes argument by reference | John Clements | -4/+4 | |
| 2013-06-05 | interner just uses uints, not idents with syntax context | John Clements | -10/+10 | |
| 2013-06-05 | just use TLS interner | John Clements | -7/+7 | |
| 2013-05-30 | Remove copy bindings from patterns. | Niko Matsakis | -1/+1 | |
| 2013-05-29 | librustc: Stop reexporting the standard modules from prelude. | Patrick Walton | -0/+3 | |
| 2013-05-22 | libextra: Rename the actual metadata names of libcore to libstd and libstd ↵ | Patrick Walton | -0/+3 | |
| to libextra | ||||
| 2013-05-20 | Remove all unnecessary allocations (as flagged by lint) | Alex Crichton | -2/+2 | |
| 2013-05-14 | syntax: Remove #[allow(vecs_implicitly_copyable)] | Alex Crichton | -21/+20 | |
| 2013-05-11 | Warning police | Tim Chevalier | -2/+2 | |
| 2013-05-02 | Remove 'Local Variable' comments | Brendan Zabarauskas | -8/+0 | |
| 2013-04-27 | only use #[no_core] in libcore | Daniel Micay | -1/+0 | |
| 2013-04-19 | syntax: de-mode and prepare for de-modeing rustc | Alex Crichton | -12/+12 | |
| 2013-04-03 | rename Linear{Map,Set} => Hash{Map,Set} | Daniel Micay | -6/+6 | |
| 2013-04-03 | hashmap: rm linear namespace | Daniel Micay | -1/+1 | |
| 2013-03-29 | librustc: Remove `fail_unless!` | Patrick Walton | -1/+1 | |
| 2013-03-28 | Removing unused imports | Alex Crichton | -1/+1 | |
| 2013-03-26 | syntax: Removing uses of HashMap | Alex Crichton | -8/+8 | |
| 2013-03-26 | Remove unused imports throughout | Alex Crichton | -5/+2 | |
| 2013-03-22 | librustc: Add explicit lifetime binders and new lifetime notation in ↵ | Patrick Walton | -1/+1 | |
| core/std/syntax/rustc | ||||
| 2013-03-13 | librustc: Don't accept `as Trait` anymore; fix all occurrences of it. | Patrick Walton | -2/+2 | |
| 2013-03-08 | syntax: Remove uses of DVec | Alex Crichton | -9/+9 | |
| 2013-03-07 | librustc: Convert all uses of `assert` over to `fail_unless!` | Patrick Walton | -1/+1 | |
| 2013-03-04 | Remove unused imports throughout src/ | Alex Crichton | -3/+0 | |
| 2013-03-02 | libsyntax: add some more explicit copies for vecs_implicitly_copyable) | Erick Tryzelaar | -1/+1 | |
| 2013-03-01 | Merge remote-tracking branch 'remotes/origin/incoming' into incoming | Erick Tryzelaar | -0/+2 | |
| 2013-02-28 | Fix implicit leaks of imports throughout libraries | Alex Crichton | -0/+2 | |
| Also touch up use of 'pub' and move some tests around so the tested functions don't have to be 'pub' | ||||
| 2013-02-26 | libsyntax: add some more explicit copies | Erick Tryzelaar | -8/+13 | |
| 2013-02-26 | libsyntax: remove vecs_implicitly_copyable from the syntax extensions | Erick Tryzelaar | -6/+7 | |
| 2013-02-26 | libsyntax: change token::to_str to take &Token | Erick Tryzelaar | -2/+2 | |
| 2013-02-25 | libsyntax: add some explicit copies | Erick Tryzelaar | -1/+1 | |
| 2013-02-22 | libsyntax: De-mut the parser. rs=demuting | Patrick Walton | -4/+4 | |
