about summary refs log tree commit diff
path: root/src/rt
AgeCommit message (Collapse)AuthorLines
2011-04-02Change rust_vec to have a 16-byte header, to 16-byte-align vec-body data. ↵Graydon Hoare-0/+1
Major perf win.
2011-03-30Um, that'd be, align the word *before* retpc. Addresses point to the low ↵Graydon Hoare-7/+7
part of a word. Un-XFAIL nbody on Darwin.
2011-03-30Ensure task stacks start out with a 16-byte aligned entry frame. Should make ↵Graydon Hoare-22/+48
OSX behave a bit better.
2011-03-25Another go at changing compile-command, this time using RBUILD env var.Graydon Hoare-1/+1
2011-03-25Revert "Bulk-edit compile commands in emacs chatter to point to assumed ↵Graydon Hoare-1/+1
build/ dir off src root." This reverts commit 846f2e2ba994268725f38c36fa12f1a09f21615c.
2011-03-25Bulk-edit compile commands in emacs chatter to point to assumed build/ dir ↵Graydon Hoare-1/+1
off src root.
2011-03-25Parse FP literals without coercing to int. This allows parsing 64-bitTim Chevalier-0/+1
floats. However, if someone writes a literal that can't be represented precisely in 64 bits, the front-end will accept it while the back-end will (presumably) complain.
2011-03-25Start making the standard-lib utf-8 awareMarijn Haverbeke-0/+22
Finally implements _str.is_utf8, adds from_chars, from_char, to_chars, char_at, char_len, (push|pop|shift|unshift)_char. Also, proper character I/O for streams.
2011-03-25Placate win32 build; no idea how it can be working currently on tinderbox.Graydon Hoare-1/+18
2011-03-25A first stab at the 'nbody' demo, with support for calling C sqrt().Lindsey Kuper-0/+8
2011-03-24build: Generate an object file for stage0/libstd.dylibPatrick Walton-0/+1
2011-03-24rustc: Open "use"d crates; add a _vec.vec_from_buf() method along the way; ↵Patrick Walton-0/+8
XFAIL use-import-export.rs in rustc
2011-03-24Add .def.in files that I forgot to stage. Should put out burning tinderboxes ↵Patrick Walton-0/+68
on Windows and Darwin.
2011-03-24Generate the platform-specific .def files at build timePatrick Walton-208/+0
2011-03-24Make symbol resolution failures log under rust_log::ERR flag as well.Graydon Hoare-3/+4
2011-03-24Add trailing semicolons to Linux .def filesPatrick Walton-1/+1
2011-03-24Add a Linux .def file. Might put out burning tinderbox.Patrick Walton-0/+70
2011-03-24rustc: Use a .def file for Darwin. Puts out burning Darwin tinderbox.Patrick Walton-0/+68
2011-03-22Further support for floating-point. Literals with exponents workTim Chevalier-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).
2011-03-21Started adding support for floating-point type, floating-point literals, and ↵Tim Chevalier-0/+7
logging of floats. Other operations on float probably don't work yet.
2011-03-21Add a suitable .def file for rustrt.dll on WindowsPatrick Walton-0/+70
2011-03-21Add some C99 and C++ compatibility headers for MSVCPatrick Walton-0/+649
2011-03-18Add some mutable variants of vector functions to the standard libraryPatrick Walton-0/+6
2011-03-16rustc: Add str_from_cstr() and str_from_buf() functions to the standard ↵Patrick Walton-0/+23
library, as well as a test case
2011-03-14Add functionality for running external programs to the std libMarijn Haverbeke-7/+97
See lib/run_program.rs.
2011-03-14Extend stream functionalityMarijn Haverbeke-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.
2011-03-14Add basic file-system functionalityMarijn Haverbeke-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.
2011-03-07Yell louder when a linkage error in rt occurs, as compiler output fails ↵Graydon Hoare-2/+3
quietly on null return.
2011-03-02Comment-out TRACK_ALLOCATIONS again. Leave a note about it.Graydon Hoare-1/+4
2011-03-02Parse parameter types for fmt extensionBrian Anderson-1/+1
2011-02-22Add ABI tagging to crates, adjust rustc output and runtime stack-frame setup ↵Graydon Hoare-24/+55
so access to argv works.
2011-02-21Fix typo in rust_task::start. Should be copying 1 fewer initial arg.Graydon Hoare-2/+2
2011-02-14Disable TRACK_ALLOCATIONS by default, it's a bit heavy-handed.Graydon Hoare-1/+1
2011-02-10Commit the trap-failure hack to the runtime, since I keep using it in my ↵Graydon Hoare-0/+4
workspace anyways.
2011-01-14Further corrections to the logging layer in runtime.Graydon Hoare-6/+8
2011-01-14Change log buffer butes to a symbolic const in runtime.Graydon Hoare-11/+15
2011-01-10Cleanup circular_bufferBrian Anderson-39/+56
2011-01-10Remove the assumption that circular_buffer's buffer has a power of two sizeBrian Anderson-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.
2011-01-10Cleanup circular_buffer grow / shrink routinesBrian Anderson-4/+7
2011-01-10Fix circular_buffer growth when _next != 0Brian Anderson-6/+7
2011-01-10Remove tabsBrian Anderson-1/+1
2011-01-10Don't allow circular_buffer to shrink below its original size when unit_sz ↵Brian Anderson-5/+7
is not a power of two
2011-01-10Don't allow circular_buffer to shrink below it's initial sizeBrian Anderson-1/+3
2011-01-10Fix the check for growing the circular_bufferBrian Anderson-1/+1
2011-01-07Correctly initialize circular_buffer to a power-of-two bytesBrian Anderson-1/+2
2011-01-03Don't attempt to wake tasks that aren't blocked.Brian Anderson-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.
2010-12-31Add std.dbg.trap(str msg) for help debugging.Graydon Hoare-0/+8
2010-12-13Make failing to resolve a symbol an errorPatrick Walton-1/+1
2010-11-30Make the ugly detailed leak-spray on rustc failures optional.Graydon Hoare-7/+22
2010-11-16Update frame logic to be compatible with SysV x86 ABI. Improves diagnostics.Graydon Hoare-12/+16