| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-03-29 | Merge remote-tracking branch 'remotes/origin/incoming' into serial | Erick Tryzelaar | -3/+3 | |
| 2013-03-29 | librustc: Remove `fail_unless!` | Patrick Walton | -15/+2 | |
| 2013-03-29 | field renaming | John Clements | -28/+29 | |
| 2013-03-29 | Merge remote-tracking branch 'remotes/origin/incoming' into serial | Erick Tryzelaar | -41/+20 | |
| 2013-03-29 | std: add Encoder::emit_map and Decoder::read_map | Erick Tryzelaar | -0/+10 | |
| 2013-03-29 | std: remove Encoder::read_rec and Decoder::emit_rec | Erick Tryzelaar | -3/+0 | |
| 2013-03-29 | std: remove Encoder::emit_tup{,_elt} and Decoder::read_tup{,_elt} | Erick Tryzelaar | -7/+0 | |
| 2013-03-29 | std: remove Encoder::emit_{owned,managed}_vec and ↵ | Erick Tryzelaar | -9/+2 | |
| Decoder::read_{owned,managed}_vec | ||||
| 2013-03-29 | std: remove Encoder::emit_{owned,managed} and Decoder::read_{owned,managed} | Erick Tryzelaar | -4/+0 | |
| 2013-03-29 | std: remove Encoder::emit_{owned,managed}_str and ↵ | Erick Tryzelaar | -4/+1 | |
| Decoder::read_{owned,managed}_str | ||||
| 2013-03-28 | Removing unused imports | Alex Crichton | -41/+20 | |
| 2013-03-28 | auto merge of #5593 : luqmana/rust/inline-asm, r=catamorphism | bors | -3/+13 | |
| 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 | -15/+5 | |
| 2013-03-27 | auto merge of #5578 : erickt/rust/incoming, r=jbclements,erickt | bors | -23/+245 | |
| 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: Allow selecting intel style asm. | Luqman Aden | -1/+5 | |
| 2013-03-27 | libsyntax: use a struct for inline asm in ast. | Luqman Aden | -3/+9 | |
| 2013-03-27 | syntax: Remove deprecated expr_vstore_fixed | Erick Tryzelaar | -5/+0 | |
| 2013-03-27 | std: Decode::read_enum_variant should pass in the variant names | Erick Tryzelaar | -3/+14 | |
| Because the json::Decoder uses the string variant name, we need a way to correlate the string to the enum index. This passes in a static &[&str] to read_enum_variant, which allows the json::Decoder to know which branch it's trying to process. | ||||
| 2013-03-27 | std: add option type directly to serialize::{En,De}code | Erick Tryzelaar | -9/+70 | |
| 2013-03-27 | syntax: pass some values around by reference | Erick Tryzelaar | -4/+4 | |
| 2013-03-27 | syntax: Add new values that can be used with the quasiquoter | Erick Tryzelaar | -2/+157 | |
| 2013-03-27 | remove sty_by_ref, though traces still remain due to dtors | Niko Matsakis | -4/+4 | |
| 2013-03-26 | librustc: Modify all code to use new lifetime binder syntax | Patrick Walton | -10/+12 | |
| 2013-03-26 | option: rm functions that duplicate methods | Daniel Micay | -3/+1 | |
| 2013-03-26 | syntax: Removing uses of HashMap | Alex Crichton | -14/+18 | |
| 2013-03-26 | Remove unused imports throughout | Alex Crichton | -6/+2 | |
| 2013-03-26 | Rip out old code that still structured method calls as a | Niko Matsakis | -119/+93 | |
| expr_call(expr_field(...)) rather than an expr_method_call. There is probably more such code in trans that should be removed. | ||||
| 2013-03-22 | librustc: Add explicit lifetime binders and new lifetime notation in ↵ | Patrick Walton | -2/+2 | |
| core/std/syntax/rustc | ||||
| 2013-03-22 | librustc: Remove the `const` declaration form everywhere | Patrick Walton | -1/+1 | |
| 2013-03-22 | libsyntax: Introduce the new `assert!` macro; make `assert` no longer a keyword | Patrick Walton | -0/+13 | |
| 2013-03-22 | auto merge of #5488 : pcwalton/rust/depure, r=pcwalton | bors | -13/+13 | |
| 2013-03-22 | librustc: Remove `pure` from libsyntax and librustc. | Patrick Walton | -10/+10 | |
| 2013-03-22 | librustc: Remove all uses of `static` from functions. rs=destatic | Patrick Walton | -3/+3 | |
| 2013-03-22 | Pass the fmt! buffer to each conversion method | Alex Crichton | -58/+59 | |
| Achieves a little more speedup and avoids allocations around some strings in conv_str | ||||
| 2013-03-22 | Build up the result of fmt! in a buffer instead of a vector | Alex Crichton | -30/+44 | |
| 2013-03-22 | syntax: make old `#[deriving_foo]` attribute obsolete | Andrew Paseltiner | -3/+31 | |
| 2013-03-22 | syntax: replace uses of old deriving attribute with new one | Andrew Paseltiner | -4/+4 | |
| 2013-03-21 | auto merge of #5407 : jbclements/rust/add-assert-eq-macro, r=jbclements | bors | -18/+25 | |
| 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-21 | back-renamed slice_DBG_BRWD, slice_V_DBG_BRWD -> slice, slice_DBG_UNIQ -> ↵ | Marvin Löbel | -1/+1 | |
| slice_unique | ||||
| 2013-03-21 | renamed str::view -> slice_DBG_BRWD | Marvin Löbel | -1/+1 | |
| renamed str::slice -> slice_DBG_UNIQ changed vec slice method -> to_owned() renamed vec view method -> slice_V_DBG_BRWD | ||||
| 2013-03-20 | change some uses of fail_unless to assert_eq | John Clements | -18/+15 | |
| 2013-03-20 | add assert_eq! macro | John Clements | -0/+10 | |
| the assert_eq! macro compares its arguments and fails if they're not equal. It's more informative than fail_unless!, because it explicitly writes the given and expected arguments on failure. | ||||
| 2013-03-20 | auto merge of #5434 : apasel422/rust/deriving, r=nikomatsakis | bors | -1271/+1356 | |
| This is the first step in refactoring the deriving code in libsyntax. No code is changed, just rearranged. | ||||
| 2013-03-20 | syntax: Removing some bad copies | Alex Crichton | -7/+7 | |
| 2013-03-19 | syntax: split deriving module into submodules for each trait | Andrew Paseltiner | -977/+1062 | |
| 2013-03-19 | auto merge of #5436 : alexcrichton/rust/assert-message, r=pcwalton | bors | -0/+5 | |
| This would close #2761. I figured that if you're supplying your own custom message, you probably don't mind the stringification of the condition to not be in the message. | ||||
| 2013-03-19 | syntax: move ext/deriving.rs to ext/deriving/mod.rs | Andrew Paseltiner | -0/+0 | |
| 2013-03-19 | auto merge of #5426 : nikomatsakis/rust/issue-4846-lifetimes-in-expl-self, ↵ | bors | -5/+7 | |
| r=pcwalton (this will be needed for snapshotting at some point) r? @pcwalton | ||||
| 2013-03-19 | Allow custom messages on assert statements | Alex Crichton | -0/+5 | |
| 2013-03-18 | librustc: Make the compiler ignore purity. | Patrick Walton | -17/+35 | |
| 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. | ||||
