| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2014-03-28 | Remove a RefCell from pprust::State. | Eduard Burtescu | -10/+9 | |
| 2014-03-28 | De-@ IdentInterner. | Eduard Burtescu | -2/+2 | |
| 2014-03-26 | auto merge of #13079 : alexcrichton/rust/colons, r=cmr | bors | -10/+6 | |
| The previous syntax was `Foo:Bound<trait-parameters>`, but this is a little ambiguous because it was being parsed as `Foo: (Bound<trait-parameters)` rather than `Foo: (Bound) <trait-parameters>` This commit changes the syntax to `Foo<trait-parameters>: Bound` in order to be clear where the trait parameters are going. Closes #9265 | ||||
| 2014-03-26 | syntax: Tweak parsing bounds on generics paths | Alex Crichton | -10/+6 | |
| The previous syntax was `Foo:Bound<trait-parameters>`, but this is a little ambiguous because it was being parsed as `Foo: (Bound<trait-parameters)` rather than `Foo: (Bound) <trait-parameters>` This commit changes the syntax to `Foo<trait-parameters>: Bound` in order to be clear where the trait parameters are going. Closes #9265 | ||||
| 2014-03-26 | syntax: Permit visibility on tuple fields | Alex Crichton | -2/+3 | |
| This change is in preparation for #8122. Nothing is currently done with these visibility qualifiers, they are just parsed and accepted by the compiler. RFC: 0004-private-fields | ||||
| 2014-03-22 | syntax: Fix fallout of removing get() | Alex Crichton | -6/+6 | |
| 2014-03-22 | Migrate all users of opt_vec to owned_slice, delete opt_vec. | Huon Wilson | -9/+8 | |
| syntax::opt_vec is now entirely unused, and so can go. | ||||
| 2014-03-20 | Removing imports of std::vec_ng::Vec | Alex Crichton | -3/+0 | |
| It's now in the prelude. | ||||
| 2014-03-20 | rename std::vec_ng -> std::vec | Daniel Micay | -2/+2 | |
| Closes #12771 | ||||
| 2014-03-18 | syntax: Don't parameterize the the pretty printer | Alex Crichton | -18/+19 | |
| The pretty printer constitues an enormous amount of code, there's no reason for it to be generic. This just least to a huge amount of metadata which isn't necessary. Instead, this change migrates the pretty printer to using a trait object instead. Closes #12985 | ||||
| 2014-03-17 | Refactor pprust a bit. | Eduard Burtescu | -2107/+1963 | |
| 2014-03-15 | rustc: Remove compiler support for __log_level() | Alex Crichton | -5/+0 | |
| This commit removes all internal support for the previously used __log_level() expression. The logging subsystem was previously modified to not rely on this magical expression. This also removes the only other function to use the module_data map in trans, decl_gc_metadata. It appears that this is an ancient function from a GC only used long ago. This does not remove the crate map entirely, as libgreen still uses it to hook in to the event loop provided by libgreen. | ||||
| 2014-03-14 | Added support for type placeholders (explicit requested type | Marvin Löbel | -1/+1 | |
| inference in a type with `_` ). This enables partial type inference. | ||||
| 2014-03-13 | Remove Rc's borrow method to avoid conflicts with RefCell's borrow in ↵ | Eduard Burtescu | -1/+1 | |
| Rc<RefCell<T>>. | ||||
| 2014-03-12 | alpha-rename .ident to .name in Lifetime, including in rustdoc. | Felix S. Klock II | -1/+1 | |
| 2014-03-07 | rename ast::ViewItemExternMod to ast::ViewItemExternCrate, and ↵ | Liigo Zhuang | -1/+1 | |
| clean::ExternMod to clean::ExternCrate | ||||
| 2014-03-03 | syntax: make match arms store the expr directly. | Huon Wilson | -30/+14 | |
| 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-02 | Make visible types public in rustc | Steven Fackler | -1/+1 | |
| 2014-03-01 | libsyntax: Fix errors arising from the automated `~[T]` conversion | Patrick Walton | -41/+64 | |
| 2014-03-01 | libsyntax: Mechanically change `~[T]` to `Vec<T>` | Patrick Walton | -9/+9 | |
| 2014-02-26 | Replace callee_id with information stored in method_map. | Eduard Burtescu | -5/+5 | |
| 2014-02-23 | Make break and continue hygienic | Edward Wang | -2/+2 | |
| Makes labelled loops hygiene by performing renaming of the labels defined in e.g. `'x: loop { ... }` and then used in break and continue statements within loop body so that they act hygienically when used with macros. Closes #12262. | ||||
| 2014-02-22 | auto merge of #12451 : edwardw/rust/ident-2-name, r=cmr | bors | -1/+1 | |
| Closes #7743. | ||||
| 2014-02-22 | Represent lifetimes as Names instead of Idents | Edward Wang | -1/+1 | |
| Closes #7743. | ||||
| 2014-02-22 | Reduce reliance on `to_str_radix` | Brendan Zabarauskas | -18/+3 | |
| This is in preparation to remove the implementations of ToStrRadix in integers, and to remove the associated logic from `std::num::strconv`. The parts that still need to be liberated are: - `std::fmt::Formatter::runplural` - `num::{bigint, complex, rational}` | ||||
| 2014-02-20 | Mass rename if_ok! to try! | Alex Crichton | -708/+708 | |
| This "bubble up an error" macro was originally named if_ok! in order to get it landed, but after the fact it was discovered that this name is not exactly desirable. The name `if_ok!` isn't immediately clear that is has much to do with error handling, and it doesn't look fantastic in all contexts (if if_ok!(...) {}). In general, the agreed opinion about `if_ok!` is that is came in as subpar. The name `try!` is more invocative of error handling, it's shorter by 2 letters, and it looks fitting in almost all circumstances. One concern about the word `try!` is that it's too invocative of exceptions, but the belief is that this will be overcome with documentation and examples. Close #12037 | ||||
| 2014-02-14 | extern mod => extern crate | Alex Crichton | -1/+1 | |
| This was previously implemented, and it just needed a snapshot to go through | ||||
| 2014-02-14 | Removed the obsolete ast::CallSugar (previously used by `do`). | Eduard Burtescu | -35/+9 | |
| 2014-02-14 | Refactored ast_map and friends, mainly to have Paths without storing them. | Eduard Burtescu | -61/+51 | |
| 2014-02-13 | Replace `crate` usage with `krate` | Flavio Percoco | -4/+4 | |
| This patch replaces all `crate` usage with `krate` before introducing the new keyword. This ensures that after introducing the keyword, there won't be any compilation errors. krate might not be the most expressive substitution for crate but it's a very close abbreviation for it. `module` was already used in several places already. | ||||
| 2014-02-07 | Removed @self and @Trait. | Eduard Burtescu | -19/+16 | |
| 2014-02-03 | Fixing remaining warnings and errors throughout | Alex Crichton | -164/+54 | |
| 2014-02-03 | std: Fixing all documentation | Alex Crichton | -10/+6 | |
| * Stop referencing io_error * Start changing "Failure" sections to "Error" sections * Update all doc examples to work. | ||||
| 2014-02-03 | syntax: Remove io_error usage | Alex Crichton | -942/+1215 | |
| 2014-02-02 | syntax: remove the unused Vstore enum. | Huon Wilson | -13/+0 | |
| Seems to have been replaced by ExprVstore. | ||||
| 2014-02-02 | syntax: remove the handling of @str and @[] from the parser completely. | Huon Wilson | -1/+0 | |
| 2014-02-02 | syntax: convert LitBinary from @[u8] to Rc<~[u8]>. | Huon Wilson | -2/+2 | |
| 2014-02-02 | libsyntax: Remove the `interner_get` function and all uses | Patrick Walton | -2/+3 | |
| 2014-02-02 | libsyntax: Remove many uses of `token::ident_to_str` | Patrick Walton | -2/+3 | |
| 2014-02-02 | libsyntax: Remove all `@str` from the AST | Patrick Walton | -7/+7 | |
| 2014-02-02 | libsyntax: Make float literals not use `@str` | Patrick Walton | -3/+3 | |
| 2014-02-02 | libsyntax: De-`@str` pathnames | Patrick Walton | -1/+1 | |
| 2014-02-02 | libsyntax: De-`@str` literal strings in the AST | Patrick Walton | -4/+4 | |
| 2014-02-02 | libsyntax: Introduce an `InternedString` type to reduce `@str` in the | Patrick Walton | -5/+5 | |
| compiler and use it for attributes | ||||
| 2014-01-30 | Implement default type parameters in generics. | Eduard Burtescu | -0/+8 | |
| 2014-01-30 | auto merge of #11911 : kballard/rust/empty-functional-update, r=pcwalton | bors | -2/+4 | |
| Fixes #8972 | ||||
| 2014-01-29 | Allow empty functional updating of structs | Kevin Ballard | -2/+4 | |
| Fixes #8972 | ||||
| 2014-01-29 | Removing support for the do syntax from libsyntax and librustc. | Scott Lawrence | -20/+2 | |
| Fixes #10815. | ||||
| 2014-01-27 | Demote self to an (almost) regular argument and remove the env param. | Eduard Burtescu | -25/+28 | |
| Fixes #10667 and closes #10259. | ||||
| 2014-01-26 | Removed all instances of XXX in preparation for relaxing of FIXME rule | Salem Talha | -1/+1 | |
