| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-03-31 | Fix warnings | Brian Anderson | -1/+1 | |
| 2013-03-29 | Add AbiSet and integrate it into the AST. | Niko Matsakis | -1/+3 | |
| I believe this patch incorporates all expected syntax changes from extern function reform (#3678). You can now write things like: extern "<abi>" fn foo(s: S) -> T { ... } extern "<abi>" mod { ... } extern "<abi>" fn(S) -> T The ABI for foreign functions is taken from this syntax (rather than from an annotation). We support the full ABI specification I described on the mailing list. The correct ABI is chosen based on the target architecture. Calls by pointer to C functions are not yet supported, and the Rust type of crust fns is still *u8. | ||||
| 2013-03-29 | librustc: Remove `fail_unless!` | Patrick Walton | -1/+1 | |
| 2013-03-28 | Removing unused imports | Alex Crichton | -3/+3 | |
| 2013-03-28 | librustc: Remove common fields and nested enums from the language | Patrick Walton | -1/+1 | |
| 2013-03-22 | librustc: Remove `pure` from libsyntax and librustc. | Patrick Walton | -1/+1 | |
| 2013-03-22 | syntax: replace uses of old deriving attribute with new one | Andrew Paseltiner | -1/+1 | |
| 2013-03-18 | librustc: Make the compiler ignore purity. | Patrick Walton | -5/+10 | |
| For bootstrapping purposes, this commit does not remove all uses of the keyword "pure" -- doing so would cause the compiler to no longer bootstrap due to some syntax extensions ("deriving" in particular). Instead, it makes the compiler ignore "pure". Post-snapshot, we can remove "pure" from the language. There are quite a few (~100) borrow check errors that were essentially all the result of mutable fields or partial borrows of `@mut`. Per discussions with Niko I think we want to allow partial borrows of `@mut` but detect obvious footguns. We should also improve the error message when `@mut` is erroneously reborrowed. | ||||
| 2013-03-15 | impl Clone for ~T, ~[T], ~str | Ben Striegel | -1/+1 | |
| 2013-03-13 | librustc: Remove "base types" from the language. | Patrick Walton | -4/+8 | |
| 2013-03-13 | librustc: Don't accept `as Trait` anymore; fix all occurrences of it. | Patrick Walton | -29/+30 | |
| 2013-03-11 | libsyntax: Remove newtype enums from libsyntax. rs=deenum | Patrick Walton | -3/+1 | |
| 2013-03-11 | librustc: Replace all uses of `fn()` with `&fn()`. rs=defun | Patrick Walton | -1/+1 | |
| 2013-03-07 | test: Fix tests. | Patrick Walton | -1/+2 | |
| 2013-03-07 | librustc: Convert all uses of `assert` over to `fail_unless!` | Patrick Walton | -1/+1 | |
| 2013-03-04 | Remove unused imports throughout src/ | Alex Crichton | -10/+1 | |
| 2013-03-01 | Merge remote-tracking branch 'remotes/origin/incoming' into incoming | Erick Tryzelaar | -4/+6 | |
| 2013-03-01 | Avoid calling to_vec() unnecessarily in parser. | Niko Matsakis | -4/+6 | |
| Also, rename the OptVec-to-vector conversion method to opt_vec::take_vec() and convert from a method into a fn because I fear strange bugs. | ||||
| 2013-03-01 | Merge remote-tracking branch 'remotes/origin/incoming' into incoming | Erick Tryzelaar | -2/+5 | |
| 2013-02-28 | Fix implicit leaks of imports throughout libraries | Alex Crichton | -2/+5 | |
| Also touch up use of 'pub' and move some tests around so the tested functions don't have to be 'pub' | ||||
| 2013-02-28 | Merge remote-tracking branch 'remotes/origin/incoming' into incoming | Erick Tryzelaar | -91/+140 | |
| 2013-02-27 | auto merge of #5141 : nikomatsakis/rust/region-syntax-expl-lifetimes, ↵ | bors | -67/+84 | |
| r=nikomatsakis Major changes are: - replace ~[ty_param] with Generics structure, which includes both OptVec<TyParam> and OptVec<Lifetime>; - the use of syntax::opt_vec to avoid allocation for empty lists; cc #4846 r? @graydon | ||||
| 2013-02-27 | Introduce lifetime declarations into the lists of type parameters. | Niko Matsakis | -67/+84 | |
| Major changes are: - replace ~[ty_param] with Generics structure, which includes both OptVec<TyParam> and OptVec<Lifetime>; - the use of syntax::opt_vec to avoid allocation for empty lists; cc #4846 | ||||
| 2013-02-27 | Merge remote-tracking branch 'remotes/origin/incoming' into incoming | Erick Tryzelaar | -8/+8 | |
| 2013-02-27 | librustc: Forbid `pub` or `priv` before trait implementations | Patrick Walton | -8/+8 | |
| 2013-02-26 | libsyntax: remove vecs_implicitly_copyable from the syntax extensions | Erick Tryzelaar | -24/+24 | |
| 2013-02-26 | libsyntax: change attr::parse_seq_* to take &Token | Erick Tryzelaar | -7/+7 | |
| 2013-02-25 | libsyntax: add some explicit copies | Erick Tryzelaar | -20/+36 | |
| 2013-02-25 | libsyntax: change expect to take &token::Token | Erick Tryzelaar | -2/+2 | |
| 2013-02-25 | libsyntax: add explicit modes where required to copy strs/vecs | Erick Tryzelaar | -39/+46 | |
| 2013-02-25 | libsyntax: Convert ast::attribute_ to store a @meta_item | Erick Tryzelaar | -1/+1 | |
| 2013-02-22 | libsyntax: De-mut the parser. rs=demuting | Patrick Walton | -23/+21 | |
| 2013-02-22 | libsyntax: De-mut the pipe compiler | Patrick Walton | -35/+37 | |
| 2013-02-21 | core: Extract comm from pipes. #4742 | Brian Anderson | -21/+23 | |
| 2013-02-21 | Get rid of structural records in libsyntax and the last bit in librustc. | Luqman Aden | -15/+18 | |
| 2013-02-20 | librustc: Separate most trait bounds with '+'. rs=plussing | Patrick Walton | -1/+1 | |
| 2013-02-19 | convert ast::meta_items to take @~strs | Erick Tryzelaar | -2/+3 | |
| 2013-02-19 | libsyntax: make enum variants take refs | Erick Tryzelaar | -22/+19 | |
| 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 | -1/+1 | |
| 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 | -1/+1 | |
| 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 | -18/+18 | |
| 2013-02-13 | Remove die!, raplace invocations with fail! Issue #4524 pt 3 | Nick Desaulniers | -2/+2 | |
| 2013-02-04 | core/syntax: Staging fixes | Tim Chevalier | -28/+0 | |
| 2013-02-04 | syntax: Make the pipe compiler stop generating set_buffer_ calls | Tim Chevalier | -2/+2 | |
