| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2014-01-05 | Use ~-objects instead of @-objects for syntax exts | Steven Fackler | -2/+2 | |
| This is necessary for #11151 to make sure dtors run before the libraries are unloaded. | ||||
| 2014-01-03 | libsyntax: De-`@mut` `TtFrame` | Patrick Walton | -7/+7 | |
| 2014-01-03 | libsyntax: De-`@mut` `TtFrame::idx` | Patrick Walton | -14/+14 | |
| 2014-01-03 | librustc: De-`@mut` the span handler | Patrick Walton | -3/+3 | |
| 2014-01-03 | libsyntax: De-`@mut` `StringReader`, `TtReader`, and `reader` | Patrick Walton | -27/+18 | |
| 2014-01-03 | libsyntax: De-`@mut` `TtReader::stack` | Patrick Walton | -24/+24 | |
| 2014-01-03 | libsyntax: De-`@mut` `TtReader::cur_span` | Patrick Walton | -10/+11 | |
| 2014-01-03 | libsyntax: De-`@mut` `TtReader::cur_tok` | Patrick Walton | -8/+9 | |
| 2014-01-03 | libsyntax: De-`@mut` `TtReader::repeat_len` | Patrick Walton | -5/+8 | |
| 2014-01-03 | libsyntax: De-`@mut` `TtReader::repeat_idx` | Patrick Walton | -17/+29 | |
| 2014-01-03 | libsyntax: De-`@mut` `TtReader::interpolations` | Patrick Walton | -4/+9 | |
| 2014-01-03 | librustc: De-`@mut` the parse session | Patrick Walton | -9/+8 | |
| 2014-01-02 | libsyntax: De-`@mut` `Parser::span` | Patrick Walton | -1/+1 | |
| 2014-01-02 | libsyntax: De-`@mut` `token` in the parser | Patrick Walton | -5/+7 | |
| 2014-01-02 | libsyntax: De-`@mut` `quote_depth` in the parser | Patrick Walton | -2/+2 | |
| 2014-01-02 | libsyntax: Make the parser mutable | Patrick Walton | -19/+31 | |
| 2014-01-01 | syntax::codemap: Add static DUMMY_SP | klutzy | -5/+5 | |
| It replaces `dummy_sp()`. | ||||
| 2014-01-01 | syntax::diagnostic: Remove unnecessary traits | klutzy | -3/+3 | |
| This removes trait `handler` and `span_handler`, and renames `HandlerT` to `Handler`, `CodemapT` to `SpanHandler`. | ||||
| 2013-12-29 | Start passing around &mut ExtCtxt | Steven Fackler | -2/+2 | |
| 2013-12-28 | Stop using @ExtCtxt | Steven Fackler | -3/+3 | |
| 2013-12-01 | Box Block, fn_decl, variant and Ty in the AST, as they were inflating ↵ | Eduard Burtescu | -2/+2 | |
| critical enum sizes. | ||||
| 2013-11-28 | Register new snapshots | Alex Crichton | -4/+4 | |
| 2013-11-27 | Freeze the AST by removing a couple of unused @mut ~[T] from token_tree. | Eduard Burtescu | -6/+5 | |
| 2013-11-26 | Support multiple item macros | Steven Fackler | -3/+10 | |
| Closes #4375 | ||||
| 2013-11-26 | libsyntax: Remove all non-`proc` `do` syntax. | Patrick Walton | -7/+7 | |
| 2013-10-22 | Drop the '2' suffix from logging macros | Alex Crichton | -3/+3 | |
| Who doesn't like a massive renaming? | ||||
| 2013-10-10 | syntax: allow macros to expand to items with attributes. | Huon Wilson | -2/+5 | |
| Fixes #4471. | ||||
| 2013-10-02 | syntax: indicate an error when a macro ignores trailing tokens. | Huon Wilson | -4/+29 | |
| That is, only a single expression or item gets parsed, so if there are any extra tokens (e.g. the start of another item/expression) the user should be told, rather than silently dropping them. An example: macro_rules! foo { () => { println("hi"); println("bye); } } would expand to just `println("hi")`, which is almost certainly not what the programmer wanted. Fixes #8012. | ||||
| 2013-10-02 | syntax: remove some dead code. | Huon Wilson | -73/+0 | |
| 2013-09-30 | syntax: Remove usage of fmt! | Alex Crichton | -11/+11 | |
| 2013-09-26 | Update the compiler to not use printf/printfln | Alex Crichton | -2/+2 | |
| 2013-09-23 | libsyntax: Remove some more `@fn`s from the macro expander | Patrick Walton | -16/+125 | |
| 2013-09-06 | WIP: adding mark-cancelling for macro_rules | John Clements | -1/+4 | |
| 2013-09-06 | whitespace, reindentation, and comments only | John Clements | -1/+0 | |
| 2013-09-06 | uncomment mtwt_resolve calls | John Clements | -2/+2 | |
| 2013-09-06 | fix one remaining token comparison, refactor token comparison to avoid == check | John Clements | -11/+10 | |
| 2013-09-06 | capturing macros now implemented | John Clements | -2/+2 | |
| 2013-09-06 | comments only | John Clements | -0/+6 | |
| 2013-09-06 | removed unneccessary SyntaxExpander structs | John Clements | -1/+1 | |
| 2013-09-06 | compare macro tokens hygienically (commented out) | John Clements | -1/+15 | |
| 2013-09-02 | Renamed syntax::ast::ident -> Ident | Marvin Löbel | -13/+13 | |
| 2013-09-01 | Modernized a few type names in rustc and syntax | Marvin Löbel | -13/+13 | |
| 2013-08-27 | librustc: Add support for type parameters in the middle of paths. | Patrick Walton | -2/+4 | |
| For example, `foo::<T>::bar::<U>`. This doesn't enforce that the type parameters are in the right positions, however. | ||||
| 2013-08-11 | auto merge of #8455 : nikomatsakis/rust/issue-5762-objects-dralston-d, r=graydon | bors | -7/+7 | |
| 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 | -7/+7 | |
| 2013-08-11 | syntax: Shrink enum Token and enum nonterminal | blake2-ppc | -5/+5 | |
| `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 | -7/+7 | |
| 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. | ||||
