aboutsummaryrefslogtreecommitdiff
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Add a binding to ftell()Patrick Walton2011-03-214-0/+7
|
* Switch win32 path_sep to '/', add comment explaining a bit.Graydon Hoare2011-03-201-1/+7
|
* Add slightly nicer failure message to io.rs when it can't open a file.Graydon Hoare2011-03-201-1/+4
|
* rustc: Fix list.foldl() to pass its second argument by aliasPatrick Walton2011-03-181-2/+2
|
* rustc: Box the tuples returned by hashmap.items() for now since we don't ↵Patrick Walton2011-03-181-3/+3
| | | | have alias iterators yet
* Fix bug in string comparison. std.rc typechecks now.Patrick Walton2011-03-181-1/+1
|
* Add "mutable?" to _vec in the standard library; fix callersPatrick Walton2011-03-184-19/+20
|
* Add some mutable variants of vector functions to the standard libraryPatrick Walton2011-03-181-0/+25
|
* Make some standard library pieces no longer dependent on mutable parameters, ↵Patrick Walton2011-03-182-10/+14
| | | | which rustc doesn't support
* Add an option.is_none() methodPatrick Walton2011-03-171-0/+7
|
* rustc: Add str_from_cstr() and str_from_buf() functions to the standard ↵Patrick Walton2011-03-161-0/+10
| | | | library, as well as a test case
* Remove uses of 'break' in std lib; rustc doesn't support it yet, this is ↵Graydon Hoare2011-03-162-3/+7
| | | | easier for now.
* Switch all vases of vec += elt to vec += vec. Prohibit former in rustboot. ↵Graydon Hoare2011-03-1610-60/+134
| | | | Tweak std lib vec fns in process.
* Typo: FIXE -> FIXMEPatrick Walton2011-03-151-1/+1
|
* Add a fs.connect() function to join pathsPatrick Walton2011-03-151-0/+8
|
* Add an OS-specific dylib_filename() function to the standard libraryPatrick Walton2011-03-153-0/+12
|
* Put out darwin fire.Graydon Hoare2011-03-141-1/+2
|
* Add _int.powBrian Anderson2011-03-141-0/+17
|
* Add functionality for running external programs to the std libMarijn Haverbeke2011-03-146-2/+182
| | | | See lib/run_program.rs.
* Extend stream functionalityMarijn Haverbeke2011-03-144-81/+129
| | | | | | Writer and reader streams now come with methods to write and read little-endian numbers. Whether that is the right place for such methods is debatable, but for now, that's where they live.
* Add basic file-system functionalityMarijn Haverbeke2011-03-1410-40/+86
| | | | | std.fs.list_dir will list the files in a directory, std.fs.file_is_dir will, given a pathname, determine whether it is a directory or not.
* Remove redundant imports in lib (rustc doesn't like 'std' as a synonym for ↵Graydon Hoare2011-03-0911-29/+2
| | | | root within std.rc anyway)
* Have the pretty-printer take a writer stream as argumentMarijn Haverbeke2011-03-091-21/+22
| | | | | It now uses a string writer to also fill in for middle.ty.ast_ty_to_str
* Add stdout_writer and string_writer to std.ioMarijn Haverbeke2011-03-091-23/+48
| | | | | For use by pretty-printer. string_writer API is a bit silly right now, feel free to suggest a cleaner way to do this.
* Add a pretty-printerMarijn Haverbeke2011-03-071-13/+17
| | | | | Adds a -pp option to the compiler which will cause it to simply pretty-print the given file.
* Change io.fileflag to a tag type. Remove FIXMEBrian Anderson2011-03-061-19/+8
|
* Make _str.bytes use _vec.init_fn. Remove FIXME.Brian Anderson2011-03-061-18/+3
|
* Rustify some comments lifted directly from the sha-1 reference implementationBrian Anderson2011-02-221-2/+2
|
* Rename std._io to std.io since 'io' is no longer a keywordBrian Anderson2011-02-222-2/+2
|
* Implement sha-1 in standard library. Closes #228Brian Anderson2011-02-212-0/+285
|
* 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