about summary refs log tree commit diff
path: root/src/libcore/task
AgeCommit message (Collapse)AuthorLines
2013-01-29De-capitalize "note" to get rid of spurious tidy warningsTim Chevalier-1/+1
2013-01-29librustc: Disallow trait bounds in types, enumerations, and structure ↵Patrick Walton-2/+2
definitions. r=tjc
2013-01-29libstd: Remove "dual impls" from the language and enforce coherence rules. ↵Patrick Walton-2/+4
r=brson "Dual impls" are impls that are both type implementations and trait implementations. They can lead to ambiguity and so this patch removes them from the language. This also enforces coherence rules. Without this patch, records can implement traits not defined in the current crate. This patch fixes this, and updates all of rustc to adhere to the new enforcement. Most of this patch is fixing rustc to obey the coherence rules, which involves converting a bunch of records to structs.
2013-01-25Merge remote-tracking branch 'brson/nocommupstream'Brian Anderson-182/+143
Conflicts: src/libcore/private.rs src/libcore/task/mod.rs src/libcore/task/spawn.rs src/libstd/net_tcp.rs src/libstd/uv_global_loop.rs src/libstd/uv_iotask.rs
2013-01-24convert most of libcore records into structsErick Tryzelaar-47/+51
2013-01-24librustc: Make C functions unsafePatrick Walton-184/+230
2013-01-23Merge pull request #4594 from thestinger/mapTim Chevalier-3/+3
more work on the map trait and TreeMap/LinearMap
2013-01-23core: Stop using oldcommBrian Anderson-72/+57
2013-01-23libsyntax: Remove `fn() unsafe { ... }`. r=graydonPatrick Walton-83/+113
2013-01-23rename send_map to hashmapDaniel Micay-3/+3
This makes the module much more discoverable, and is in line with the 'treemap' naming.
2013-01-22migrate task/spawn.rs to LinearSetDaniel Micay-4/+4
2013-01-17librustc: Implement write guards for borrowing `@mut` to `&` or `&mut`. ↵Patrick Walton-4/+4
r=nmatsakis
2013-01-15Spawn new tasks onto the primary scheduler by default. #3760Brian Anderson-68/+55
2013-01-15librustc: Make the default sigil for block lambdas `&` instead of `@`.Graydon Hoare-1/+1
2013-01-10libcore: Fix core test more. rs=brokenPatrick Walton-6/+8
2013-01-10libcore: Fix core test. rs=brokenPatrick Walton-42/+44
2013-01-10librustc: Make all external functions unsafe. r=tjcPatrick Walton-6/+6
2013-01-10core: Change XXXs into proper FIXMEs with issue numbersTim Chevalier-1/+1
2013-01-10Use deriving_eq for TaskTim Chevalier-6/+1
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-1/+11
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-11/+1
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-1/+11
module scope. r=tjc
2012-12-27librustc: Fix the test runner, the condition system, and core test. rs=bustagePatrick Walton-0/+9
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-6/+22
contain at least two components. r=graydon
2012-12-14Rename core::comm to core::oldcommBrian Anderson-63/+63
2012-12-14Remove spawn_listener, spawn_conversationBrian Anderson-105/+0
These are not needed in a pipe-based Rustiverse
2012-12-13Replace some Eq impls with deriving_eqBrian Anderson-0/+1
2012-12-13Rename Send trait to OwnedBrian Anderson-8/+8
2012-12-13Rename Owned trait to DurableBrian Anderson-13/+13
2012-12-13librustc: Make `use` statements crate-relative by default. r=brsonPatrick Walton-8/+11
2012-12-11Reverse the order of the results of pipes::streamTim Chevalier-7/+7
As per #3637.
2012-12-05libcore: Fix some more coretest bustage. rs=bustagePatrick Walton-2/+2
2012-12-05librustc: Hook borrow check loan checking up to the moves-based-on-type ↵Patrick Walton-28/+28
infrastructure. rs=helps-unbreak-the-build
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+50
2012-11-29librustc: Eliminate most expressions of the form `a.b()` that are not method ↵Patrick Walton-1/+1
calls. rs=refactoring
2012-11-29No longer parse the delimiters of the RHS of a macro as part of the expansion.Paul Stansifer-1/+1
2012-11-28Remove uses of #[merge]Brian Anderson-3/+1301
2012-11-28Register snapshotsBrian Anderson-12/+0
2012-11-26Remove the crate languageBrian Anderson-0/+8
2012-11-19rustc: Implement explicit self for Eq and Ord. r=graydonPatrick Walton-0/+12
2012-10-23core: Remove the unused Notification enumBrian Anderson-14/+8
2012-10-23Remove uses of binary move - <- - from tests and librariesTim Chevalier-5/+5
2012-10-12Make moves explicit in core testsTim Chevalier-7/+7
2012-10-04Remove by-copy mode from std, mostlyTim Chevalier-2/+2
One instance remains in net_tcp due to a foreign fn. Lots of instances remain in serialization.rs, but IIRC that is being removed. I had to do unholy things to task-perf-word-count-generic to get it to compile after demoding pipes. I may well have messed up its performance, but it passes.
2012-10-04Forbid deprecated modes again in coreTim Chevalier-0/+1
Sadly, there's only one file that requires deprecated modes (stackwalk)... So, forbid them everywhere else.
2012-10-04De-mode comm::ChanTim Chevalier-1/+1
2012-10-03core: Make some parts of task privateBrian Anderson-36/+36
2012-10-02De-export the submodules of task. Part of #3583.Graydon Hoare-43/+44
2012-10-02Removing explicit uses of + modeTim Chevalier-27/+27
This removes most explicit uses of the + argument mode. Pending a snapshot, I had to remove the forbid(deprecated_modes) pragma from a bunch of files. I'll put it back! + mode still has to be used in a few places for functions that get moved (see task.rs) The changes outside core and std are due to the to_bytes trait and making the compiler (with legacy modes on) agree with the libraries (with legacy modes off) about modes.
2012-10-01Move over to calling ptr::addr_ofTim Chevalier-1/+1
Everything should now call ptr::addr_of instead of ptr::p2::addr_of. Only the pipes macro code when compiled by stage0 will call ptr::p2::addr_of. Needs a snapshot to get rid of that.