| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-07-01 | auto merge of #7443 : yjh0502/rust/fix_field_dup, r=huonw | bors | -0/+17 | |
| Check if there is duplicated field names in struct. | ||||
| 2013-06-30 | auto merge of #7487 : huonw/rust/vec-kill, r=cmr | bors | -70/+30 | |
| Continuation of #7430. I haven't removed the `map` method, since the replacement `v.iter().transform(f).collect::<~[SomeType]>()` is a little ridiculous at the moment. | ||||
| 2013-06-30 | Bump version from 0.7-pre to 0.7 | Brian Anderson | -1/+1 | |
| 2013-06-30 | Remove vec::{map, mapi, zip_map} and the methods, except for .map, since this | Huon Wilson | -42/+21 | |
| is very common, and the replacement (.iter().transform().collect()) is very ugly. | ||||
| 2013-06-30 | Convert vec::{grow, grow_fn, grow_set} to methods. | Huon Wilson | -3/+1 | |
| 2013-06-30 | Convert vec::{reverse, swap} to methods. | Huon Wilson | -24/+7 | |
| 2013-06-30 | Convert vec::{rposition, rposition_elem, position_elem, contains} to methods. | Huon Wilson | -1/+1 | |
| 2013-06-30 | Fixes #7377 | jihyun | -0/+17 | |
| 2013-06-29 | auto merge of #7441 : catamorphism/rust/testcases_2013-06-27, r=catamorphism | bors | -0/+149 | |
| 2013-06-29 | auto merge of #7363 : bblum/rust/soundness, r=nikomatsakis | bors | -3/+91 | |
| The commit f9a5453 is meant to be a temporary hold-over. Whether or not there is added a way for the compiler to "implicitly borrow" stack closures in this way, there should be a codegen optimization that prevents having to traverse possibly-very-many function pointers to find the function you ultimately wanted to call. I tried to separate out the changes so this particular commit could be straight-up reverted if auto-borrowing happens in the future. r? @nikomatsakis | ||||
| 2013-06-29 | auto merge of #7244 : bblum/rust/once, r=nikomatsakis | bors | -0/+196 | |
| @graydon suggested that once closures not be part of the language for 1.0, but that they might be hidden behind a -Z compile flag as an "experimental feature" in case people decide they need them. Regardless of whether ```-Z once-fns``` is set, this PR will parse the ```once``` keyword and will prevent closures labelled with it from being called more than once. It will also permit moving out of captured vars in heap closures, just to let the runtime writers stop using ```Cell``` sooner. Setting ```-Z once-fns``` only toggles whether the move-out-from-capture privilege is also given for stack closures. r? @nikomatsakis | ||||
| 2013-06-29 | Add two tests for the case of the recurring closure. | Ben Blum | -0/+88 | |
| 2013-06-29 | Trade stack closure copyability for type soundness. | Ben Blum | -1/+1 | |
| 2013-06-29 | 'Borrow' stack closures rather than copying them (e.g., "|x|f(x)"), in prep ↵ | Ben Blum | -2/+2 | |
| for making them noncopyable. | ||||
| 2013-06-29 | xfail-fast once fn run-pass tests | Ben Blum | -0/+4 | |
| 2013-06-28 | auto merge of #7479 : mozilla/rust/rollup, r=thestinger | bors | -5/+5 | |
| 22b7eb3 r=thestinger 28a3613 r=cmr a0c31ec r=bstrie ee7307e r=thestinger b9cf6a3 r=thestinger | ||||
| 2013-06-29 | iterator: UnfoldrIterator::new should have function argument last | blake2-ppc | -1/+1 | |
| To match Rust conventions and enable use of `do` etc, make sure the closure is the last argument to the `new` method. | ||||
| 2013-06-29 | Rename #[mutable] to #[no_freeze] | Brian Anderson | -2/+2 | |
| 2013-06-29 | Rename #[non_sendable] to #[no_send] | Brian Anderson | -2/+2 | |
| 2013-06-28 | auto merge of #7471 : msullivan/rust/default-methods, r=graydon | bors | -0/+110 | |
| This fixes a bunch of default method bugs and restructures how vtable resolutions are represented. (It also adds a depth counter to llvm::type_to_str as a hacky work around for our circular llvm types. This is related in the sense that I needed to do it to make debug tracing not cause rustc to crash after running out of stack space.) | ||||
| 2013-06-28 | Add tests for some default method things. | Michael Sullivan | -0/+110 | |
| 2013-06-28 | auto merge of #7466 : thestinger/rust/passes, r=cmr | bors | -4/+4 | |
| 2013-06-28 | copy the optimization passes from clang | Daniel Micay | -4/+4 | |
| 2013-06-28 | Fix threadring | Corey Richardson | -1/+3 | |
| 2013-06-28 | Rename Const/Owned in more places | James Miller | -13/+13 | |
| 2013-06-28 | librustc: Fix merge fallout and test cases. | Patrick Walton | -19/+19 | |
| 2013-06-28 | librustc: Remove the broken overloaded assign-ops from the language. | Patrick Walton | -32/+39 | |
| They evaluated the receiver twice. They should be added back with `AddAssign`, `SubAssign`, etc., traits. | ||||
| 2013-06-28 | libsyntax: Remove "copy" pattern bindings from the language | Patrick Walton | -4/+4 | |
| 2013-06-28 | librustc: Disallow "mut" from distributing over bindings. | Patrick Walton | -10/+17 | |
| This is the backwards-incompatible part of per-binding-site "mut". | ||||
| 2013-06-28 | librustc: Change "Owned" to "Send" everywhere | Patrick Walton | -54/+54 | |
| 2013-06-28 | librustc: Rename Const to Freeze | Patrick Walton | -11/+11 | |
| 2013-06-28 | auto merge of #7426 : thestinger/rust/zero-size-noncopyable, r=catamorphism | bors | -1/+1 | |
| 4885918 r=huonw 42a63fc r=thestinger 7ec5a08 r=catamorphism fb1e5f1 r=thestinger 659cd55 r=cmr | ||||
| 2013-06-27 | Rename #[no_drop_flag] to #[unsafe_no_drop_flag] | Birunthan Mohanathas | -1/+1 | |
| 2013-06-27 | auto merge of #7410 : luqmana/rust/bare-self, r=catamorphism | bors | -0/+25 | |
| Finally sorted this out. Fixes #5321, #4439, and #4850. | ||||
| 2013-06-27 | Add test for #5321. | Luqman Aden | -0/+25 | |
| 2013-06-27 | auto merge of #7432 : michaelwoerister/rust/WP3, r=jdm | bors | -29/+1140 | |
| 2013-06-27 | testsuite: Add test cases, some xfailed | Tim Chevalier | -0/+149 | |
| Closes #5060 Closes #4446 Closes #5192 | ||||
| 2013-06-27 | auto merge of #7430 : huonw/rust/vec-kill, r=thestinger | bors | -25/+15 | |
| 2013-06-27 | debuginfo: Some corrections after review. | Michael Woerister | -4/+16 | |
| 2013-06-27 | debuginfo: Formatting cleanup. | Michael Woerister | -22/+12 | |
| 2013-06-27 | debuginfo: Added test case for function arguments. | Michael Woerister | -0/+51 | |
| 2013-06-27 | debuginfo: Added test case for local variables declared with destructuring. | Michael Woerister | -0/+33 | |
| 2013-06-27 | debuginfo: Added more tests for region pointers (tuples, structs). | Michael Woerister | -0/+125 | |
| 2013-06-27 | debuginfo: Fixed some instances of gdb wrongly printing u8/i8 values as chars. | Michael Woerister | -6/+6 | |
| 2013-06-27 | debuginfo: Added test cases for region pointers into heap boxes for basic types. | Michael Woerister | -0/+230 | |
| 2013-06-27 | debuginfo: Added test case for region pointers pointing to stack values with ↵ | Michael Woerister | -0/+116 | |
| basic type. | ||||
| 2013-06-27 | debuginfo: Added test case for structs with destructor. | Michael Woerister | -0/+77 | |
| 2013-06-27 | debuginfo: Added test case for local variable scopes. | Michael Woerister | -0/+49 | |
| 2013-06-27 | debuginfo: Made test cases use correct naming convention for variables. | Michael Woerister | -64/+64 | |
| 2013-06-27 | debuginfo: Added test cases for tuples contained in structs. | Michael Woerister | -0/+151 | |
