| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 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 | -6/+3 | |
| Decoder::read_{owned,managed}_str | ||||
| 2013-03-29 | auto merge of #5570 : alexcrichton/rust/fix-unused-imports, r=sanxiyn | bors | -61/+40 | |
| Before it wouldn't warn about unused imports in the list if something in the list was used. These commits fix that case, add a test, and remove all unused imports in lists of imports throughout the compiler. | ||||
| 2013-03-28 | auto merge of #5616 : pcwalton/rust/parenthesized-trait, r=brson | bors | -1/+5 | |
| r? @brson | ||||
| 2013-03-28 | Removing unused imports | Alex Crichton | -61/+40 | |
| 2013-03-28 | libsyntax: Don't allow `impl (Trait) for Type` (with the parentheses). | Patrick Walton | -1/+5 | |
| 2013-03-28 | auto merge of #5593 : luqmana/rust/inline-asm, r=catamorphism | bors | -23/+50 | |
| 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 | -87/+34 | |
| 2013-03-28 | auto merge of #5596 : luqmana/rust/unit-struct, r=catamorphism | bors | -0/+4 | |
| Fixes #5449. | ||||
| 2013-03-28 | auto merge of #5586 : pcwalton/rust/expr-repeat-vstore, r=graydon | bors | -8/+8 | |
| r? @graydon | ||||
| 2013-03-27 | auto merge of #5578 : erickt/rust/incoming, r=jbclements,erickt | bors | -87/+292 | |
| 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 | derive Eq and Clone impls where applicable | Andrew Paseltiner | -28/+4 | |
| 2013-03-27 | libsyntax: error on struct Foo {}. | Luqman Aden | -0/+4 | |
| 2013-03-27 | libsyntax: Allow selecting intel style asm. | Luqman Aden | -6/+16 | |
| 2013-03-27 | libsyntax: use a struct for inline asm in ast. | Luqman Aden | -23/+40 | |
| 2013-03-27 | librustc: Allow expr_repeat to be used with any vstore | Patrick Walton | -8/+8 | |
| 2013-03-27 | auto merge of #5558 : nikomatsakis/rust/issue-4920-autoref-index-operator, ↵ | bors | -30/+11 | |
| 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 | -4/+13 | |
| 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 | -19/+4 | |
| 2013-03-27 | syntax: fix pretty printing __log stmts | Erick Tryzelaar | -25/+12 | |
| 2013-03-27 | syntax: Remove dead code from the parser | Erick Tryzelaar | -8/+0 | |
| 2013-03-27 | syntax: Fix parsing global generics (Closes #5572) | Erick Tryzelaar | -2/+3 | |
| 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 | std: change default json enum encoder to use strings or a flat vec | Erick Tryzelaar | -15/+17 | |
| 2013-03-27 | std: Add tests for json decoding options | Erick Tryzelaar | -13/+24 | |
| 2013-03-27 | syntax: pass some values around by reference | Erick Tryzelaar | -6/+6 | |
| 2013-03-27 | syntax: Add new values that can be used with the quasiquoter | Erick Tryzelaar | -2/+157 | |
| 2013-03-27 | Simplify and remove unnecessary use of ast_map | Niko Matsakis | -2/+0 | |
| 2013-03-27 | remove sty_by_ref, though traces still remain due to dtors | Niko Matsakis | -28/+11 | |
| 2013-03-26 | librustc: Enforce that `extern mod` directives come first, then `use` ↵ | Patrick Walton | -33/+77 | |
| directives, then items. Resolve them in this order as well. | ||||
| 2013-03-26 | librustc: Modify all code to use new lifetime binder syntax | Patrick Walton | -18/+35 | |
| 2013-03-26 | librustc: Stop parsing `[T * N]`. | Patrick Walton | -2/+7 | |
| 2013-03-26 | librustc: Remove all uses of the old `[T * N]` fixed-length vector syntax | Patrick Walton | -1/+1 | |
| 2013-03-26 | libsyntax: Stop parsing `[const T]`. | Patrick Walton | -1/+1 | |
| 2013-03-26 | option: rm functions that duplicate methods | Daniel Micay | -10/+5 | |
| 2013-03-26 | Move ast_map::map to LinearMap | Alex Crichton | -19/+19 | |
| 2013-03-26 | syntax: Removing uses of HashMap | Alex Crichton | -54/+56 | |
| 2013-03-26 | Remove unused imports throughout | Alex Crichton | -6/+2 | |
| 2013-03-26 | auto merge of #5555 : Kimundi/rust/str-dealloc-3, r=catamorphism | bors | -2/+6 | |
| - Most functions that used to return `~[~str]` for a list of substrings got turned into iterators over `&str` slices - Some cleanup of apis, docs and code layout | ||||
| 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-26 | Switched over a bunch of splitting funktions to non-allocating iterators | Marvin Löbel | -2/+6 | |
| 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 | libsyntax: Stop parsing old lifetime syntax | Patrick Walton | -0/+1 | |
| 2013-03-22 | librustc: Add explicit lifetime binders and new lifetime notation in ↵ | Patrick Walton | -2/+2 | |
| core/std/syntax/rustc | ||||
