| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2011-04-17 | Support #fmt precision for signed types | Brian Anderson | -37/+46 | |
| 2011-04-17 | Support #fmt precision for unsigned types | Brian Anderson | -11/+49 | |
| 2011-04-17 | Support #fmt precision for string types | Brian Anderson | -2/+25 | |
| 2011-04-16 | Support left-justification in #fmt conversions | Brian Anderson | -3/+29 | |
| 2011-04-16 | Make #fmt support explicit conversion widths | Brian Anderson | -9/+45 | |
| 2011-04-15 | stdlib: Add some vector functions: empty, empty_mut, grow_set, and freeze. ↵ | Patrick Walton | -4/+31 | |
| Change _vec.grow to use uint arguments. | ||||
| 2011-04-14 | rustc: Use union-find for variable substitution | Patrick Walton | -16/+12 | |
| 2011-04-13 | Add support for upper-case hex and binary output to #fmt. | Brian Anderson | -0/+24 | |
| Only works for uints at present. Necessitated the addition of _str.to_upper. | ||||
| 2011-04-13 | Add more commentary about ExtFmt | Brian Anderson | -1/+30 | |
| 2011-04-13 | Add support for printing uints as lower-case hex to ExtFmt. | Brian Anderson | -5/+22 | |
| Begin passing an ExtFmt.RT.conv parsed format description to each of the ExtFmt.RT.conv* functions. | ||||
| 2011-04-13 | Move #fmt conversion model into ExtFmt.CT namespace | Brian Anderson | -44/+44 | |
| 2011-04-13 | Make expr_while work in typestate_check | Tim Chevalier | -0/+11 | |
| Also did some refactoring in typestate_check. All test cases in compile-fail that involve uninitialized vars now fail correctly! (All eight of them, that is.) | ||||
| 2011-04-13 | Slight updates to match API drift in io, lib-io.rs passes. | Graydon Hoare | -1/+1 | |
| 2011-04-12 | Further work on typestate. Handles expr_rec and expr_assign now. | Tim Chevalier | -3/+12 | |
| Also changed the ts_ann field on statements to be an ann instead, which explains most of the changes. As well, got rid of the "warning: no type for expression" error by filling in annotations for local decls in typeck (not sure whether this was my fault or not). Finally, in bitv, added a clone() function to copy a bit vector, and fixed is_true, is_false, and to_str to not be nonsense. | ||||
| 2011-04-11 | Factor out creation of calls into ExtFmt.RT | Brian Anderson | -4/+4 | |
| 2011-04-11 | Add support for bool, char to extfmt. | Brian Anderson | -0/+12 | |
| XFAIL syntax-extension-fmt in rustboot. | ||||
| 2011-04-11 | Move ExtFmt compile-time functions into their own module | Brian Anderson | -170/+173 | |
| 2011-04-11 | Use correct indentation for ExtFmt.rs | Brian Anderson | -6/+15 | |
| 2011-04-11 | Make ExtFmt call its own functions instead of others defined in std | Brian Anderson | -0/+11 | |
| 2011-04-11 | Move extfmt parsing into standard library | Brian Anderson | -0/+213 | |
| 2011-04-11 | Move the extfmt data model into the standard library. | Brian Anderson | -0/+48 | |
| 2011-04-09 | Make lexer buffer the whole file | Marijn Haverbeke | -0/+8 | |
| This way, it won't have to go through a bunch of calls for each byte fetched. | ||||
| 2011-04-08 | Implemented computing prestates and poststates for a few expression forms. | Tim Chevalier | -0/+15 | |
| The typestate checker (if it's uncommented) now correctly rejects a trivial example program that has an uninitialized variable. | ||||
| 2011-04-07 | stdlib: Add a simple union-find data structure | Patrick Walton | -0/+43 | |
| 2011-04-08 | Re-add a read_byte() method to buf_reader objs | Marijn Haverbeke | -20/+18 | |
| This was removed because of the repetition, but doing single-byte reads in terms of read_bytes (which allocates a vec) is needlessly slow. This change speeds up parsing by 22%. (Eventually, we won't be able to escape handling the buffering in the stdlib itself.) | ||||
| 2011-04-07 | Revise EBML reader API | Marijn Haverbeke | -89/+77 | |
| New one is less stateful, easier to work with. | ||||
| 2011-04-06 | Continued sketching out code for checking states against preconditions. | Tim Chevalier | -0/+62 | |
| It's still sketchy. I added a typestate annotation field to statements tagged stmt_decl or stmt_expr, because a stmt_decl statement has a typestate that's different from that of its child node. This necessitated trivial changes to a bunch of other files all over to the compiler. I also added a few small standard library functions, some of which I didn't actually end up using but which I thought might be useful anyway. | ||||
| 2011-04-01 | Started adding support for typestate checking. | Tim Chevalier | -0/+23 | |
| I added a new field to the ast "ann" type for typestate information. Currently, the field contains a record of a precondition bit vector and postcondition vector, but I tried to structure things so as to make it easy to change the representation of the typestate annotation type. I also had to add annotations to some syntactic forms that didn't have them before (fail, ret, be...), with all the boilerplate changes that that would imply. The main call to the typestate_check entry point is commented out and the actual pre-postcondition algorithm only has a few cases implemented, though the overall AST traversal is there. The rest of the typestate algorithm isn't implemented yet. | ||||
| 2011-03-31 | rustc: Use the crate index to look up defs | Patrick Walton | -0/+32 | |
| 2011-03-31 | stdlib: Add a write_be_uint() function to writers | Patrick Walton | -0/+14 | |
| 2011-03-26 | Add a result_str method to std.sha1.sha1. | Graydon Hoare | -0/+12 | |
| 2011-03-25 | rustc: Parse definition IDs from crates; add a function to parse unsigned ↵ | Patrick Walton | -0/+12 | |
| ints to the standard library | ||||
| 2011-03-25 | rustc: Look up names in "use"d crates | Patrick Walton | -6/+18 | |
| 2011-03-25 | stdlib: Implement a memory buffer reader, untested at the moment | Patrick Walton | -22/+61 | |
| 2011-03-25 | stdlib: Separate basic I/O reading functionality into a separate buf_reader ↵ | Patrick Walton | -25/+85 | |
| object, like writing | ||||
| 2011-03-25 | Start making the standard-lib utf-8 aware | Marijn Haverbeke | -42/+229 | |
| Finally implements _str.is_utf8, adds from_chars, from_char, to_chars, char_at, char_len, (push|pop|shift|unshift)_char. Also, proper character I/O for streams. | ||||
| 2011-03-24 | rustc: Open "use"d crates; add a _vec.vec_from_buf() method along the way; ↵ | Patrick Walton | -1/+7 | |
| XFAIL use-import-export.rs in rustc | ||||
| 2011-03-22 | stdlib: Provide a function to extract the underlying buf_writer from a writer | Patrick Walton | -0/+9 | |
| 2011-03-22 | stdlib: Add EBML writing functionality | Patrick Walton | -2/+67 | |
| 2011-03-22 | stdlib: Add a convenience method for opening paths as a FILE | Patrick Walton | -0/+10 | |
| 2011-03-22 | stdlib: Make writers seekable; switch file writers to the C FILE interface ↵ | Patrick Walton | -14/+101 | |
| to make this work | ||||
| 2011-03-22 | Revert "Remove usages of case(_) { fail; } since the compiler does this ↵ | Patrick Walton | -0/+2 | |
| automatically". When we have exhaustiveness checking, "case(_) { fail; }" will be useful to silence warnings. This reverts commit 92a716d862d92d3cc52a400457d2c3900d0c57a2. | ||||
| 2011-03-22 | lib: Add an EBML reader module | Patrick Walton | -0/+110 | |
| 2011-03-22 | Remove usages of case(_) { fail; } since the compiler does this automatically | Brian Anderson | -2/+0 | |
| 2011-03-21 | Add a "last" function to return the last element of a vector to the standard ↵ | Patrick Walton | -0/+12 | |
| library | ||||
| 2011-03-21 | Add a binding to ftell() | Patrick Walton | -0/+7 | |
| 2011-03-20 | Switch win32 path_sep to '/', add comment explaining a bit. | Graydon Hoare | -1/+7 | |
| 2011-03-20 | Add slightly nicer failure message to io.rs when it can't open a file. | Graydon Hoare | -1/+4 | |
| 2011-03-18 | rustc: Fix list.foldl() to pass its second argument by alias | Patrick Walton | -2/+2 | |
| 2011-03-18 | rustc: Box the tuples returned by hashmap.items() for now since we don't ↵ | Patrick Walton | -3/+3 | |
| have alias iterators yet | ||||
