| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-12-10 | Support imports of the form `use {foo,bar}` | Kevin Ballard | -0/+15 | |
| This fixes #10806. | ||||
| 2013-12-10 | auto merge of #10833 : sfackler/rust/mut-pat, r=brson | bors | -1/+16 | |
| Previously, if you wanted to bind a field mutably or by ref, you had to do something like Foo { x: ref mut x }. You can now just do Foo { ref mut x }. Closes #6137 | ||||
| 2013-12-10 | Allow ref and mut modifiers for short form field patterns | Steven Fackler | -1/+16 | |
| Previously, if you wanted to bind a field mutably or by ref, you had to do something like Foo { x: ref mut x }. You can now just do Foo { ref mut x }. Closes #6137 | ||||
| 2013-12-08 | Remove dead codes | Kiet Tran | -100/+0 | |
| 2013-12-04 | Revert "libstd: Change `Path::new` to `Path::init`." | Kevin Ballard | -2/+2 | |
| This reverts commit c54427ddfbbab41a39d14f2b1dc4f080cbc2d41b. Leave the #[ignores] in that were added to rustpkg tests. Conflicts: src/librustc/driver/driver.rs src/librustc/metadata/creader.rs | ||||
| 2013-12-03 | Fix the comments for libsyntax::parse::parser::parse_sugary_call_expr | Kevin Ballard | -8/+8 | |
| The comments on this function date back from when it was used for `for` expressions in addition to `do` expressions. | ||||
| 2013-12-01 | auto merge of #10750 : Blei/rust/no-at-struct-field, r=alexcrichton | bors | -7/+7 | |
| 2013-12-01 | ast: Remove one `@` and fix the fallout | Philipp Brüschweiler | -7/+7 | |
| 2013-12-01 | Box Block, fn_decl, variant and Ty in the AST, as they were inflating ↵ | Eduard Burtescu | -62/+78 | |
| critical enum sizes. | ||||
| 2013-11-29 | libstd: Change `Path::new` to `Path::init`. | Patrick Walton | -2/+2 | |
| 2013-11-28 | Register new snapshots | Alex Crichton | -42/+39 | |
| 2013-11-27 | Freeze the AST by removing a couple of unused @mut ~[T] from token_tree. | Eduard Burtescu | -2/+2 | |
| 2013-11-26 | libsyntax: Remove all non-`proc` `do` syntax. | Patrick Walton | -25/+21 | |
| 2013-11-26 | libsyntax: Remove the old-style borrowed closure type syntax from the | Patrick Walton | -1/+2 | |
| language. | ||||
| 2013-11-26 | Removed unneccessary `_iter` suffixes from various APIs | Marvin Löbel | -1/+1 | |
| 2013-11-25 | auto merge of #10628 : huonw/rust/3614, r=alexcrichton | bors | -7/+17 | |
| Fixes #3614. | ||||
| 2013-11-25 | syntax: parse inner attributes on impls. | Huon Wilson | -7/+17 | |
| Fixes #3614. | ||||
| 2013-11-24 | Add a note for unclosed delimiters | Corey Richardson | -9/+7 | |
| Currently, the parser doesn't give any context when it finds an unclosed delimiter and it's not EOF. Report the most recent unclosed delimiter, to help the user along. Closes #10636 | ||||
| 2013-11-20 | auto merge of #10567 : sanxiyn/rust/bytepos, r=alexcrichton | bors | -1/+1 | |
| 2013-11-20 | Make BytePos 32-bit | Seo Sanghyeon | -1/+1 | |
| 2013-11-19 | libsyntax: Change all uses of `&fn` to `||`. | Patrick Walton | -46/+53 | |
| 2013-11-18 | libsyntax: Remove `~fn()` from the language | Patrick Walton | -2/+4 | |
| 2013-11-18 | Use '..' as slice wildcard in vectors | Brian Anderson | -11/+29 | |
| 2013-11-18 | Use '..' as multi-field wildcard in enums and structs. | Brian Anderson | -1/+16 | |
| 2013-11-11 | Fix path parsing | Seo Sanghyeon | -4/+0 | |
| 2013-11-08 | Generalize AST and ty::Generics to accept multiple lifetimes. | Niko Matsakis | -40/+15 | |
| 2013-11-04 | libsyntax/librustc: Allow calling variadic foreign functions. | Luqman Aden | -19/+62 | |
| 2013-10-31 | librustc: Implement `|A| -> B` syntax for closures and make bare `fn` | Patrick Walton | -31/+155 | |
| work | ||||
| 2013-10-29 | auto merge of #10134 : reedlepee123/rust/priv_fields, r=brson | bors | -7/+4 | |
| 2013-10-29 | librustc: Implement the `proc` type as sugar for `~once fn` and `proc` | Patrick Walton | -1/+56 | |
| notation for closures, and disable the feature gate for `once fn` if used with the `~` sigil. | ||||
| 2013-10-29 | removed extra line | reedlepee | -1/+0 | |
| 2013-10-29 | Indentation | reedlepee | -1/+1 | |
| 2013-10-29 | updated the places where the struct is created #7427 | reedlepee | -2/+3 | |
| 2013-10-29 | Changed name to non_copyable #7427 | reedlepee | -1/+1 | |
| 2013-10-29 | Added the comment #7427 | reedlepee | -1/+1 | |
| 2013-10-29 | Replaced empty destructors with NonCopyable #7427 | reedlepee | -5/+2 | |
| closes #7427 | ||||
| 2013-10-28 | Field identifiers now include specific spans (Closes #8263). | Joshua Yanovski | -1/+2 | |
| 2013-10-25 | libsyntax: Get rid of some logic for some obsolete syntax. | Luqman Aden | -14/+5 | |
| 2013-10-25 | libsyntax/librustc: Allow mut qualifier in patterns. | Luqman Aden | -21/+10 | |
| 2013-10-22 | libsyntax/librustc: Allow specifying mut on ~self. | Luqman Aden | -1/+9 | |
| 2013-10-22 | libsyntax/librustc: Allow specifying mut on by-value self. | Luqman Aden | -14/+16 | |
| 2013-10-22 | Drop the '2' suffix from logging macros | Alex Crichton | -13/+13 | |
| Who doesn't like a massive renaming? | ||||
| 2013-10-16 | path2: Update based on more review feedback | Kevin Ballard | -1/+1 | |
| Standardize the is_sep() functions to be the same in both posix and windows, and re-export from path. Update extra::glob to use this. Remove the usage of either, as it's going away. Move the WindowsPath-specific methods out of WindowsPath and make them top-level functions of path::windows instead. This way you cannot accidentally write code that will fail to compile on non-windows architectures without typing ::windows anywhere. Remove GenericPath::from_c_str() and just impl BytesContainer for CString instead. Remove .join_path() and .push_path() and just implement BytesContainer for Path instead. Remove FilenameDisplay and add a boolean flag to Display instead. Remove .each_parent(). It only had one caller, so just inline its definition there. | ||||
| 2013-10-15 | path2: Remove .with_display_str and friends | Kevin Ballard | -2/+2 | |
| Rewrite these methods as methods on Display and FilenameDisplay. This turns do path.with_display_str |s| { ... } into do path.display().with_str |s| { ... } | ||||
| 2013-10-15 | path2: Adjust the API to remove all the _str mutation methods | Kevin Ballard | -5/+5 | |
| Add a new trait BytesContainer that is implemented for both byte vectors and strings. Convert Path::from_vec and ::from_str to one function, Path::new(). Remove all the _str-suffixed mutation methods (push, join, with_*, set_*) and modify the non-suffixed versions to use BytesContainer. | ||||
| 2013-10-15 | path2: Replace the path module outright | Kevin Ballard | -21/+16 | |
| Remove the old path. Rename path2 to path. Update all clients for the new path. Also make some miscellaneous changes to the Path APIs to help the adoption process. | ||||
| 2013-10-10 | Remove named extern blocks from the AST | Alex Crichton | -7/+5 | |
| There's currently a fair amount of code which is being ignored on unnamed blocks (which are the default now), and I opted to leave it commented out for now. I intend on very soon revisiting on how we perform linking with extern crates in an effort to support static linking. | ||||
| 2013-10-09 | option: rewrite the API to use composition | Daniel Micay | -2/+2 | |
| 2013-10-08 | auto merge of #9753 : alexcrichton/rust/macro-attrs, r=brson | bors | -3/+0 | |
| It's unclear to me why these currently aren't allowed, and my best guess is that a long time ago we didn't strip the ast of cfg nodes before syntax expansion. Now that this is done, I'm not certain that we should continue to prohibit this functionality. This is a step in the right direction towards #5605, because now we can add an empty `std::macros` module to the documentation with a bunch of empty macros explaining how they're supposed to be used. | ||||
| 2013-10-08 | Allow attributes on macros | Alex Crichton | -3/+0 | |
| It's unclear to me why these currently aren't allowed, and my best guess is that a long time ago we didn't strip the ast of cfg nodes before syntax expansion. Now that this is done, I'm not certain that we should continue to prohibit this functionality. This is a step in the right direction towards #5605, because now we can add an empty `std::macros` module to the documentation with a bunch of empty macros explaining how they're supposed to be used. | ||||
