about summary refs log tree commit diff
path: root/src/libcore/task
AgeCommit message (Collapse)AuthorLines
2013-02-26libcore: Move Cell to core and de-~mut core and stdPatrick Walton-7/+9
2013-02-21core: Extract comm from pipes. #4742Brian Anderson-8/+8
2013-02-20librustc: Separate most trait bounds with '+'. rs=plussingPatrick Walton-14/+14
2013-02-15libcore: Get rid of `move`.Luqman Aden-78/+74
2013-02-14librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵Patrick Walton-3/+3
rs=implflipping
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-32/+32
2013-02-07Make ~fn non-copyable, make &fn copyable, split barefn/closure types,Niko Matsakis-6/+0
correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719.
2013-02-01core: Remove oldcommBrian Anderson-1/+0
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-17/+17
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-27/+27
2013-01-31Finalize moves-based-on-type implementation.Niko Matsakis-0/+11
Changes: - Refactor move mode computation - Removes move mode arguments, unary move, capture clauses (though they still parse for backwards compatibility) - Simplify how moves are handled in trans - Fix a number of illegal copies that cropped up - Workaround for bug involving def-ids in params (see details below) Future work (I'll open bugs for these...): - Improve error messages for moves that are due to bindings - Add support for moving owned content like a.b.c to borrow check, test in trans (but I think it'll "just work") - Proper fix for def-ids in params Def ids in params: Move captures into a map instead of recomputing. This is a workaround for a larger bug having to do with the def-ids associated with ty_params, which are not always properly preserved when inlining. I am not sure of my preferred fix for the larger bug yet. This current fix removes the only code in trans that I know of which relies on ty_param def-ids, but feels fragile.
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