| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 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 #8040 : luqmana/rust/rtn, r=brson | bors | -108/+512 | |
| 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 | -2/+0 | |
| Fixes #7922. Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com> | ||||
| 2013-07-26 | Consolidate raw representations of rust values | Alex Crichton | -26/+26 | |
| 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 | 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 | libstd: Get rid of duplication in {peer, socket}_name and remove extra *. | Luqman Aden | -103/+49 | |
| 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 | -3/+3 | |
| 2013-07-25 | libstd: Implement {peer, socket}_name for new rt tcp & udp. | Luqman Aden | -69/+202 | |
| 2013-07-24 | auto merge of #7996 : erickt/rust/cleanup-strs, r=erickt | bors | -11/+9 | |
| 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 | fix compilation on macos/windows | Daniel Micay | -1/+2 | |
| 2013-07-24 | std:rt: args module is not used by win/mac. #7951 | Brian Anderson | -69/+123 | |
| 2013-07-23 | auto merge of #7980 : graydon/rust/misc-benchmarks, r=catamorphism | bors | -0/+38 | |
| Some machinery for enabling #[bench] benchmarks in std and some examples showing how to write them. | ||||
| 2013-07-23 | std and extra: use as_c_str instead of as_buf in a couple places | Erick Tryzelaar | -3/+3 | |
| 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: move StrUtil::as_c_str into StrSlice | Erick Tryzelaar | -7/+5 | |
| 2013-07-23 | std: move str::as_buf into StrSlice | Erick Tryzelaar | -4/+4 | |
| 2013-07-22 | std: add #[bench] benchmarks for global and local heaps. | Graydon Hoare | -0/+38 | |
| 2013-07-22 | std: fix for blocked task resume | Jeff Olson | -2/+2 | |
| 2013-07-22 | std: make check appeasement | Jeff Olson | -6/+7 | |
| 2013-07-22 | std: minor timer cleanup based on feedback | Jeff Olson | -5/+5 | |
| 2013-07-22 | std: add rt::io::Timer | Jeff Olson | -0/+67 | |
| 2013-07-22 | std: add RtioTimer and UvTimer impl atop rt::uv | Jeff Olson | -0/+69 | |
| 2013-07-22 | new snapshot | Daniel Micay | -21/+1 | |
| 2013-07-20 | librustc: Remove `pub extern` and `priv extern` from the language. | Patrick Walton | -2/+2 | |
| Place `pub` or `priv` on individual items instead. | ||||
| 2013-07-20 | auto merge of #7910 : brson/rust/rm-fixme, r=graydon | bors | -5/+0 | |
| 2013-07-20 | auto merge of #7908 : anasazi/rust/fix_udp_mut, r=brson | bors | -82/+81 | |
| 2013-07-20 | auto merge of #7858 : bblum/rust/kill, r=brson | bors | -736/+940 | |
| Some notes about the commits. Exit code propagation commits: * ```Reimplement unwrap()``` has the same old code from ```arc::unwrap``` ported to use modern atomic types and finally (it's considerably nicer this way) * ```Add try_unwrap()``` has some new slightly-tricky (but pretty simple) concurrency primitive code * ```Add KillHandle``` and ```Add kill::Death``` are the bulk of the logic. Task killing commits: * ```Implement KillHandle::kill() and friends```, ```Do a task-killed check```, and ```Add BlockedTask``` implement the killing logic; * ```Change the HOF context switchers``` turns said logic on Linked failure commits: * ```Replace *rust_task ptrs``` adapts the taskgroup code to work for both runtimes * ```Enable taskgroup code``` does what it says on the tin. r? @brson | ||||
| 2013-07-20 | Add watched and indestructible spawn modes. | Ben Blum | -1/+1 | |
| 2013-07-20 | Rename TCB to Taskgroup | Ben Blum | -2/+2 | |
| 2013-07-20 | Enable taskgroup code for newsched spawns. | Ben Blum | -2/+8 | |
| 2013-07-20 | Replace *rust_task ptrs in taskgroup code with TaskHandle, for transitioning ↵ | Ben Blum | -0/+17 | |
| to newsched killing. | ||||
| 2013-07-20 | Stash a spare kill flag inside tasks, to save two atomic xadds in the ↵ | Ben Blum | -37/+75 | |
| blocking fastpath. | ||||
| 2013-07-20 | Add tests for task killing and blocking. | Ben Blum | -0/+140 | |
| 2013-07-20 | Add test::with_test_task() convenience function. | Ben Blum | -1/+11 | |
| 2013-07-20 | Change the HOF context switchers to pass a BlockedTask instead of a ~Task. | Ben Blum | -59/+100 | |
| 2013-07-20 | Add BlockedTask (wake, try_block, etc) in kill.rs. | Ben Blum | -2/+95 | |
| 2013-07-20 | Do a task-killed check at the start of task 'timeslices'. | Ben Blum | -1/+38 | |
| 2013-07-20 | Implement KillHandle::kill() and friends (unkillable, atomically). Close #6377. | Ben Blum | -2/+150 | |
| 2013-07-20 | Add tests for KillHandle | Ben Blum | -0/+140 | |
| 2013-07-20 | Remove join_latch | Ben Blum | -654/+0 | |
| 2013-07-20 | Add kill::Death for task death services and use it in Task. | Ben Blum | -21/+78 | |
| 2013-07-20 | Add KillHandle and implement exit code propagation to replace join_latch | Ben Blum | -0/+131 | |
| 2013-07-20 | auto merge of #7855 : brson/rust/rt-overcommit, r=pcwalton | bors | -5/+4 | |
| Too much overcommit here exhausts the low fd limit on OS X. | ||||
| 2013-07-19 | std: Remove old magic core mod | Brian Anderson | -1/+1 | |
| 2013-07-19 | std::rt: Remove an obsolete FIXME. #7757 | Brian Anderson | -5/+0 | |
| 2013-07-19 | std::rt: Use a constant 4 threads for multithreaded sched tests. #7772 | Brian Anderson | -5/+4 | |
| Too much overcommit here exhausts the low fd limit on OS X. | ||||
| 2013-07-19 | Missed the methods of UdpWatcher. | Eric Reed | -18/+16 | |
