| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-07-30 | Improve std::num module description, and fix some formatting | Brendan Zabarauskas | -21/+4 | |
| 2013-07-30 | Add some missing method wrappers to std::num | Brendan Zabarauskas | -2/+24 | |
| 2013-07-28 | Refactored vec and str iterators to remove prefixes | jmgrosen | -87/+87 | |
| 2013-07-28 | ReaderUtil::each_byte shouldn't include EOF byte -- Issue #5056 | Stepan Koltsov | -4/+38 | |
| 2013-07-28 | auto merge of #8087 : Aatch/rust/atomics, r=huonw | bors | -0/+57 | |
| Adds a fence operation to close #8061 Also adds static initializers to for atomic types. Since the fields are private, you aren't able to have `static mut` variables that are an atomic type. Each atomic type's initializer starts at a 0-value (so unset for `AtomicFlag` and false for `AtomicBool`). | ||||
| 2013-07-28 | Fix spelling errors | James Miller | -2/+2 | |
| 2013-07-28 | Add static initializers for atomics | James Miller | -5/+26 | |
| 2013-07-28 | Add an atomic fence intrinsic | James Miller | -0/+36 | |
| 2013-07-28 | auto merge of #8069 : erickt/rust/maikklein, r=erickt | bors | -388/+342 | |
| Good evening, This is a superset of @MaikKlein's #7969 commit, that I've fixed up to compile. I had a couple commits I wanted to do on top of @MaikKlein's work that I didn't want to bitrot. | ||||
| 2013-07-27 | std: cleanup imports in result::tests | Erick Tryzelaar | -8/+6 | |
| 2013-07-27 | std and rustc: cleanup uses of result methods | Erick Tryzelaar | -27/+25 | |
| 2013-07-27 | core: correct the casing of result::{Ok,Err} in the docs | Erick Tryzelaar | -59/+57 | |
| 2013-07-27 | std: Put the option tests into a tests submodule | Erick Tryzelaar | -105/+111 | |
| 2013-07-27 | std: fix the casing of option::{Some,None} in the docs | Erick Tryzelaar | -6/+6 | |
| 2013-07-27 | to_either + fixes | Erick Tryzelaar | -45/+49 | |
| 2013-07-27 | cleanup .map and .map_err | Erick Tryzelaar | -40/+33 | |
| 2013-07-27 | cleanup .get and .get_err | maikklein | -36/+29 | |
| 2013-07-27 | cleanup .chain and .chain_err + fixing other files | maikklein | -68/+41 | |
| 2013-07-27 | cleanup .unwrap and .unwrap_err fixing io tests | Erick Tryzelaar | -23/+16 | |
| 2013-07-27 | cleanup .iter and .iter_err | Erick Tryzelaar | -47/+48 | |
| 2013-07-27 | cleanup get_ref | Erick Tryzelaar | -17/+14 | |
| 2013-07-27 | Fix nits. | Steven Stewart-Gallus | -9/+7 | |
| 2013-07-27 | Change concurrency primitives to standard naming conventions | Steven Stewart-Gallus | -70/+72 | |
| To be more specific: `UPPERCASETYPE` was changed to `UppercaseType` `type_new` was changed to `Type::new` `type_function(value)` was changed to `value.method()` | ||||
| 2013-07-27 | auto merge of #8076 : omasanori/rust/cleanup, r=huonw | bors | -5/+0 | |
| A cleanup suggested on #7922. | ||||
| 2013-07-27 | auto merge of #7864 : brson/rust/start-on-main-thread, r=brson | bors | -10/+61 | |
| Applications that need to use the GUI can override start and set up the runtime using this function. | ||||
| 2013-07-27 | std::rt: Add start_on_main_thread function | Brian Anderson | -10/+61 | |
| Applications that need to use the GUI can override start and set up the runtime using this function. | ||||
| 2013-07-27 | auto merge of #8074 : thestinger/rust/iterator, r=cmr | bors | -66/+98 | |
| d7c9bb4 r=alexcrichton 7ae17e0 r=huonw | ||||
| 2013-07-27 | iterator: add an Extendable trait | Daniel Micay | -1/+18 | |
| 2013-07-27 | vec: replace some `as_mut_buf` with `to_mut_ptr` | Daniel Micay | -12/+10 | |
| 2013-07-27 | Remove dummy type parameters from iterator adaptors | blake2-ppc | -51/+43 | |
| With the recent fixes to method resolution, we can now remove the dummy type parameters used as crutches in the iterator module. For example, the zip adaptor type is just ZipIterator<T, U> now. | ||||
| 2013-07-27 | vec: add mut_slice_{to,from} | Daniel Micay | -0/+23 | |
| Closes #8066 | ||||
| 2013-07-27 | make RandomAccessIterator inherit from Iterator | Daniel Micay | -2/+4 | |
| 2013-07-27 | auto merge of #8036 : sfackler/rust/container-impls, r=msullivan | bors | -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-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 | |
