| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2014-03-22 | Migrate all users of opt_vec to owned_slice, delete opt_vec. | Huon Wilson | -174/+0 | |
| syntax::opt_vec is now entirely unused, and so can go. | ||||
| 2014-03-21 | syntax: make OptVec immutable. | Huon Wilson | -45/+2 | |
| This is the first step to replacing OptVec with a new representation: remove all mutability. Any mutations have to go via `Vec` and then make to `OptVec`. Many of the uses of OptVec are unnecessary now that Vec has no-alloc emptiness (and have been converted to Vec): the only ones that really need it are the AST and sty's (and so on) where there are a *lot* of instances of them, and they're (mostly) immutable. | ||||
| 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-20 | rename std::vec -> std::slice | Daniel Micay | -2/+2 | |
| Closes #12702 | ||||
| 2014-03-01 | libsyntax: Fix errors arising from the automated `~[T]` conversion | Patrick Walton | -3/+4 | |
| 2014-03-01 | libsyntax: Mechanically change `~[T]` to `Vec<T>` | Patrick Walton | -9/+9 | |
| 2014-02-24 | Remove std::default::Default from the prelude | Brendan Zabarauskas | -0/+1 | |
| 2014-02-24 | Transition to new `Hash`, removing IterBytes and std::to_bytes. | Huon Wilson | -1/+1 | |
| 2014-02-08 | Fixed error starting with uppercase | mr.Shu | -2/+2 | |
| Error messages cleaned in librustc/middle Error messages cleaned in libsyntax Error messages cleaned in libsyntax more agressively Error messages cleaned in librustc more aggressively Fixed affected tests Fixed other failing tests Last failing tests fixed | ||||
| 2014-01-30 | Make mut_last return Option instead of failing on empty vector (and add a ↵ | Nathaniel Herman | -2/+2 | |
| test for mut_last) | ||||
| 2014-01-21 | [std::vec] Rename .pop_opt() to .pop(), drop the old .pop() behavior | Simon Sapin | -2/+2 | |
| 2014-01-21 | [std::vec] Rename .last_opt() to .last(), drop the old .last() behavior | Simon Sapin | -2/+2 | |
| 2014-01-18 | Rename iterators for consistency | Palmer Cox | -8/+8 | |
| Rename existing iterators to get rid of the Iterator suffix and to give them names that better describe the things being iterated over. | ||||
| 2014-01-15 | Issue #3511 - Rationalize temporary lifetimes. | Niko Matsakis | -4/+43 | |
| Major changes: - Define temporary scopes in a syntax-based way that basically defaults to the innermost statement or conditional block, except for in a `let` initializer, where we default to the innermost block. Rules are documented in the code, but not in the manual (yet). See new test run-pass/cleanup-value-scopes.rs for examples. - Refactors Datum to better define cleanup roles. - Refactor cleanup scopes to not be tied to basic blocks, permitting us to have a very large number of scopes (one per AST node). - Introduce nascent documentation in trans/doc.rs covering datums and cleanup in a more comprehensive way. | ||||
| 2013-12-11 | Make 'self lifetime illegal. | Erik Price | -4/+4 | |
| Also remove all instances of 'self within the codebase. This fixes #10889. | ||||
| 2013-11-19 | libsyntax: Change all uses of `&fn` to `||`. | Patrick Walton | -4/+4 | |
| 2013-11-08 | Generalize AST and ty::Generics to accept multiple lifetimes. | Niko Matsakis | -0/+10 | |
| 2013-10-22 | Drop the '2' suffix from logging macros | Alex Crichton | -1/+1 | |
| Who doesn't like a massive renaming? | ||||
| 2013-09-30 | syntax: Remove usage of fmt! | Alex Crichton | -1/+1 | |
| 2013-09-12 | libsyntax: add Default implementation to OptVec | Erick Tryzelaar | -0/+4 | |
| 2013-08-12 | Forbid pub/priv where it has no effect | Alex Crichton | -2/+2 | |
| Closes #5495 | ||||
| 2013-08-10 | Merge branch 'enum-method-privacy' of ↵ | Erick Tryzelaar | -12/+12 | |
| https://github.com/michaelwoerister/rust into rollup Conflicts: src/libsyntax/opt_vec.rs | ||||
| 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 | -2/+2 | |
| cc #7887 | ||||
| 2013-08-07 | Enable privacy check for enum methods. | Michael Woerister | -12/+12 | |
| 2013-07-24 | Generalize the `ty::substs` struct so that it can represent | Niko Matsakis | -1/+0 | |
| multiple lifetime parameters, and not just one. Also add an option for erasing lifetimes, which makes trans code somewhat simpler and cleaner. | ||||
| 2013-07-17 | librustc: Remove all uses of "copy". | Patrick Walton | -2/+2 | |
| 2013-07-07 | De-manage OptVec<TyParamBounds> | James Miller | -1/+8 | |
| 2013-07-06 | Implement size_hint() on all remaining Iterators | Kevin Ballard | -0/+8 | |
| Add size_hint() to the Iterators in libextra and the Iterator in libsyntax. Skip deque for the moment, as it's being worked on elsewhere. | ||||
| 2013-06-29 | Use more deriving(IterBytes) in libsyntax. | Ben Blum | -1/+1 | |
| 2013-06-25 | auto merge of #7365 : cmr/rust/syntax_cleanup, r=Aatch | bors | -2/+1 | |
| Sets the stage for further cleanup (especially mass-slaughter of `@`) | ||||
| 2013-06-25 | remove the redundant `each` method from OptVec | Daniel Micay | -7/+0 | |
| 2013-06-25 | great renaming propagation: syntax | Corey Richardson | -2/+1 | |
| 2013-06-24 | remove old_iter | Daniel Micay | -79/+38 | |
| the `test/run-pass/class-trait-bounded-param.rs` test was xfailed and written in an ancient dialect of Rust so I've just removed it this also removes `to_vec` from DList because it's provided by `std::iter::to_vec` an Iterator implementation is added for OptVec but some transitional internal iterator methods are still left | ||||
| 2013-06-23 | vec: remove BaseIter implementation | Daniel Micay | -1/+1 | |
| 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-18 | replace #[inline(always)] with #[inline]. r=burningtree. | Graydon Hoare | -13/+13 | |
| 2013-06-15 | rm CopyableOrderedIter | Daniel Micay | -7/+0 | |
| replaced with OrdIterator | ||||
| 2013-05-22 | libstd: Fix merge fallout. | Patrick Walton | -0/+2 | |
| 2013-05-20 | auto merge of #6635 : brson/rust/snapshot, r=brson | bors | -14/+0 | |
| 2013-05-19 | Register snapshots | Brian Anderson | -14/+0 | |
| 2013-05-19 | Fix many warnings. | Steve Klabnik | -1/+0 | |
| 2013-05-16 | syntax: deprecate #[auto_{en,de}code] in favour of #[deriving({En,De}codable)]. | Huon Wilson | -2/+1 | |
| Replace all instances of #[auto_*code] with the appropriate #[deriving] attribute and remove the majority of the actual code, leaving stubs to refer the user to the new syntax. | ||||
| 2013-05-14 | Use static string with fail!() and remove fail!(fmt!()) | Björn Steinbrink | -1/+1 | |
| fail!() used to require owned strings but can handle static strings now. Also, it can pass its arguments to fmt!() on its own, no need for the caller to call fmt!() itself. | ||||
| 2013-05-10 | syntax: Use the new `for` protocol | Alex Crichton | -0/+14 | |
| 2013-05-04 | Register snapshots | Brian Anderson | -9/+0 | |
| 2013-04-29 | auto merge of #6083 : jbclements/rust/parser-cleanup, r=jbclements | bors | -3/+1 | |
| r? @pcwalton A month's worth of parser cleanup here. Much of this is new comments and renaming. A number of these commits also remove unneeded code. Probably the biggest refactor here is splitting "parse_item_or_view_item" into two functions; it turns out that the only overlap between items in foreign modules and items in regular modules was macros, so this refactor should make things substantially easier for future maintenance. | ||||
| 2013-04-28 | make way for a new iter module | Daniel Micay | -21/+22 | |
| 2013-04-28 | change stage1,stage2,stage2 into not(stage0) | John Clements | -3/+1 | |
| With luck, this will allow rust to compile itself without --cfg flags again... | ||||
| 2013-04-27 | only use #[no_core] in libcore | Daniel Micay | -1/+0 | |
