| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-09-03 | Modernized a few more types in syntax::ast | Marvin Löbel | -2/+2 | |
| 2013-09-01 | Modernized a few type names in rustc and syntax | Marvin Löbel | -4/+4 | |
| 2013-07-20 | syntax: modernise attribute handling in syntax::attr. | Huon Wilson | -5/+5 | |
| This does a number of things, but especially dramatically reduce the number of allocations performed for operations involving attributes/ meta items: - Converts ast::meta_item & ast::attribute and other associated enums to CamelCase. - Converts several standalone functions in syntax::attr into methods, defined on two traits AttrMetaMethods & AttributeMethods. The former is common to both MetaItem and Attribute since the latter is a thin wrapper around the former. - Deletes functions that are unnecessary due to iterators. - Converts other standalone functions to use iterators and the generic AttrMetaMethods rather than allocating a lot of new vectors (e.g. the old code would have to allocate a new vector to use functions that operated on &[meta_item] on &[attribute].) - Moves the core algorithm of the #[cfg] matching to syntax::attr, similar to find_inline_attr and find_linkage_metas. This doesn't have much of an effect on the speed of #[cfg] stripping, despite hugely reducing the number of allocations performed; presumably most of the time is spent in the ast folder rather than doing attribute checks. Also fixes the Eq instance of MetaItem_ to correctly ignore spaces, so that `rustc --cfg 'foo(bar)'` now works. | ||||
| 2013-06-25 | great renaming propagation: syntax | Corey Richardson | -2/+0 | |
| 2013-06-07 | syntax: move expand_generic_deriving to be a method on TraitDef | Huon Wilson | -6/+2 | |
| 2013-05-22 | syntax: Change syntax extensions to expand to `std::foo` instead of `core::foo` | Patrick Walton | -2/+2 | |
| 2013-05-22 | libextra: Rename the actual metadata names of libcore to libstd and libstd ↵ | Patrick Walton | -1/+2 | |
| to libextra | ||||
| 2013-05-22 | syntax/ext: convert all AstBuilder methods to a uniform syntax. | Huon Wilson | -10/+7 | |
| 2013-05-22 | syntax/ext: migrate build.rs functions to AstBuilder methods. | Huon Wilson | -4/+5 | |
| 2013-05-22 | syntax/ext: modernise ext_ctxt to be CamelCase and use new. | Huon Wilson | -4/+4 | |
| 2013-05-21 | syntax/ext: remove the ~str dependence of the deriving code. | Huon Wilson | -4/+4 | |
| 2013-05-16 | syntax: use fmt! over + in deriving/clone | Huon Wilson | -6/+6 | |
| 2013-05-16 | syntax: implement #[deriving(DeepClone)]. Fixes #6514. | Huon Wilson | -6/+41 | |
| 2013-05-15 | auto merge of #6500 : kud1ing/rust/cleanup, r=bstrie | bors | -9/+0 | |
| Fixes #6445 | ||||
| 2013-05-15 | remove deriving_eq, deriving_iter_bytes, deriving_clone (deprecated in 0.6) | Lenny222 | -9/+0 | |
| 2013-05-14 | rustc: rename ast::self_ty and related fields to explicit_self | Erick Tryzelaar | -1/+1 | |
| 2013-05-14 | syntax: Remove #[allow(vecs_implicitly_copyable)] | Alex Crichton | -3/+3 | |
| 2013-05-07 | libsyntax: extend generic deriving code to handle almost all possible traits. | Huon Wilson | -5/+8 | |
| This adds support for static methods, and arguments of most types, traits with type parameters, methods with type parameters (and lifetimes for both), as well as making the code more robust to support deriving on types with lifetimes (i.e. 'self). | ||||
| 2013-04-12 | libsyntax: short-circuit on non-matching variants in deriving code. | Huon Wilson | -0/+1 | |
| Allow a deriving instance using the generic code to short-circuit for any non-matching enum variants (grouping them all into a _ match), reducing the number of arms required. Use this to speed up the Eq & TotalEq implementations. | ||||
| 2013-04-12 | libsyntax: derive Clone, Eq, TotalEq, Ord, TotalOrd with the new generic ↵ | Huon Wilson | -258/+64 | |
| deriving code. Closes #4269, #5588 and #5589. | ||||
| 2013-04-12 | libsyntax: abstract most of the deriving boilerplate into a simpler(r) ↵ | Huon Wilson | -3/+4 | |
| interface. Pulls out many of the common patterns from the Eq and Clone deriving code (and invents a few of its own), so that deriving instances are very easy to write for a certain class of traits. (Basically, those which don't have parameters and where all methods only take arguments of type `&Self` and return either `Self` or types with no parameters.) | ||||
| 2013-04-10 | syntax: Simplify deriving to handle classes that take generics, like Encodable | Erick Tryzelaar | -2/+4 | |
| 2013-04-10 | syntax: update a deriving error message to use the new syntax | Erick Tryzelaar | -3/+1 | |
| 2013-03-28 | Removing unused imports | Alex Crichton | -8/+1 | |
| 2013-03-28 | librustc: Remove common fields and nested enums from the language | Patrick Walton | -1/+1 | |
| 2013-03-27 | remove sty_by_ref, though traces still remain due to dtors | Niko Matsakis | -1/+1 | |
| 2013-03-26 | Rip out old code that still structured method calls as a | Niko Matsakis | -2/+3 | |
| expr_call(expr_field(...)) rather than an expr_method_call. There is probably more such code in trans that should be removed. | ||||
| 2013-03-22 | syntax: make old `#[deriving_foo]` attribute obsolete | Andrew Paseltiner | -0/+9 | |
| 2013-03-19 | syntax: split deriving module into submodules for each trait | Andrew Paseltiner | -0/+289 | |
