about summary refs log tree commit diff
path: root/src/rt/rust_builtin.cpp
AgeCommit message (Collapse)AuthorLines
2011-10-24migrate leakNiko Matsakis-1/+1
2011-10-24migrate debugging funcsNiko Matsakis-19/+11
2011-10-24move rand functions into c-stack-cdecl modeNiko Matsakis-0/+10
2011-10-24move fs routines to c-stack-stdlibNiko Matsakis-3/+3
2011-10-24rip out unused task pointersNiko Matsakis-2/+2
2011-10-24move comm functions out of rust abiNiko Matsakis-1/+0
2011-10-21add get_type_desc function to libraryNiko Matsakis-0/+5
2011-10-20Get rid of taskpointer-passing throughout the compilerMarijn Haverbeke-3/+3
Only intrinsics still take a dummy taskptr. We'll have to do some makefile stunts to snapshot a version without taskptrs-in-intrinsics. Issue #466
2011-10-20Do not pass taskpointers to "rust" native functionsMarijn Haverbeke-76/+54
Issue #466
2011-10-20Remove spawn_wrap and main_wrap kludgesMarijn Haverbeke-2/+7
This isn't needed now that our functions are cdecl (and was apparently only still working by accident). Issue #992
2011-10-03rt: Make the builtins no longer take an explicit task parameterPatrick Walton-59/+98
2011-09-26rt: Make the logic that moves environments between tasks update the GC alloc ↵Patrick Walton-2/+2
chain correctly
2011-09-22Remove is_stateful flag from tydesc. Closes #136Brian Anderson-2/+2
2011-09-20rt: Rename rand() to isaac_rand() since the former prevents lots of standard ↵Patrick Walton-1/+1
headers from being included
2011-09-20Revert "rt: Rename rust_box to rust_box_legacy, as they're about to become ↵Patrick Walton-7/+6
self-describing" This reverts commit f6871e832c6d79d54f274d4ef4513c087ea7e36b.
2011-09-16Yield after sendBrian Anderson-0/+1
2011-09-16rt: Rename rust_box to rust_box_legacy, as they're about to become ↵Patrick Walton-6/+7
self-describing
2011-09-11Remove hack_allow_leaksBrian Anderson-7/+0
Happy to close the loop on this one. Issue #236
2011-09-09Get rid of some unused upcallsMarijn Haverbeke-3/+1
I guess these became obsolete when the communication stuff moved into the stdlib.
2011-09-07Rewrite spawn yet againBrian Anderson-9/+15
The motivation here is that the bottom of each stack needs to contain a C++ try/catch block so that we can unwind. This is already the case for main, but not spawned tasks. Issue #236
2011-09-02Add a rust_str typedef to the runtime. Issue #855Brian Anderson-8/+8
2011-09-02Rename istr-stuff to str in the runtime. Issue #855Brian Anderson-5/+5
2011-09-02Eliminate const_refcount. Issue #855Brian Anderson-6/+1
2011-09-02Remove estrs and evecs from runtime. Issue #855Brian Anderson-72/+3
2011-09-01Convert rust_list_files to istrs. Issue #855Brian Anderson-20/+21
2011-09-01Convert rust_getcwd to istrs. Issue #855Brian Anderson-13/+2
2011-09-01Convert rust_file_is_dir from estrs to cstrs. Issue #855Brian Anderson-2/+2
2011-09-01Check error code in rust_file_is_dir. Prevent comparison of uninitialized memBrian Anderson-1/+3
2011-09-01Remove a bunch of string builtins. Issue #855Brian Anderson-82/+0
2011-08-31Expose STDERR to rust.Erick Tryzelaar-0/+1
2011-08-29Make std::istr::push_byte efficientMarijn Haverbeke-0/+9
It used to allocate two (!) heap values per pushed byte. It now goes through a runtime function that simply grows the istr and writes the byte.
2011-08-29Factor vector reserve code in runtime into its own functionMarijn Haverbeke-7/+1
2011-08-29Implement non-internal ivecsMarijn Haverbeke-177/+45
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-19rt: Remove rustboot's GC infrastructurePatrick Walton-1/+1
2011-08-18Rename rust_vec to rust_evecBrian Anderson-5/+5
2011-08-17Making more of the rust_task structure directly accessible from Rust.Eric Holk-17/+3
2011-08-16Removed trans_comm.rs from the compiler. Updating aio/sio to work with the ↵Eric Holk-5/+0
new chan and port system, started on a networking module for the standard library.
2011-08-15Properly ref counting to fix valgrind issues on linux.Eric Holk-2/+17
2011-08-15Fixed memory accounting and task stack creation bugs.Eric Holk-3/+18
2011-08-15Working on more spawn test cases.Eric Holk-2/+10
2011-08-15Added a library version of spawn. Before long, we can remove the old version.Eric Holk-0/+31
2011-08-15Port ID-based channels.Eric Holk-0/+23
2011-08-12Rename rust_list_files_ivec to rust_list_filesBrian Anderson-1/+1
2011-08-12Remove rust_list_files from std and rtBrian Anderson-25/+0
2011-08-12Remove runtime vector builtinsBrian Anderson-84/+0
2011-08-12Remove str_from_vec runtime functionBrian Anderson-17/+0
2011-08-12Remove vec version of str::bytes, rename bytes_ivec to str::bytesBrian Anderson-26/+0
2011-08-08Introduced task handles.unknown-1/+4
This is the new way to refer to tasks in rust-land. Currently all they do is serve as a key to look up the old rust_task structure. Ideally they won't be ref counted, but baby steps.
2011-08-08Converted the rest of the task-comm-* tests over. Also fixed someEric Holk-1/+1
channel lifecycle bugs.
2011-08-05Atomic ref counting for chans.Eric Holk-1/+6