| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-08-03 | remove obsolete `foreach` keyword | Daniel Micay | -8/+6 | |
| this has been replaced by `for` | ||||
| 2013-08-03 | make `for` parse as `foreach` does | Daniel Micay | -6/+5 | |
| Closes #6997 | ||||
| 2013-08-02 | librustc: Disallow "unsafe" for external functions | Patrick Walton | -2/+9 | |
| 2013-08-01 | migrate many `for` loops to `foreach` | Daniel Micay | -6/+6 | |
| 2013-07-31 | rm ancient error for lowercase kinds | Daniel Micay | -25/+3 | |
| 3 of these kinds no longer even exist in the CamelCase form | ||||
| 2013-07-30 | syntax: implement foreach .. in .. { .. } via desugaring. | Graydon Hoare | -1/+18 | |
| 2013-07-29 | New naming convention for ast::{node_id, local_crate, crate_node_id, ↵ | Michael Woerister | -26/+24 | |
| blk_check_mode, ty_field, ty_method} | ||||
| 2013-07-26 | syntax: fix span for obsolete extern visibility error | Philipp Brüschweiler | -1/+1 | |
| 2013-07-22 | auto merge of #7873 : sstewartgallus/rust/cleanup_syntax, r=alexcrichton | bors | -100/+100 | |
| 2013-07-22 | De-spanned<T> and renamed ast::field (now ast::Field) | Michael Woerister | -5/+6 | |
| 2013-07-22 | Ast spanned<T> refactoring, renaming: crate, local, blk, crate_num, crate_cfg. | Michael Woerister | -29/+29 | |
| `crate => Crate` `local => Local` `blk => Block` `crate_num => CrateNum` `crate_cfg => CrateConfig` Also, Crate and Local are not wrapped in spanned<T> anymore. | ||||
| 2013-07-21 | Cleanup libsyntax a bit | Steven Stewart-Gallus | -100/+100 | |
| 2013-07-21 | syntax: Bless mod.rs. #4116 | Brian Anderson | -12/+25 | |
| When loading a module the parser will look for either foo.rs or foo/mod.rs and generate an error when both are found. | ||||
| 2013-07-20 | auto merge of #7902 : huonw/rust/attr++, r=cmr,pcwalton | bors | -42/+33 | |
| 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 spans, so that `rustc --cfg 'foo(bar)'` now works. | ||||
| 2013-07-20 | librustc: Remove `pub extern` and `priv extern` from the language. | Patrick Walton | -5/+12 | |
| Place `pub` or `priv` on individual items instead. | ||||
| 2013-07-20 | syntax: modernise attribute handling in syntax::attr. | Huon Wilson | -42/+33 | |
| 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-18 | Silence various warnings in bootstrap build. | Felix S. Klock II | -5/+1 | |
| 2013-07-17 | libsyntax: Remove some multi-gigabyte clones that were preventing ↵ | Patrick Walton | -16/+15 | |
| bootstrapping on Windows. | ||||
| 2013-07-17 | librustc: Change repeated vector expressions to use implicit copyability. | Patrick Walton | -1/+6 | |
| 2013-07-17 | librustc: Remove all uses of the `Copy` bound. | Patrick Walton | -30/+30 | |
| 2013-07-17 | librustc: Remove `copy` expressions from the language. | Patrick Walton | -11/+2 | |
| 2013-07-17 | librustc: Remove all uses of "copy". | Patrick Walton | -356/+490 | |
| 2013-07-17 | librustc: Add a lint mode for unnecessary `copy` and remove a bunch of them. | Patrick Walton | -38/+27 | |
| 2013-07-17 | Made ast::blk not use spanned<T> anymore. | Michael Woerister | -14/+12 | |
| 2013-07-10 | unnecessarily mutable variables | Brendan Cully | -1/+1 | |
| 2013-07-09 | Don't use static default method | John Barker | -1/+0 | |
| - also removed redundant assignment to is_mutbl - updated copyright | ||||
| 2013-07-09 | Always eat up mut when parsing general args, fixes #7483 | John Barker | -2/+2 | |
| 2013-07-08 | Correct merge errors | Niko Matsakis | -1/+1 | |
| 2013-07-07 | remove some method resolve workarounds | Daniel Micay | -1/+1 | |
| 2013-07-07 | auto merge of #7615 : Aatch/rust/syntax-deshare, r=graydon | bors | -66/+74 | |
| In an ideal world, the AST would be completely sendable, this gets us a step closer. It removes the local heap allocations for `view_item`, `Path`, `Lifetime` `trait_ref` `OptVec<TyParamBounds>` and `Ty`. There are also a few other smaller changes I made as things went along. | ||||
| 2013-07-07 | De-share ast::Ty | James Miller | -17/+17 | |
| 2013-07-07 | De-manage OptVec<TyParamBounds> | James Miller | -3/+3 | |
| 2013-07-07 | De-share trait_ref | James Miller | -4/+4 | |
| Also, makes the pretty-printer use & instead of @ as much as possible, which will help with later changes, though in the interim has produced some... interesting constructs. | ||||
| 2013-07-07 | De-manage Lifetime | James Miller | -10/+10 | |
| 2013-07-07 | De-managed ast::Path | James Miller | -26/+34 | |
| 2013-07-07 | Stop allocating view_items with @ | James Miller | -7/+7 | |
| 2013-07-07 | auto merge of #7585 : Blei/rust/fix-circular-modules, r=huonw | bors | -2/+19 | |
| Fixes #7276 | ||||
| 2013-07-05 | Change spans for sugary call expressions | Seo Sanghyeon | -9/+8 | |
| 2013-07-04 | libsyntax: fix infinite loop when recursively including modules | Philipp Brüschweiler | -2/+19 | |
| Fixes #7276 | ||||
| 2013-06-29 | Remove mutability from unique boxes in the AST | Alex Crichton | -4/+8 | |
| 2013-06-28 | librustc: Fix merge fallout. | Patrick Walton | -1/+1 | |
| 2013-06-28 | librustc: Rewrite reachability and forbid duplicate methods in type ↵ | Patrick Walton | -2/+249 | |
| implementations. This should allow fewer symbols to be exported. | ||||
| 2013-06-28 | librustc: Remove the broken overloaded assign-ops from the language. | Patrick Walton | -2/+6 | |
| They evaluated the receiver twice. They should be added back with `AddAssign`, `SubAssign`, etc., traits. | ||||
| 2013-06-28 | libsyntax: Remove "copy" pattern bindings from the language | Patrick Walton | -2/+2 | |
| 2013-06-28 | libsyntax: Fix merge fallout | Patrick Walton | -2/+4 | |
| 2013-06-28 | librustc: Disallow "mut" from distributing over bindings. | Patrick Walton | -2/+14 | |
| This is the backwards-incompatible part of per-binding-site "mut". | ||||
| 2013-06-26 | Infer default static/Owned bounds for unbounded heap fns/traits (#7264) | Ben Blum | -7/+13 | |
| 2013-06-25 | auto merge of #7269 : luqmana/rust/drop, r=thestinger | bors | -1/+1 | |
| Finally rename finalize to drop. Closes #4332. | ||||
| 2013-06-25 | Change finalize -> drop. | Luqman Aden | -1/+1 | |
| 2013-06-25 | great renaming propagation: syntax | Corey Richardson | -6/+4 | |
