summary refs log tree commit diff
path: root/src/libcore/task
AgeCommit message (Collapse)AuthorLines
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-28/+28
2013-03-28Removing unused importsAlex Crichton-3/+7
2013-03-26librustc: Modify all code to use new lifetime binder syntaxPatrick Walton-2/+2
2013-03-26option: rm functions that duplicate methodsDaniel Micay-14/+11
2013-03-23replace impls with `deriving` where applicableAndrew Paseltiner-10/+1
2013-03-22librustc: Remove the `const` declaration form everywherePatrick Walton-1/+1
2013-03-22libcore: Remove `pure` from libcore. rs=depurePatrick Walton-5/+5
2013-03-22core: replace uses of old deriving attribute with new oneAndrew Paseltiner-3/+3
2013-03-19librustc: Enforce privacy for static methods.Patrick Walton-1/+1
This starts moving a bunch of privacy checks into the privacy checking phase and out of resolve.
2013-03-18librustc: Make the compiler ignore purity.Patrick Walton-1/+1
For bootstrapping purposes, this commit does not remove all uses of the keyword "pure" -- doing so would cause the compiler to no longer bootstrap due to some syntax extensions ("deriving" in particular). Instead, it makes the compiler ignore "pure". Post-snapshot, we can remove "pure" from the language. There are quite a few (~100) borrow check errors that were essentially all the result of mutable fields or partial borrows of `@mut`. Per discussions with Niko I think we want to allow partial borrows of `@mut` but detect obvious footguns. We should also improve the error message when `@mut` is erroneously reborrowed.
2013-03-18librustc: Convert all uses of old lifetime notation to new lifetime ↵Patrick Walton-2/+2
notation. rs=delifetiming
2013-03-13librustc: Don't accept `as Trait` anymore; fix all occurrences of it.Patrick Walton-2/+2
2013-03-11libstd: Remove all newtype enums from std and core.Patrick Walton-1/+1
2013-03-11librustc: Replace all uses of `fn()` with `&fn()`. rs=defunPatrick Walton-12/+12
2013-03-08core: Remove uses of DVec in io/reprAlex Crichton-11/+14
2013-03-07test: Fix tests.Patrick Walton-1/+4
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-28/+28
2013-03-07libcore: Remove `extern mod { ... }` from libcore. rs=deexterningPatrick Walton-8/+10
2013-03-06Add manual &self/ and &static/ and /&self declarations thatNiko Matsakis-2/+2
are currently inferred. New rules are coming that will require them to be explicit. All add some explicit self declarations.
2013-03-05auto merge of #5233 : bstrie/rust/deimpselfcore, r=graydonbors-10/+10
2013-03-05auto merge of #5212 : thestinger/rust/iter, r=graydonbors-5/+3
A small step towards fixing #2827
2013-03-04De-implicit-self libcoreBen Striegel-10/+10
2013-03-04Remove unused imports throughout src/Alex Crichton-11/+0
2013-03-03replace option::iter with a BaseIter implDaniel Micay-5/+3
2013-03-02libcore: Remove `fn@`, `fn~`, and `fn&` from libcore. rs=defunPatrick Walton-26/+30
2013-03-02librustc: Forbid chained imports and fix the logic for one-level renaming ↵Patrick Walton-1/+1
imports
2013-03-01core: Move core::rt to core::unstable::langBrian Anderson-5/+1
2013-03-01Rename core::private to core::unstable. #4743Brian Anderson-7/+7
2013-02-28Remove legacy object creation mode, and convert remaining uses of itNiko Matsakis-1/+1
2013-02-28librustc: Mark all type implementations public. rs=impl-publicityPatrick Walton-1/+1
2013-02-27Turn old `drop` blocks into `Drop` traitsBen Striegel-2/+8
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