about summary refs log tree commit diff
path: root/src/lib
AgeCommit message (Collapse)AuthorLines
2011-08-12Remove vecs from the rustc driverBrian Anderson-0/+10
2011-08-12Begin removing vecs from #fmtBrian Anderson-0/+4
2011-08-12Change a bunch of places in the stdlib to use blocks.Michael Sullivan-45/+40
2011-08-09Do some cleanup in stdlib.Michael Sullivan-69/+69
2011-08-09Port the stdlib to the ivec type [T] syntax.Erick Tryzelaar-167/+167
2011-08-09Add newlines to the end of some files.Erick Tryzelaar-2/+2
2011-08-08stdlib: std::ebmlivec and std::ebml are now synonymsPatrick Walton-210/+33
2011-08-08Converted the rest of the task-comm-* tests over. Also fixed someEric Holk-2/+0
channel lifecycle bugs.
2011-08-08Added an unsafe way to pass libchans over spawn and chans, and converted ↵Eric Holk-1/+12
task-comm-0 to use libcomm.
2011-08-05Removing an invalid operation in the attempt to restore valgrind cleanness.Eric Holk-1/+0
2011-08-05Rewrote receive to return a value. This lets us initialize variables by ↵Eric Holk-4/+6
receiving them.
2011-08-05Basic async IO module using libuvRob Arnold-0/+290
2011-08-04stdlib: Pass getopt matches by aliasPatrick Walton-8/+8
2011-08-03Add some hacks to get stdin piping working more correctly in windowsBrian Anderson-2/+12
The way pipes work in windows is not the same as unix, though I'm not entirely clear on the differences. This patch changes the windows pipe method to return non-inheritable fds, and the windows rust_run_program method to duplicate them before spawning the new process. This allows make-check-pretty to work on windows.
2011-08-02Fix majority of valgrind-purity bugs observed in a rustc run (LLVM still ↵Graydon Hoare-2/+2
appears to leak some of its own memory).
2011-08-02Add ioivec::read_whole_file/read_whole_file_strBrian Anderson-0/+12
2011-08-02Display the name of the test being waited for before the result is inBrian Anderson-1/+5
So the test runner displays the name of the test, then waits for it to finish, then displays the result. It worked this way before things were parallelized and it's just much friendlier this way.
2011-08-02Use color to report the final test result, even when running in parallelBrian Anderson-2/+3
After the tests are run there is no more parallelism, so it should be less likely that the control characters will introduce wierd artifacts.
2011-08-01Add std::str::is_whitespaceBrian Anderson-0/+13
2011-08-01Add std::str::trim/trim_left/trim_rightBrian Anderson-0/+39
2011-08-01Add std::char_sliceBrian Anderson-0/+6
2011-08-01Add std::char::is_whitespaceBrian Anderson-0/+56
2011-08-01Add std::char moduleBrian Anderson-0/+1
2011-08-01Added send and receive to comm library.Eric Holk-2/+9
2011-08-01Objectified library chans and ports.Eric Holk-11/+14
2011-08-01Started working on a library-based comm system. Creating and deleting ports ↵Eric Holk-0/+49
work.
2011-08-01Partially implement destructuring localsMarijn Haverbeke-1/+1
You can now say let {bcx, val} = some_result_returner(); Similar for loop variables. Assigning to such variables is not safe yet. Function arguments also remain a TODO.
2011-07-29Base test concurrency on the number of scheduler threads.Brian Anderson-13/+7
Ideally we would just spawn every test and collect the results but I'm not entirely comfortable doing that yet for reasons that I'm too tired to remember right now. Urgh.
2011-07-29Refactor std::testBrian Anderson-70/+108
Separate the console output from the running of tests
2011-07-29Enable kind checking on typarams, fix kind constraints in library and comp.Graydon Hoare-44/+44
2011-07-29Add ivec::from_vec and ivec::to_vecBrian Anderson-0/+16
2011-07-29Turn on kind propagation for typarams. Annotate a bunch of typarams in rustc ↵Graydon Hoare-85/+86
and libstd.
2011-07-29Track failures in typeck, assign proper type to failing blocksMarijn Haverbeke-1/+1
(and warn for unreachable statements) Closes #727
2011-07-29Replace obj dtors with resources in stdlib and rustcMarijn Haverbeke-40/+52
2011-07-29Beginning of replacing drop with resourcesMarijn Haverbeke-9/+11
2011-07-29Make program_output also return stderrJesse Ruderman-9/+28
2011-07-28Updating to work on Windows.Eric Holk-1/+1
2011-07-28Adding a function to stdlib to set the min stack size, for programsEric Holk-0/+6
that absolutely will not succeed with a large default stack. This should be removed once we have stack grown working. Also updated word-count to succeed under the new test framework.
2011-07-27Add std::io::stderrBrian Anderson-0/+2
2011-07-27Don't stop at first test failureBrian Anderson-11/+14
Since compiletest is setting up its own test tasks it needs to configure them the correct way, which means allowing them to leak.
2011-07-27Print a newline before displaying test outputBrian Anderson-1/+1
2011-07-27Remove task::workerBrian Anderson-82/+0
It was too unsafe to live. It already apeared to be causing problems with eholk's incoming task changes, so I'm killing it now before it can spread.
2011-07-27Don't allow globals or immutable locals to be passed by mut aliasMarijn Haverbeke-5/+5
Closes #747
2011-07-27Some more obj dtor reformattingMarijn Haverbeke-4/+8
2011-07-27Re-format some obj dtors that were messed up by the pretty-printerMarijn Haverbeke-8/+12
2011-07-27Fix damage done by the pretty-printerMarijn Haverbeke-16/+14
2011-07-27Reformat for new syntaxMarijn Haverbeke-2641/+2450
2011-07-26Run compile tests in a way that's safe in a multithreaded environmentBrian Anderson-6/+23
In theory. There's still something leaking but I hope it's no longer due to the test runner doing unsafe things. This is a pretty nasty patch, working around limitations in the type and task systems, and it makes the std::test API a little uglier.
2011-07-26Run test process from a dedicated taskBrian Anderson-0/+13
This avoids a race wherein test tasks could run processes that stole the environment of other tasks's processes.
2011-07-26Fix win tinderbox breaking typoMarijn Haverbeke-1/+1