about summary refs log tree commit diff
path: root/src/libcore/comm.rs
AgeCommit message (Collapse)AuthorLines
2013-05-22libstd: Rename libcore to libstd and libstd to libextra; update makefiles.Patrick Walton-810/+0
This only changes the directory names; it does not change the "real" metadata names.
2013-05-17core: Wire up `stream` to newschedBrian Anderson-130/+219
2013-05-17core: Wire up oneshot pipes to newschedBrian Anderson-124/+226
2013-05-14Use static string with fail!() and remove fail!(fmt!())Björn Steinbrink-3/+3
fail!() used to require owned strings but can handle static strings now. Also, it can pass its arguments to fmt!() on its own, no need for the caller to call fmt!() itself.
2013-05-13Remove re-exports from libcore/core.rcAlex Crichton-2/+3
Also fix up all the fallout elsewhere throughout core. It's really nice being able to have the prelude.
2013-05-13core: Move locks, atomic rc to unstable::syncBrian Anderson-2/+2
2013-05-11Warning policeTim Chevalier-10/+7
2013-05-10Stop using the '<->' operatorAlex Crichton-18/+11
2013-05-08libcore: Fix tests.Patrick Walton-3/+4
2013-05-08libcore: Remove more mutable fields from commPatrick Walton-22/+28
2013-05-08Remove mutable fields from comm by using casts. Also mark the cast in cell.Patrick Walton-36/+55
2013-05-08libcore: Remove mutable fields from pipesPatrick Walton-39/+55
2013-04-30allover: numerous unused muts etcNiko Matsakis-2/+2
2013-04-29test: Fix more tests.Patrick Walton-3/+3
2013-04-29librustc: Forbid type implementations on typedefs.Patrick Walton-15/+60
2013-04-29librustc: Remove `ptr::addr_of`.Patrick Walton-1/+2
2013-04-19core: clean up tests (mostly unused unsafe blocks)Alex Crichton-4/+0
2013-04-18core::comm: Modernize constructors to use `new`Brian Anderson-11/+23
2013-04-18core::pipes: Just reordering declarationsBrian Anderson-46/+49
2013-04-18core::comm: Remove functions in favor of methodsBrian Anderson-159/+97
`send`, etc. are never used. I've left the functions for oneshot pipes because by-value methods don't work.
2013-04-18core: Remove a stray #[doc(hidden)] attributeBrian Anderson-1/+0
2013-04-18core: Inline the protocol definitions of sendp and oneshotBrian Anderson-4/+128
I want to be able to see what is going on
2013-04-16libcore,std,syntax,rustc: move tests into `mod tests`, make them private (no ↵Huon Wilson-3/+3
pub mod or pub fn).
2013-04-14core: remove unnecessary unsafe blocks/functionsAlex Crichton-10/+8
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-1/+1
2013-03-28Removing unused importsAlex Crichton-1/+1
2013-03-26option: rm functions that duplicate methodsDaniel Micay-9/+8
2013-03-26core: Make sure every module at least has a one-line descriptionBrian Anderson-0/+4
2013-03-22libcore: Remove `pure` from libcore. rs=depurePatrick Walton-8/+8
2013-03-21librustc: Register new snapshotsPatrick Walton-12/+0
2013-03-20add stage3 markers where necessary for dist-snapGraydon Hoare-0/+4
2013-03-18librustc: Make the compiler ignore purity.Patrick Walton-2/+8
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-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-1/+1
2013-03-06Fix bug in coherence that causes all cross-crate impls to be regarded asNiko Matsakis-88/+150
inherent impls, not just those of the `impl Type` variety.
2013-03-04De-implicit-self libcoreBen Striegel-24/+24
2013-03-01Rename core::private to core::unstable. #4743Brian Anderson-3/+3
2013-03-01auto merge of #5162 : brson/rust/fixmes, r=brsonbors-2/+2
2013-02-28Remove code that was awaiting a snapshotTim Chevalier-3/+0
* Disallow structural records everywhere * Remove all #[cfg(stage0)] stuff * Remove the last deprecated modes in libcore * Un-xfail a test
2013-02-28librustc: Mark all type implementations public. rs=impl-publicityPatrick Walton-3/+3
2013-02-27Convert NOTEs to FIXMEsBrian Anderson-2/+2
2013-02-21core: Extract comm from pipes. #4742Brian Anderson-0/+410
2012-12-14Rename core::comm to core::oldcommBrian Anderson-516/+0
2012-12-13Rename Send trait to OwnedBrian Anderson-17/+17
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+10
2012-10-04De-mode comm::ChanTim Chevalier-22/+22
2012-10-02Removing explicit uses of + modeTim Chevalier-5/+5
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-02libstd: Switch off legacy modes in both core and std.Patrick Walton-2/+2
2012-10-02De-export comm, task. Part of #3583.Graydon Hoare-2/+0
2012-10-01Move over to calling ptr::addr_ofTim Chevalier-6/+6
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.
2012-09-28Add a demoded version of ptr::addr_ofTim Chevalier-8/+7
Currently, the new version is ptr::p2::addr_of and the old one is ptr::addr_of. This is kind of cheesy, but I need a snapshot before I can ditch the old version, since the pipe compiler generates calls to addr_of. core is converted over to use the new version, std is not.