rust/src/rt
bors ef282dbe2a auto merge of #5409 : brson/rust/rt, r=brson
r?

There are a lot of commits here, but not all that much substance. Mostly just refactoring.

I started sketching out the beginnings of a very simple I/O API in `core::rt::io` that represents I/O streams as a single `Stream` trait instead of `Reader` / `Writer` pairs. This seems to be the more common pattern (at least this is how the .NET BCL does it) and it seems to me that separate readers and writers would make duplex streams very awkward. Regardless, I don't intend to go very far down the I/O API design road without some mailing list discussion.

I've also started on the uv bindings for file I/O but haven't gotten very far.

Also hooked up the new scheduler to `rust_start` and the compiletest driver. 70% of run-pass test cases already pass, but I wouldn't read too much into that.

I also split the direct, low-level uv bindings in two so that the scheduler can have its own set, leaving `std::net` on its own.
2013-03-25 13:01:11 -07:00
..
arch auto merge of #5424 : luqmana/rust/inline-rt, r=brson 2013-03-25 12:04:11 -07:00
isaac rt: Remove the problematic min()/max()/align()/abs() macros from isaac/standard.h, as they're unused 2011-09-23 11:04:14 -07:00
linenoise Use a linenoise with win32 support 2012-11-04 13:34:14 -08:00
msvc Add some C99 and C++ compatibility headers for MSVC 2011-03-21 10:24:00 -07:00
sync Add a license check to tidy. #4018 2013-01-17 23:28:42 -08:00
util rm unused hash table from the runtime 2013-02-15 18:22:34 -05:00
vg Upgrade valgrind headers to 3.7, silencing build breakage on FreeBSD. 2012-03-21 18:40:32 -07:00
boxed_region.cpp Put unique allocs in managed heap when they might contain managed boxes. 2013-02-21 23:01:17 -08:00
boxed_region.h Whitespace 2012-12-15 23:03:45 -08:00
memory_region.cpp rm the unused calloc wrapper from memory_region 2013-02-14 18:28:04 -05:00
memory_region.h rm the unused calloc wrapper from memory_region 2013-02-14 18:28:04 -05:00
miniz.cpp Fix MZ_FORCEINLINE define to work with GCC 4.7.1. 2012-08-29 01:18:00 -07:00
rust.cpp Add a way to run the test suite with the new scheduler 2013-03-18 17:00:35 -07:00
rust_abi.cpp Remove bogus FIXME, closes #2889 2012-12-06 16:14:54 -08:00
rust_abi.h Update license, add license boilerplate to most files. Remainder will follow. 2012-12-03 17:12:14 -08:00
rust_android_dummy.cpp mk: rewrite make files 2013-02-27 14:53:35 +09:00
rust_android_dummy.h More android support 2013-01-13 16:43:39 -08:00
rust_builtin.cpp core: Initialize global state lazily in the Scheduler ctor 2013-03-18 17:00:35 -07:00
rust_crate_map.cpp fix #2673: avoid visiting the same crate twice 2013-01-29 21:03:05 +09:00
rust_crate_map.h mk: --android-cross-path to rustc 2013-03-05 13:12:23 +09:00
rust_debug.cpp Add license boilerplate to more files. 2012-12-10 17:32:58 -08:00
rust_debug.h Update license, add license boilerplate to most files. Remainder will follow. 2012-12-03 17:12:14 -08:00
rust_env.cpp rt: Add RUST_DEBUG_MEM to rust_env to avoid races 2013-03-16 14:25:44 -07:00
rust_env.h rt: Add RUST_DEBUG_MEM to rust_env to avoid races 2013-03-16 14:25:44 -07:00
rust_exchange_alloc.cpp get rid of unused exchange_alloc calloc method 2013-02-14 18:24:52 -05:00
rust_exchange_alloc.h get rid of unused exchange_alloc calloc method 2013-02-14 18:24:52 -05:00
rust_gc_metadata.cpp Update license, add license boilerplate to most files. Remainder will follow. 2012-12-03 17:12:14 -08:00
rust_gc_metadata.h Update license, add license boilerplate to most files. Remainder will follow. 2012-12-03 17:12:14 -08:00
rust_globals.h rt: Inline get_sp_limit/set_sp_limit/get_sp for x86_64. 2013-03-17 21:40:59 -07:00
rust_gpr_base.h Update license, add license boilerplate to most files. Remainder will follow. 2012-12-03 17:12:14 -08:00
rust_kernel.cpp rt: Comment out an assert in rust_kernel. #4711 2013-02-28 14:21:39 -08:00
rust_kernel.h rm unused hash table from the runtime 2013-02-15 18:22:34 -05:00
rust_log.cpp mk: --android-cross-path to rustc 2013-03-05 13:12:23 +09:00
rust_log.h Add a license check to tidy. #4018 2013-01-17 23:28:42 -08:00
rust_refcount.h rt: get rid of rust_fn and replace with fn_env_pair plus a little cleanup. 2013-02-13 15:41:38 -05:00
rust_rng.cpp rt: fix memory-unsafe random seed logic, r=valgrindclean 2013-02-19 07:06:36 -08:00
rust_rng.h rt: fix memory-unsafe random seed logic, r=valgrindclean 2013-02-19 07:06:36 -08:00
rust_run_program.cpp Add license boilerplate to more files. 2012-12-10 17:32:58 -08:00
rust_sched_driver.cpp Add license boilerplate to more files. 2012-12-10 17:32:58 -08:00
rust_sched_driver.h Update license, add license boilerplate to most files. Remainder will follow. 2012-12-03 17:12:14 -08:00
rust_sched_launcher.cpp Add license boilerplate to more files. 2012-12-10 17:32:58 -08:00
rust_sched_launcher.h Whitespace 2012-12-15 23:03:45 -08:00
rust_sched_loop.cpp rt: Increase C_STACK_SIZE to 2MB to get JIT/rusti working again (dlopen segfaults) 2013-03-21 15:15:47 +10:00
rust_sched_loop.h encapsulate isaac RNG in rust_rng struct 2013-02-14 22:31:08 -08:00
rust_sched_reaper.cpp Add license boilerplate to more files. 2012-12-10 17:32:58 -08:00
rust_sched_reaper.h Update license, add license boilerplate to most files. Remainder will follow. 2012-12-03 17:12:14 -08:00
rust_scheduler.cpp Rename dec/inc_weak_task_count to inc/dec_live_count and remove register_task/unregister_task. Closes #4768 2013-02-09 19:19:31 +10:00
rust_scheduler.h Whitespace 2012-12-15 23:03:45 -08:00
rust_signal.h Made a bunch more classes non-copyable 2012-12-15 22:38:20 -08:00
rust_stack.cpp rm the unused calloc wrapper from memory_region 2013-02-14 18:28:04 -05:00
rust_stack.h Rewrite the exchange allocator to work without an active scheduler. #4457 2013-02-06 14:27:36 -08:00
rust_task.cpp rm the unused calloc wrapper from memory_region 2013-02-14 18:28:04 -05:00
rust_task.h rt: Inline get_sp_limit/set_sp_limit/get_sp for x86_64. 2013-03-17 21:40:59 -07:00
rust_type.h librustdoc: Remove fn@, fn~, and fn& from compiletest, fuzzer, rustdoc, and rt. rs=defun 2013-03-02 18:47:47 -08:00
rust_unwind.h Update license, add license boilerplate to most files. Remainder will follow. 2012-12-03 17:12:14 -08:00
rust_upcall.cpp Convert NOTEs to FIXMEs 2013-02-27 18:44:35 -08:00
rust_upcall.h Add license boilerplate to more files. 2012-12-10 17:32:58 -08:00
rust_util.cpp Update license, add license boilerplate to most files. Remainder will follow. 2012-12-03 17:12:14 -08:00
rust_util.h rt/core: port os::list_dir to rust ref #4812 2013-03-11 15:38:55 -07:00
rust_uv.cpp core: Simplify uvll bindings and strip out currently-unused bits 2013-03-18 16:59:37 -07:00
rustrt.def.in Add a way to run the test suite with the new scheduler 2013-03-18 17:00:35 -07:00