aboutsummaryrefslogtreecommitdiff
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* rustc: Add an "_" prefix to assembler-generated symbols on MacPatrick Walton2010-10-223-0/+11
|
* Add some filename helpers to os.Graydon Hoare2010-10-223-0/+25
|
* Change vec slice to use uint, add push/pop/shift/unshift.Graydon Hoare2010-10-221-6/+29
|
* eliminated bitv.test, which now lives in test/run-passDave Herman2010-10-211-283/+0
|
* line length police; moved comp.util.bits to std.bitvDave Herman2010-10-212-0/+464
|
* Disable use of parametric tail call in map.rs, they don't presently work.Graydon Hoare2010-10-181-1/+3
|
* Make list.find return an option of different type than the list element.Graydon Hoare2010-10-181-7/+7
|
* Flesh out the std.list module a touch.Graydon Hoare2010-10-181-0/+49
|
* Encode and decode tag types in dwarf properly. Add list module to std. Shift ↵Graydon Hoare2010-10-152-1/+17
| | | | rustc to use std.util.option. Fix various dependent bugs. Closes #73.
* Patchwork of attempted fixes to effect system and gc system; eventually give ↵Graydon Hoare2010-09-291-15/+15
| | | | up and disable it entirely in the runtime. Will need extensive reworking.
* Add 'items' iter to hashmap.Graydon Hoare2010-09-221-0/+12
|
* Reformat standard library; no code changes.Graydon Hoare2010-09-2216-708/+852
|
* Add some basic string functions: index, rindes, find, substr, split, concat, ↵Graydon Hoare2010-09-221-0/+119
| | | | connect.
* Tighten pattern parsing on 0-ary constructors.Graydon Hoare2010-09-211-2/+2
|
* Bind pattern slots with ?, drop parens from 0-ary tag constructors, ↵Graydon Hoare2010-09-203-24/+24
| | | | translate 0-ary constructors as constants. Rustc loses ~300kb.
* Switch tags to purely nominal, removing TY_iso and TY_idx. Seems to mostly ↵Graydon Hoare2010-09-094-3/+11
| | | | work, possibly a little bumpy. Changes a lot.
* Add a little pointer-cast helper to dbg.Roy Frostig2010-09-061-0/+5
|
* Test multi-ref'ed vec growth more seriously than before.Roy Frostig2010-09-031-0/+5
|
* Test the hashmap more, exercising hash collision, element removal, and a ↵Roy Frostig2010-08-261-6/+11
| | | | forced rehashing that actually causes elements to change buckets. In the process, find a bug in hashmap's remove() and fix it.
* Make vreg constrs per-quad, regfence on nontrivial constrs, back out ↵Graydon Hoare2010-08-261-3/+1
| | | | workaround to _uint, add regression test. Closes #152.
* Workaround issue #152 in _uint.next_power_of_twoRoy Frostig2010-08-261-1/+3
|
* Actually switch to using the bigger hashmap once a it finishes growing and ↵Roy Frostig2010-08-251-2/+4
| | | | rehashing.
* Fix edge case in uint->string conversion.Graydon Hoare2010-08-251-1/+1
|
* Comment on env var required for std.dbg to do any logging.Roy Frostig2010-08-241-0/+3
|
* Add support in dbg.debug_obj for printing the obj body.Roy Frostig2010-08-241-3/+12
|
* Add std.dbg module for inspecting rust values in memory.Roy Frostig2010-08-242-0/+45
|
* Fix mod-bug in std.map, work around bug in closure typaram capture, enable ↵Graydon Hoare2010-08-241-5/+4
| | | | insert-tests in lib-map.rs.
* Make _str.eq suitable for map.hashmap; add _str.hash that does simple djb-hash.Graydon Hoare2010-08-241-1/+12
|
* Redo _uint.to_str to work with chars and only one tmp str, built left-to-right.Graydon Hoare2010-08-201-19/+37
|
* Test the buffered reader and writer in _io.Roy Frostig2010-08-202-4/+35
|
* Add ungetc and re-indent _io.rs.Graydon Hoare2010-08-204-95/+102
|
* Add _uint module to std, move some code around.Graydon Hoare2010-08-206-60/+75
|
* Make _io.buf_reader read more than 0 bytes at a time.Roy Frostig2010-08-192-7/+24
|
* Add stdio_reader to io, just use FILE* values for now. We have things to do.Graydon Hoare2010-08-184-1/+46
|
* Address FIXME in _vec waiting on closed issue #108.Roy Frostig2010-08-121-5/+4
|
* Add vec debugging utility to _vec module.Roy Frostig2010-08-121-0/+5
|
* Added support for task sleeping in the scheduler.Michael Bebenita2010-08-112-0/+14
|
* Add native vec[u8] to str converter. Put in workaround for leak in str to ↵Roy Frostig2010-08-111-4/+31
| | | | vec[u8] converter. Add testcase exercising both. Drive-by fix a potential array-out-of-bounds write on rust_str buffers.
* Fix reverse-indexing bug in _vec.init_fn.Roy Frostig2010-08-111-3/+3
|
* Fix a deque size bookkeeping bug.Roy Frostig2010-08-101-1/+3
|
* Implement _str.len() to return the number of bytes, rename it to byte_len(),Jeffrey Yasskin2010-08-061-5/+10
| | | | and add a test.
* Add an int->str conversion function.Jeffrey Yasskin2010-08-062-12/+12
| | | | The test currently fails because string equality isn't implemented.
* Redo yesterday's buf_writer-wrapper in a less silly and convoluted way. Add ↵Roy Frostig2010-08-062-43/+59
| | | | integer stringifying functions to _int module.
* Mop up workarounds in stdlib no longer required as issue #93 is closed.Graydon Hoare2010-08-053-24/+11
|
* Add to std._io some formatter/type-specific-writer mechanism. Make a few ↵Roy Frostig2010-08-042-0/+70
| | | | type-specific buffered writers as wrappers of buf_writer.
* Add per-platform file-open flags to std.os. Open buffers as desired in std._io.Roy Frostig2010-08-044-6/+73
|
* Add a buffered writer to stdlib _io module.Roy Frostig2010-08-042-5/+48
|
* Address _io.new_buf FIXME now that issue #93 is closed.Roy Frostig2010-08-041-9/+1
|
* Have hashmap's insert method overwrite on existing-key insertion and return ↵Roy Frostig2010-08-031-4/+8
| | | | true iff overwrite did not occur.
* More stdlib hashmap work. Add a simple test and XFAIL it due to a ↵Roy Frostig2010-08-031-21/+29
| | | | valgrind-spotted UMR.