| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2014-06-13 | syntax: parse outer attributes in `quote_item!` calls. | Huon Wilson | -2/+1 | |
| Fixes #14857. | ||||
| 2014-06-11 | std: Remove i18n/l10n from format! | Alex Crichton | -2/+4 | |
| * The select/plural methods from format strings are removed * The # character no longer needs to be escaped * The \-based escapes have been removed * '{{' is now an escape for '{' * '}}' is now an escape for '}' Closes #14810 [breaking-change] | ||||
| 2014-06-11 | syntax: Move the AST from @T to Gc<T> | Alex Crichton | -4/+5 | |
| 2014-06-06 | Change to_str().to_string() to just to_str() | Adolfo OchagavĂa | -1/+1 | |
| 2014-05-30 | libsyntax: Fix snake_case errors. | Kevin Butler | -1/+1 | |
| A number of functions/methods have been moved or renamed to align better with rust standard conventions. syntax::ext::mtwt::xorPush => xor_push syntax::parse::parser::Parser => Parser::new [breaking-change] | ||||
| 2014-05-28 | Add patterns to MacResult | Keegan McAllister | -0/+5 | |
| 2014-05-27 | std: Rename strbuf operations to string | Richo Healey | -2/+2 | |
| [breaking-change] | ||||
| 2014-05-22 | libstd: Remove `~str` from all `libstd` modules except `fmt` and `str`. | Patrick Walton | -1/+1 | |
| 2014-05-08 | libsyntax: Remove uses of `~str` from libsyntax, and fix fallout | Patrick Walton | -4/+4 | |
| 2014-05-06 | librustc: Remove `~EXPR`, `~TYPE`, and `~PAT` from the language, except | Patrick Walton | -5/+5 | |
| for `~str`/`~[]`. Note that `~self` still remains, since I forgot to add support for `Box<self>` before the snapshot. How to update your code: * Instead of `~EXPR`, you should write `box EXPR`. * Instead of `~TYPE`, you should write `Box<Type>`. * Instead of `~PATTERN`, you should write `box PATTERN`. [breaking-change] | ||||
| 2014-05-02 | Replace most ~exprs with 'box'. #11779 | Brian Anderson | -4/+4 | |
| 2014-04-18 | Replace all ~"" with "".to_owned() | Richo Healey | -1/+1 | |
| 2014-04-16 | syntax: unify all MacResult's into a single trait. | Huon Wilson | -17/+28 | |
| There's now one unified way to return things from a macro, instead of being able to choose the `AnyMacro` trait or the `MRItem`/`MRExpr` variants of the `MacResult` enum. This does simplify the logic handling the expansions, but the biggest value of this is it makes macros in (for example) type position easier to implement, as there's this single thing to modify. By my measurements (using `-Z time-passes` on libstd and librustc etc.), this appears to have little-to-no impact on expansion speed. There are presumably larger costs than the small number of extra allocations and virtual calls this adds (notably, all `macro_rules!`-defined macros have not changed in behaviour, since they had to use the `AnyMacro` trait anyway). | ||||
| 2014-03-28 | De-@ NamedMatch. | Eduard Burtescu | -6/+6 | |
| 2014-03-28 | De-@ TokenTree. | Eduard Burtescu | -3/+4 | |
| 2014-03-22 | syntax: Fix fallout of removing get() | Alex Crichton | -18/+12 | |
| 2014-03-20 | Removing imports of std::vec_ng::Vec | Alex Crichton | -1/+0 | |
| It's now in the prelude. | ||||
| 2014-03-20 | rename std::vec_ng -> std::vec | Daniel Micay | -1/+1 | |
| Closes #12771 | ||||
| 2014-03-17 | De-@ codemap and diagnostic. | Eduard Burtescu | -5/+4 | |
| 2014-03-17 | De-@ ParseSess uses. | Eduard Burtescu | -4/+4 | |
| 2014-03-01 | libsyntax: Fix errors arising from the automated `~[T]` conversion | Patrick Walton | -6/+22 | |
| 2014-03-01 | libsyntax: Mechanically change `~[T]` to `Vec<T>` | Patrick Walton | -8/+7 | |
| 2014-02-14 | Refactored ast_map and friends, mainly to have Paths without storing them. | Eduard Burtescu | -6/+4 | |
| 2014-02-07 | Removed @self and @Trait. | Eduard Burtescu | -7/+7 | |
| 2014-02-02 | libsyntax: De-`@str` `MacroDef` | Patrick Walton | -2/+2 | |
| 2014-02-02 | librustc: Fix merge fallout. | Patrick Walton | -3/+5 | |
| 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 | Remove unnecessary parentheses. | Huon Wilson | -1/+1 | |
| 2014-01-13 | librustc: Remove `@` pointer patterns from the language | Patrick Walton | -8/+8 | |
| 2014-01-09 | libsyntax: Renamed types, traits and enum variants to CamelCase. | Eduard Burtescu | -37/+36 | |
| 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` `StringReader`, `TtReader`, and `reader` | Patrick Walton | -10/+3 | |
| 2014-01-02 | libsyntax: De-`@mut` `Parser::span` | Patrick Walton | -1/+1 | |
| 2014-01-02 | libsyntax: De-`@mut` `token` in the parser | Patrick Walton | -2/+2 | |
| 2014-01-02 | libsyntax: Make the parser mutable | Patrick Walton | -16/+28 | |
| 2014-01-01 | syntax::codemap: Add static DUMMY_SP | klutzy | -3/+3 | |
| It replaces `dummy_sp()`. | ||||
| 2013-12-29 | Start passing around &mut ExtCtxt | Steven Fackler | -2/+2 | |
| 2013-12-28 | Stop using @ExtCtxt | Steven Fackler | -3/+3 | |
| 2013-11-27 | Freeze the AST by removing a couple of unused @mut ~[T] from token_tree. | Eduard Burtescu | -1/+1 | |
| 2013-11-26 | Support multiple item macros | Steven Fackler | -3/+10 | |
| Closes #4375 | ||||
| 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-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 | 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 | |
