| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2012-02-17 | Clean up some of trans using block combinators | Marijn Haverbeke | -904/+791 | |
| `with_scope` and `with_cond` can be used to wrap a piece of code in a scope block, or conditionalize it on a value, without doing all the context-creation and jumping by hand. Also renames @block_ctxt to block to reduce noise. | ||||
| 2012-02-17 | Simplify get_tydesc's API | Marijn Haverbeke | -44/+22 | |
| 2012-02-17 | Clean up block_ctxt representation | Marijn Haverbeke | -140/+131 | |
| 2012-02-16 | More rigorous reuse of cleanup sequences | Marijn Haverbeke | -153/+170 | |
| In both landing pads and break/cont/ret unwinding. Closes #300 | ||||
| 2012-02-16 | Remove to_zero/to_revoke kludge | Marijn Haverbeke | -71/+25 | |
| It is much simpler to just move by_move args into a temporary alloca. | ||||
| 2012-02-15 | make mut a keyword synonymous with mutable | Niko Matsakis | -130/+142 | |
| first step towards issue #1273 | ||||
| 2012-02-15 | move shape into trans | Niko Matsakis | -0/+0 | |
| 2012-02-15 | Rewrite exhaustiveness checker | Marijn Haverbeke | -72/+119 | |
| Issue #352 Closes #1720 The old checker would happily accept things like 'alt x { @some(a) { a } }'. It now properly descends into patterns, checks exhaustiveness of booleans, and complains when number/string patterns aren't exhaustive. | ||||
| 2012-02-15 | Replace some explicit fails with 'alt check' invocations | Marijn Haverbeke | -78/+37 | |
| 2012-02-15 | Fix bug in safe-reference checker | Marijn Haverbeke | -35/+23 | |
| At some point, a refactor broke the code that handled local declarations to no longer descend into the initializer expressions. Closes #1846 | ||||
| 2012-02-15 | Support 'alt check' syntax | Marijn Haverbeke | -19/+16 | |
| It is only a way to flag an alt as intentionally non-exhaustive right now. Issue #1679 | ||||
| 2012-02-14 | rustc: Translate crust functions | Brian Anderson | -84/+263 | |
| 2012-02-14 | rustc: Add trans_crust_fn. Don't do anything special yet | Brian Anderson | -6/+15 | |
| 2012-02-14 | rustc: Extract native function generation into trans::native | Brian Anderson | -183/+193 | |
| 2012-02-14 | rustc: Translate the value of crust functions | Brian Anderson | -0/+13 | |
| 2012-02-14 | rustc: Typecheck crust functions as *u8 | Brian Anderson | -0/+12 | |
| 2012-02-14 | rustc: Add crust functions to the AST | Brian Anderson | -2/+2 | |
| 2012-02-14 | Fix double-cleanup bug in patch 57c7645cb83e609ff | Marijn Haverbeke | -1/+3 | |
| Things would run fine (probably by sheer luck) but valgrind didn't approve. | ||||
| 2012-02-14 | Allow static method calls to be bound | Marijn Haverbeke | -69/+87 | |
| This allows you to take the value of, for example, `[1].len`, or bind it with `bind x.map(_)` syntax. I'm holding off on implementing this for dynamic methods (those on bounded type parameters or iface types) until it's clearer what we will do with monomorphization. Issue #435 | ||||
| 2012-02-14 | Add [X].len() to core, use it in trans modules | Marijn Haverbeke | -79/+76 | |
| 2012-02-13 | Track purity/unsafety of iface and impl methods | Marijn Haverbeke | -34/+50 | |
| Closes #1807 | ||||
| 2012-02-13 | Fix bug in handling of block functions in last-use analysis | Marijn Haverbeke | -2/+6 | |
| It would fail to start out with a fresh scope when going over a loop or block function for the second time, and thus not recognize last uses of locals defined inside the block. Closes #1818 | ||||
| 2012-02-13 | correct error message and add to test | Niko Matsakis | -1/+1 | |
| 2012-02-13 | do not fail if iface/impl method have different number of parameters | Niko Matsakis | -0/+7 | |
| 2012-02-13 | remove leading ::, new tests | Niko Matsakis | -1/+1 | |
| 2012-02-13 | Make sure simplify_type simplifies all pointer types | Marijn Haverbeke | -19/+17 | |
| This is needed to prevent infinite recursion when computing the shape of an enum type that contains pointers to itself. Closes #1821 | ||||
| 2012-02-12 | (core::str) rename byte_len -> len_bytes and rename char_len -> len | Kevin Cantu | -6/+6 | |
| 2012-02-11 | core: Change the argument order for vec::contains, vec::count | Brian Anderson | -7/+7 | |
| 2012-02-11 | core: Rename vec::member to vec::contains to match str mod | Brian Anderson | -7/+7 | |
| 2012-02-11 | correct fully qualified type names to include the crate; add tests (take 2) | Niko Matsakis | -1/+1 | |
| This reverts commit fc023d91c77f468211ba9f7681b4d2a6469aac74. | ||||
| 2012-02-11 | Revert prior commit until I have time to track down the valgrind error | Niko Matsakis | -1/+1 | |
| This reverts commit 2ec3a0b60833736a3c0d805768885b4392c36100. | ||||
| 2012-02-10 | correct fully qualified type names to include the crate; add tests | Niko Matsakis | -1/+1 | |
| fixes #1745 | ||||
| 2012-02-10 | create serialization lib and update serializer to use it | Niko Matsakis | -1/+1 | |
| 2012-02-10 | use absolute names when pretty-printing types | Niko Matsakis | -25/+33 | |
| 2012-02-10 | put serializer into the build and encode full item paths | Niko Matsakis | -0/+53 | |
| 2012-02-10 | create serializer project which autogenerates serialization code | Niko Matsakis | -1/+15 | |
| 2012-02-10 | Remove dead code | Niko Matsakis | -37/+0 | |
| 2012-02-10 | Remove a vestige of return-by-reference | Marijn Haverbeke | -53/+29 | |
| 2012-02-10 | Fix mistake in typechecker error refactor | Marijn Haverbeke | -1/+1 | |
| 2012-02-10 | Add compile-fail tests for interfaces/impls | Marijn Haverbeke | -9/+9 | |
| Closes #1475 | ||||
| 2012-02-10 | Represent boxed ifaces in a way similar to functions | Marijn Haverbeke | -284/+66 | |
| They are now a (dictptr, box) pair, where box is a regular boxed representation of the inner type. This cuts down on some special case code. Also removes some code from trans::base that was moved to shape but then somehow restored in trans::base through a bad merge. Starts on issue #1567 | ||||
| 2012-02-10 | Complain about multiple methods in scope only once | Marijn Haverbeke | -3/+6 | |
| Closes #1803 | ||||
| 2012-02-09 | suppress warning | Tim Chevalier | -2/+2 | |
| 2012-02-09 | Further WIP on classes | Tim Chevalier | -6/+58 | |
| Changes to resolve and typeck. Still nothning working yet. | ||||
| 2012-02-09 | Fix bug in decoding of method metadata | Marijn Haverbeke | -1/+1 | |
| 2012-02-09 | Fix various bugs in monomorphization | Marijn Haverbeke | -64/+81 | |
| Enough to be able to compile librustc with --monomorphize. Issue #1736 | ||||
| 2012-02-09 | Remove some pointless imports | Marijn Haverbeke | -51/+7 | |
| 2012-02-09 | Increase precedence of as operator | Marijn Haverbeke | -4/+3 | |
| Closes #1717 | ||||
| 2012-02-09 | Monomorphize methods and bounded parameters | Marijn Haverbeke | -39/+143 | |
| Issue #1736 | ||||
| 2012-02-08 | A bit more WIP on classes, and some cleanup in resolve | Tim Chevalier | -83/+131 | |
