| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-02-21 | auto merge of #5059 : Kimundi/rust/incoming, r=catamorphism | bors | -3/+3 | |
| compiles-as-is, but needs a snapshot to remove the `stage0`ed extfmt export in core. Closes #4750 | ||||
| 2013-02-21 | librustc: De-mut some of trans | Patrick Walton | -14/+14 | |
| 2013-02-21 | auto merge of #5068 : sethpink/rust/derive-eq-tuple-struct, r=catamorphism | bors | -14/+89 | |
| Previously an unimplemented error was thrown when using #[deriving_eq] on tuple-like struct definitions. | ||||
| 2013-02-21 | Moved core::extfmt to core::private::extfmt | Marvin Löbel | -3/+3 | |
| Needs a snapshot to remove stage0 extfmt export in core | ||||
| 2013-02-21 | Get rid of structural records in libsyntax and the last bit in librustc. | Luqman Aden | -82/+120 | |
| 2013-02-21 | Implement #[deriving_eq] on tuple like structs | Seth Pink | -14/+89 | |
| 2013-02-20 | librustc: Separate most trait bounds with '+'. rs=plussing | Patrick Walton | -4/+4 | |
| 2013-02-19 | convert SyntaxExtensions's key to a @~str | Erick Tryzelaar | -31/+31 | |
| 2013-02-19 | convert ast::meta_items to take @~strs | Erick Tryzelaar | -2/+3 | |
| 2013-02-19 | convert syntax::attr to use @~strs | Erick Tryzelaar | -4/+4 | |
| 2013-02-19 | Alias HashMap<~str, SyntaxExtension> to SyntaxExtensions | Erick Tryzelaar | -6/+8 | |
| 2013-02-19 | libsyntax and librustc: minor cleanup | Erick Tryzelaar | -5/+3 | |
| 2013-02-19 | libsyntax: change attr:get_attr_name to take a ref | Erick Tryzelaar | -2/+2 | |
| 2013-02-19 | libsyntax: make enum variants take refs | Erick Tryzelaar | -44/+42 | |
| 2013-02-18 | auto merge of #5005 : alexcrichton/rust/bitv++, r=catamorphism | bors | -4/+8 | |
| These commits take the old bitv implementation and modernize it with an explicit self, some minor touchups, and using what I think is some more recent patterns (like `::new` instead of `Type()`). Additionally, this adds an implementation of `container::Set` on top of a bit vector to have as a set of `uint`s. I initially tried to parameterize the type for the set to be `T: NumCast` but I was hitting build problems in stage0 which I think means that it's not in a snapshot yet, so it's just hardcoded as a set of `uint`s now. In the future perhaps it could be parameterized. I'm not sure if it would really add anything, though, so maybe it's nicer to be hardcoded anyway. I also added some extra methods to do normal bit vector operations on the set in-place, but these aren't a part of the `Set` trait right now. I haven't benchmarked any of these operations just yet, but I imagine that there's quite a lot of room for optimization here and there. | ||||
| 2013-02-18 | auto merge of #5004 : luqmana/rust/rename-use-import, r=catamorphism | bors | -2/+2 | |
| Seems like my previous pull request got lost along the way somehow. So here it is updated. | ||||
| 2013-02-17 | Modernize bitv mut fields and explicit self | Alex Crichton | -4/+8 | |
| 2013-02-17 | libsyntax: Update view_item_use/import to reflect actual usage | Luqman Aden | -2/+2 | |
| 2013-02-17 | libsyntax: Long lines. | Luqman Aden | -6/+12 | |
| 2013-02-17 | libsyntax: Explicit-self-ify pipes compiler. | Luqman Aden | -122/+110 | |
| 2013-02-17 | libsyntax: Remove last use of structural records in pipes compiler. | Luqman Aden | -56/+69 | |
| 2013-02-15 | librustc: Stop parsing `impl Type : Trait` and fix several declarations that ↵ | Patrick Walton | -11/+9 | |
| slipped through. r=tjc | ||||
| 2013-02-15 | libsyntax: Get rid of uses of `move` and don't parse it. | Luqman Aden | -85/+85 | |
| 2013-02-14 | auto merge of #4941 : nickdesaulniers/rust/issue4524cleanup, r=catamorphism | bors | -9/+0 | |
| review? @brson Issue #4524 | ||||
| 2013-02-14 | remove die definition and use in doc tests | Nick Desaulniers | -9/+0 | |
| 2013-02-14 | librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵ | Patrick Walton | -19/+19 | |
| rs=implflipping | ||||
| 2013-02-13 | auto merge of #4922 : jbclements/rust/add-deriving-eq-to-asts, r=catamorphism | bors | -4/+6 | |
| r? Apply deriving_eq to the data structures in ast.rs, and get rid of the custom definitions of eq that were everywhere. resulting ast.rs is about 400 lines shorter. Also: add a few test cases and a bunch of comments. Also: change ast_ty_to_ty_cache to use node ids rather than ast::ty's. I believe this was a suggestion related to my changes, and it appears to pass all tests. Also: tiny doc fix, remove references to crate keywords. | ||||
| 2013-02-13 | Remove die!, raplace invocations with fail! Issue #4524 pt 3 | Nick Desaulniers | -17/+17 | |
| 2013-02-13 | cleanup, fix test case | John Clements | -1/+1 | |
| 2013-02-13 | @mut fix | John Clements | -3/+3 | |
| 2013-02-13 | Commenting, test cases, cleanup | John Clements | -8/+10 | |
| 2013-02-13 | auto merge of #4840 : jbclements/rust/add-json-enum-encoding, r=catamorphism | bors | -11/+162 | |
| r? I added code to the JSON encoder to support the serialization of enums. Before this, the JSON serializer only handled Option, and encoded None as 'null'. Following this change, all enums are encoded as arrays containing the enum name followed by the encoded fields. This appears consistent with the unstated invariant that the resulting output can be mapped back to the input *if* there's a decoder around that knows the types that were in existence when the serialization occurred. Also, added test cases. | ||||
| 2013-02-13 | retabbing | John Clements | -59/+60 | |
| 2013-02-12 | added rather elaborate test framework | John Clements | -17/+126 | |
| 2013-02-11 | Fix license block | Brian Anderson | -2/+2 | |
| 2013-02-11 | Update copyright years | Mikko Perttunen | -1/+1 | |
| 2013-02-11 | Use topmost span for macro expansion location. Fixes behaviour of file!, ↵ | Mikko Perttunen | -7/+28 | |
| line! and col! | ||||
| 2013-02-09 | tidy | John Clements | -5/+7 | |
| 2013-02-09 | fix typos in sample code, add enum to json encoder, add test case | John Clements | -11/+50 | |
| 2013-02-08 | oldmap: get rid of legacy _ref suffixes | Daniel Micay | -1/+1 | |
| 2013-02-07 | librustc: Lots of de-muting. rs=demuting | Patrick Walton | -123/+140 | |
| 2013-02-07 | auto merge of #4791 : jbclements/rust/demodeing-and-deGCing, r=jbclements,brson | bors | -23/+25 | |
| r? It looks to me like the string_reader and tt_reader structs are GC pointers only because they predate the modern borrow system. This commit leaves the type names string_reader and tt_reader alone (they still refer to GC-ed pointers), but internally the functions now use borrowed pointers to refer to these structures. My guess would be that it's possible to move this change outward and not use the GCed pointers at all, but that change looks like it could be a larger one. Actually, I'm delighted at how quick this change was. | ||||
| 2013-02-07 | Make ~fn non-copyable, make &fn copyable, split barefn/closure types, | Niko Matsakis | -2/+2 | |
| correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719. | ||||
| 2013-02-05 | oldmap: use &K instead of K in find and get | Patrick Walton | -7/+7 | |
| This reverts commit a4250a96fdf61142a9c8dbb6d37ae8435c99e396. This is not the cause of the nonexhaustive-match failure. | ||||
| 2013-02-05 | Revert "oldmap: use &K instead of K in find and get" | Graydon Hoare | -7/+7 | |
| This reverts commit 8e643525d4e5bca993dada43615916c382a0645b. | ||||
| 2013-02-05 | Merge branch 'incoming' into removing | Tim Chevalier | -7/+7 | |
| 2013-02-04 | lines too long | John Clements | -11/+12 | |
| 2013-02-04 | demodeing, un-gc-ing | John Clements | -26/+27 | |
| It looks to me like the string_reader and tt_reader structs are GC pointers only because they predate the modern borrow system. This commit leaves the type names string_reader and tt_reader alone (they still refer to GC-ed pointers), but internally the functions now use borrowed pointers to refer to these structures. My guess would be that it's possible to move this change outward and not use the GCed pointers at all, but that change looks like it could be a larger one. Actually, I'm delighted at how quick this change was. | ||||
| 2013-02-04 | core/syntax: Staging fixes | Tim Chevalier | -28/+0 | |
| 2013-02-04 | auto merge of pull req #4777 from thestinger/rust, r=graydon | bors | -7/+7 | |
