about summary refs log tree commit diff
path: root/src/lib
AgeCommit message (Collapse)AuthorLines
2011-01-10Add std.path module for pathname manipulations.Graydon Hoare-0/+22
2011-01-10Fail in new_stdio_reader when libc.fopen fails.Graydon Hoare-2/+3
2011-01-03Add _str.starts_with and ends_with.Graydon Hoare-0/+29
2010-12-31Add std.dbg.trap(str msg) for help debugging.Graydon Hoare-0/+5
2010-12-21Sort methods in object types.Graydon Hoare-0/+25
2010-12-21Add std.sort, with a simple mergesort.Graydon Hoare-0/+50
2010-11-18rustboot: Don't use walk to traverse statements in type.ml; fixes redundant ↵Patrick Walton-0/+10
checking, improves diagnostics. Also report untyped slots.
2010-11-09Teach rustc about const tag value, begin work on trans_copy_ty, make uint's ↵Graydon Hoare-19/+9
to_str routine less clever and thereby resist overflow.
2010-11-09Implement a map2() function in std._vecPatrick Walton-0/+18
2010-11-09Support a special const-value refcount, use it for const strings.Graydon Hoare-4/+17
2010-11-08Add a check for binding an alias. Good thing, as we had two instances in our ↵Graydon Hoare-2/+2
library.
2010-11-05Move the option type to its own modulePatrick Walton-47/+70
2010-11-05Revert "Move the option type to its own module"Patrick Walton-54/+31
2010-11-05Move the option type to its own modulePatrick Walton-31/+54
2010-11-02Shift obj, type, param decls to have strata rather than effects.Graydon Hoare-15/+15
2010-11-02Split out stratum-checking pass, implement more-strict (overly aggressive) ↵Graydon Hoare-19/+19
impure-effect checking.
2010-11-02First pass on splitting stratum and opacity off of effects. WIP.Graydon Hoare-3/+3
2010-10-28rustboot: Emit an error instead of asserting in trans when a T is passed by ↵Patrick Walton-1/+1
value
2010-10-28Revert "rustboot: Emit an error instead of asserting in trans when a T is ↵Patrick Walton-1/+1
passed by value" due to test failures This reverts commit ee901858a27bf00c7dd66e7cfecb9dd97029dba8.
2010-10-28rustboot: Emit an error instead of asserting in trans when a T is passed by ↵Patrick Walton-1/+1
value
2010-10-22rustc: Add an "_" prefix to assembler-generated symbols on MacPatrick Walton-0/+11
2010-10-22Add some filename helpers to os.Graydon Hoare-0/+25
2010-10-22Change vec slice to use uint, add push/pop/shift/unshift.Graydon Hoare-6/+29
2010-10-21eliminated bitv.test, which now lives in test/run-passDave Herman-283/+0
2010-10-21line length police; moved comp.util.bits to std.bitvDave Herman-0/+464
2010-10-18Disable use of parametric tail call in map.rs, they don't presently work.Graydon Hoare-1/+3
2010-10-18Make list.find return an option of different type than the list element.Graydon Hoare-7/+7
2010-10-18Flesh out the std.list module a touch.Graydon Hoare-0/+49
2010-10-15Encode and decode tag types in dwarf properly. Add list module to std. Shift ↵Graydon Hoare-1/+17
rustc to use std.util.option. Fix various dependent bugs. Closes #73.
2010-09-29Patchwork of attempted fixes to effect system and gc system; eventually give ↵Graydon Hoare-15/+15
up and disable it entirely in the runtime. Will need extensive reworking.
2010-09-22Add 'items' iter to hashmap.Graydon Hoare-0/+12
2010-09-22Reformat standard library; no code changes.Graydon Hoare-708/+852
2010-09-22Add some basic string functions: index, rindes, find, substr, split, concat, ↵Graydon Hoare-0/+119
connect.
2010-09-21Tighten pattern parsing on 0-ary constructors.Graydon Hoare-2/+2
2010-09-20Bind pattern slots with ?, drop parens from 0-ary tag constructors, ↵Graydon Hoare-24/+24
translate 0-ary constructors as constants. Rustc loses ~300kb.
2010-09-09Switch tags to purely nominal, removing TY_iso and TY_idx. Seems to mostly ↵Graydon Hoare-3/+11
work, possibly a little bumpy. Changes a lot.
2010-09-06Add a little pointer-cast helper to dbg.Roy Frostig-0/+5
2010-09-03Test multi-ref'ed vec growth more seriously than before.Roy Frostig-0/+5
2010-08-26Test the hashmap more, exercising hash collision, element removal, and a ↵Roy Frostig-6/+11
forced rehashing that actually causes elements to change buckets. In the process, find a bug in hashmap's remove() and fix it.
2010-08-26Make vreg constrs per-quad, regfence on nontrivial constrs, back out ↵Graydon Hoare-3/+1
workaround to _uint, add regression test. Closes #152.
2010-08-26Workaround issue #152 in _uint.next_power_of_twoRoy Frostig-1/+3
2010-08-25Actually switch to using the bigger hashmap once a it finishes growing and ↵Roy Frostig-2/+4
rehashing.
2010-08-25Fix edge case in uint->string conversion.Graydon Hoare-1/+1
2010-08-24Comment on env var required for std.dbg to do any logging.Roy Frostig-0/+3
2010-08-24Add support in dbg.debug_obj for printing the obj body.Roy Frostig-3/+12
2010-08-24Add std.dbg module for inspecting rust values in memory.Roy Frostig-0/+45
2010-08-24Fix mod-bug in std.map, work around bug in closure typaram capture, enable ↵Graydon Hoare-5/+4
insert-tests in lib-map.rs.
2010-08-24Make _str.eq suitable for map.hashmap; add _str.hash that does simple djb-hash.Graydon Hoare-1/+12
2010-08-20Redo _uint.to_str to work with chars and only one tmp str, built left-to-right.Graydon Hoare-19/+37
2010-08-20Test the buffered reader and writer in _io.Roy Frostig-4/+35