| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2011-09-14 | Accept returning refs rooted in an arg from a by-ref funtion | Marijn Haverbeke | -21/+49 | |
| Issue #918 | ||||
| 2011-09-14 | Make ast_map.rs index function args, switch it over to simple_visitor | Marijn Haverbeke | -12/+16 | |
| 2011-09-14 | Remove some extra white-space introduced by the pretty-printer | Marijn Haverbeke | -17/+1 | |
| 2011-09-14 | Disallow implicit arg copying when the function returns a ref | Marijn Haverbeke | -1/+2 | |
| Issue #918 | ||||
| 2011-09-14 | Add support for basic return-by-alias to trans | Marijn Haverbeke | -58/+75 | |
| Issue #918 | ||||
| 2011-09-14 | Clean up trans_obj.rs a bit | Marijn Haverbeke | -30/+21 | |
| As a preparation to adding an arg to type_of_fn_full | ||||
| 2011-09-14 | Add a ret_style field to fn_ctxt in trans | Marijn Haverbeke | -9/+19 | |
| 2011-09-14 | Simplify trans::new_fn_ctxt_w_id | Marijn Haverbeke | -20/+8 | |
| It was still living in the pre-decent-type-inference era. | ||||
| 2011-09-14 | Rudimentary checking of safe alias returns | Marijn Haverbeke | -27/+52 | |
| 2011-09-14 | Rename restrict to binding in alias.rs | Marijn Haverbeke | -75/+66 | |
| Its role gradually changed to the point where the old name doesn't really make sense anymore. | ||||
| 2011-09-14 | Stop needlessly boxing vectors in alias.rs | Marijn Haverbeke | -22/+20 | |
| 2011-09-14 | Make most of the compiler aware of return-by-reference | Marijn Haverbeke | -31/+34 | |
| tyencode/tydecode still don't know about it. return_ref will be extended to take arguments anyway. | ||||
| 2011-09-14 | Refactor parse_ret_ty, start parsing by-alias return specs | Marijn Haverbeke | -51/+24 | |
| 2011-09-14 | Rename ast::controlflow to ast::ret_style | Marijn Haverbeke | -61/+58 | |
| It will include information about returning by alias. | ||||
| 2011-09-14 | Add support for negative literals. | Josh Matthews | -6/+31 | |
| 2011-09-13 | Try harder still to generate fewer landing pads | Brian Anderson | -1/+19 | |
| Scopes that don't have cleanups don't need their own landing pads This takes the optimized rustc bin from 4.7MB to 4.4 | ||||
| 2011-09-13 | Try a little harder to avoid creating new landing pads | Brian Anderson | -10/+11 | |
| It's only when we add or revoke cleanups involving immediates that we need a new landing pad for the scope. Trims 5K off the optimized rustc bin | ||||
| 2011-09-13 | Reuse landing pads when possible | Brian Anderson | -7/+32 | |
| Cuts the optimized rustc bin from 5.2 to 4.7MB | ||||
| 2011-09-13 | Print something when we can't figure out a tag name. Mitigates #876. | Michael Sullivan | -5/+2 | |
| 2011-09-13 | Add missing cases for machine floats in shape.rs | Marijn Haverbeke | -3/+2 | |
| 2011-09-13 | Improve lexing of float literals | Marijn Haverbeke | -39/+36 | |
| Closes #575 | ||||
| 2011-09-13 | Properly pretty-print 10.x | Marijn Haverbeke | -1/+9 | |
| Closes #890 | ||||
| 2011-09-13 | Make pretty-printer wrap fail/ret/put in parens in call/index/field pos | Marijn Haverbeke | -10/+14 | |
| Closes #764 Closes #891 | ||||
| 2011-09-13 | Ensure that the declared type and actual type of a constant agree | Marijn Haverbeke | -0/+7 | |
| Closes #899 | ||||
| 2011-09-13 | Be more strict about what constitutes a block expression | Marijn Haverbeke | -9/+37 | |
| Blocks (or statements involving blocks) that end in a semicolon are no longer considered the block-expression of their outer block. This used to be an expression block, but now is a statement block: { if foo { ret 1; } else { ret 10; } } This helps clear up some ambiguities in our grammar. | ||||
| 2011-09-13 | Always warn when implicitly copying a generic type | Marijn Haverbeke | -12/+10 | |
| 2011-09-13 | Properly alias-check bindings in for-each loops | Marijn Haverbeke | -40/+32 | |
| 2011-09-13 | Clean up copy bookkeeping in alias.rs | Marijn Haverbeke | -36/+34 | |
| 2011-09-13 | Make for loop alias-safe | Marijn Haverbeke | -54/+46 | |
| 2011-09-13 | Apply implicit copying for unsafe references to alt patterns | Marijn Haverbeke | -58/+135 | |
| 2011-09-12 | Kill trailing whitespace. | Graydon Hoare | -2/+2 | |
| 2011-09-12 | Factor imports mindlessly. | Graydon Hoare | -750/+257 | |
| 2011-09-12 | Merge branch 'unwind' | Brian Anderson | -105/+490 | |
| Conflicts: src/comp/middle/trans.rs src/comp/middle/trans_build.rs src/lib/run_program.rs src/test/compiletest/runtest.rs | ||||
| 2011-09-12 | Undo some pretty-printer damage in ty.rs | Marijn Haverbeke | -134/+26 | |
| 2011-09-12 | Rename alias to reference in docs and error messages | Marijn Haverbeke | -12/+13 | |
| Update docs to reflect new approach to aliases | ||||
| 2011-09-12 | Warn when inserting an implicit copy that may be expensive | Marijn Haverbeke | -16/+53 | |
| 2011-09-12 | Properly implement copy expressions | Marijn Haverbeke | -20/+42 | |
| (And use them in some places that were doing {expr} before.) | ||||
| 2011-09-12 | Remove backwards-compatibility with old arg-mode syntax | Marijn Haverbeke | -3/+0 | |
| 2011-09-12 | Pretty-print for new arg-mode syntax | Marijn Haverbeke | -250/+311 | |
| 2011-09-12 | Register second snapshot for argument-mode transition | Marijn Haverbeke | -0/+5 | |
| 2011-09-12 | Switch pretty-printer to new arg-mode syntax | Marijn Haverbeke | -2/+2 | |
| 2011-09-12 | Accept {|| ... } for argument-less block syntax | Marijn Haverbeke | -4/+8 | |
| Closes #880 | ||||
| 2011-09-12 | Reformat for new mode syntax, step 1 | Marijn Haverbeke | -3359/+3364 | |
| Long lines were fixed in a very crude way, as I'll be following up with another reformat in a bit. | ||||
| 2011-09-12 | Register new snapshot | Marijn Haverbeke | -0/+5 | |
| 2011-09-12 | Fix tests for new argument-passing convention | Marijn Haverbeke | -27/+33 | |
| 2011-09-12 | Make the names of the arg mode tag reflect their (revised) meaning | Marijn Haverbeke | -91/+54 | |
| 2011-09-12 | Pass all arguments by reference, make immut alias mode equiv to value | Marijn Haverbeke | -158/+188 | |
| Arguments that can't be safely referenced will be implicitly copied. (Warnings for expensive copies will be forthcoming.) This will allow us to get rid of most of the ampersands in function signatures. See [1]. [1] https://mail.mozilla.org/pipermail/rust-dev/2011-September/000759.html | ||||
| 2011-09-11 | XFAIL bench/shootout-nbody | Brian Anderson | -0/+1 | |
| This is the only file in the whole codebase that depends on the (broken) llvm native ABI. | ||||
| 2011-09-11 | Add an XFAILed test for native "llvm" modules | Brian Anderson | -0/+10 | |
| This functionality is completely broken | ||||
| 2011-09-11 | Actually fail the process when compiletest has a test failure | Brian Anderson | -1/+2 | |
| We previously failed by coincidence because of memory leaks. | ||||
