| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | stdlib: Provide a function to extract the underlying buf_writer from a writer | Patrick Walton | 2011-03-22 | 1 | -0/+9 |
| | | |||||
| * | stdlib: Add EBML writing functionality | Patrick Walton | 2011-03-22 | 1 | -2/+67 |
| | | |||||
| * | stdlib: Add a convenience method for opening paths as a FILE | Patrick Walton | 2011-03-22 | 1 | -0/+10 |
| | | |||||
| * | stdlib: Make writers seekable; switch file writers to the C FILE interface ↵ | Patrick Walton | 2011-03-22 | 5 | -14/+101 |
| | | | | | to make this work | ||||
| * | Revert "Remove usages of case(_) { fail; } since the compiler does this ↵ | Patrick Walton | 2011-03-22 | 2 | -0/+2 |
| | | | | | | | automatically". When we have exhaustiveness checking, "case(_) { fail; }" will be useful to silence warnings. This reverts commit 92a716d862d92d3cc52a400457d2c3900d0c57a2. | ||||
| * | lib: Add an EBML reader module | Patrick Walton | 2011-03-22 | 2 | -0/+110 |
| | | |||||
| * | Remove usages of case(_) { fail; } since the compiler does this automatically | Brian Anderson | 2011-03-22 | 2 | -2/+0 |
| | | |||||
| * | Add a "last" function to return the last element of a vector to the standard ↵ | Patrick Walton | 2011-03-21 | 1 | -0/+12 |
| | | | | | library | ||||
| * | Add a binding to ftell() | Patrick Walton | 2011-03-21 | 4 | -0/+7 |
| | | |||||
| * | Switch win32 path_sep to '/', add comment explaining a bit. | Graydon Hoare | 2011-03-20 | 1 | -1/+7 |
| | | |||||
| * | Add slightly nicer failure message to io.rs when it can't open a file. | Graydon Hoare | 2011-03-20 | 1 | -1/+4 |
| | | |||||
| * | rustc: Fix list.foldl() to pass its second argument by alias | Patrick Walton | 2011-03-18 | 1 | -2/+2 |
| | | |||||
| * | rustc: Box the tuples returned by hashmap.items() for now since we don't ↵ | Patrick Walton | 2011-03-18 | 1 | -3/+3 |
| | | | | | have alias iterators yet | ||||
| * | Fix bug in string comparison. std.rc typechecks now. | Patrick Walton | 2011-03-18 | 1 | -1/+1 |
| | | |||||
| * | Add "mutable?" to _vec in the standard library; fix callers | Patrick Walton | 2011-03-18 | 4 | -19/+20 |
| | | |||||
| * | Add some mutable variants of vector functions to the standard library | Patrick Walton | 2011-03-18 | 1 | -0/+25 |
| | | |||||
| * | Make some standard library pieces no longer dependent on mutable parameters, ↵ | Patrick Walton | 2011-03-18 | 2 | -10/+14 |
| | | | | | which rustc doesn't support | ||||
| * | Add an option.is_none() method | Patrick Walton | 2011-03-17 | 1 | -0/+7 |
| | | |||||
| * | rustc: Add str_from_cstr() and str_from_buf() functions to the standard ↵ | Patrick Walton | 2011-03-16 | 1 | -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 Hoare | 2011-03-16 | 2 | -3/+7 |
| | | | | | easier for now. | ||||
| * | Switch all vases of vec += elt to vec += vec. Prohibit former in rustboot. ↵ | Graydon Hoare | 2011-03-16 | 10 | -60/+134 |
| | | | | | Tweak std lib vec fns in process. | ||||
| * | Typo: FIXE -> FIXME | Patrick Walton | 2011-03-15 | 1 | -1/+1 |
| | | |||||
| * | Add a fs.connect() function to join paths | Patrick Walton | 2011-03-15 | 1 | -0/+8 |
| | | |||||
| * | Add an OS-specific dylib_filename() function to the standard library | Patrick Walton | 2011-03-15 | 3 | -0/+12 |
| | | |||||
| * | Put out darwin fire. | Graydon Hoare | 2011-03-14 | 1 | -1/+2 |
| | | |||||
| * | Add _int.pow | Brian Anderson | 2011-03-14 | 1 | -0/+17 |
| | | |||||
| * | Add functionality for running external programs to the std lib | Marijn Haverbeke | 2011-03-14 | 6 | -2/+182 |
| | | | | | See lib/run_program.rs. | ||||
| * | Extend stream functionality | Marijn Haverbeke | 2011-03-14 | 4 | -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 functionality | Marijn Haverbeke | 2011-03-14 | 10 | -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 Hoare | 2011-03-09 | 11 | -29/+2 |
| | | | | | root within std.rc anyway) | ||||
| * | Have the pretty-printer take a writer stream as argument | Marijn Haverbeke | 2011-03-09 | 1 | -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.io | Marijn Haverbeke | 2011-03-09 | 1 | -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-printer | Marijn Haverbeke | 2011-03-07 | 1 | -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 FIXME | Brian Anderson | 2011-03-06 | 1 | -19/+8 |
| | | |||||
| * | Make _str.bytes use _vec.init_fn. Remove FIXME. | Brian Anderson | 2011-03-06 | 1 | -18/+3 |
| | | |||||
| * | Rustify some comments lifted directly from the sha-1 reference implementation | Brian Anderson | 2011-02-22 | 1 | -2/+2 |
| | | |||||
| * | Rename std._io to std.io since 'io' is no longer a keyword | Brian Anderson | 2011-02-22 | 2 | -2/+2 |
| | | |||||
| * | Implement sha-1 in standard library. Closes #228 | Brian Anderson | 2011-02-21 | 2 | -0/+285 |
| | | |||||
| * | Add std.path module for pathname manipulations. | Graydon Hoare | 2011-01-10 | 2 | -0/+22 |
| | | |||||
| * | Fail in new_stdio_reader when libc.fopen fails. | Graydon Hoare | 2011-01-10 | 1 | -2/+3 |
| | | |||||
| * | Add _str.starts_with and ends_with. | Graydon Hoare | 2011-01-03 | 1 | -0/+29 |
| | | |||||
| * | Add std.dbg.trap(str msg) for help debugging. | Graydon Hoare | 2010-12-31 | 1 | -0/+5 |
| | | |||||
| * | Sort methods in object types. | Graydon Hoare | 2010-12-21 | 1 | -0/+25 |
| | | |||||
| * | Add std.sort, with a simple mergesort. | Graydon Hoare | 2010-12-21 | 2 | -0/+50 |
| | | |||||
| * | rustboot: Don't use walk to traverse statements in type.ml; fixes redundant ↵ | Patrick Walton | 2010-11-18 | 5 | -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 Hoare | 2010-11-09 | 1 | -19/+9 |
| | | | | | to_str routine less clever and thereby resist overflow. | ||||
| * | Implement a map2() function in std._vec | Patrick Walton | 2010-11-09 | 1 | -0/+18 |
| | | |||||
| * | Support a special const-value refcount, use it for const strings. | Graydon Hoare | 2010-11-09 | 3 | -4/+17 |
| | | |||||
| * | Add a check for binding an alias. Good thing, as we had two instances in our ↵ | Graydon Hoare | 2010-11-08 | 2 | -2/+2 |
| | | | | | library. | ||||
| * | Move the option type to its own module | Patrick Walton | 2010-11-05 | 7 | -47/+70 |
| | | |||||