aboutsummaryrefslogtreecommitdiff
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* Add std.path module for pathname manipulations.Graydon Hoare2011-01-102-0/+22
|
* Fail in new_stdio_reader when libc.fopen fails.Graydon Hoare2011-01-101-2/+3
|
* Add _str.starts_with and ends_with.Graydon Hoare2011-01-031-0/+29
|
* Add std.dbg.trap(str msg) for help debugging.Graydon Hoare2010-12-311-0/+5
|
* Sort methods in object types.Graydon Hoare2010-12-211-0/+25
|
* Add std.sort, with a simple mergesort.Graydon Hoare2010-12-212-0/+50
|
* rustboot: Don't use walk to traverse statements in type.ml; fixes redundant ↵Patrick Walton2010-11-185-0/+10
| | | | checking, improves diagnostics. Also report untyped slots.
* Teach rustc about const tag value, begin work on trans_copy_ty, make uint's ↵Graydon Hoare2010-11-091-19/+9
| | | | to_str routine less clever and thereby resist overflow.
* Implement a map2() function in std._vecPatrick Walton2010-11-091-0/+18
|
* Support a special const-value refcount, use it for const strings.Graydon Hoare2010-11-093-4/+17
|
* Add a check for binding an alias. Good thing, as we had two instances in our ↵Graydon Hoare2010-11-082-2/+2
| | | | library.
* Move the option type to its own modulePatrick Walton2010-11-057-47/+70
|
* Revert "Move the option type to its own module"Patrick Walton2010-11-055-54/+31
|
* Move the option type to its own modulePatrick Walton2010-11-055-31/+54
|
* Shift obj, type, param decls to have strata rather than effects.Graydon Hoare2010-11-021-15/+15
|
* Split out stratum-checking pass, implement more-strict (overly aggressive) ↵Graydon Hoare2010-11-022-19/+19
| | | | impure-effect checking.
* First pass on splitting stratum and opacity off of effects. WIP.Graydon Hoare2010-11-022-3/+3
|
* rustboot: Emit an error instead of asserting in trans when a T is passed by ↵Patrick Walton2010-10-281-1/+1
| | | | value
* Revert "rustboot: Emit an error instead of asserting in trans when a T is ↵Patrick Walton2010-10-281-1/+1
| | | | | | passed by value" due to test failures This reverts commit ee901858a27bf00c7dd66e7cfecb9dd97029dba8.
* rustboot: Emit an error instead of asserting in trans when a T is passed by ↵Patrick Walton2010-10-281-1/+1
| | | | value
* 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
|