aboutsummaryrefslogtreecommitdiff
path: root/src/rt
Commit message (Collapse)AuthorAgeFilesLines
...
* Make symbol resolution failures log under rust_log::ERR flag as well.Graydon Hoare2011-03-242-3/+4
|
* Add trailing semicolons to Linux .def filesPatrick Walton2011-03-241-1/+1
|
* Add a Linux .def file. Might put out burning tinderbox.Patrick Walton2011-03-241-0/+70
|
* rustc: Use a .def file for Darwin. Puts out burning Darwin tinderbox.Patrick Walton2011-03-241-0/+68
|
* Further support for floating-point. Literals with exponents workTim Chevalier2011-03-221-1/+8
| | | | | | and literals with the 'f32' or 'f64' suffixes work as well. In addition, logging things with the f32 or f64 type works. (float is still assumed to be a synonym for f64).
* Started adding support for floating-point type, floating-point literals, and ↵Tim Chevalier2011-03-211-0/+7
| | | | logging of floats. Other operations on float probably don't work yet.
* Add a suitable .def file for rustrt.dll on WindowsPatrick Walton2011-03-211-0/+70
|
* Add some C99 and C++ compatibility headers for MSVCPatrick Walton2011-03-213-0/+649
|
* Add some mutable variants of vector functions to the standard libraryPatrick Walton2011-03-181-0/+6
|
* rustc: Add str_from_cstr() and str_from_buf() functions to the standard ↵Patrick Walton2011-03-161-0/+23
| | | | library, as well as a test case
* Add functionality for running external programs to the std libMarijn Haverbeke2011-03-143-7/+97
| | | | See lib/run_program.rs.
* Extend stream functionalityMarijn Haverbeke2011-03-141-0/+3
| | | | | | Writer and reader streams now come with methods to write and read little-endian numbers. Whether that is the right place for such methods is debatable, but for now, that's where they live.
* Add basic file-system functionalityMarijn Haverbeke2011-03-143-18/+57
| | | | | std.fs.list_dir will list the files in a directory, std.fs.file_is_dir will, given a pathname, determine whether it is a directory or not.
* Yell louder when a linkage error in rt occurs, as compiler output fails ↵Graydon Hoare2011-03-071-2/+3
| | | | quietly on null return.
* Comment-out TRACK_ALLOCATIONS again. Leave a note about it.Graydon Hoare2011-03-021-1/+4
|
* Parse parameter types for fmt extensionBrian Anderson2011-03-021-1/+1
|
* Add ABI tagging to crates, adjust rustc output and runtime stack-frame setup ↵Graydon Hoare2011-02-226-24/+55
| | | | so access to argv works.
* Fix typo in rust_task::start. Should be copying 1 fewer initial arg.Graydon Hoare2011-02-211-2/+2
|
* Disable TRACK_ALLOCATIONS by default, it's a bit heavy-handed.Graydon Hoare2011-02-141-1/+1
|
* Commit the trap-failure hack to the runtime, since I keep using it in my ↵Graydon Hoare2011-02-101-0/+4
| | | | workspace anyways.
* Further corrections to the logging layer in runtime.Graydon Hoare2011-01-144-6/+8
|
* Change log buffer butes to a symbolic const in runtime.Graydon Hoare2011-01-145-11/+15
|
* Cleanup circular_bufferBrian Anderson2011-01-102-39/+56
|
* Remove the assumption that circular_buffer's buffer has a power of two sizeBrian Anderson2011-01-102-33/+65
| | | | | | It was not obvious how to make this implementation work when the unit size was not also a power of two, so for now just make the buffer size a multiple of the unit size so it can pass all the tests.
* Cleanup circular_buffer grow / shrink routinesBrian Anderson2011-01-101-4/+7
|
* Fix circular_buffer growth when _next != 0Brian Anderson2011-01-101-6/+7
|
* Remove tabsBrian Anderson2011-01-101-1/+1
|
* Don't allow circular_buffer to shrink below its original size when unit_sz ↵Brian Anderson2011-01-102-5/+7
| | | | is not a power of two
* Don't allow circular_buffer to shrink below it's initial sizeBrian Anderson2011-01-101-1/+3
|
* Fix the check for growing the circular_bufferBrian Anderson2011-01-101-1/+1
|
* Correctly initialize circular_buffer to a power-of-two bytesBrian Anderson2011-01-071-1/+2
|
* Don't attempt to wake tasks that aren't blocked.Brian Anderson2011-01-031-1/+1
| | | | | | It's possible for a supervised task to kill and wake its supervising task then immediately try to wake it again if the supervising task has joined the supervised. This is the easiest way to prevent that.
* Add std.dbg.trap(str msg) for help debugging.Graydon Hoare2010-12-311-0/+8
|
* Make failing to resolve a symbol an errorPatrick Walton2010-12-131-1/+1
|
* Make the ugly detailed leak-spray on rustc failures optional.Graydon Hoare2010-11-302-7/+22
|
* Update frame logic to be compatible with SysV x86 ABI. Improves diagnostics.Graydon Hoare2010-11-161-12/+16
|
* Support a special const-value refcount, use it for const strings.Graydon Hoare2010-11-093-4/+20
|
* First pass on splitting stratum and opacity off of effects. WIP.Graydon Hoare2010-11-021-1/+1
|
* Cast NULL to uintptr_t when calling rust_task::start().Ralph Giles2010-10-281-1/+1
| | | | | | | | | On gcc 4.5.1 (fedora 14 i686) rust_test_runtime.cpp fails to compile with the following error: rt/test/rust_test_runtime.cpp:57:61: error: passing NULL to non-pointer argument 3 of ‘void rust_task::start(uintptr_t, uintptr_t, uintptr_t, size_t)’ The explicit cast works around the error.
* Add a virtual destructor to rust_thread in sync.h, to quiet the compilerPatrick Walton2010-10-201-0/+2
|
* Use new and delete instead of alloca(). Should put out the burning tinderbox.Patrick Walton2010-10-111-2/+3
|
* Try to print backtraces on failurePatrick Walton2010-10-114-17/+46
|
* Use RTLD_GLOBAL when loading libraries. This is needed to get LLVM working ↵Patrick Walton2010-10-051-1/+1
| | | | on the Mac in rustc.
* Fix bug in bind thunks failing top drop unbound args; add test and adjust ↵Graydon Hoare2010-09-301-0/+4
| | | | rustc to use bind again.
* Patchwork of attempted fixes to effect system and gc system; eventually give ↵Graydon Hoare2010-09-292-6/+17
| | | | up and disable it entirely in the runtime. Will need extensive reworking.
* Fixed deadlock caused by the message pump not being notified of new message ↵Michael Bebenita2010-09-165-5/+36
| | | | sends.
* Cleanup, refactoring, and some runtime tests.Michael Bebenita2010-09-1021-129/+275
|
* Added lock_and_signal::signal_all(), and made the rust_kernel::join() use ↵Michael Bebenita2010-09-104-16/+31
| | | | wait instead of yield.
* Fixed lost signal notifications.Michael Bebenita2010-09-081-2/+4
|
* Cache task handles.Michael Bebenita2010-09-082-2/+8
|