| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-07-27 | auto merge of #8040 : luqmana/rust/rtn, r=brson | bors | -110/+514 | |
| Implements various missing tcp & udp methods.. Also fixes handling ipv4-mapped/compatible ipv6 addresses and addresses the XXX on `status_to_maybe_uv_error`. r? @brson | ||||
| 2013-07-27 | Remove unnecessary #[path = "***/mod.rs"] lines. | OGINO Masanori | -5/+0 | |
| Fixes #7922. Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com> | ||||
| 2013-07-26 | auto merge of #7986 : alexcrichton/rust/raw-repr, r=brson | bors | -253/+252 | |
| This moves the raw struct layout of closures, vectors, boxes, and strings into a new `unstable::raw` module. This is meant to be a centralized location to find information for the layout of these values. As safe method, `unwrap`, is provided to convert a rust value to its raw representation. Unsafe methods to convert back are not provided because they are rarely used and too numerous to write an implementation for each (not much of a common pattern). This is progress on #6790. I tried to get a nice interface for a trait to implement in the raw module, but I was unable to come up with one. The hard part is that there are so many different directions to go from one way to another that it's difficult to find a pattern to follow to implement a trait with. Someone else might have some better luck though. | ||||
| 2013-07-26 | Consolidate raw representations of rust values | Alex Crichton | -236/+237 | |
| This moves the raw struct layout of closures, vectors, boxes, and strings into a new `unstable::raw` module. This is meant to be a centralized location to find information for the layout of these values. As safe method, `repr`, is provided to convert a rust value to its raw representation. Unsafe methods to convert back are not provided because they are rarely used and too numerous to write an implementation for each (not much of a common pattern). | ||||
| 2013-07-26 | auto merge of #8039 : Xazax-hun/rust/master, r=brson | bors | -2/+184 | |
| Added some more atomic operations. https://github.com/mozilla/rust/issues/7421 | ||||
| 2013-07-26 | libstd: Tests for {peer, socket}_name. | Luqman Aden | -0/+86 | |
| 2013-07-25 | libstd: Implement some missing udp methods. | Luqman Aden | -21/+132 | |
| 2013-07-25 | libstd: Implement some missing tcp methods. | Luqman Aden | -15/+72 | |
| 2013-07-25 | libstd: Add ToStr impl for IpAddr. | Luqman Aden | -0/+42 | |
| 2013-07-25 | Added default impls for container methods | Steven Fackler | -53/+12 | |
| A couple of implementations of Container::is_empty weren't exactly self.len() == 0 so I left them alone (e.g. Treemap). | ||||
| 2013-07-25 | auto merge of #8030 : thestinger/rust/iterator, r=huonw | bors | -3/+0 | |
| 2013-07-25 | libstd: Get rid of duplication in {peer, socket}_name and remove extra *. | Luqman Aden | -103/+49 | |
| 2013-07-25 | auto merge of #8026 : poiru/rust/issue-8024, r=alexcrichton | bors | -4/+11 | |
| Closes #8024. | ||||
| 2013-07-25 | auto merge of #8015 : msullivan/rust/default-methods, r=nikomatsakis | bors | -1/+24 | |
| Lots of changes to vtable resolution, handling of super/self method calls in default methods. Fix a lot of trait inheritance bugs. r? @nikomatsakis | ||||
| 2013-07-25 | libstd: Handle IPv4-Mapped/Compatible IPv6 addresses. | Luqman Aden | -1/+30 | |
| 2013-07-25 | libstd: Fix errors when rtdebug! is not a noop. | Luqman Aden | -5/+5 | |
| 2013-07-25 | libstd: Implement {peer, socket}_name for new rt tcp & udp. | Luqman Aden | -69/+202 | |
| 2013-07-25 | Added some more atomic operations. | Gábor Horváth | -2/+184 | |
| 2013-07-24 | Convert uses of transmute which don't need it | Alex Crichton | -18/+16 | |
| 2013-07-24 | auto merge of #7931 : blake2-ppc/rust/chain-mut-ref, r=pcwalton | bors | -12/+23 | |
| First, clean up the uses of "None" and "Some" to always use consistent title case matching the variant names. Add .chain_mut_ref() which is a missing method. A use case example for this method is extraction of an optional value from an Option\<Container\> value. | ||||
| 2013-07-24 | rm default method lint | Daniel Micay | -3/+0 | |
| default methods are enabled by default, so there's not much point in keeping around a lint to report them as being experimental | ||||
| 2013-07-24 | auto merge of #7996 : erickt/rust/cleanup-strs, r=erickt | bors | -315/+258 | |
| This is a cleanup pull request that does: * removes `os::as_c_charp` * moves `str::as_buf` and `str::as_c_str` into `StrSlice` * converts some functions from `StrSlice::as_buf` to `StrSlice::as_c_str` * renames `StrSlice::as_buf` to `StrSlice::as_imm_buf` (and adds `StrSlice::as_mut_buf` to match `vec.rs`. * renames `UniqueStr::as_bytes_with_null_consume` to `UniqueStr::to_bytes` * and other misc cleanups and minor optimizations | ||||
| 2013-07-24 | Implement std::num::Zero for bool | Birunthan Mohanathas | -4/+11 | |
| Closes #8024. | ||||
| 2013-07-24 | std: str.as_bytes_with_null_consume() => str.to_bytes_with_null() | Erick Tryzelaar | -1/+1 | |
| 2013-07-24 | auto merge of #7982 : thestinger/rust/iterator, r=thestinger | bors | -94/+276 | |
| f0f4dcc r=huonw 25e9c4c r=graydon a87c2d1 r=brson 16f369d r=cmr 9f05cc8 r=bstrie e858055 r=huonw 5d80938 r=thestinger 05d03e7 r=cmr 8f86fa3 r=thestinger | ||||
| 2013-07-24 | fix compilation on macos/windows | Daniel Micay | -1/+2 | |
| 2013-07-24 | ToStr for HashMap does not need value to implement Eq or Hash | Stepan Koltsov | -6/+18 | |
| 2013-07-24 | std:rt: args module is not used by win/mac. #7951 | Brian Anderson | -69/+123 | |
| 2013-07-24 | Change 'print(fmt!(...))' to printf!/printfln! in src/lib* | Birunthan Mohanathas | -18/+18 | |
| 2013-07-24 | add a RandomAccessIterator trait | Daniel Micay | -2/+117 | |
| 2013-07-24 | auto merge of #7993 : Xazax-hun/rust/master, r=bblum | bors | -0/+12 | |
| Added missing memory orderings for atomic types. https://github.com/mozilla/rust/issues/7422 | ||||
| 2013-07-23 | auto merge of #7980 : graydon/rust/misc-benchmarks, r=catamorphism | bors | -1/+237 | |
| Some machinery for enabling #[bench] benchmarks in std and some examples showing how to write them. | ||||
| 2013-07-23 | Fix some impls such that all supertraits are actually implemented. | Michael Sullivan | -1/+7 | |
| 2013-07-23 | Add a to_owned_vec method to IteratorUtil. | Michael Sullivan | -0/+17 | |
| 2013-07-23 | std: make str::append move self | Erick Tryzelaar | -6/+5 | |
| This eliminates a copy and fixes a FIXME. | ||||
| 2013-07-23 | std: inline str::with_capacity and vec::with_capacity | Erick Tryzelaar | -5/+4 | |
| 2013-07-23 | std: simplify str::as_imm_buf and vec::as_{imm,mut}_buf | Erick Tryzelaar | -12/+6 | |
| 2013-07-23 | str: move as_mut_buf into OwnedStr, and make it `self` | Erick Tryzelaar | -18/+18 | |
| 2013-07-23 | std: remove a malloc from os::fill_charp_buf | Erick Tryzelaar | -3/+2 | |
| 2013-07-23 | std: remove str::to_owned and str::raw::slice_bytes_owned | Erick Tryzelaar | -42/+23 | |
| 2013-07-23 | std: rename str.as_buf to as_imm_buf, add str.as_mut_buf | Erick Tryzelaar | -67/+61 | |
| 2013-07-23 | std and extra: use as_c_str instead of as_buf in a couple places | Erick Tryzelaar | -19/+11 | |
| These uses are assuming the strings are null terminated, so it should be using `as_c_str` instead of `as_buf` | ||||
| 2013-07-23 | std: add test for str::as_c_str | Erick Tryzelaar | -1/+22 | |
| 2013-07-23 | std: move StrUtil::as_c_str into StrSlice | Erick Tryzelaar | -103/+73 | |
| 2013-07-23 | std: move str::as_buf into StrSlice | Erick Tryzelaar | -60/+60 | |
| 2013-07-23 | std: remove os::as_c_charp | Erick Tryzelaar | -44/+39 | |
| 2013-07-23 | std: rename str.as_bytes_with_null_consume to str.to_bytes_with_null | Erick Tryzelaar | -7/+6 | |
| 2013-07-23 | std: wrap "long" utf8 lines. | Graydon Hoare | -2/+4 | |
| 2013-07-23 | Added missing memory orderings for atomic types. | Gábor Horváth | -0/+12 | |
| 2013-07-22 | auto merge of #7875 : sstewartgallus/rust/fubar, r=alexcrichton | bors | -11/+5 | |
