| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-07-20 | Change the HOF context switchers to pass a BlockedTask instead of a ~Task. | Ben Blum | -60/+102 | |
| 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 | -37/+227 | |
| 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 | -22/+79 | |
| 2013-07-20 | Add KillHandle and implement exit code propagation to replace join_latch | Ben Blum | -3/+134 | |
| 2013-07-20 | Add UnsafeAtomicRcBox::try_unwrap() | Ben Blum | -1/+68 | |
| 2013-07-20 | Reimplement ARC::unwrap() and friends. | Ben Blum | -19/+211 | |
| 2013-07-20 | Add AtomicOption::fill() and AtomicOption::is_empty() | Ben Blum | -0/+38 | |
| 2013-07-20 | Remove redundant Atomic{Ui,I}nt types from unstable::sync | Ben Blum | -68/+0 | |
| 2013-07-20 | Add Option::take_map{,_default}() | Ben Blum | -0/+14 | |
| 2013-07-20 | Add Either::expect_{left,right} | Ben Blum | -6/+26 | |
| 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 | -42/+32 | |
| 2013-07-19 | iterator: impl DoubleEndedIterator for adaptors | Daniel Micay | -0/+121 | |
| 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 | |
| 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 #7857 : blake2-ppc/rust/fix-test-warnings, r=alexcrichton | bors | -9/+8 | |
| Fix warnings that only show up when compiling the tests for libstd, libextra and one in librusti. Only trivial changes. | ||||
| 2013-07-18 | auto merge of #7856 : brson/rust/no-thread-per-core, r=pcwalton | bors | -21/+1 | |
| This doesn't make sense under the new scheduler. | ||||
| 2013-07-18 | rustpkg: Make rustpkg commands work without a package ID | Tim Chevalier | -1/+41 | |
| `rustpkg build`, if executed in a package source directory inside a workspace, will now build that package. By "inside a workspace" I mean that the parent directory has to be called `src`, and rustpkg will create a `build` directory in .. if there isn't already one. Same goes for `rustpkg install` and `rustpkg clean`. For the time being, `rustpkg build` (etc.) will still error out if you run it inside a directory whose parent isn't called `src`. I'm not sure whether or not it's desirable to have it do something in a non-workspace directory. | ||||
| 2013-07-18 | auto merge of #7854 : brson/rust/rt-test-threads, r=pcwalton | bors | -1/+1 | |
| 2013-07-18 | librustc: Forbid `&` pointers (other than `&'static`) inside `@` boxes. | Patrick Walton | -5/+5 | |
| This makes custom borrowing implementations for custom smart pointers sound. | ||||
| 2013-07-18 | auto merge of #7833 : blake2-ppc/rust/hashmap-consume, r=alexcrichton | bors | -65/+21 | |
| Updated all users of HashMap, HashSet ::consume() to use .consume_iter(). Since .consume_iter() takes the map or set by value, it needs awkward extra code to in librusti's use of @mut HashMap, where the map value can not be directly moved out. Addresses issue #7719 | ||||
| 2013-07-18 | auto merge of #7842 : thestinger/rust/closure, r=huonw | bors | -37/+24 | |
| 2013-07-18 | hashmap: Remove .consume() has rename .consume_iter() to .consume() | blake2-ppc | -65/+21 | |
| Updated all users of HashMap, HashSet old .consume() to use .consume() with a for loop. Since .consume() takes the map or set by value, it needs awkward extra code to in librusti's use of @mut HashMap, where the map value can not be directly moved out. | ||||
| 2013-07-18 | repr: add a test case for @mut inside another type | Daniel Micay | -2/+2 | |
| 2013-07-18 | fix repr of @mut vectors | Daniel Micay | -6/+5 | |
| 2013-07-18 | Fix warnings in libstd and librusti tests | blake2-ppc | -9/+8 | |
| 2013-07-17 | fix repr of unique vectors with stage0 libstd | Daniel Micay | -0/+9 | |
| Closes #7860 | ||||
| 2013-07-17 | libsyntax: Remove some multi-gigabyte clones that were preventing ↵ | Patrick Walton | -0/+7 | |
| bootstrapping on Windows. | ||||
| 2013-07-17 | test: Fix tests. | Patrick Walton | -4/+4 | |
| 2013-07-17 | librustc: Remove the `Copy` bound from the language. | Patrick Walton | -7/+1 | |
| 2013-07-17 | test: Fix tests. | Patrick Walton | -24/+21 | |
| 2013-07-17 | librustc: Remove all uses of the `Copy` bound. | Patrick Walton | -43/+34 | |
| 2013-07-17 | librustc: Remove all uses of "copy". | Patrick Walton | -206/+273 | |
| 2013-07-17 | librustc: Add a lint mode for unnecessary `copy` and remove a bunch of them. | Patrick Walton | -5/+5 | |
| 2013-07-17 | rm unnecessary stage0 `zero_memory` fn | Daniel Micay | -28/+6 | |
| 2013-07-17 | std::rt: Rename RUST_TEST_THREADS to RUST_RT_TEST_THREADS | Brian Anderson | -1/+1 | |
| 2013-07-17 | rm unused visit_str method from TyVisitor | Daniel Micay | -1/+2 | |
| 2013-07-17 | auto merge of #7841 : alexcrichton/rust/tls++, r=huonw | bors | -16/+145 | |
| Simulates borrow checks for '@mut' boxes, or at least it's the same idea. This allows you to store owned values, but mutate them while they're owned by TLS. This should remove the necessity for a `pop`/`set` pattern to mutate data structures in TLS. | ||||
| 2013-07-16 | auto merge of #7831 : ozten/rust/issues-7764-swap_unwarp-take-unwrap, r=pcwalton | bors | -25/+25 | |
| Fixes Issue #7764 Running `make check` I do get a failure: test rt::io::extensions::test::push_bytes ... ok rustest rt::comm::test::oneshot_single_thread_send_port_close ... t: task failed at 'Unhandled condition: read_error: {kind: OtherIoError, desc: "Placeholder error. You shouldn\'t be seeing this", detail: None}', /Users/shout/Projects/rust/src/libstd/condition.rs:50 /bin/sh: line 1: 35056 Abort trap: 6 x86_64-apple-darwin/stage2/test/stdtest-x86_64-apple-darwin --logfile tmp/check-stage2-T-x86_64-apple-darwin-H-x86_64-apple-darwin-std.log make: *** [tmp/check-stage2-T-x86_64-apple-darwin-H-x86_64-apple-darwin-std.ok] Error 134 | ||||
| 2013-07-16 | Add a `get_mut` method for TLS | Alex Crichton | -16/+145 | |
| Simulates borrow checks for '@mut' boxes, or at least it's the same idea. | ||||
| 2013-07-16 | auto merge of #7684 : ↵ | bors | -43/+160 | |
| pnkfelix/rust/fsk-invert-range-rev-halfclosedness-issue5270-2ndpr, r=cmr Changes int/uint range_rev to iterate over range `(hi,lo]` instead of `[hi,lo)`. Fix #5270. Also: * Adds unit tests for int/uint range functions * Updates the uses of `range_rev` to account for the new semantics. (Note that pretty much all of the updates there were strict improvements to the code in question; yay!) * Exposes new function, `range_step_inclusive`, which does the range `[hi,lo]`, (at least when `hi-lo` is a multiple of the `step` parameter). * Special-cases when `|step| == 1` removing unnecessary bounds-check. (I did not check whether LLVM was already performing this optimization; I figure it would be a net win to not leave that analysis to the compiler. If reviewer objects, I can easily remove that from the refactored code.) (This pull request is a rebased version of PR #7524, which went stale due to recent unrelated changes to num libraries.) | ||||
| 2013-07-16 | Rename Option swap_unwrap to take_unwrap. Fixes Issue#7764 | Austin King | -25/+25 | |
| 2013-07-15 | auto merge of #7816 : thestinger/rust/header, r=huonw | bors | -17/+129 | |
| Note that the headers are still on `~[T]` when `T` is managed. This is continued from #7605, which removed all the code relying on the headers and removed them from `~T` for non-managed `T`. | ||||
| 2013-07-15 | remove headers from unique vectors | Daniel Micay | -17/+129 | |
