| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-06-30 | auto merge of #7487 : huonw/rust/vec-kill, r=cmr | bors | -47/+12 | |
| 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 | -23/+5 | |
| 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 | -21/+6 | |
| 2013-06-29 | auto merge of #7441 : catamorphism/rust/testcases_2013-06-27, r=catamorphism | bors | -0/+120 | |
| 2013-06-29 | auto merge of #7244 : bblum/rust/once, r=nikomatsakis | bors | -0/+59 | |
| @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 | xfail-fast once fn run-pass tests | Ben Blum | -0/+4 | |
| 2013-06-28 | auto merge of #7479 : mozilla/rust/rollup, r=thestinger | bors | -1/+1 | |
| 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-28 | Add tests for some default method things. | Michael Sullivan | -0/+86 | |
| 2013-06-28 | Rename Const/Owned in more places | James Miller | -8/+8 | |
| 2013-06-28 | librustc: Fix merge fallout and test cases. | Patrick Walton | -8/+8 | |
| 2013-06-28 | librustc: Remove the broken overloaded assign-ops from the language. | Patrick Walton | -21/+27 | |
| They evaluated the receiver twice. They should be added back with `AddAssign`, `SubAssign`, etc., traits. | ||||
| 2013-06-28 | librustc: Disallow "mut" from distributing over bindings. | Patrick Walton | -2/+6 | |
| This is the backwards-incompatible part of per-binding-site "mut". | ||||
| 2013-06-28 | librustc: Change "Owned" to "Send" everywhere | Patrick Walton | -29/+29 | |
| 2013-06-28 | librustc: Rename Const to Freeze | Patrick Walton | -2/+2 | |
| 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 | Add test for #5321. | Luqman Aden | -0/+25 | |
| 2013-06-27 | testsuite: Add test cases, some xfailed | Tim Chevalier | -0/+120 | |
| Closes #5060 Closes #4446 Closes #5192 | ||||
| 2013-06-27 | auto merge of #7430 : huonw/rust/vec-kill, r=thestinger | bors | -8/+2 | |
| 2013-06-27 | Convert vec::[mut_]slice to methods, remove vec::const_slice. | Huon Wilson | -8/+2 | |
| 2013-06-27 | auto merge of #7361 : brson/rust/incoming, r=brson | bors | -1/+0 | |
| 2013-06-26 | auto merge of #7420 : mozilla/rust/rollup, r=thestinger | bors | -41/+41 | |
| 2013-06-26 | auto merge of #7354 : bblum/rust/trait-bounds, r=pcwalton | bors | -11/+114 | |
| r? @nikomatsakis | ||||
| 2013-06-26 | last bit of whitespace | Corey Richardson | -1/+0 | |
| 2013-06-26 | Fix run-pass/match-borrowed_str.rs Fixes #7306 | Nick Desaulniers | -36/+42 | |
| 2013-06-26 | Add a run-pass test for existential traits in ARCs. | Ben Blum | -0/+103 | |
| 2013-06-26 | Fix pretty-printing for bounded closures. Close #7333. | Ben Blum | -4/+0 | |
| 2013-06-26 | Infer default static/Owned bounds for unbounded heap fns/traits (#7264) | Ben Blum | -7/+11 | |
| 2013-06-26 | Remove the last traces of shapes | Philipp Brüschweiler | -5/+0 | |
| 2013-06-26 | auto merge of #7356 : msullivan/rust/default-methods, r=bblum | bors | -0/+22 | |
| r? | ||||
| 2013-06-26 | driver: perform stripping before and after macro expansion. | Huon Wilson | -0/+70 | |
| This allows macros to both be conditionally defined, and expand to items with #[cfg]'s. | ||||
| 2013-06-25 | auto merge of #7269 : luqmana/rust/drop, r=thestinger | bors | -43/+43 | |
| Finally rename finalize to drop. Closes #4332. | ||||
| 2013-06-25 | Merge remote-tracking branch 'mozilla/master' into incoming | Brian Anderson | -143/+246 | |
| Conflicts: src/librustc/middle/astencode.rs src/librustc/middle/check_const.rs | ||||
| 2013-06-25 | Change finalize -> drop. | Luqman Aden | -43/+43 | |
| 2013-06-25 | xfail test hitting a codegen bug (issue #7385) | Daniel Micay | -1/+2 | |
| 2013-06-25 | remove `each` from vec, HashMap and HashSet | Daniel Micay | -19/+20 | |
| 2013-06-25 | container: remove internal iterators from Map | Daniel Micay | -21/+0 | |
| the maps are being migrated to external iterators | ||||
| 2013-06-25 | Fix another generics bug with default methods. Closes #7295. | Michael Sullivan | -0/+22 | |
| 2013-06-25 | auto merge of #7317 : Aatch/rust/no-drop-flag, r=thestinger | bors | -0/+25 | |
| This adds a `#[no_drop_flag]` attribute. This attribute tells the compiler to omit the drop flag from the struct, if it has a destructor. When the destructor is run, instead of setting the drop flag, it instead zeroes-out the struct. This means the destructor can run multiple times and therefore it is up to the developer to use it safely. The primary usage case for this is smart-pointer types like `Rc<T>` as the extra flag caused the struct to be 1 word larger because of alignment. This closes #7271 and #7138 | ||||
| 2013-06-25 | auto merge of #7254 : Blei/rust/intrinsic-overhaul, r=cmr | bors | -102/+107 | |
| This sets the `get_tydesc()` return type correctly and removes the intrinsic module. See #3730, #3475. Update: this now also removes the unused shape fields in tydescs. | ||||
| 2013-06-25 | auto merge of #7291 : alexcrichton/rust/static-mut, r=huonw | bors | -0/+92 | |
| This adds both `static mut` items and `static mut` foreign items. This involved changing far less code than I thought it was going to, but the tests seem to pass and the variables seem functional. I'm more than willing to write more tests, so suggestions are welcome! Closes #553 | ||||
| 2013-06-25 | Set #[no_drop_flag] on Rc<T> and AtomicOption. Add Test | James Miller | -0/+25 | |
| 2013-06-24 | Fix test failure on windows | Philipp Brueschweiler | -3/+1 | |
| This patch ensures that the multiple extern definitions of `free` in the run-pass tests have the same declaration, working around #7352. | ||||
| 2013-06-24 | Fix 'static mut' tests | Alex Crichton | -2/+2 | |
| 2013-06-24 | Un-xfail working test | Corey Richardson | -1/+0 | |
| 2013-06-24 | xfail-pretty on un-xfailed test | Daniel Micay | -0/+1 | |
| 2013-06-24 | deal with windows | Daniel Micay | -1/+5 | |
