| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-06-23 | std::hashmap: Implement external iterator for HashMap and HashSet | blake2-ppc | -12/+79 | |
| 2013-06-23 | Split 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-27 | Add 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-23 | vec: remove BaseIter implementation | Daniel Micay | -90/+88 | |
| 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-22 | iterator: add a FromIterator trait | Daniel Micay | -2/+20 | |
| This is able to take advantage of the lower bound from the size hint. | ||||
| 2013-06-22 | iterator: add a size_hint default method | Daniel Micay | -6/+70 | |
| also adds an implementation for the vector iterators | ||||
| 2013-06-22 | replaced some 'std::' with 'extra::' in comments | reus | -2/+2 | |
| 2013-06-22 | Finish up Type refactoring | James Miller | -5/+5 | |
| 2013-06-22 | Add the rest of the atomic operations. | James Miller | -0/+112 | |
| This makes the handling of atomic operations more generic, which does impose a specific naming convention for the intrinsics, but that seems ok with me, rather than having an individual case for each name. It also adds the intrinsics to the the intrinsics file. | ||||
| 2013-06-21 | std: Make console log off/on controls work with newsched | Brian Anderson | -8/+36 | |
| 2013-06-21 | std::rt: Support os::args | Brian Anderson | -11/+157 | |
| 2013-06-21 | Added filtered method for Option type | Honza Strnad | -0/+17 | |
| 2013-06-21 | replace vec::find with the IteratorUtil method | Daniel Micay | -42/+1 | |
| 2013-06-21 | vec: replace `position` with `iter().position_` | Daniel Micay | -43/+5 | |
| 2013-06-21 | vec: rm old_iter implementations, except BaseIter | Daniel Micay | -191/+49 | |
| The removed test for issue #2611 is well covered by the `std::iterator` module itself. This adds the `count` method to `IteratorUtil` to replace `EqIter`. | ||||
| 2013-06-21 | vec: remove eachi | Daniel Micay | -41/+0 | |
| replaced by the `enumerate` method from std::iterator | ||||
| 2013-06-21 | vec: remove each_const | Daniel Micay | -15/+0 | |
| An Iterator implementation can be made for &const [T] if it turns out to be necessary for some use case. | ||||
| 2013-06-20 | std: Port SharedChan to newsched | Brian Anderson | -15/+37 | |
| 2013-06-20 | Make task_rng() return @mut R instead of @@mut R | Kevin Ballard | -10/+6 | |
| 2013-06-20 | Merge remote-tracking branch 'brson/io' into io-upstream | Brian Anderson | -832/+3129 | |
| Conflicts: src/rt/rust_builtin.cpp src/rt/rustrt.def.in | ||||
| 2013-06-20 | std::rt: Whitespace | Brian Anderson | -2/+2 | |
| 2013-06-20 | auto merge of #7128 : yichoi/rust/fix_sometc, r=brson | bors | -2/+78 | |
| - Fix stat struct for Android (found by SEGV at run-pass/stat.rs) - Adjust some test cases to rpass for Android - Modify some script to rpass for Android | ||||
| 2013-06-20 | Merge remote-tracking branch 'brson/io-wip' into io | Brian Anderson | -23/+66 | |
| 2013-06-20 | Merge remote-tracking branch 'upstream/io' into io | Eric Reed | -83/+249 | |
| 2013-06-21 | libstd: cleanup warnings | James Miller | -27/+9 | |
| 2013-06-21 | Remove all #[cfg(stage0)]-protected code | James Miller | -98/+9 | |
| New snapshot means this can all go. Also removes places that have comments that say they are workarounds for stage0 errors. | ||||
| 2013-06-20 | ignore inherited environment test under valgrind r=snapshot | James Miller | -0/+1 | |
| 2013-06-19 | std: Make newsched failures log correctly | Brian Anderson | -2/+11 | |
| 2013-06-19 | derived instances of Eq and TotalEq for IpAddr rather than implement them ↵ | Eric Reed | -21/+1 | |
| manually. | ||||
| 2013-06-19 | socket based UDP io | Eric Reed | -70/+157 | |
| 2013-06-19 | std::rt: Update GC metadata in init | Brian Anderson | -0/+5 | |
| 2013-06-19 | Changed visibility from being on the impl to being on methods per language ↵ | Eric Reed | -13/+13 | |
| syntax change. | ||||
| 2013-06-19 | Modified 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-19 | Wrote the Eq instance of IpAddr in a slightly different way. | Eric Reed | -3/+3 | |
| 2013-06-19 | std::rt: Document and cleanup the run function | Brian Anderson | -10/+30 | |
| 2013-06-19 | std::rt: Correct the numbers of default cores | Brian Anderson | -6/+1 | |
| 2013-06-19 | std::rt: Set the process exit code | Brian Anderson | -5/+19 | |
| 2013-06-18 | std::rt: Work around a dynamic borrowck bug | Brian Anderson | -3/+2 | |
| 2013-06-18 | std: Work around some failing 'run' tests when valgrinding. #7224 | Brian Anderson | -5/+25 | |
| Under valgrind on 64->32 cross compiles the dynamic linker is emitting some error messages on stderr, which interferes with the tests that are checking stderr. | ||||
| 2013-06-18 | std::rt: Improve the rtabort! macro | Brian Anderson | -15/+72 | |
| 2013-06-18 | replace #[inline(always)] with #[inline]. r=burningtree. | Graydon Hoare | -1156/+1156 | |
| 2013-06-18 | std::rt: Turn on multithreaded scheduling | Brian Anderson | -16/+76 | |
| 2013-06-17 | std: Rename `abort!` to `rtabort!` to match other macros | Brian Anderson | -23/+23 | |
| 2013-06-17 | std::rt: move abort function to util module | Brian Anderson | -9/+5 | |
| 2013-06-17 | std::rt: Check exchange count on exit | Brian Anderson | -6/+37 | |
| 2013-06-17 | std::rt: Add util mod and num_cpus function | Brian Anderson | -5/+27 | |
| 2013-06-17 | auto merge of #7197 : rkbodenner/rust/doc-for-lib-move, r=brson | bors | -17/+18 | |
| Was updating some code of mine to use the new `std`/`extra` library names, and noticed a place where docs for `std::libc` hadn't been updated. Then I updated some top-level docs for the new libraries' names, too. | ||||
| 2013-06-17 | auto merge of #7131 : Blei/rust/windows-dynamic-lib, r=graydon | bors | -21/+33 | |
| The code compiles and runs under windows now, but I couldn't look up any symbol from the current executable (dlopen(NULL)), and calling looked up external function handles doesn't seem to work correctly under windows. This the beginning of a fix for #7095. | ||||
| 2013-06-17 | Merge remote-tracking branch 'upstream/io' into io | Eric Reed | -4550/+5705 | |
| Conflicts: src/libstd/rt/uvio.rs | ||||
| 2013-06-17 | Started to implemented UdpStream | Eric Reed | -0/+80 | |
