summary refs log tree commit diff
path: root/src/libstd/rt
AgeCommit message (Collapse)AuthorLines
2013-06-25changed outdated match on IpAddrEric Reed-4/+2
2013-06-25IPv6 structEric Reed-2/+4
2013-06-25removed obsolete FIXMEs. formatting changes.Eric Reed-54/+24
2013-06-25satisfy the formatting checkEric Reed-15/+19
2013-06-25removed unncessary unsafe block that was stopping compliation.Eric Reed-1/+1
2013-06-25Merge remote-tracking branch 'upstream/io' into ioEric Reed-60/+641
Conflicts: src/rt/rustrt.def.in
2013-06-25UDP networking with testsEric Reed-61/+366
2013-06-25auto merge of #7254 : Blei/rust/intrinsic-overhaul, r=cmrbors-7/+3
This sets the `get_tydesc()` return type correctly and removes the intrinsic module. See #3730, #3475. Update: this now also removes the unused shape fields in tydescs.
2013-06-24extra: Make test runner compatible with newschedBrian Anderson-7/+14
2013-06-24std::rt: deny(unused_unsafe)Brian Anderson-4/+5
2013-06-24std: Make unlinking and task notification work with newschedBrian Anderson-0/+25
2013-06-24std: Make box annihilator work with newschedBrian Anderson-14/+71
2013-06-24std: Move dynamic borrowck code from unstable::lang to rt::borrowckBrian Anderson-0/+286
2013-06-24std: Rewrite vec_reserve_shared_actual in RustBrian Anderson-0/+9
2013-06-24remove old_iterDaniel Micay-1/+0
the `test/run-pass/class-trait-bounded-param.rs` test was xfailed and written in an ancient dialect of Rust so I've just removed it this also removes `to_vec` from DList because it's provided by `std::iter::to_vec` an Iterator implementation is added for OptVec but some transitional internal iterator methods are still left
2013-06-23Remove intrinsic modulePhilipp Brüschweiler-7/+3
To achieve this, the following changes were made: * Move TyDesc, TyVisitor and Opaque to std::unstable::intrinsics * Convert TyDesc, TyVisitor and Opaque to lang items instead of specially handling the intrinsics module * Removed TypeDesc, FreeGlue and get_type_desc() from sys Fixes #3475.
2013-06-23Split out starting a listener from accepting incoming connections.Eric Reed-112/+181
The Listener trait takes two type parameters, the type of connection and the type of Acceptor, and specifies only one method, listen, which consumes the listener and produces an Acceptor. The Acceptor trait takes one type parameter, the type of connection, and defines two methods. The accept() method waits for an incoming connection attempt and returns the result. The incoming() method creates an iterator over incoming connections and is a default method. Example: let listener = TcpListener.bind(addr); // Bind to a socket let acceptor = listener.listen(); // Start the listener for stream in acceptor.incoming() { // Process incoming connections forever (or until you break out of the loop) }
2013-08-27Add a variant of home_for_io that consumes the handle. Refactor out common ↵Eric Reed-48/+53
parts of the home_for_io variants.
2013-06-23vec: remove BaseIter implementationDaniel Micay-1/+2
I removed the `static-method-test.rs` test because it was heavily based on `BaseIter` and there are plenty of other more complex uses of static methods anyway.
2013-06-21std: Make console log off/on controls work with newschedBrian Anderson-4/+16
2013-06-21std::rt: Support os::argsBrian Anderson-7/+144
2013-06-20std: Port SharedChan to newschedBrian Anderson-0/+12
2013-06-20Merge remote-tracking branch 'brson/io' into io-upstreamBrian Anderson-788/+3024
Conflicts: src/rt/rust_builtin.cpp src/rt/rustrt.def.in
2013-06-20std::rt: WhitespaceBrian Anderson-2/+2
2013-06-20Merge remote-tracking branch 'brson/io-wip' into ioBrian Anderson-21/+55
2013-06-20Merge remote-tracking branch 'upstream/io' into ioEric Reed-62/+239
2013-06-19derived instances of Eq and TotalEq for IpAddr rather than implement them ↵Eric Reed-21/+1
manually.
2013-06-19socket based UDP ioEric Reed-70/+157
2013-06-19std::rt: Update GC metadata in initBrian Anderson-0/+5
2013-06-19Changed visibility from being on the impl to being on methods per language ↵Eric Reed-13/+13
syntax change.
2013-06-19Modified a match in resume_task_from_queue that was returning an int that ↵toddaaro-17/+17
was then matched on to instead use an enum.
2013-06-19Wrote the Eq instance of IpAddr in a slightly different way.Eric Reed-3/+3
2013-06-19std::rt: Document and cleanup the run functionBrian Anderson-10/+30
2013-06-19std::rt: Correct the numbers of default coresBrian Anderson-6/+1
2013-06-19std::rt: Set the process exit codeBrian Anderson-5/+19
2013-06-18std::rt: Work around a dynamic borrowck bugBrian Anderson-3/+2
2013-06-18std::rt: Improve the rtabort! macroBrian Anderson-4/+64
2013-06-18replace #[inline(always)] with #[inline]. r=burningtree.Graydon Hoare-1/+1
2013-06-18std::rt: Turn on multithreaded schedulingBrian Anderson-16/+76
2013-06-17std: Rename `abort!` to `rtabort!` to match other macrosBrian Anderson-21/+21
2013-06-17std::rt: move abort function to util moduleBrian Anderson-0/+4
2013-06-17std::rt: Check exchange count on exitBrian Anderson-6/+37
2013-06-17std::rt: Add util mod and num_cpus functionBrian Anderson-5/+27
2013-06-17Merge remote-tracking branch 'upstream/io' into ioEric Reed-364/+1770
Conflicts: src/libstd/rt/uvio.rs
2013-06-17Started to implemented UdpStreamEric Reed-0/+80
2013-06-17stated to implement UdpStreamEric Reed-4/+13
2013-06-17added Eq and TotalEq instances for IpAddrEric Reed-0/+21
2013-06-17added a function to convert C's ipv4 data structure into the Rust ipv4 data ↵Eric Reed-0/+8
structure.
2013-06-17Added a RtioUdpStream traitEric Reed-0/+7
2013-06-17added wrappers about uv_ip{4,6}_{port,name}Eric Reed-0/+16