about summary refs log tree commit diff
path: root/src/libcore/run.rs
AgeCommit message (Collapse)AuthorLines
2013-05-22libstd: Rename libcore to libstd and libstd to libextra; update makefiles.Patrick Walton-856/+0
This only changes the directory names; it does not change the "real" metadata names.
2013-05-19Use assert_eq! rather than assert! where possibleCorey Richardson-2/+2
2013-05-14Fix cosmetics for fail!() callsMarvin Löbel-2/+1
2013-05-14Use static string with fail!() and remove fail!(fmt!())Björn Steinbrink-19/+19
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-1/+0
Also fix up all the fallout elsewhere throughout core. It's really nice being able to have the prelude.
2013-05-09libcore: rename vec::each(variable) to variable.eachYoungmin Yoo-3/+3
2013-05-06Move core::run tests of process killing into standalone run-pass testsBrian Anderson-70/+0
These cause valgrind errors in subprocesses. I don't *think* these errors lead to actual test failures but they are very confusing.
2013-05-02Fix some issues with test_destroy_actually_kills:gareth-14/+38
- it is now cross platform, instead of just unix - it now avoids sleeping (fixing issue #6156) - it now calls force_destroy() when force = true (was a bug)
2013-05-02Remove errant trailing whitespace.gareth-1/+1
2013-05-02Convert most of rust_run_program.cpp to rust (issue #2674).gareth-45/+308
2013-05-02Remove 'Local Variable' commentsBrendan Zabarauskas-8/+0
2013-04-24Refactor core::run to remove the ProgRepr struct, which wasgareth-67/+50
a legacy from the time when destructors were implemented using resource types.
2013-04-24libcore: convert the Program @-object to be a plain struct + impl.Huon Wilson-114/+104
Removes the dynamic @ indirection, and also converts the functions acting on `ProgRepr`s to methods.
2013-04-23Cleanup some mistakes made during rebasing/merging.gareth-2/+1
2013-04-23Oops, the should_fail test needs to be ignored on windows.gareth-0/+1
2013-04-23Remove os::waitpid because:gareth-4/+19
- The return value meant different things on different platforms (on windows, it was the exit code, on unix it was the status information returned from waitpid). - It was undocumented. - There also exists run::waitpid, which does much the same thing but has a more consistent return value and also some documentation.
2013-04-23Fix issue #5976 - HANDLE leaks and undefined/bad behavourgareth-24/+67
on windows.
2013-04-20core: remove unused 'mut' variablesAlex Crichton-1/+1
2013-04-20Replaced many instances of reinterpret_cast with transmuteMatthijs Hofstra-3/+3
2013-04-18core::comm: Modernize constructors to use `new`Brian Anderson-1/+1
2013-04-16Fix issue 2626 by un-ignoring the mysterious test_leaks, gareth-1/+1
which does currently seem to work on win32 (and linux).
2013-04-16libcore,std,syntax,rustc: move tests into `mod tests`, make them private (no ↵Huon Wilson-8/+8
pub mod or pub fn).
2013-04-14core: remove unnecessary unsafe blocks/functionsAlex Crichton-54/+52
2013-04-11Make destroy() send SIGTERM and add a new method calledgareth-12/+41
force_destroy() that sends SIGKILL - as suggested by @thestinger.
2013-04-06Change the behaviour of core::run::Program.destroy togareth-7/+59
forcibly terminate the program (as suggested in issue #5632)
2013-04-06Update doc-comments to reflect the current year and traitgareth-6/+6
names now being capitalized.
2013-04-06Fix a bug where calling p.destroy() on the result of callinggareth-2/+23
start_program(...) would cause a segfault when p went out of scope due to out_file/err_file being closed twice.
2013-04-05Refactor so that references to traits are not represented using a type with aNiko Matsakis-1/+1
bare function store (which is not in fact a kind of value) but rather ty::TraitRef. Removes many uses of fail!() and other telltale signs of type-semantic mismatch. cc #4183 (not a fix, but related)
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-2/+2
2013-03-28Removing unused importsAlex Crichton-1/+1
2013-03-25core: Fix doc comment error, as per #4983Tim Chevalier-1/+1
2013-03-21back-renamed slice_DBG_BRWD, slice_V_DBG_BRWD -> slice, slice_DBG_UNIQ -> ↵Marvin Löbel-2/+2
slice_unique
2013-03-21renamed str::view -> slice_DBG_BRWDMarvin Löbel-2/+2
renamed str::slice -> slice_DBG_UNIQ changed vec slice method -> to_owned() renamed vec view method -> slice_V_DBG_BRWD
2013-03-13librustc: Don't accept `as Trait` anymore; fix all occurrences of it.Patrick Walton-7/+7
2013-03-11Remove uses of logBrian Anderson-3/+2
2013-03-11librustc: Replace all uses of `fn()` with `&fn()`. rs=defunPatrick Walton-4/+4
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-2/+2
2013-03-07libcore: Remove `extern mod { ... }` from libcore. rs=deexterningPatrick Walton-6/+14
2013-03-04Adding missing imports for tests, and gate off othersAlex Crichton-1/+0
2013-03-04Remove unused imports throughout src/Alex Crichton-1/+0
2013-02-28Remove legacy object creation mode, and convert remaining uses of itNiko Matsakis-1/+1
2013-02-27Turn old `drop` blocks into `Drop` traitsBen Striegel-1/+4
2013-02-21core: Extract comm from pipes. #4742Brian Anderson-1/+1
2013-02-15libcore: Get rid of `move`.Luqman Aden-7/+7
2013-02-14core: Clean up XXXesTim Chevalier-1/+1
2013-02-14librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵Patrick Walton-1/+1
rs=implflipping
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-5/+5
2013-02-13RIMOV core::runBen Striegel-2/+2
2013-02-11core: Fix files that needed GenericChan/Port from preludeZack Corr-1/+1
2013-02-07core: Remove structural records from the rest of core, except pipesTim Chevalier-5/+6
That will, sadly, require one more snapshot.