| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-06-05 | core::rt: Implement SharedChan | Brian Anderson | -3/+64 | |
| 2013-06-05 | std::rt: Remove in incorrect assert | Brian Anderson | -1/+3 | |
| 2013-06-05 | std::rt: Destroy the task start closure while in task context | Brian Anderson | -1/+36 | |
| 2013-06-05 | std::rt: Use AtomicUint instead of intrinsics in comm | Brian Anderson | -9/+9 | |
| 2013-06-05 | core: Make atomic methods public | Brian Anderson | -31/+31 | |
| 2013-06-05 | rand example fixup | John Clements | -1/+1 | |
| 2013-06-04 | librustc: Disallow multiple patterns from appearing in a "let" declaration. | Patrick Walton | -51/+57 | |
| You can still initialize multiple variables at once with "let (x, y) = (1, 2)". | ||||
| 2013-06-04 | auto merge of #6942 : thestinger/rust/cleanup, r=catamorphism | bors | -14/+0 | |
| borrowed pointers already implement Eq and Ord with deep comparisons | ||||
| 2013-06-04 | auto merge of #6941 : Thiez/rust/pub_atomics, r=thestinger | bors | -31/+31 | |
| As the title suggests, this marks all the fns on the impls on the atomic types in std::unstable::atomics as pub, which makes them significantly more usable (they are rather unusable otherwise). r? | ||||
| 2013-06-04 | sys: get rid of shape functions | Daniel Micay | -14/+0 | |
| borrowed pointers already implement Eq and Ord with deep comparisons | ||||
| 2013-06-04 | clone: fix docstring | Daniel Micay | -2/+1 | |
| @T and @mut T for T: Const have DeepClone | ||||
| 2013-06-05 | Made fns in the impls for the Atomic structs pub | Matthijs Hofstra | -31/+31 | |
| 2013-06-04 | std::util: fix missed old constructor | Philipp Brüschweiler | -1/+1 | |
| 2013-06-04 | std::util: Modernize NonCopyable constructor | Philipp Brüschweiler | -4/+6 | |
| part of #3853 | ||||
| 2013-06-04 | std::io: Modernize some constructors | Philipp Brüschweiler | -33/+35 | |
| Part of #3853 | ||||
| 2013-06-04 | std::cell: Modernize constructors | Philipp Brüschweiler | -101/+101 | |
| Part of #3853 | ||||
| 2013-06-03 | auto merge of #6886 : jld/rust/vec-each-ret-fix, r=sanxiyn | bors | -2/+19 | |
| 2013-06-03 | auto merge of #6907 : steveklabnik/rust/prelude_docs, r=graydon | bors | -1/+18 | |
| 2013-06-03 | Add better documentation for the Prelude. | Steve Klabnik | -1/+18 | |
| 2013-06-03 | rename the Ptr trait to RawPtr | Daniel Micay | -10/+10 | |
| Closes #6607 | ||||
| 2013-06-03 | Add traits for concat and connect methods | Brendan Zabarauskas | -90/+204 | |
| 2013-06-02 | ptr: split out borrowed pointer utilities | Daniel Micay | -48/+64 | |
| The ptr module is intended to be for raw pointers. Closes #3111 | ||||
| 2013-06-02 | Add a get_mut method to accompany the get method. | gareth | -0/+9 | |
| 2013-06-01 | auto merge of #6896 : nickdesaulniers/rust/issue4501, r=brson | bors | -10/+10 | |
| review? @brson | ||||
| 2013-06-01 | auto merge of #6815 : kballard/rust/hashmap-insert_or_modify_with, r=erickt | bors | -36/+35 | |
| `std::hashmap::HashMap.insert_or_update_with()` is basically the opposite of `find_or_insert_with()`. It inserts a given key-value pair if the key does not already exist, or replaces the existing value with the output of the passed function if it does. This is useful because replicating this with existing functionality is awkward, especially with the current borrow-checker. In my own project I have code that looks like if match map.find_mut(&key) { None => { true } Some(x) => { *x += 1; false } } { map.insert(key, 0); } and it took several iterations to make it look this good. The new function turns this into map.insert_or_update_with(key, 0, |_,x| *x += 1); | ||||
| 2013-06-01 | Swap return value of pipes::init Fixes #4501 | Nick Desaulniers | -10/+10 | |
| 2013-06-01 | Add new function hashmap.insert_or_update_with() | Kevin Ballard | -0/+15 | |
| fn insert_or_update_with<'a>(&'a mut self, k: K, f: &fn(&K, &mut V)) -> &'a V | ||||
| 2013-06-01 | Refactor some hashmap code into a new private function mangle() | Kevin Ballard | -37/+21 | |
| Add new private hashmap function fn mangle(&mut self, k: K, not_found: &fn(&K) -> V, found: &fn(&K, &mut V)) -> uint Rewrite find_or_insert() and find_or_insert_with() on top of mangle(). Also take the opportunity to change the return type of find_or_insert() and find_or_insert_with() to &'a mut V. This fixes #6394. | ||||
| 2013-06-01 | Fix vec::each* return values | Jed Davis | -2/+19 | |
| 2013-06-01 | std: fix run tests when symlink is in the rust checkout path | Erick Tryzelaar | -6/+12 | |
| 2013-06-01 | Remove all uses of `pub impl`. rs=style | Patrick Walton | -306/+329 | |
| 2013-05-31 | auto merge of #6851 : alexcrichton/rust/bugfixes, r=pcwalton | bors | -3/+19 | |
| Closes #5090 by using the excellent new generic deriving code Promotes the unreachable code attribute to a lint attribute (instead of always being a warning) Fixes some edge cases when creating hashmaps/hashsets and also when consuming them. (fixes #5998) | ||||
| 2013-05-31 | auto merge of #6876 : cmr/rust/from_elem_opts, r=Aatch | bors | -3/+15 | |
| borrowck 1.85x speedup on libstd | ||||
| 2013-06-01 | Optimize vec::from_elem with manual inlining (borrowck 1.85x speedup on libstd) | Corey Richardson | -3/+15 | |
| 2013-05-31 | auto merge of #6729 : bstrie/rust/ascstr, r=Aatch | bors | -23/+40 | |
| Formerly this was a free function rather than a method. I've left it in place for now, although redefined it so that it just calls the method. | ||||
| 2013-05-31 | auto merge of #6864 : thestinger/rust/bool, r=pcwalton | bors | -49/+38 | |
| 2013-05-31 | bool: rm functions duplicating methods | Daniel Micay | -49/+38 | |
| 2013-05-31 | Add as_c_str method on strings | Ben Striegel | -23/+40 | |
| 2013-05-31 | ptr: replace unnecessary unsafe code | Daniel Micay | -58/+18 | |
| 2013-05-31 | mv the raw pointer {swap,replace}_ptr to std::ptr | Daniel Micay | -42/+43 | |
| 2013-05-31 | auto merge of #6853 : bblum/rust/sized, r=pcwalton | bors | -1/+6 | |
| r? @nikomatsakis @pcwalton | ||||
| 2013-05-31 | auto merge of #6833 : fdr/rust/fix-warnings, r=Aatch | bors | -20/+13 | |
| Fix a laundry list of warnings involving unused imports that glutted up compilation output. There are more, but there seems to be some false positives (where 'remedy' appears to break the build), but this particular set of fixes seems safe. | ||||
| 2013-05-30 | auto merge of #6841 : steveklabnik/rust/range_docs, r=thestinger | bors | -3/+12 | |
| 2013-05-30 | Fix a bug with HashMap::consume | Alex Crichton | -3/+19 | |
| 2013-05-30 | Add 'Sized' builtin kind; doesn't do anything yet | Ben Blum | -1/+6 | |
| 2013-05-30 | Add example for uint::range_step. | Steve Klabnik | -3/+12 | |
| 2013-05-30 | core::rt: deny(unused_imports, unused_mut, unused_variable) | Brian Anderson | -22/+11 | |
| 2013-05-30 | Remove unnecessary 'use' forms | Daniel Farina | -20/+13 | |
| Fix a laundry list of warnings involving unused imports that glutted up compilation output. There are more, but there seems to be some false positives (where 'remedy' appears to break the build), but this particular set of fixes seems safe. | ||||
| 2013-05-30 | Remove copy bindings from patterns. | Niko Matsakis | -23/+23 | |
| 2013-05-30 | Remove a bunch of unnecessary allocations and copies | Björn Steinbrink | -3/+2 | |
