| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-08-12 | Forbid pub/priv where it has no effect | Alex Crichton | -3/+3 | |
| Closes #5495 | ||||
| 2013-08-11 | libsyntax: Update from `@Object` to `@mut Object` as required | Niko Matsakis | -1/+1 | |
| 2013-08-10 | std: Transform.find_ -> .find | Erick Tryzelaar | -2/+2 | |
| 2013-08-10 | std: Rename Iterator.transform -> .map | Erick Tryzelaar | -2/+2 | |
| cc #5898 | ||||
| 2013-08-10 | Mass rename of .consume{,_iter}() to .move_iter() | Erick Tryzelaar | -1/+1 | |
| cc #7887 | ||||
| 2013-08-07 | core: option.map_consume -> option.map_move | Erick Tryzelaar | -1/+1 | |
| 2013-08-05 | Updated std::Option, std::Either and std::Result | Marvin Löbel | -1/+1 | |
| - Made naming schemes consistent between Option, Result and Either - Changed Options Add implementation to work like the maybe monad (return None if any of the inputs is None) - Removed duplicate Option::get and renamed all related functions to use the term `unwrap` instead | ||||
| 2013-08-03 | remove obsolete `foreach` keyword | Daniel Micay | -2/+2 | |
| this has been replaced by `for` | ||||
| 2013-08-01 | migrate many `for` loops to `foreach` | Daniel Micay | -2/+2 | |
| 2013-07-20 | syntax: modernise attribute handling in syntax::attr. | Huon Wilson | -228/+218 | |
| 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 | -3/+5 | |
| 2013-07-17 | librustc: Add a lint mode for unnecessary `copy` and remove a bunch of them. | Patrick Walton | -1/+1 | |
| 2013-07-12 | Remove the global 'vec::to_owned' function | Alex Crichton | -2/+1 | |
| 2013-07-07 | remove some method resolve workarounds | Daniel Micay | -1/+1 | |
| 2013-07-04 | Remove vec::{filter, filtered, filter_map, filter_mapped}, replaced by ↵ | Huon Wilson | -10/+3 | |
| iterators. | ||||
| 2013-06-25 | Remove extra | Corey Richardson | -1/+1 | |
| 2013-06-25 | great renaming propagation: syntax | Corey Richardson | -5/+3 | |
| 2013-06-23 | vec: remove BaseIter implementation | Daniel Micay | -4/+4 | |
| I removed the `static-method-test.rs` test because it was heavily based on `BaseIter` and there are plenty of other more complex uses of static methods anyway. | ||||
| 2013-06-21 | vec: rm old_iter implementations, except BaseIter | Daniel Micay | -1/+1 | |
| The removed test for issue #2611 is well covered by the `std::iterator` module itself. This adds the `count` method to `IteratorUtil` to replace `EqIter`. | ||||
| 2013-06-18 | replace #[inline(always)] with #[inline]. r=burningtree. | Graydon Hoare | -1/+1 | |
| 2013-06-14 | add IteratorUtil to the prelude | Daniel Micay | -1/+0 | |
| 2013-06-13 | Revert "std: convert {vec,str}::to_owned to methods." | Brian Anderson | -1/+1 | |
| This fixes the strange random crashes in compile-fail tests. This reverts commit 96cd61ad034cc9e88ab6a7845c3480dbc1ea62f3. Conflicts: src/librustc/driver/driver.rs src/libstd/str.rs src/libsyntax/ext/quote.rs | ||||
| 2013-06-13 | Use @str instead of @~str in libsyntax and librustc. Fixes #5048. | Huon Wilson | -21/+21 | |
| 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-06-12 | std: convert {vec,str}::to_owned to methods. | Huon Wilson | -1/+1 | |
| 2013-06-09 | std: remove fold[lr] in favour of iterators | Huon Wilson | -1/+2 | |
| 2013-05-29 | librustc: Stop reexporting the standard modules from prelude. | Patrick Walton | -0/+1 | |
| 2013-05-22 | librustc: Change `std` to `extra` throughout libsyntax and librustc | Patrick Walton | -2/+2 | |
| 2013-05-22 | libextra: Rename the actual metadata names of libcore to libstd and libstd ↵ | Patrick Walton | -0/+2 | |
| to libextra | ||||
| 2013-05-20 | Remove all unnecessary allocations (as flagged by lint) | Alex Crichton | -3/+3 | |
| 2013-05-10 | renamed vec::from_slice to vec::to_owned | Youngsoo Son | -1/+1 | |
| 2013-05-02 | Remove 'Local Variable' comments | Brendan Zabarauskas | -10/+0 | |
| 2013-04-27 | only use #[no_core] in libcore | Daniel Micay | -3/+0 | |
| 2013-04-19 | syntax: de-mode and prepare for de-modeing rustc | Alex Crichton | -4/+4 | |
| 2013-04-03 | rename Linear{Map,Set} => Hash{Map,Set} | Daniel Micay | -2/+2 | |
| 2013-04-03 | hashmap: rm linear namespace | Daniel Micay | -1/+1 | |
| 2013-03-31 | Fix warnings | Brian Anderson | -1/+0 | |
| 2013-03-29 | Add AbiSet and integrate it into the AST. | Niko Matsakis | -21/+0 | |
| I believe this patch incorporates all expected syntax changes from extern function reform (#3678). You can now write things like: extern "<abi>" fn foo(s: S) -> T { ... } extern "<abi>" mod { ... } extern "<abi>" fn(S) -> T The ABI for foreign functions is taken from this syntax (rather than from an annotation). We support the full ABI specification I described on the mailing list. The correct ABI is chosen based on the target architecture. Calls by pointer to C functions are not yet supported, and the Rust type of crust fns is still *u8. | ||||
| 2013-03-27 | derive Eq and Clone impls where applicable | Andrew Paseltiner | -8/+1 | |
| 2013-03-22 | librustc: Remove `pure` from libsyntax and librustc. | Patrick Walton | -4/+4 | |
| 2013-03-13 | librustc: Don't accept `as Trait` anymore; fix all occurrences of it. | Patrick Walton | -1/+1 | |
| 2013-03-13 | Remove `++` mode from the compiler (it is parsed as `+` mode) | Niko Matsakis | -3/+3 | |
| and obsolete `-` mode altogether (it *was* parsed as `+` mode). | ||||
| 2013-03-05 | core: convert vec::{last,last_opt} to return references | Erick Tryzelaar | -1/+1 | |
| 2013-03-04 | Remove unused imports throughout src/ | Alex Crichton | -2/+0 | |
| 2013-02-26 | libsyntax: add some explicit refs | Erick Tryzelaar | -5/+4 | |
| 2013-02-25 | libsyntax: progress on making syntax::visit vecs_implicitly_copyable-free | Erick Tryzelaar | -18/+20 | |
| 2013-02-25 | libsyntax: convert visit to pass ty_params by reference | Erick Tryzelaar | -2/+2 | |
| 2013-02-25 | libsyntax: add explicit modes where required to copy strs/vecs | Erick Tryzelaar | -3/+3 | |
| 2013-02-25 | libsyntax: Convert ast::attribute_ to store a @meta_item | Erick Tryzelaar | -7/+8 | |
| 2013-02-19 | convert ast::meta_items to take @~strs | Erick Tryzelaar | -9/+9 | |
| 2013-02-19 | convert syntax::attr to use @~strs | Erick Tryzelaar | -73/+69 | |
