about summary refs log tree commit diff
path: root/src/lib/run_program.rs
AgeCommit message (Collapse)AuthorLines
2011-12-06Establish 'core' library separate from 'std'.Graydon Hoare-304/+0
2011-11-17remove compile-command from local variable blocksNiko Matsakis-1/+0
2011-11-16fix win32 types, make close() use i32 as return typeNiko Matsakis-2/+2
2011-11-16Various fixes for x86_64 on linuxBrian Anderson-1/+1
Configure LLVM correctly, use the right data layout, add the readlink function back, fix C constants, etc.
2011-11-16fix mismatched types---make check passes on x86_64!Niko Matsakis-3/+4
2011-11-16refactor all unix typesNiko Matsakis-21/+22
2011-11-16Use attributes for native module ABI and link nameHaitao Li-1/+2
This patch changes how to specify ABI and link name of a native module. Before: native "cdecl" mod llvm = "rustllvm" {...} After: #[abi = "cdecl"] #[link_name = "rustllvm"] native mod llvm {...} The old optional syntax for ABI and link name is no longer supported. Fixes issue #547
2011-11-09Rename "c-stack-cdecl" ABI to "cdecl"Brian Anderson-1/+1
2011-10-28stdlib: Replace an unsafe cast with ptr::nullBrian Anderson-2/+1
2011-10-28stdlib: Make reinterpret_cast and leak unsafeBrian Anderson-1/+2
2011-10-26Add more std documentationBrian Anderson-38/+174
2011-10-24migrate rust_run_programNiko Matsakis-1/+1
2011-10-20Do not pass taskpointers to "rust" native functionsMarijn Haverbeke-3/+3
Issue #466
2011-10-12reimplement some of the unsafe stuff which got lostNiko Matsakis-1/+1
- blocks inherit unsafety - remove the --check-unsafe flag - add unsafe annotations where needed to get things to compile
2011-09-12Merge branch 'unwind'Brian Anderson-2/+41
Conflicts: src/comp/middle/trans.rs src/comp/middle/trans_build.rs src/lib/run_program.rs src/test/compiletest/runtest.rs
2011-09-12Reformat for new mode syntax, step 1Marijn Haverbeke-8/+8
Long lines were fixed in a very crude way, as I'll be following up with another reformat in a bit.
2011-09-11Add a waitpid wrapper to std::run that interprets the exit status on unixBrian Anderson-2/+41
This makes the result of running a program a little more uniform between unix and windows
2011-09-02Reformat. Issue #855Brian Anderson-15/+13
2011-09-01Rename std::istr to std::str. Issue #855Brian Anderson-4/+4
2011-09-01Remove last users of str::sbuf. Issue #855Brian Anderson-9/+11
2011-08-31Remove more uses of str from std::run. Issue #855Brian Anderson-4/+4
2011-08-29Implement non-internal ivecsMarijn Haverbeke-1/+2
Vectors are now similar to our old, pre-internal vectors, except that they are uniquely owned, not refcounted. Their name should probably change too, then. I've renamed them to vec in the runtime, will do so throughout the compiler later.
2011-08-27Convert std::run to istrs. Issue #855Brian Anderson-4/+6
2011-08-20ReformatBrian Anderson-22/+16
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-16Rename std::ivec to std::vecBrian Anderson-1/+1
2011-08-15The wonky for...in... whitespace was bothering me. Sorry!Lindsey Kuper-1/+1
2011-08-12Remove all usages of std::vec::vbufBrian Anderson-1/+0
2011-08-12Remove last use of vec:bufBrian Anderson-3/+2
2011-08-12Convert std::run to ivecsBrian Anderson-9/+11
2011-08-12Rename std::ioivec to std::ioBrian Anderson-13/+13
2011-08-12Convert all uses of std::io to std::ioivecBrian Anderson-11/+14
2011-08-12Rename std::str::unsafe_from_bytes_ivec to unsafe_from_bytesBrian Anderson-1/+1
2011-08-12Convert all uses of unsafe_from_bytes to unsafe_from_bytes_ivecBrian Anderson-2/+2
2011-07-29Replace obj dtors with resources in stdlib and rustcMarijn Haverbeke-16/+20
2011-07-29Beginning of replacing drop with resourcesMarijn Haverbeke-2/+2
2011-07-29Make program_output also return stderrJesse Ruderman-9/+28
2011-07-27Re-format some obj dtors that were messed up by the pretty-printerMarijn Haverbeke-5/+6
2011-07-27Reformat for new syntaxMarijn Haverbeke-33/+31
2011-07-26Run test process from a dedicated taskBrian Anderson-0/+1
This avoids a race wherein test tasks could run processes that stole the environment of other tasks's processes.
2011-07-26Remove all uses of tuples from the compiler and stdlibMarijn Haverbeke-4/+4
2011-07-19Avoid double-closing pipes in std::run::start_programBrian Anderson-4/+13
Linux and mac seem fine with it, Windows does not
2011-07-19Refactor std::runBrian Anderson-9/+16
2011-07-19Fix an invalid memory access in run_program and friendsBrian Anderson-4/+8
2011-06-15Reformat source tree (minus a couple tests that are still grumpy).Graydon Hoare-40/+28
2011-05-17Finally rename std::_xxx to std::xxxMarijn Haverbeke-8/+8
Except for _task, which is still a keyword.
2011-05-16Rewrite everything to use [] instead of vec() in value position.Graydon Hoare-5/+5
2011-05-12Downcase std modules again, move to :: for module dereferencingMarijn Haverbeke-0/+96
This should be a snapshot transition.
2011-05-06Rename std modules to be camelcasedMarijn Haverbeke-96/+0
(Have fun mergining your stuff with this.)
2011-04-19Remove effect system from src.Graydon Hoare-7/+7
2011-03-25stdlib: Separate basic I/O reading functionality into a separate buf_reader ↵Patrick Walton-1/+1
object, like writing