| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-05-02 | Remove 'Local Variable' comments | Brendan Zabarauskas | -21/+0 | |
| 2013-05-01 | allow parsing attributes on struct fields | Erick Tryzelaar | -0/+1 | |
| 2013-05-01 | rustc: remove the rest of drop | Erick Tryzelaar | -7/+0 | |
| Removes: ast::struct_def::dtor syntax::ast::ii_dtor syntax::visit::fk_dtor syntax::ast_map::node_dtor syntax:struct_dtor | ||||
| 2013-04-30 | new borrow checker (mass squash) | Niko Matsakis | -3/+9 | |
| 2013-04-29 | librustc: Change labels to use the lifetime notation `'`. | Patrick Walton | -4/+13 | |
| 2013-04-29 | librustc: Remove the concept of modes from the compiler. | Patrick Walton | -14/+0 | |
| This commit does not remove `ty::arg`, although that should be possible to do now. | ||||
| 2013-04-27 | only use #[no_core] in libcore | Daniel Micay | -13/+0 | |
| 2013-04-22 | auto merge of #6007 : pcwalton/rust/use-mod, r=brson | bors | -4/+1 | |
| r? @brson | ||||
| 2013-04-22 | librustc: Remove `use mod` from the language | Patrick Walton | -4/+1 | |
| 2013-04-20 | syntax: remove unused 'mut' variables | Alex Crichton | -4/+4 | |
| 2013-04-19 | syntax: de-mode and prepare for de-modeing rustc | Alex Crichton | -26/+26 | |
| 2013-04-16 | libcore,std,syntax,rustc: move tests into `mod tests`, make them private (no ↵ | Huon Wilson | -1/+1 | |
| pub mod or pub fn). | ||||
| 2013-04-12 | auto merge of #5827 : ↵ | bors | -0/+4 | |
| nikomatsakis/rust/issue-5656-change-meaning-of-borrowed-self, r=pcwalton See #5656 for details. r? @pcwalton | ||||
| 2013-04-10 | Issue #5656: Make &self not mean "&'self self" | Niko Matsakis | -0/+4 | |
| Fixes #5656. Fixes #5541. | ||||
| 2013-04-10 | syntax: match variants use 4 space indent by default | Erick Tryzelaar | -8/+7 | |
| 2013-04-10 | path -> Path | John Clements | -2/+2 | |
| 2013-04-05 | Refactor so that references to traits are not represented using a type with a | Niko Matsakis | -2/+6 | |
| bare function store (which is not in fact a kind of value) but rather ty::TraitRef. Removes many uses of fail!() and other telltale signs of type-semantic mismatch. cc #4183 (not a fix, but related) | ||||
| 2013-03-31 | Fix warnings | Brian Anderson | -2/+1 | |
| 2013-03-29 | Add AbiSet and integrate it into the AST. | Niko Matsakis | -17/+47 | |
| 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 | -14/+14 | |
| 2013-03-28 | Removing unused imports | Alex Crichton | -3/+3 | |
| 2013-03-28 | auto merge of #5593 : luqmana/rust/inline-asm, r=catamorphism | bors | -6/+6 | |
| Clean things up a bit. Also, allow selecting intel syntax in addition to the default AT&T dialect. | ||||
| 2013-03-28 | librustc: Remove common fields and nested enums from the language | Patrick Walton | -3/+0 | |
| 2013-03-27 | auto merge of #5578 : erickt/rust/incoming, r=jbclements,erickt | bors | -28/+13 | |
| Hey folks, This patch series does some work on the json decoder, specifically with auto decoding of enums. Previously, we would take this code: ``` enum A { B, C(~str, uint) } ``` and would encode a value of this enum to either `["B", []]` or `["C", ["D", 123]]`. I've changed this to `"B"` or `["C", "D", 123]`. This matches the style of the O'Caml json library [json-wheel](http://mjambon.com/json-wheel.html). I've added tests to make sure all this work. In order to make this change, I added passing a `&[&str]` vec to `Decode::emit_enum_variant` so the json decoder can convert the name of a variant into it's position. I also changed the impl of `Encodable` for `Option<T>` to have the right upper casing. I also did some work on the parser, which allows for `fn foo<T: ::cmp::Eq>() { ... }` statements (#5572), fixed the pretty printer properly expanding `debug!("...")` expressions, and removed `ast::expr_vstore_fixed`, which doesn't appear to be used anymore. | ||||
| 2013-03-27 | libsyntax: use a struct for inline asm in ast. | Luqman Aden | -6/+6 | |
| 2013-03-27 | auto merge of #5558 : nikomatsakis/rust/issue-4920-autoref-index-operator, ↵ | bors | -3/+2 | |
| r=nikomatsakis Per discussion on IRC. r? @pcwalton | ||||
| 2013-03-27 | Fix pretty-printer test failure by carrying the bound lifetime names through | Niko Matsakis | -3/+9 | |
| the types. Initially I thought it would be necessary to thread this data through not only the AST but the types themselves, but then I remembered that the pretty printer only cares about the AST. Regardless, I have elected to leave the changes to the types intact since they will eventually be needed. I left a few FIXMEs where it didn't seem worth finishing up since the code wasn't crucial yet. | ||||
| 2013-03-27 | syntax: Remove deprecated expr_vstore_fixed | Erick Tryzelaar | -12/+3 | |
| 2013-03-27 | syntax: fix pretty printing __log stmts | Erick Tryzelaar | -14/+8 | |
| 2013-03-27 | syntax: pass some values around by reference | Erick Tryzelaar | -2/+2 | |
| 2013-03-27 | remove sty_by_ref, though traces still remain due to dtors | Niko Matsakis | -3/+2 | |
| 2013-03-25 | rustdoc: Show purity | Seo Sanghyeon | -20/+11 | |
| 2013-03-23 | libsyntax: Fix `static` in pretty printer. rs=burningtree | Patrick Walton | -10/+0 | |
| 2013-03-22 | librustc: Remove the `const` declaration form everywhere | Patrick Walton | -4/+4 | |
| 2013-03-22 | auto merge of #5488 : pcwalton/rust/depure, r=pcwalton | bors | -2/+2 | |
| 2013-03-22 | librustc: Remove `pure` from libsyntax and librustc. | Patrick Walton | -2/+2 | |
| 2013-03-22 | auto merge of #5483 : pcwalton/rust/static-syntax, r=graydon | bors | -1/+1 | |
| r? @nikomatsakis | ||||
| 2013-03-22 | syntax: replace uses of old deriving attribute with new one | Andrew Paseltiner | -1/+1 | |
| 2013-03-21 | librustc: Replace the `&static` bound with `'static` | Patrick Walton | -1/+1 | |
| 2013-03-21 | auto merge of #5407 : jbclements/rust/add-assert-eq-macro, r=jbclements | bors | -4/+3 | |
| Adds an assert_eq! macro that asserts that its two arguments are equal. Error messages can therefore be somewhat more informative than a simple assert, because the error message includes "expected" and "given" values. | ||||
| 2013-03-20 | change some uses of fail_unless to assert_eq | John Clements | -4/+3 | |
| 2013-03-20 | libsyntax: Never use `::<>` in the type grammar | Patrick Walton | -6/+2 | |
| 2013-03-20 | auto merge of #5443 : alexcrichton/rust/less-bad-copy, r=catamorphism | bors | -53/+53 | |
| Removes a lot of instances of `/*bad*/ copy` throughout libsyntax/librustc. On the plus side, this shaves about 2s off of the runtime when compiling `librustc` with optimizations. Ideally I would have run a profiler to figure out which copies are the most critical to remove, but in reality there was a liberal amount of `git grep`s along with some spot checking and removing the easy ones. | ||||
| 2013-03-19 | auto merge of #5442 : pcwalton/rust/extern-block-restriction, r=pcwalton | bors | -3/+3 | |
| r? @graydon | ||||
| 2013-03-20 | syntax: Removing some bad copies | Alex Crichton | -53/+53 | |
| 2013-03-19 | libsyntax: Accept the new `[T, ..N]` style for vec. | Patrick Walton | -1/+1 | |
| 2013-03-19 | libsyntax: Accept `static` instead of `const` for globals | Patrick Walton | -2/+2 | |
| 2013-03-19 | auto merge of #5426 : nikomatsakis/rust/issue-4846-lifetimes-in-expl-self, ↵ | bors | -11/+14 | |
| r=pcwalton (this will be needed for snapshotting at some point) r? @pcwalton | ||||
| 2013-03-18 | Fix pretty printer for fixed length vectors. | Luqman Aden | -3/+3 | |
| 2013-03-18 | Allow constant expressions in [Type * n]. | Luqman Aden | -3/+3 | |
