summary refs log tree commit diff
path: root/src/libcore/future.rs
AgeCommit message (Collapse)AuthorLines
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-1/+2
Sadly, there's only one file that requires deprecated modes (stackwalk)... So, forbid them everywhere else.
2012-10-02Removing explicit uses of + modeTim Chevalier-3/+3
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-09-26libcore: De-export cleanup, cmath, future, gc, hash, iter-trait, mutable, ↵Patrick Walton-33/+21
and private
2012-09-21Install new pub/priv/export rules as defaults, old rules accessible under ↵Graydon Hoare-0/+1
#[legacy_exports];
2012-09-18core: Rename 'unsafe' mod to 'cast'Brian Anderson-1/+1
2012-09-11Make moves explicit in argumentsTim Chevalier-1/+1
2012-09-10fix a implicitly copyable warningNiko Matsakis-1/+1
2012-09-10Make moves explicit in pipes and pipe compilerTim Chevalier-7/+7
2012-09-08core: fix separator for Future<A> propertyJeff Olson-1/+1
2012-09-08core: change FutureState Forced(A) to Forced(~A)Jeff Olson-4/+4
2012-09-08core: patch from nmatsakis to make futures non-copyableJeff Olson-2/+6
2012-09-08core/std: finish making futures sendable + test.. still issuesJeff Olson-3/+13
2012-09-07Convert all kind bounds to camel case. Remove send, owned keywords.Brian Anderson-5/+5
2012-09-07Convert field terminators to commas. Stop parsing semis.Brian Anderson-1/+1
2012-09-04libcore: "import" -> "use"Patrick Walton-3/+3
2012-09-02Silence non-implicitly-copyable-typarams in coretestBrian Anderson-54/+57
2012-08-27preliminary work on making future's sendableNiko Matsakis-24/+73
also various improvements to the ptr casting fns: - rename assimilate() to to_unsafe_ptr() (fixes #3110) - introduce `unsafe::copy_lifetime()` to copy the lifetime from one ptr to another
2012-08-26Camel case the option typeBrian Anderson-2/+2
2012-08-25Use less move_it in pipes and future (all but one use)Ben Blum-11/+7
2012-08-23Change calls of `proto!` to use parens.Paul Stansifer-2/+2
2012-08-23Eliminate some extraneous curly brackets inside invocations of `macro_rules!`.Paul Stansifer-1/+1
2012-08-23`m1!{...}` -> `m1!(...)`Paul Stansifer-4/+4
2012-08-15Convert more core types to camel caseBrian Anderson-11/+11
2012-08-15Convert more core types to camel caseBrian Anderson-7/+7
2012-08-13De-mode core::future.Graydon Hoare-15/+19
2012-08-08Convert impls to new syntaxBrian Anderson-1/+1
2012-08-06Convert alt to match. Stop parsing altBrian Anderson-2/+2
2012-08-05Switch alts to use arrowsBrian Anderson-3/+3
2012-07-31rustc: Implement unary move. Closes #917.Patrick Walton-2/+2
2012-07-31Change remaining "iface" occurrences to "trait"; deprecate "iface"Lindsey Kuper-2/+2
2012-07-30Change syntax extension syntax: `#m[...]` -> `m!{...}`.Paul Stansifer-1/+1
2012-07-26Change `#macro` to `macro_rules!` in some cases.Paul Stansifer-6/+3
2012-07-17Added liveness analysis for protocols, and removed warnings about empty states.Eric Holk-4/+2
2012-07-14Move the world over to using the new style string literals and types. Closes ↵Michael Sullivan-15/+15
#2907.
2012-07-10Use protocol compiler in future.rs. Also split recv into recv and try_recv.Eric Holk-50/+3
2012-07-06Updating tests to use pipes.Eric Holk-0/+9
2012-07-06Port future to pipes. Graph500 is about 21% faster now.Eric Holk-19/+78
Making all tests pass.
2012-07-04convert doc-attributes to doc-comments using ↵Gareth Daniel Smith-43/+43
./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498
2012-07-04Remove empty argument lists from do expressionsBen Striegel-2/+2
2012-07-03core: Eliminate some overloading of the name "future" in future.rsPatrick Walton-1/+2
2012-07-02rustc: Implement a new resolve pass behind a compile flagPatrick Walton-1/+0
2012-07-01Convert to new closure syntaxBrian Anderson-7/+7
2012-06-30Eliminate usages of old sugared call syntaxBrian Anderson-7/+7
2012-06-26core: make_a_sandwitch -> make_a_sandwichPatrick Walton-2/+2
2012-06-06misc. copies in core/syntax to please borrowckNiko Matsakis-1/+1
2012-05-22Send is no longer a subkind of copy. This allows for sendable, but ↵Eric Holk-1/+1
non-copyable resources. Closes #2420.
2012-03-26Bulk-edit mutable -> mut.Graydon Hoare-3/+3
2012-03-16core: Store reexporting result and either. Closes #1997Brian Anderson-0/+2
2012-03-13Name types after their modules instead of 't'Brian Anderson-2/+0