| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-06-08 | Add a test that causes an ICE currently | Philipp Brüschweiler | -0/+17 | |
| 2013-06-08 | auto merge of #7005 : dotdash/rust/fix_get_str_from, r=bstrie | bors | -10/+8 | |
| As the comment said, the subtraction is bogus for multibyte characters. Fortunately, we can just use last_pos instead of pos to get the correct position without any subtraction hackery. | ||||
| 2013-06-07 | auto merge of #7003 : alco/rust/tutorial-block-expr, r=bstrie | bors | -4/+9 | |
| This is something that's only been briefly mentioned in the beginning of the tutorial and all of the closure examples within this subsection include only one expression between { and }. | ||||
| 2013-06-07 | auto merge of #7000 : Blei/rust/fix-6155, r=catamorphism | bors | -1/+23 | |
| 2013-06-07 | auto merge of #6920 : catamorphism/rust/issue-4765, r=bstrie | bors | -6/+31 | |
| r? anybody As per #4765 | ||||
| 2013-06-07 | auto merge of #6695 : catamorphism/rust/moretestcases, r=catamorphism | bors | -8/+132 | |
| 2013-06-07 | testsuite: Add test cases that pass | Tim Chevalier | -8/+132 | |
| 2013-06-07 | add the Iterator trait to the prelude | Daniel Micay | -0/+1 | |
| 2013-06-08 | Avoid unnecessary allocations in the metadata decoder | Björn Steinbrink | -39/+40 | |
| 2013-06-08 | Lexer: Fix offset handling in get_str_from() | Björn Steinbrink | -10/+8 | |
| As the comment said, the subtraction is bogus for multibyte characters. Fortunately, we can just use last_pos instead of pos to get the correct position without any subtraction hackery. | ||||
| 2013-06-08 | Remove some unnecessary closures | Björn Steinbrink | -7/+6 | |
| 2013-06-08 | TypeChecker: Avoid unnecessary copies | Björn Steinbrink | -33/+33 | |
| 2013-06-08 | Lexer: Avoid unnecessary allocations | Björn Steinbrink | -42/+57 | |
| 2013-06-08 | tydecode: Accept a plain borrowed pointer to the data | Björn Steinbrink | -24/+18 | |
| 2013-06-08 | Avoid unnecessary heap allocations in the metadata ty decoder | Björn Steinbrink | -46/+43 | |
| 2013-06-08 | Avoid unnecessary (re-)allocations in the lexer | Björn Steinbrink | -7/+8 | |
| 2013-06-08 | A reminder that a block is a single expr in closures | Alexei Sholik | -4/+9 | |
| This is something that's only been briefly mentioned in the beginning of the tutorial and all of the closure examples within this subsection include only one expression between { and }. | ||||
| 2013-06-07 | auto merge of #7001 : alco/rust/tutorial-for-loop, r=bstrie | bors | -2/+5 | |
| The "4.3 Loops" section only describes `while` and `loop`. We then see `for` used in a code sample at the end of the "13. Vectors and strings" section, but it's explained for the first time only in the next section -- "14. Closures". It is worth mentioning it in "4.3 Loops". --- Feel free to reword it and commit yourself if you don't like my wording. | ||||
| 2013-06-07 | std: Change str::from_bytes to raise a condition on invalid input | Tim Chevalier | -6/+31 | |
| As per #4765 | ||||
| 2013-06-08 | Mention `for` in the section on loops | Alexei Sholik | -2/+5 | |
| The "4.3 Loops" section only describes `while` and `loop`. We then see `for` used in a code sample at the end of the "13. Vectors and strings" section, but it's explained for the first time only in the next section -- "14. Closures". It is worth mentioning it in "4.3 Loops". | ||||
| 2013-06-07 | pass correct flags to jemalloc for cross-compiling | Daniel Micay | -1/+2 | |
| 2013-06-07 | rustc::typeck: fix array out of bounds | Philipp Brüschweiler | -1/+6 | |
| Fixes #6155 | ||||
| 2013-06-07 | Add test for #6155 | Philipp Brüschweiler | -0/+17 | |
| 2013-06-07 | auto merge of #6999 : thestinger/rust/each-fn-kill, r=thestinger | bors | -188/+82 | |
| 2013-06-07 | iterator: work around method resolve bug (#5898) | Daniel Micay | -4/+5 | |
| 2013-06-07 | Merge branch 'each-fn-kill' of https://github.com/huonw/rust into each-fn-kill | Daniel Micay | -184/+77 | |
| 2013-06-08 | std: remove each[i]_mut functions, in favour of iterators. | Huon Wilson | -69/+32 | |
| 2013-06-07 | auto merge of #6990 : huonw/rust/const-eval, r=bstrie | bors | -1/+1 | |
| This fail! caused ICEs, but was trivial to convert to a useful error message. | ||||
| 2013-06-08 | rustc: Convert a fail! to a useful error message. | Huon Wilson | -1/+1 | |
| 2013-06-08 | std: remove vec::each2 and vec::each2_mut in favour of iterators | Huon Wilson | -97/+24 | |
| 2013-06-08 | std: more dummy type parameters on iterators to work around #6967. | Huon Wilson | -18/+21 | |
| 2013-06-07 | auto merge of #6988 : huonw/rust/deriving-changes, r=bstrie | bors | -365/+254 | |
| Several minor changes: - The clean-up I mentioned in #6851 (moving functions from deriving/mod.rs to deriving/generic.rs) - Move `expand_generic_deriving` to a method - Reimplement `deriving(Ord)` with no dependence on `Eq` | ||||
| 2013-06-07 | syntax: correct the modifications to deriving(Ord) so that it works. | Huon Wilson | -30/+13 | |
| 2013-06-07 | syntax: rewrite deriving(Ord) to not require Eq. | Huon Wilson | -57/+59 | |
| lt and gt are implement directly in terms of the corresponding method on their elements, and le and ge are the negations of these. | ||||
| 2013-06-07 | auto merge of #6946 : Blei/rust/fix-each-path, r=Aatch | bors | -82/+70 | |
| 2013-06-07 | rustc::metadata::decoder: cleanup and slightly speed up each_path | Philipp Brüschweiler | -82/+70 | |
| 2013-06-07 | syntax: move expand_generic_deriving to be a method on TraitDef | Huon Wilson | -55/+37 | |
| 2013-06-07 | syntax: move functions from deriving/mod to deriving/generic. | Huon Wilson | -277/+199 | |
| These are now only called in generic and can be private. This includes manually inlining/merging some that are called once. | ||||
| 2013-06-06 | auto merge of #6985 : Aatch/rust/fixed-vec-6977, r=thestinger | bors | -4/+18 | |
| This fixes #6977. Negative counts don't make sense anyway. | ||||
| 2013-06-06 | auto merge of #6979 : thestinger/rust/libc, r=brson | bors | -36/+5 | |
| LLVM provides these functions as intrinsics, and will generate calls to libc when appropriate. They are exposed in the `ptr` module as `copy_nonoverlapping_memory`, `copy_memory` and `set_memory`. @graydon: r? | ||||
| 2013-06-06 | auto merge of #6895 : cmr/rust/jemalloc, r=brson | bors | -13/+44444 | |
| 2013-06-06 | auto merge of #6984 : brson/rust/rtcross, r=brson | bors | -0/+9 | |
| 2013-06-07 | Disallow negative counts in repeat expressions | James Miller | -4/+18 | |
| 2013-06-06 | mk: Fix _RUST_STAGEX variables under cross compile. Fix incoming | Brian Anderson | -0/+9 | |
| 2013-06-06 | auto merge of #6982 : Aatch/rust/better-foreign-error, r=pcwalton | bors | -2/+2 | |
| I encountered this. A straight fail is not useful and most people aren't going to happily spelunk in `parser.rs` | ||||
| 2013-06-07 | Provide an actual error when expanding macros to foreign items | James Miller | -2/+2 | |
| 2013-06-06 | auto merge of #6981 : jbclements/rust/fold-traverses-macros, r=catamorphism | bors | -3/+188 | |
| Fixes bug #2888 . Includes test cases r? @catamorphism | ||||
| 2013-06-06 | auto merge of #6980 : Kimundi/rust/iterator-collect3, r=thestinger | bors | -38/+56 | |
| 2013-06-06 | implement fold traversing macros | John Clements | -3/+38 | |
| 2013-06-06 | add test cases for fold traversing macros | John Clements | -0/+150 | |
