summary refs log tree commit diff
path: root/src/libcore
AgeCommit message (Collapse)AuthorLines
2012-07-11Fix some version numbers.Graydon Hoare-2/+2
2012-07-10libcore: fix task::test_osmain test.Erick Tryzelaar-1/+1
2012-07-10TidyBrian Anderson-1/+1
2012-07-10libcore: add a task::set_sched_mode fnErick Tryzelaar-24/+18
2012-07-09Switch 'cont' to 'again' everywhere. Close #2229.Graydon Hoare-1/+1
2012-07-09Merge pull request #2847 from ben0x539/incomingBrian Anderson-19/+18
Tiny documentation fixes in rust.md and src/libcore/task.rs
2012-07-09rustc: Switch to the new resolution passPatrick Walton-0/+6
2012-07-09core: New closure syntax for comm.rs/task.rs docsBenjamin Herr-5/+5
2012-07-09core: Formatting fix in documentation for task::unkillableBenjamin Herr-7/+9
2012-07-09core: Give task::spawn_with the documentation from task::run_withBenjamin Herr-7/+5
2012-07-09core: Remove spurious newline in task::run_with documentationBenjamin Herr-1/+0
2012-07-08core: Ignore to_str::test_vectors. It's bustedBrian Anderson-0/+1
2012-07-08Add test attributes to test functions missing test attributes.Ryan Scheel-0/+2
2012-07-06Revert "rustc: Switch to the new resolution pass"Niko Matsakis-6/+0
This reverts commit c4af6e92fbae171c56a4e68666025725555fc9d8. Branch was burning...many, many unresolved imports.
2012-07-06rustc: Switch to the new resolution passPatrick Walton-0/+6
2012-07-06Added a k-nucleotide version that uses pipes. 31% speedup.Eric Holk-0/+39
2012-07-06Rename dvec::from_elt to dvec::from_elem. Closes #2792.Michael Sullivan-2/+2
2012-07-06Move string append to libraries. Closes #2710.Michael Sullivan-20/+56
2012-07-06Removing locked queue port/chan prototype.Eric Holk-87/+1
2012-07-06Updating tests to use pipes.Eric Holk-0/+9
2012-07-06pingpong protocol parses, although I should probably rewrite this to use ↵Eric Holk-0/+7
Paul's Early parser stuff.
2012-07-06Select on pipes.Eric Holk-27/+158
Updating syntax and test cases.
2012-07-06Port future to pipes. Graph500 is about 21% faster now.Eric Holk-24/+112
Making all tests pass.
2012-07-06Pipes sleep and wake properly.Eric Holk-8/+43
2012-07-06Enabling pipes for all stages, and updating closure syntax.Eric Holk-3/+1
2012-07-06Moved pipes runtime support to libcore, and add a test that will help verify ↵Eric Holk-3/+211
that busy waiting is no longer happening. Fixing the result of a bad merge.
2012-07-06Contracts work well enough to do the message ring benchmark, and it's really ↵Eric Holk-0/+1
fast. Fixing old-style vector, and xfail-prettying th contracts test because the pretty printer is unhappy.
2012-07-06First example of a program using pipes.Eric Holk-2/+2
2012-07-06Basic functionality for new ports and chansEric Holk-1/+1
First test using the new comm system. About twice the throughput of the old system.
2012-07-05Ignore a should_fail test on windowsBrian Anderson-0/+1
2012-07-05A new `times` method on numeric typesBen Striegel-13/+74
This method is intended to elegantly subsume two common iteration functions. The first is `iter::range`, which is used identically to the method introduced in this commit, but currently works only on uints. The second is a common case of `{int, i8, uint, etc.}::range`, in the case where the inductive variable is ignored. Compare the usage of the three: ``` for iter::range(100u) { // do whatever } for int::range(0, 100) |_i| { // do whatever } for 100.times { // do whatever } ``` I feel that the latter reads much more nicely than the first two approaches, and unlike the first two the new method allows the user to ignore the specific type of the number (ineed, if we're throwing away the inductive variable, who cares what type it is?). A minor benefit is that this new method will be somewhat familiar to users of Ruby, from which we borrow the name "times".
2012-07-05Add test case in task.rs for #2782Ben Blum-0/+38
2012-07-05make disallow_kill an int for nested unkillables (closes #2782)Ben Blum-1/+1
2012-07-05Mostly change TODOs to FIXMEs and annotate themTim Chevalier-5/+6
But, one change in io to implement a TODO suggestion (using a const u8)
2012-07-05core: Actually build to_bytesBrian Anderson-0/+1
2012-07-05core: Export to_bytesBrian Anderson-1/+1
2012-07-05Arc requires send trait (issue #2788)Eric Holk-4/+4
2012-07-05Remove create_lock in favor of lock_and_signal() (issue #2780)Eric Holk-8/+6
2012-07-04convert doc-attributes to doc-comments using ↵Gareth Daniel Smith-2712/+2709
./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498
2012-07-04Remove empty argument lists from do expressionsBen Striegel-64/+64
2012-07-03Add a to_bytes iface and a handful of implsErick Tryzelaar-0/+19
2012-07-03oops, fix option.expect() and use it in libstd/map.rsBen Blum-1/+1
2012-07-03core: Convert iter::repeat to the for protocolBrian Anderson-14/+14
2012-07-03add option::expect and mark option methods as pureBen Blum-8/+27
2012-07-03Change crust -> extern.Graydon Hoare-2/+2
2012-07-03Switch 'native' to 'extern' (or 'foreign' in some descriptions)Graydon Hoare-55/+55
2012-07-03core: Import future::extensionsPatrick Walton-1/+1
2012-07-03task.rs: minor doc/comment changesBen Blum-5/+5
2012-07-03core: Eliminate some overloading of the name "future" in future.rsPatrick Walton-1/+2
2012-07-03Export dvec::from_elt.Erick Tryzelaar-0/+1