about summary refs log tree commit diff
path: root/src/lib
AgeCommit message (Collapse)AuthorLines
2011-07-12stdlib: Move bit vectors over to interior vectorsPatrick Walton-13/+32
2011-07-12stdlib: Remove exterior vectors from termivecPatrick Walton-3/+8
2011-07-12stdlib: Remove obsolete FIXME about state fnsPatrick Walton-2/+0
2011-07-12stdlib: EBML API fixesPatrick Walton-9/+9
2011-07-12stdlib: Implement ivec::unsafe::set_lenPatrick Walton-5/+22
2011-07-12stdlib: Box data in EBML documentsPatrick Walton-7/+7
2011-07-11Support running a subset of tests from the command line. Issue #428Brian Anderson-4/+36
2011-07-11Pass command-line args to the test runner. Issue #428Brian Anderson-1/+1
This will let the test runner filter the tests it runs.
2011-07-11remove some workarounds for old bugsTim Chevalier-2/+1
2011-07-11rustc: Implement pointer dereference; add a test casePatrick Walton-2/+2
2011-07-11stdlib: Add addr_of() to the standard libraryPatrick Walton-0/+2
2011-07-11stdlib: Add interior vector-ified versions of ebml and termPatrick Walton-0/+255
2011-07-11Actually run tests from the std runner. Issue #428Brian Anderson-1/+48
2011-07-11Implement or-patterns in case clausesMarijn Haverbeke-0/+9
You can now say expr_move(?dst, ?src) | expr_assign(?dst, ?src) { ... } to match both expr_move and expr_assign. The names, types, and number of bound names have to match in all the patterns. Closes #449.
2011-07-10Add uint::minJesse Ruderman-0/+2
2011-07-10stdlib: Remove FIXME that's more like a WONTFIXPatrick Walton-3/+0
2011-07-10stdlib: Remove the cast from ioivecPatrick Walton-2/+1
2011-07-10stdlib: Implement an interior-vector version of the io modulePatrick Walton-0/+489
2011-07-10stdlib: Implement str::bytes_ivec() using pointers and castsPatrick Walton-0/+13
2011-07-10stdlib: Add missing unsafe.rs. Puts out burning tinderbox.Patrick Walton-0/+9
2011-07-10stdlib: Add unsafe to the std.rc, now that it actually buildsPatrick Walton-0/+1
2011-07-10rt: Remove the _2 prefix from intrinsics; all rust-intrinsics now use ↵Patrick Walton-2/+2
explicit return pointers
2011-07-09rustc: Make rust-intrinsics take an explicit return pointerPatrick Walton-2/+2
2011-07-09Generate code to load a crate's tests into the std test runner. Issue #428Brian Anderson-1/+1
2011-07-09Begin adding some test runner types to std. Issue #428Brian Anderson-0/+57
2011-07-08stdlib: Implement str::unsafe_from_bytes_ivec()Patrick Walton-0/+5
2011-07-08stdlib: Add an offset function for simple pointer arithmetic on unsafe pointersPatrick Walton-0/+9
2011-07-08rustc: Move maps over to interior vectorsPatrick Walton-11/+10
2011-07-08Adding more support for working with u64s.Eric Holk-0/+40
2011-07-08stdlib: Add an interior vector version of union-find for nowPatrick Walton-0/+55
2011-07-07Merge pull request #634 from robarnold/upstream-stablePatrick Walton-4/+5
Allocate ivecs out of the kernel pool
2011-07-07Make moving of temporaries do the right thing, use it to optimizeMarijn Haverbeke-9/+2
This adds support for dropping cleanups for temporary values when they are moved somewhere else. It then adds wraps most copy operations (return, put in data structure, box, etc) in a way that will fall back to a move when it is safe. This saves a lot of taking/dropping, shaving over a megabyte off the stage2/rustc binary size. In some cases, most notably function returns, we could detect that the returned value is a local variable, and can thus be safely moved even though it is not a temporary. This will require putting some more information in lvals. I did not yet handle function arguments, since the logic for passing them looked too convoluted to touch. I'll probably try that in the near future, since it's bound to be a big win.
2011-07-06Allocate rust_ivec buffers out of the kernel poolRob Arnold-4/+5
The duplication of upcalls is due to the fact that the runtime is shared between stage0/rustc and stage1/rustc. Once snapshots are updated, they should be de-duplicated.
2011-07-05stdlib: Implement ivec::foldlPatrick Walton-0/+8
2011-07-05stdlib: Add filter_map to ivecPatrick Walton-0/+12
2011-07-05stdlib: Don't have ivec::map take a mutable aliasPatrick Walton-1/+1
2011-07-05stdlib: Add str::connect_ivec() temporarilyPatrick Walton-0/+11
2011-07-05stdlib: Change ivec::rustrt::ivec_on_heap() to use a 32-bit return valuePatrick Walton-2/+2
2011-07-05Move everything syntax-related to syntax/, break deps on rest of compilerMarijn Haverbeke-3/+41
src/comp/syntax is currently just a sub-module of rustc, but it will, in the near future, be its own crate. This includes: - The AST data structure - The parser - The pretty-printer - Visit, walk, and fold - The syntax extension system - Some utility stuff that should be in the stdlib* *) Stdlib extensions currently require a snapshot before they can be used, and the win build is very broken right now. This is temporary and will be cleaned up when one of those problems goes away. A lot of code was moved by this patch, mostly towards a more organized layout. Some package paths did get longer, and I guess the new layout will take some getting used to. Sorry about that! Please try not to re-introduce any dependencies in syntax/ on any of the other src/comp/ subdirs.
2011-07-04stdlib: Add ivec::any() and ivec::all(); put out burning tinderboxPatrick Walton-0/+10
2011-07-04stdlib: Implement interior vector mapPatrick Walton-0/+14
2011-07-04stdlib: Add an inefficient implementation of ivec::popPatrick Walton-1/+11
2011-06-30stdlib: Fix long line in sort.rsPatrick Walton-1/+2
2011-06-30stdlib: Add an interior vector version of sort and a test casePatrick Walton-0/+136
2011-06-30Use attributes for conditional compilation in std.rcBrian Anderson-12/+14
2011-06-30Get rid of an unused variableTim Chevalier-1/+0
2011-06-30Added a nanosecond timer to time.rs, support for some floating point casts, ↵Eric Holk-1/+12
and a commandline-driven mode for pfib.rs
2011-06-29Adding support for pinning tasks to the currently running thread. Closes #598.Eric Holk-0/+10
2011-06-28Comments.Lindsey Kuper-0/+2
2011-06-28Fix logic bug in std::fs::dirname.Graydon Hoare-1/+1