| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-06-27 | auto merge of #7414 : gifnksm/rust/max_by, r=catamorphism | bors | -0/+62 | |
| `max_by` method returns the element that gives the maximum value from the specfied function. `max_by`/`min_by` are convenient when you want to get the value which has greatest/smallest scores. Inspired by [ruby's Enumerable module](http://ruby-doc.org/core-2.0/Enumerable.html). | ||||
| 2013-06-28 | std: silence some test warnings. | Huon Wilson | -27/+22 | |
| 2013-06-28 | Convert vec::{reserve, reserve_at_least, capacity} to methods. | Huon Wilson | -76/+76 | |
| 2013-06-28 | Convert vec::{partition, partitioned} to methods. | Huon Wilson | -47/+28 | |
| 2013-06-28 | Convert vec::retain to a method. | Huon Wilson | -22/+18 | |
| 2013-06-28 | Convert vec::truncate to a method. | Huon Wilson | -16/+11 | |
| 2013-06-28 | Convert vec::{push, push_all, push_all_move} to methods. | Huon Wilson | -88/+77 | |
| 2013-06-28 | Convert vec::{pop, shift, unshift, insert, remove, swap_remove} to methods. | Huon Wilson | -133/+101 | |
| 2013-06-27 | Convert vec::{head, tail, init, last} (and similar fns) to methods. | Huon Wilson | -50/+26 | |
| 2013-06-27 | Convert vec::[mut_]slice to methods, remove vec::const_slice. | Huon Wilson | -72/+45 | |
| 2013-06-27 | auto merge of #7361 : brson/rust/incoming, r=brson | bors | -2/+2 | |
| 2013-06-26 | auto merge of #7420 : mozilla/rust/rollup, r=thestinger | bors | -40/+101 | |
| 2013-06-26 | std::rt: Some cleanup | Brian Anderson | -20/+18 | |
| 2013-06-26 | vec: remove superseded reverse_part function | Daniel Micay | -40/+2 | |
| `reverse(xs.mut_slice(a, b))` replaces `reverse_part(xs, a, b)` | ||||
| 2013-06-26 | Work-around 'static bound requirement in io::with_bytes_reader (note: does ↵ | Ben Blum | -3/+10 | |
| not fix #5723, interface still unsafe) | ||||
| 2013-06-26 | Add methods .move_from() and .copy_from() to vec | Kevin Ballard | -0/+73 | |
| Add method .move_from() to MutableVector, which consumes another vector and moves elements into the receiver. Add new trait MutableCloneableVector with one method .copy_from(), which clones elements from another vector into the receiver. | ||||
| 2013-06-26 | Add method .set_memory in vec::bytes for &[u8] | Kevin Ballard | -0/+26 | |
| Add new trait vec::bytes::MutableByteVector which currently defines one method .set_memory(). | ||||
| 2013-06-27 | iterator: Add `IteratorUtil::max_by/min_by` method | gifnksm | -0/+62 | |
| 2013-06-26 | changed NOTE to TODO | Eric Reed | -5/+5 | |
| 2013-06-26 | cleaned up uv/net | Eric Reed | -68/+32 | |
| 2013-06-26 | auto merge of #7345 : blake2-ppc/rust/iterator-flat-map, r=thestinger | bors | -0/+67 | |
| flat_map_ produces an iterator that maps each element to an iterator, and yields the elements of the produced iterators. This is the monadic bind :: M a -> (a -> M b) -> M b for iterators. Named just like the vec method, but with a trailing underline until the method resolution bug is resolved. We discussed the name chain_map, but I decided to go with flat_map_ for consistency with vec. Since it.map(f).flatten() would be the same as it.flat_map(f), we could choose to just implement a flatten method instead. Either way the possibilities are the same but flat_map is more convenient. | ||||
| 2013-06-26 | converted TCP interface to newtype structs | Eric Reed | -24/+9 | |
| 2013-06-26 | removed unecessary method | Eric Reed | -3/+1 | |
| 2013-06-26 | auto merge of #7216 : kballard/rust/task_rng, r=brson | bors | -10/+6 | |
| 2013-06-26 | auto merge of #7113 : alexcrichton/rust/banned-warnings, r=cmr | bors | -24/+17 | |
| Reopening of #7031, Closes #6963 I imagine though that this will bounce in bors once or twice... Because attributes can't be cfg(stage0)'d off, there's temporarily a lot of new stage0/stage1+ code. | ||||
| 2013-06-25 | auto merge of #7269 : luqmana/rust/drop, r=thestinger | bors | -32/+32 | |
| Finally rename finalize to drop. Closes #4332. | ||||
| 2013-06-25 | Merge remote-tracking branch 'mozilla/master' into incoming | Brian Anderson | -643/+1147 | |
| Conflicts: src/librustc/middle/astencode.rs src/librustc/middle/check_const.rs | ||||
| 2013-06-25 | Change finalize -> drop. | Luqman Aden | -32/+32 | |
| 2013-06-25 | Deny common lints by default for lib{std,extra} | Alex Crichton | -24/+17 | |
| 2013-06-25 | Converted UdpSocket into a newtype struct and (dis)connecting uses move ↵ | Eric Reed | -27/+12 | |
| semantics rather than ~. | ||||
| 2013-06-25 | converted UvUdpSocket into a newtype struct | Eric Reed | -14/+5 | |
| 2013-06-25 | changed outdated match on IpAddr | Eric Reed | -4/+2 | |
| 2013-06-25 | IPv6 struct | Eric Reed | -2/+4 | |
| 2013-06-25 | removed obsolete FIXMEs. formatting changes. | Eric Reed | -54/+24 | |
| 2013-06-25 | satisfy the formatting check | Eric Reed | -15/+19 | |
| 2013-06-25 | remove `each` from vec, HashMap and HashSet | Daniel Micay | -127/+8 | |
| 2013-06-25 | container: remove internal iterators from Map | Daniel Micay | -64/+52 | |
| the maps are being migrated to external iterators | ||||
| 2013-06-25 | removed unncessary unsafe block that was stopping compliation. | Eric Reed | -1/+1 | |
| 2013-06-25 | Merge remote-tracking branch 'upstream/io' into io | Eric Reed | -2265/+2699 | |
| Conflicts: src/rt/rustrt.def.in | ||||
| 2013-06-25 | UDP networking with tests | Eric Reed | -61/+366 | |
| 2013-06-25 | auto merge of #7371 : alexcrichton/rust/trying, r=cmr | bors | -0/+0 | |
| This is an attempt at a smaller request than #7113, it's just the first two commits | ||||
| 2013-06-25 | Rename all files with the 'rc' extension | Alex Crichton | -0/+0 | |
| 2013-06-25 | auto merge of #7317 : Aatch/rust/no-drop-flag, r=thestinger | bors | -0/+1 | |
| 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 | -80/+217 | |
| 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-24 | auto merge of #7370 : Aatch/rust/snapshot, r=huonw | bors | -60/+1 | |
| I also cleaned up the warnings. | ||||
| 2013-06-25 | Add missing import to tests | James Miller | -1/+1 | |
| 2013-06-25 | Warning police | James Miller | -2/+0 | |
| 2013-06-25 | Remove stage0 cfgs | James Miller | -57/+0 | |
| 2013-06-25 | Set #[no_drop_flag] on Rc<T> and AtomicOption. Add Test | James Miller | -0/+1 | |
| 2013-06-24 | extra: Make test runner compatible with newsched | Brian Anderson | -7/+14 | |
