summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2013-03-28Unbreak 'rustc --help'Marvin Löbel-3/+3
2013-03-28auto merge of #5607 : brson/rust/shapshot3, r=brsonbors-189/+8
2013-03-28std: change Decoder::read_option to return a generic typeErick Tryzelaar-11/+17
This allows read_option to be used with a custom option type instead of just core::Option.
2013-03-28core: Inline mallocing wrapper functionsErick Tryzelaar-0/+5
As far as I can tell, this doesn't make rust compile any faster, but it does at least remove one level of indirection on malloc, which might help speed up some operations.
2013-03-28Register snapshotsBrian Anderson-189/+8
2013-03-28auto merge of #5602 : pcwalton/rust/common-fields, r=brsonbors-159/+36
r? @brson
2013-03-28auto merge of #5561 : fabiand/rust/wllvm32, r=catamorphismbors-1/+1
Previously the build system only checked for llvm-3.1 - 2.8. Now also 3.2 and 3.2svn is accepted. Signed-off-by: Fabian Deutsch <fabian.deutsch@gmx.de>
2013-03-280.6 will be in AprilBrian Anderson-1/+1
2013-03-28librustc: Remove common fields and nested enums from the languagePatrick Walton-159/+36
2013-03-28added defn of non_slash_or_starJohn Clements-2/+2
2013-03-28fix another subtle bug in comment regexJohn Clements-2/+2
2013-03-28auto merge of #5596 : luqmana/rust/unit-struct, r=catamorphismbors-1/+21
Fixes #5449.
2013-03-28auto merge of #5595 : catamorphism/rust/demoding, r=catamorphismbors-4/+3
2013-03-28auto merge of #5592 : pcwalton/rust/xc-extern-statics, r=pcwaltonbors-7/+39
2013-03-28auto merge of #5587 : thestinger/rust/total, r=pcwaltonbors-74/+134
This is needed so that hash tables can require strict equality but not require types to be ordered. It's a subset of the functionality of `TotalOrd` so I made that inherit from `TotalEq`.
2013-03-28auto merge of #5586 : pcwalton/rust/expr-repeat-vstore, r=graydonbors-14/+41
r? @graydon
2013-03-28auto merge of #5584 : ↵bors-0/+0
nikomatsakis/rust/issue-4846-carry-bound-lifetime-names-in-fn-types, r=nikomatsakis Fix pretty-printer test failure by carrying the bound lifetime names through 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-27auto merge of #5579 : dbaupp/rust/rustc-typo-limit, r=catamorphismbors-4/+18
Impose a limit so that the typo suggester only shows reasonable suggestions (i.e. don't suggest `args` when the error is `foobar`). A tiny bit of progress on #2281.
2013-03-27auto merge of #5578 : erickt/rust/incoming, r=jbclements,ericktbors-316/+820
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-27auto merge of #5575 : apasel422/rust/simplify-impls, r=thestingerbors-303/+21
2013-03-27derive Eq and Clone impls where applicableAndrew Paseltiner-303/+21
2013-03-27auto merge of #5576 : yichoi/rust/pull-0327, r=brsonbors-1/+1
minor fix configure: cleanup - parsing supported target triples
2013-03-27libsyntax: error on struct Foo {}.Luqman Aden-1/+21
2013-03-27auto merge of #5574 : thestinger/rust/docstring, r=sanxiynbors-2/+7
2013-03-27core/std: Remove uses of ++ modeTim Chevalier-3/+3
from stackwalk::frame_address and net_tcp::on_tcp_read_cb As per #4425
2013-03-27core: Remove unused importTim Chevalier-1/+0
2013-03-27auto merge of #5594 : brson/rust/freebsd, r=brsonbors-3/+0
This condition was added for cygwin support but appears to simply turn off the normalization of CPU types
2013-03-27librustc: remove already addressed XXXLuqman Aden-1/+0
2013-03-27Fix cpu type normalization in configure scriptBrian Anderson-3/+0
This condition was added for cygwin support but appears to simply turn off the normalization of CPU types
2013-03-27librustc: add default per arch clobbers for asm.Luqman Aden-3/+25
2013-03-27libsyntax: Allow selecting intel style asm.Luqman Aden-7/+22
2013-03-27libsyntax: use a struct for inline asm in ast.Luqman Aden-49/+68
2013-03-27librustc: Move inline asm stuff to different mod.Luqman Aden-100/+133
2013-03-27librustc: Fix ICE with cross-crate extern statics. rs=bugfixPatrick Walton-7/+39
2013-03-27auto merge of #5567 : jbclements/rust/release-note-macro-escape, r=thestingerbors-0/+2
2013-03-27auto merge of #5569 : thestinger/rust/map, r=catamorphismbors-3/+3
2013-03-27add a TotalEq traitDaniel Micay-24/+115
2013-03-27librustc: Allow expr_repeat to be used with any vstorePatrick Walton-14/+41
2013-03-27librustc: Allow expr_repeat to be used with any vstorePatrick Walton-14/+41
2013-03-27auto merge of #5558 : nikomatsakis/rust/issue-4920-autoref-index-operator, ↵bors-177/+107
r=nikomatsakis Per discussion on IRC. r? @pcwalton
2013-03-27Fix pretty-printer test failure by carrying the bound lifetime names throughNiko Matsakis-100/+130
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-27another pub fn for check-fastGraydon Hoare-1/+1
2013-03-27cmp: rm TotalOrd impl code duplicationDaniel Micay-53/+22
2013-03-27Fix pretty-printer test failure by carrying the bound lifetime names throughNiko Matsakis-100/+130
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-27fixes stated grammar for block comments, by adding Kleene '+' in two places.John Clements-2/+2
Closes #1588
2013-03-27testsuite: more `pub fn main`Tim Chevalier-26/+126
2013-03-27Oh, cool, I xfailed the wrong test, neatTim Chevalier-0/+1
2013-03-27testsuite: Add various test casesTim Chevalier-13/+383
Some are xfailed, some not, some existing ones get un-xfailed.
2013-03-27Autoref the argument to the index operator (#4920)Niko Matsakis-49/+88
2013-03-28librustc: Limit the typo suggestions to reasonable suggests.Huon Wilson-4/+18
Impose a limit so that the typo suggester only shows reasonable suggestions (i.e. don't suggest `args` when the error is `foobar`).