| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2014-03-30 | Removed deprecated functions `map` and `flat_map` for vectors and slices. | Marvin Löbel | -6/+4 | |
| 2014-03-27 | serialize: use Result | Sean McArthur | -0/+48 | |
| All of Decoder and Encoder's methods now return a Result. Encodable.encode() and Decodable.decode() return a Result as well. fixes #12292 | ||||
| 2014-03-22 | syntax: Fix fallout of removing get() | Alex Crichton | -1/+1 | |
| 2014-03-22 | Migrate all users of opt_vec to owned_slice, delete opt_vec. | Huon Wilson | -18/+15 | |
| syntax::opt_vec is now entirely unused, and so can go. | ||||
| 2014-03-20 | Removing imports of std::vec_ng::Vec | Alex Crichton | -2/+0 | |
| It's now in the prelude. | ||||
| 2014-03-20 | rename std::vec_ng -> std::vec | Daniel Micay | -2/+2 | |
| Closes #12771 | ||||
| 2014-03-17 | De-@ codemap and diagnostic. | Eduard Burtescu | -1/+1 | |
| 2014-03-12 | Changed lists of lifetimes in ast and ty to use Vec instead of OptVec. | Felix S. Klock II | -6/+6 | |
| 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-12 | alpha-rename .ident to .name in Lifetime, including in rustdoc. | Felix S. Klock II | -2/+2 | |
| 2014-03-03 | syntax: make match arms store the expr directly. | Huon Wilson | -1/+1 | |
| Previously `ast::Arm` was always storing a single `ast::Expr` wrapped in an `ast::Block` (for historical reasons, AIUI), so we might as just store that expr directly. Closes #3085. | ||||
| 2014-03-01 | libsyntax: Fix errors arising from the automated `~[T]` conversion | Patrick Walton | -11/+22 | |
| 2014-03-01 | libsyntax: Mechanically change `~[T]` to `Vec<T>` | Patrick Walton | -117/+113 | |
| 2014-02-26 | Replace callee_id with information stored in method_map. | Eduard Burtescu | -5/+4 | |
| 2014-02-22 | auto merge of #12451 : edwardw/rust/ident-2-name, r=cmr | bors | -2/+2 | |
| Closes #7743. | ||||
| 2014-02-21 | syntax: add syntax extension helper to make simple view items | Erick Tryzelaar | -0/+17 | |
| 2014-02-22 | Represent lifetimes as Names instead of Idents | Edward Wang | -2/+2 | |
| Closes #7743. | ||||
| 2014-02-14 | Removed the obsolete ast::CallSugar (previously used by `do`). | Eduard Burtescu | -4/+3 | |
| 2014-02-07 | Removed @self and @Trait. | Eduard Burtescu | -5/+0 | |
| 2014-02-02 | libsyntax: De-`@str` literal strings in the AST | Patrick Walton | -8/+12 | |
| 2014-02-02 | libsyntax: Introduce an `InternedString` type to reduce `@str` in the | Patrick Walton | -6/+22 | |
| compiler and use it for attributes | ||||
| 2014-01-30 | Implement default type parameters in generics. | Eduard Burtescu | -3/+14 | |
| 2014-01-27 | Demote self to an (almost) regular argument and remove the env param. | Eduard Burtescu | -4/+5 | |
| Fixes #10667 and closes #10259. | ||||
| 2014-01-26 | Removed all instances of XXX in preparation for relaxing of FIXME rule | Salem Talha | -3/+3 | |
| 2014-01-21 | [std::vec] Rename .pop_opt() to .pop(), drop the old .pop() behavior | Simon Sapin | -1/+1 | |
| 2014-01-16 | Load macros from external modules | Steven Fackler | -2/+2 | |
| 2014-01-09 | libsyntax: Renamed types, traits and enum variants to CamelCase. | Eduard Burtescu | -108/+99 | |
| 2014-01-03 | librustc: Remove `@mut` support from the parser | Patrick Walton | -5/+6 | |
| 2014-01-01 | syntax::codemap: Add static DUMMY_SP | klutzy | -5/+5 | |
| It replaces `dummy_sp()`. | ||||
| 2013-12-29 | Start passing around &mut ExtCtxt | Steven Fackler | -3/+3 | |
| 2013-12-29 | Make ast_fold take &mut self | Steven Fackler | -2/+2 | |
| 2013-12-28 | Stop using @ExtCtxt | Steven Fackler | -9/+9 | |
| 2013-12-24 | Test fixes and rebase problems | Alex Crichton | -1/+0 | |
| Note that this removes a number of run-pass tests which are exercising behavior of the old runtime. This functionality no longer exists and is thoroughly tested inside of libgreen and libnative. There isn't really the notion of "starting the runtime" any more. The major notion now is "bootstrapping the initial task". | ||||
| 2013-12-17 | Remove obsolete mutability from ast::Ty | Seo Sanghyeon | -1/+1 | |
| 2013-12-01 | Box Block, fn_decl, variant and Ty in the AST, as they were inflating ↵ | Eduard Burtescu | -81/+83 | |
| critical enum sizes. | ||||
| 2013-11-26 | libsyntax: Remove all non-`proc` `do` syntax. | Patrick Walton | -4/+4 | |
| 2013-11-08 | Generalize AST and ty::Generics to accept multiple lifetimes. | Niko Matsakis | -7/+7 | |
| 2013-11-04 | libsyntax/librustc: Allow calling variadic foreign functions. | Luqman Aden | -0/+1 | |
| 2013-10-30 | Prepared `std::sys` for removal, and made `begin_unwind` simpler | Marvin Löbel | -3/+3 | |
| - `begin_unwind` is now generic over any `T: Any + Send`. - Every value you fail with gets boxed as an `~Any`. - Because of implementation details, `&'static str` and `~str` are still handled specially behind the scenes. - Changed the big macro source string in libsyntax to a raw string literal, and enabled doc comments there. | ||||
| 2013-10-28 | Field identifiers now include specific spans (Closes #8263). | Joshua Yanovski | -1/+1 | |
| 2013-10-25 | libsyntax/librustc: Allow mut qualifier in patterns. | Luqman Aden | -6/+11 | |
| 2013-10-09 | option: rewrite the API to use composition | Daniel Micay | -1/+1 | |
| 2013-10-08 | add new enum ast::StrStyle as field to ast::lit_str | Benjamin Herr | -1/+1 | |
| For the benefit of the pretty printer we want to keep track of how string literals in the ast were originally represented in the source code. This commit changes parser functions so they don't extract strings from the token stream without at least also returning what style of string literal it was. This is stored in the resulting ast node for string literals, obviously, for the package id in `extern mod = r"package id"` view items, for the inline asm in `asm!()` invocations. For `asm!()`'s other arguments or for `extern "Rust" fn()` items, I just the style of string, because it seemed disproportionally cumbersome to thread that information through the string processing that happens with those string literals, given the limited advantage raw string literals would provide in these positions. The other syntax extensions don't seem to store passed string literals in the ast, so they also discard the style of strings they parse. | ||||
| 2013-10-02 | syntax: swap from .span_fatal to .span_err in #[deriving(FromPrimitive)] | Erick Tryzelaar | -2/+7 | |
| 2013-10-02 | syntax: Add #[deriving(FromPrimitive)] syntax extension | Erick Tryzelaar | -0/+27 | |
| Right now this only works for c-style enums. | ||||
| 2013-09-24 | Correctly encode item visibility in metadata | Alex Crichton | -1/+1 | |
| This fixes private statics and functions from being usable cross-crates, along with some bad privacy error messages. This is a reopening of #8365 with all the privacy checks in privacy.rs instead of resolve.rs (where they should be anyway). These maps of exported items will hopefully get used for generating documentation by rustdoc Closes #8592 | ||||
| 2013-09-23 | librustc: Fix merge fallout. | Patrick Walton | -1/+1 | |
| 2013-09-23 | librustc: Change fold to use traits instead of `@fn`. | Patrick Walton | -0/+30 | |
| 2013-09-18 | Register new snapshots | Alex Crichton | -14/+0 | |
| 2013-09-10 | Delay assignment of node ids until after expansion. Ensures that each AST node | Niko Matsakis | -48/+24 | |
| 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 | -182/+182 | |
