| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2014-03-30 | Removed deprecated functions `map` and `flat_map` for vectors and slices. | Marvin Löbel | -2/+2 | |
| 2014-03-28 | auto merge of #13170 : eddyb/rust/syntax-cleanup, r=alexcrichton | bors | -211/+182 | |
| Removes all Cell's/RefCell's from lexer::Reader implementations and a couple @. | ||||
| 2014-03-28 | syntax: Accept meta matchers in macros | Alex Crichton | -1/+1 | |
| This removes the `attr` matcher and adds a `meta` matcher. The previous `attr` matcher is now ambiguous because it doesn't disambiguate whether it means inner attribute or outer attribute. The new behavior can still be achieved by taking an argument of the form `#[$foo:meta]` (the brackets are part of the macro pattern). Closes #13067 | ||||
| 2014-03-28 | De-@ NamedMatch. | Eduard Burtescu | -26/+27 | |
| 2014-03-28 | De-@ TokenTree. | Eduard Burtescu | -6/+8 | |
| 2014-03-28 | Used inherited mutability in lexer::Reader. | Eduard Burtescu | -184/+152 | |
| 2014-03-22 | syntax: Fix fallout of removing get() | Alex Crichton | -54/+31 | |
| 2014-03-20 | Removing imports of std::vec_ng::Vec | Alex Crichton | -3/+0 | |
| It's now in the prelude. | ||||
| 2014-03-20 | rename std::vec_ng -> std::vec | Daniel Micay | -3/+3 | |
| Closes #12771 | ||||
| 2014-03-17 | De-@ codemap and diagnostic. | Eduard Burtescu | -13/+12 | |
| 2014-03-17 | De-@ ParseSess uses. | Eduard Burtescu | -8/+8 | |
| 2014-03-01 | libsyntax: Fix errors arising from the automated `~[T]` conversion | Patrick Walton | -25/+52 | |
| 2014-03-01 | libsyntax: Mechanically change `~[T]` to `Vec<T>` | Patrick Walton | -29/+28 | |
| 2014-02-23 | Make break and continue hygienic | Edward Wang | -2/+3 | |
| Makes labelled loops hygiene by performing renaming of the labels defined in e.g. `'x: loop { ... }` and then used in break and continue statements within loop body so that they act hygienically when used with macros. Closes #12262. | ||||
| 2014-02-23 | Move std::{trie, hashmap} to libcollections | Alex Crichton | -2/+2 | |
| These two containers are indeed collections, so their place is in libcollections, not in libstd. There will always be a hash map as part of the standard distribution of Rust, but by moving it out of the standard library it makes libstd that much more portable to more platforms and environments. This conveniently also removes the stuttering of 'std::hashmap::HashMap', although 'collections::HashMap' is only one character shorter. | ||||
| 2014-02-14 | Refactored ast_map and friends, mainly to have Paths without storing them. | Eduard Burtescu | -33/+27 | |
| 2014-02-08 | Fixed error starting with uppercase | mr.Shu | -3/+3 | |
| Error messages cleaned in librustc/middle Error messages cleaned in libsyntax Error messages cleaned in libsyntax more agressively Error messages cleaned in librustc more aggressively Fixed affected tests Fixed other failing tests Last failing tests fixed | ||||
| 2014-02-07 | Removed @self and @Trait. | Eduard Burtescu | -22/+22 | |
| 2014-02-02 | libsyntax: Remove many uses of `token::ident_to_str` | Patrick Walton | -12/+19 | |
| 2014-02-02 | libsyntax: De-`@str` `MacroDef` | Patrick Walton | -2/+2 | |
| 2014-02-02 | librustc: Fix merge fallout. | Patrick Walton | -3/+5 | |
| 2014-01-30 | Remove Times trait | Brendan Zabarauskas | -2/+2 | |
| `Times::times` was always a second-class loop because it did not support the `break` and `continue` operations. Its playful appeal was then lost after `do` was disabled for closures. It's time to let this one go. | ||||
| 2014-01-26 | Removed all instances of XXX in preparation for relaxing of FIXME rule | Salem Talha | -4/+4 | |
| 2014-01-25 | Simplify and rename macro API | Steven Fackler | -8/+6 | |
| Now that procedural macros can be implemented outside of the compiler, it's more important to have a reasonable API to work with. Here are the basic changes: * Rename SyntaxExpanderTTTrait to MacroExpander, SyntaxExpanderTT to BasicMacroExpander, etc. I think "procedural macro" is the right term for these now, right? The other option would be SynExtExpander or something like that. * Stop passing the SyntaxContext to extensions. This was only ever used by macro_rules, which doesn't even use it anymore. I can't think of a context in which an external extension would need it, and removal allows the API to be significantly simpler - no more SyntaxExpanderTTItemExpanderWithoutContext wrappers to worry about. | ||||
| 2014-01-21 | [std::vec] Rename .pop_opt() to .pop(), drop the old .pop() behavior | Simon Sapin | -7/+10 | |
| 2014-01-21 | [std::vec] Rename .last_opt() to .last(), drop the old .last() behavior | Simon Sapin | -1/+2 | |
| 2014-01-21 | Remove unnecessary parentheses. | Huon Wilson | -5/+5 | |
| 2014-01-18 | syntax::ext: replace span_fatal with span_err in many places. | Huon Wilson | -2/+2 | |
| This means that compilation continues for longer, and so we can see more errors per compile. This is mildly more user-friendly because it stops users having to run rustc n times to see n macro errors: just run it once to see all of them. | ||||
| 2014-01-13 | librustc: Remove `@` pointer patterns from the language | Patrick Walton | -8/+8 | |
| 2014-01-10 | syntax: Fix capitalization in macro_parser errors | Brian Anderson | -5/+5 | |
| 2014-01-09 | libsyntax: Renamed types, traits and enum variants to CamelCase. | Eduard Burtescu | -206/+184 | |
| 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 | |
