aboutsummaryrefslogtreecommitdiff
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Address _vec.map allocation FIXME. Add test.Roy Frostig2010-08-031-6/+2
|
* Address _vec.grow FIXME, as issue #89 has been closed.Roy Frostig2010-08-031-4/+1
|
* Pass parametric types by-alias in various stdlib spots.Roy Frostig2010-08-033-5/+5
|
* More stdlib hashmap bits (plus some drive-by extras).Roy Frostig2010-08-033-34/+89
|
* Test the deque more and fix uncovered off-by-one bug.Roy Frostig2010-07-281-8/+6
|
* Test the deque a bit. Give it a get-by-index method. Fix two uncovered ↵Roy Frostig2010-07-281-0/+7
| | | | state-calculation bugs --- one decently, the other with an ugly hack. Bug on the latter coming right up.
* Switch machine-type lexemes to use suffixes. Remove support for foo(bar) as ↵Graydon Hoare2010-07-276-54/+54
| | | | a cast notation. Closes #129.
* Expose an RNG (the one used by our runtime) to Rust via std.Roy Frostig2010-07-252-0/+27
|
* Notify copy glue of dst-initialization and fix _vec.alloc issues in lib and ↵Roy Frostig2010-07-221-2/+5
| | | | runtime. Closes #109.
* Source FIXME annotations for issue #81 and a correction to STMT_bind fmt.Roy Frostig2010-07-221-5/+7
|
* Add a (coarse, first-pass) deque implementation to stdlib.Roy Frostig2010-07-204-7/+155
|
* Add incomplete hashmap implementation to stdlib.Roy Frostig2010-07-162-0/+169
|
* Ensure that functions that should return a value do; issue 41Patrick Walton2010-07-162-0/+2
|
* Implement the "simple typechecker", which avoids HM inferencePatrick Walton2010-07-152-2/+2
|
* Add a _vec.slice function that'll hold us over until .(a,b) syntax isJeffrey Yasskin2010-07-161-0/+15
| | | | | implemented. This could actually replace .(a,b) syntax if the language grows optional function parameters.
* Modify _io's fd_buf_reader to do something slightly more useful: produce ↵Graydon Hoare2010-07-131-13/+33
| | | | multiple buffers on demand.
* Add differently-typed refcount synonyms to _str and _vec.Graydon Hoare2010-07-132-0/+2
|
* Change from 'spawner' to 'supervisor' in rust_task, and add an unsupervise call.Graydon Hoare2010-07-051-0/+1
|
* Uint-ify various bits of _str and _vec, enrich _vec a bit.Graydon Hoare2010-07-052-8/+38
|
* Teach the dwarf readers to handle udata, so we can link with util.option; ↵Graydon Hoare2010-07-051-0/+4
| | | | add util.rs to std.rc.
* Rename some stuff in lib/util.rs.Graydon Hoare2010-07-051-2/+2
|
* Gut the box[m][o] family from util.Roy Frostig2010-07-021-26/+0
|
* The few and proud isolated bits from stdlib-work so far that don't break ↵Roy Frostig2010-06-283-0/+63
| | | | everything. Note util.rs hasn't yet been declared mod in the std crate. Don't do that yet, as it breaks make check.
* Only translate or dwarf-emit items or stubs locally defined or used. Avoids ↵Graydon Hoare2010-06-271-0/+13
| | | | instantiating O(sizeof(standard-library)) worth of imports stubs on each 'use std'. Closes issue 13.
* Add callable gc method exposed to user code, use it in mlist-cycle.rs test ↵Graydon Hoare2010-06-251-0/+1
| | | | (still not quite working; some memory corruption in the recursive tag constructors, not the GC)
* Populate tree.Graydon Hoare2010-06-2310-0/+218