| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-08-17 | Fix warnings in librustc and libsyntax | Erick Tryzelaar | -1/+0 | |
| 2013-08-08 | Allow attributes to appear as macro arguments | Niko Matsakis | -57/+74 | |
| Fixes #8393 | ||||
| 2013-07-20 | syntax: modernise attribute handling in syntax::attr. | Huon Wilson | -28/+28 | |
| 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-07-17 | librustc: Remove all uses of "copy". | Patrick Walton | -8/+6 | |
| 2013-06-28 | librustc: Remove the broken overloaded assign-ops from the language. | Patrick Walton | -9/+7 | |
| They evaluated the receiver twice. They should be added back with `AddAssign`, `SubAssign`, etc., traits. | ||||
| 2013-06-13 | Use @str instead of @~str in libsyntax and librustc. Fixes #5048. | Huon Wilson | -2/+2 | |
| 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-05-28 | Remove unnecessary allocations flagged by lint | Seo Sanghyeon | -6/+6 | |
| 2013-05-20 | Remove all unnecessary allocations (as flagged by lint) | Alex Crichton | -1/+1 | |
| 2013-05-03 | More accurate spans | Seo Sanghyeon | -1/+1 | |
| 2013-05-02 | Remove 'Local Variable' comments | Brendan Zabarauskas | -10/+0 | |
| 2013-04-28 | parser comments | John Clements | -0/+7 | |
| parser comments | ||||
| 2013-04-20 | syntax: remove unused 'mut' variables | Alex Crichton | -4/+4 | |
| 2013-03-04 | Remove unused imports throughout src/ | Alex Crichton | -4/+0 | |
| 2013-03-03 | libsyntax: add &self to parser methods | Erick Tryzelaar | -15/+18 | |
| 2013-03-01 | Merge remote-tracking branch 'remotes/origin/incoming' into incoming | Erick Tryzelaar | -0/+1 | |
| 2013-02-28 | Fix implicit leaks of imports throughout libraries | Alex Crichton | -0/+1 | |
| 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 explicit copies | Erick Tryzelaar | -3/+9 | |
| 2013-02-26 | libsyntax: more minor cleanup | Erick Tryzelaar | -2/+2 | |
| 2013-02-26 | libsyntax: change attr::parse_seq_* to take &Token | Erick Tryzelaar | -2/+2 | |
| 2013-02-25 | libsyntax: minor cleanup | Erick Tryzelaar | -3/+6 | |
| 2013-02-25 | libsyntax: change expect to take &token::Token | Erick Tryzelaar | -3/+3 | |
| 2013-02-25 | libsyntax: Convert ast::attribute_ to store a @meta_item | Erick Tryzelaar | -1/+1 | |
| 2013-02-22 | libsyntax: De-mut the parser. rs=demuting | Patrick Walton | -5/+5 | |
| 2013-02-21 | Cleanup, commenting, trivial renaming | John Clements | -0/+4 | |
| 2013-02-21 | Get rid of structural records in libsyntax and the last bit in librustc. | Luqman Aden | -3/+3 | |
| 2013-02-19 | convert ast::meta_items to take @~strs | Erick Tryzelaar | -16/+16 | |
| 2013-02-14 | librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵ | Patrick Walton | -1/+1 | |
| rs=implflipping | ||||
| 2013-01-31 | test cases, cleanup | John Clements | -1/+1 | |
| 2013-01-29 | libsyntax: De-export a lot of libsyntax. rs=deëxporting | Patrick Walton | -3/+1 | |
| 2013-01-14 | convert ast::attribute_ and ast::view_item to a struct | Erick Tryzelaar | -4/+6 | |
| 2013-01-08 | librustc: Make unqualified identifier searches terminate at the nearest ↵ | Patrick Walton | -0/+3 | |
| module scope. r=tjc | ||||
| 2013-01-08 | Revert "librustc: Make unqualified identifier searches terminate at the ↵ | Patrick Walton | -3/+0 | |
| nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6. | ||||
| 2013-01-08 | librustc: Make unqualified identifier searches terminate at the nearest ↵ | Patrick Walton | -0/+3 | |
| module scope. r=tjc | ||||
| 2012-12-27 | librustc: Terminate name searches at the nearest module scope for paths that ↵ | Patrick Walton | -1/+4 | |
| contain at least two components. r=graydon | ||||
| 2012-12-13 | librustc: Make `use` statements crate-relative by default. r=brson | Patrick Walton | -1/+1 | |
| 2012-12-12 | syntax: remove most code handling old-style syntax extensions. | Graydon Hoare | -35/+0 | |
| 2012-12-03 | Update license, add license boilerplate to most files. Remainder will follow. | Graydon Hoare | -0/+10 | |
| 2012-11-16 | Change spans to use byte offsets instead of char offsets | Brian Anderson | -2/+2 | |
| 2012-11-14 | Add types for character position and byte position in the codemap | Brian Anderson | -2/+2 | |
| 2012-10-15 | rustc: Merge module and type namespaces. r=brson | Patrick Walton | -1/+1 | |
| 2012-09-20 | Revert "syntax: Make attributes sendable for rustdoc's benefit" | Brian Anderson | -10/+10 | |
| This reverts commit 90e3665fa79d32c3188169cfa992516fb36b81a8. | ||||
| 2012-09-20 | syntax: Make attributes sendable for rustdoc's benefit | Brian Anderson | -10/+10 | |
| 2012-09-04 | libsyntax: "import" -> "use" | Patrick Walton | -3/+3 | |
| 2012-08-26 | Camel case the option type | Brian Anderson | -6/+6 | |
| 2012-08-22 | intern identifiers | Paul Stansifer | -6/+6 | |
| 2012-08-15 | Convert more core types to camel case | Brian Anderson | -5/+5 | |
| 2012-08-08 | Convert impls to new syntax | Brian Anderson | -1/+1 | |
| 2012-08-06 | Convert alt to match. Stop parsing alt | Brian Anderson | -5/+5 | |
| 2012-08-05 | Switch alts to use arrows | Brian Anderson | -20/+16 | |
| 2012-08-01 | Convert ret to return | Brian Anderson | -15/+15 | |
