| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2014-06-14 | rustc: Obsolete the `@` syntax entirely | Alex Crichton | -1/+1 | |
| This removes all remnants of `@` pointers from rustc. Additionally, this removes the `GC` structure from the prelude as it seems odd exporting an experimental type in the prelude by default. Closes #14193 [breaking-change] | ||||
| 2014-06-11 | syntax: Move the AST from @T to Gc<T> | Alex Crichton | -1/+1 | |
| 2014-05-24 | core: rename strbuf::StrBuf to string::String | Richo Healey | -2/+2 | |
| [breaking-change] | ||||
| 2014-05-22 | libstd: Remove all uses of `~str` from `libstd` | Patrick Walton | -1/+1 | |
| 2014-05-06 | librustc: Remove `~EXPR`, `~TYPE`, and `~PAT` from the language, except | Patrick Walton | -1/+1 | |
| for `~str`/`~[]`. Note that `~self` still remains, since I forgot to add support for `Box<self>` before the snapshot. How to update your code: * Instead of `~EXPR`, you should write `box EXPR`. * Instead of `~TYPE`, you should write `Box<Type>`. * Instead of `~PATTERN`, you should write `box PATTERN`. [breaking-change] | ||||
| 2014-04-16 | syntax: unify all MacResult's into a single trait. | Huon Wilson | -4/+4 | |
| There's now one unified way to return things from a macro, instead of being able to choose the `AnyMacro` trait or the `MRItem`/`MRExpr` variants of the `MacResult` enum. This does simplify the logic handling the expansions, but the biggest value of this is it makes macros in (for example) type position easier to implement, as there's this single thing to modify. By my measurements (using `-Z time-passes` on libstd and librustc etc.), this appears to have little-to-no impact on expansion speed. There are presumably larger costs than the small number of extra allocations and virtual calls this adds (notably, all `macro_rules!`-defined macros have not changed in behaviour, since they had to use the `AnyMacro` trait anyway). | ||||
| 2014-04-10 | libstd: Implement `StrBuf`, a new string buffer type like `Vec`, and | Patrick Walton | -2/+4 | |
| port all code over to use it. | ||||
| 2014-03-22 | Migrate all users of opt_vec to owned_slice, delete opt_vec. | Huon Wilson | -2/+2 | |
| syntax::opt_vec is now entirely unused, and so can go. | ||||
| 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-12 | Changed lists of lifetimes in ast and ty to use Vec instead of OptVec. | Felix S. Klock II | -1/+2 | |
| There is a broader revision (that does this across the board) pending in #12675, but that is awaiting the arrival of more data (to decide whether to keep OptVec alive by using a non-Vec internally). For this code, the representation of lifetime lists needs to be the same in both ScopeChain and in the ast and ty structures. So it seemed cleanest to just use `vec_ng::Vec`, now that it has a cheaper empty representation than the current `vec` code. | ||||
| 2014-03-01 | libsyntax: Mechanically change `~[T]` to `Vec<T>` | Patrick Walton | -2/+2 | |
| 2014-02-18 | Avoid returning original macro if expansion fails. | Douglas Young | -2/+2 | |
| Closes #11692. Instead of returning the original expression, a dummy expression (with identical span) is returned. This prevents infinite loops of failed expansions as well as odd double error messages in certain situations. | ||||
| 2014-02-14 | Refactored ast_map and friends, mainly to have Paths without storing them. | Eduard Burtescu | -2/+1 | |
| 2014-02-02 | librustc: Fix merge fallout. | Patrick Walton | -1/+4 | |
| 2014-01-18 | syntax::ext: replace span_fatal with span_err in many places. | Huon Wilson | -2/+8 | |
| This means that compilation continues for longer, and so we can see more errors per compile. This is mildly more user-friendly because it stops users having to run rustc n times to see n macro errors: just run it once to see all of them. | ||||
| 2014-01-09 | libsyntax: Renamed types, traits and enum variants to CamelCase. | Eduard Burtescu | -3/+3 | |
| 2013-12-29 | Start passing around &mut ExtCtxt | Steven Fackler | -1/+1 | |
| 2013-12-28 | Stop using @ExtCtxt | Steven Fackler | -1/+1 | |
| 2013-11-08 | Generalize AST and ty::Generics to accept multiple lifetimes. | Niko Matsakis | -1/+1 | |
| 2013-09-10 | Delay assignment of node ids until after expansion. Ensures that each AST node | Niko Matsakis | -1/+1 | |
| has a unique id. Fixes numerous bugs in macro expansion and deriving. Add two representative tests. Fixes #7971 Fixes #6304 Fixes #8367 Fixes #8754 Fixes #8852 Fixes #2543 Fixes #7654 | ||||
| 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 | -2/+2 | |
| 2013-08-27 | librustc: Add support for type parameters in the middle of paths. | Patrick Walton | -3/+8 | |
| For example, `foo::<T>::bar::<U>`. This doesn't enforce that the type parameters are in the right positions, however. | ||||
| 2013-08-03 | remove obsolete `foreach` keyword | Daniel Micay | -1/+1 | |
| this has been replaced by `for` | ||||
| 2013-08-01 | migrate many `for` loops to `foreach` | Daniel Micay | -1/+1 | |
| 2013-07-07 | De-managed ast::Path | James Miller | -1/+1 | |
| 2013-06-28 | librustc: Remove the broken overloaded assign-ops from the language. | Patrick Walton | -2/+1 | |
| They evaluated the receiver twice. They should be added back with `AddAssign`, `SubAssign`, etc., traits. | ||||
| 2013-06-25 | great renaming propagation: syntax | Corey Richardson | -2/+0 | |
| 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-05 | removed unused imports (and one unused argument) | John Clements | -1/+1 | |
| 2013-06-05 | interner just uses uints, not idents with syntax context | John Clements | -2/+2 | |
| 2013-06-05 | just use TLS interner | John Clements | -1/+2 | |
| 2013-06-01 | syntax: move callee_id into the expr_ variants | Erick Tryzelaar | -1/+0 | |
| 2013-05-22 | libextra: Rename the actual metadata names of libcore to libstd and libstd ↵ | Patrick Walton | -0/+2 | |
| to libextra | ||||
| 2013-05-22 | syntax/ext: modernise ext_ctxt to be CamelCase and use new. | Huon Wilson | -1/+1 | |
| 2013-05-20 | Remove all unnecessary allocations (as flagged by lint) | Alex Crichton | -4/+2 | |
| 2013-05-09 | Use a specialized string interner to reduce the need for owned strings | Björn Steinbrink | -1/+1 | |
| &str can be turned into @~str on demand, using to_owned(), so for strings, we can create a specialized interner that accepts &str for intern() and find() but stores and returns @~str. | ||||
| 2013-04-27 | only use #[no_core] in libcore | Daniel Micay | -2/+0 | |
| 2013-04-10 | path -> Path | John Clements | -1/+1 | |
| 2013-03-13 | librustc: Don't accept `as Trait` anymore; fix all occurrences of it. | Patrick Walton | -1/+1 | |
| 2013-03-01 | Merge remote-tracking branch 'remotes/origin/incoming' into incoming | Erick Tryzelaar | -0/+3 | |
| 2013-02-28 | Fix implicit leaks of imports throughout libraries | Alex Crichton | -0/+3 | |
| Also touch up use of 'pub' and move some tests around so the tested functions don't have to be 'pub' | ||||
| 2013-02-25 | libsyntax: convert visit to pass ty_params by reference | Erick Tryzelaar | -1/+1 | |
| 2013-01-29 | libsyntax: De-export libsyntax. rs=deexporting | Patrick Walton | -1/+1 | |
| 2013-01-23 | renaming to adhere to conventions | John Clements | -2/+2 | |
| 2013-01-20 | convert ast::expr into a struct | Erick Tryzelaar | -8/+14 | |
| 2013-01-14 | Change ast::path into a struct. | Erick Tryzelaar | -3/+5 | |
| 2013-01-08 | librustc: Make unqualified identifier searches terminate at the nearest ↵ | Patrick Walton | -0/+2 | |
| module scope. r=tjc | ||||
| 2013-01-08 | Revert "librustc: Make unqualified identifier searches terminate at the ↵ | Patrick Walton | -2/+0 | |
| nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6. | ||||
