| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-07-19 | Changed methods on UDP sockets and TCP/UDP watchers to &mut self to reflect ↵ | Eric Reed | -64/+65 | |
| that libuv may change the underlying handle. | ||||
| 2013-07-18 | auto merge of #7854 : brson/rust/rt-test-threads, r=pcwalton | bors | -1/+1 | |
| 2013-07-17 | test: Fix tests. | Patrick Walton | -3/+3 | |
| 2013-07-17 | test: Fix tests. | Patrick Walton | -1/+1 | |
| 2013-07-17 | librustc: Remove all uses of "copy". | Patrick Walton | -8/+10 | |
| 2013-07-17 | std::rt: Rename RUST_TEST_THREADS to RUST_RT_TEST_THREADS | Brian Anderson | -1/+1 | |
| 2013-07-16 | Rename Option swap_unwrap to take_unwrap. Fixes Issue#7764 | Austin King | -15/+15 | |
| 2013-07-15 | remove headers from unique vectors | Daniel Micay | -8/+0 | |
| 2013-07-14 | Make TLS keys actually take up space | Alex Crichton | -2/+2 | |
| If the TLS key is 0-sized, then the linux linker is apparently smart enough to put everything at the same pointer. OSX on the other hand, will reserve some space for all of them. To get around this, the TLS key now actuall consumes space to ensure that it gets a unique pointer | ||||
| 2013-07-14 | Purge the last remnants of the old TLS api | Alex Crichton | -8/+6 | |
| Closes #3273 | ||||
| 2013-07-11 | auto merge of #7677 : alexcrichton/rust/tls-gc, r=pcwalton | bors | -6/+6 | |
| cc #6004 and #3273 This is a rewrite of TLS to get towards not requiring `@` when using task local storage. Most of the rewrite is straightforward, although there are two caveats: 1. Changing `local_set` to not require `@` is blocked on #7673 2. The code in `local_pop` is some of the most unsafe code I've written. A second set of eyes should definitely scrutinize it... The public-facing interface currently hasn't changed, although it will have to change because `local_data::get` cannot return `Option<T>`, nor can it return `Option<&T>` (the lifetime isn't known). This will have to be changed to be given a closure which yield `&T` (or as an Option). I didn't do this part of the api rewrite in this pull request as I figured that it could wait until when `@` is fully removed. This also doesn't deal with the issue of using something other than functions as keys, but I'm looking into using static slices (as mentioned in the issues). | ||||
| 2013-07-11 | Remove all external requirements of `@` from TLS | Alex Crichton | -2/+2 | |
| Closes #6004 | ||||
| 2013-07-11 | Work around stage0 to remove '@' requirements from TLS | Alex Crichton | -5/+5 | |
| 2013-07-09 | auto merge of #7265 : brson/rust/io-upstream, r=brson | bors | -1571/+5074 | |
| r? @graydon, @nikomatsakis, @pcwalton, or @catamorphism Sorry this is so huge, but it's been accumulating for about a month. There's lots of stuff here, mostly oriented toward enabling multithreaded scheduling and improving compatibility between the old and new runtimes. Adds task pinning so that we can create the 'platform thread' in servo. [Here](https://github.com/brson/rust/blob/e1555f9b5628af2b6c6ed344cad621399cb7684d/src/libstd/rt/mod.rs#L201) is the current runtime setup code. About half of this has already been reviewed. | ||||
| 2013-07-09 | Change the elements in the task-local map to be actual key-value pairs | Alex Crichton | -1/+1 | |
| 2013-07-09 | std::rt: Ignore 0-byte udp reads | Brian Anderson | -0/+7 | |
| 2013-07-09 | std::rt: Do local tests in a bare thread to not interfere with the scheduler | Brian Anderson | -21/+30 | |
| 2013-07-09 | remove the unused exchange_malloc `align` parameter | Daniel Micay | -2/+2 | |
| `malloc` already returns memory correctly aligned for every possible type in standard C, and that's enough for all types in Rust too | ||||
| 2013-07-09 | std: Make os::set_exit_status work with newsched | Brian Anderson | -1/+31 | |
| 2013-07-09 | std::rt: size_t, not u64 | Brian Anderson | -2/+2 | |
| 2013-07-08 | Tidy | Brian Anderson | -10/+14 | |
| 2013-07-08 | Merge remote-tracking branch 'mozilla/master' | Brian Anderson | -11/+7 | |
| Conflicts: src/libextra/test.rs src/libstd/rt/global_heap.rs src/libstd/unstable/lang.rs src/libstd/vec.rs | ||||
| 2013-07-08 | Merge remote-tracking branch 'anasazi/io' | Brian Anderson | -686/+1512 | |
| Conflicts: src/libstd/rt/test.rs | ||||
| 2013-07-08 | std::rt: Add a hack to allocate different test port ranges to different bots | Brian Anderson | -2/+44 | |
| 2013-07-08 | changed .each() to .iter().advance() | Eric Reed | -10/+10 | |
| 2013-07-08 | renamed finalize to drop in Drop impl for UvUdpSocket | Eric Reed | -1/+1 | |
| 2013-07-08 | Merge remote-tracking branch 'upstream/io' into io | Eric Reed | -117/+145 | |
| Conflicts: src/libstd/rt/uvio.rs | ||||
| 2013-07-08 | remove headers from exchange allocations | Daniel Micay | -3/+2 | |
| 2013-07-08 | add a temporary vector_exchange_malloc lang item | Daniel Micay | -0/+8 | |
| 2013-07-03 | Merge remote-tracking branch 'mozilla/master' | Brian Anderson | -121/+148 | |
| Conflicts: src/libextra/test.rs src/libstd/at_vec.rs src/libstd/cleanup.rs src/libstd/rt/comm.rs src/libstd/rt/global_heap.rs src/libstd/task/spawn.rs src/libstd/unstable/lang.rs src/libstd/vec.rs src/rt/rustrt.def.in src/test/run-pass/extern-pub.rs | ||||
| 2013-07-04 | Convert vec::{as_imm_buf, as_mut_buf} to methods. | Huon Wilson | -1/+2 | |
| 2013-07-02 | converted TODOs into XXXs | Eric Reed | -8/+7 | |
| 2013-07-02 | Merge remote-tracking branch 'upstream/io' into io | Eric Reed | -555/+377 | |
| Conflicts: src/libstd/rt/test.rs src/rt/rustrt.def.in | ||||
| 2013-07-02 | IPv6 support for UDP and TCP. | Eric Reed | -131/+768 | |
| 2013-07-02 | A missing ! made it so that the testcase schedule_home_states was throwing ↵ | toddaaro | -1/+1 | |
| spurious assert failures. Why this did not result in the test case failing previously is beyond me. | ||||
| 2013-07-01 | removed unnecessary import that slipped in during merge | toddaaro | -1/+0 | |
| 2013-07-01 | merging task/coroutine refactoring back into upstream | toddaaro | -19/+18 | |
| 2013-07-01 | Refactored the runtime to view coroutines as a component of tasks, instead ↵ | toddaaro | -542/+362 | |
| of tasks as a component of coroutines. | ||||
| 2013-06-30 | pass exchange_malloc an alignment, not a tydesc | Daniel Micay | -7/+2 | |
| 2013-06-30 | global_heap: inline get_box_size and align_to | Daniel Micay | -0/+2 | |
| 2013-06-30 | global_heap: inline malloc_raw and add realloc_raw | Daniel Micay | -1/+13 | |
| 2013-06-30 | add a closure_exchange_malloc lang item | Daniel Micay | -0/+14 | |
| this makes the exchange allocation header completely unused, and leaves it uninitialized | ||||
| 2013-06-30 | stop initializing ref_count in exchange_alloc | Daniel Micay | -1/+21 | |
| this is never read anymore | ||||
| 2013-06-30 | simplify the exchange allocator | Daniel Micay | -53/+41 | |
| * stop using an atomic counter, this has a significant cost and valgrind will already catch these leaks * remove the extra layer of function calls * remove the assert of non-null in free, freeing null is well defined but throwing a failure from free will not be * stop initializing the `prev`/`next` pointers * abort on out-of-memory, failing won't necessarily work | ||||
| 2013-06-28 | librustc: Disallow "mut" from distributing over bindings. | Patrick Walton | -2/+5 | |
| This is the backwards-incompatible part of per-binding-site "mut". | ||||
| 2013-06-28 | librustc: Change "Owned" to "Send" everywhere | Patrick Walton | -9/+9 | |
| 2013-06-28 | std: silence some test warnings. | Huon Wilson | -2/+2 | |
| 2013-06-28 | Convert vec::{reserve, reserve_at_least, capacity} to methods. | Huon Wilson | -1/+1 | |
| 2013-06-27 | Convert vec::[mut_]slice to methods, remove vec::const_slice. | Huon Wilson | -2/+2 | |
| 2013-06-26 | std::rt: Some cleanup | Brian Anderson | -20/+18 | |
