| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2011-07-22 | Fix unboxing in alias pass | Marijn Haverbeke | -15/+27 | |
| The alias checker would only deref once for autoderef, and only deref boxes. It should now do the right thing. Closes #725. | ||||
| 2011-07-21 | Removing unnecessary argument from process_fwding_mthd(). | Lindsey Kuper | -6/+1 | |
| 2011-07-21 | Clean up build_environment by having it return a rec with usefully named fields. | Michael Sullivan | -7/+5 | |
| 2011-07-21 | Add some useful functions to freevars. | Michael Sullivan | -2/+25 | |
| 2011-07-21 | Add some support for using a map like a set. | Michael Sullivan | -0/+5 | |
| 2011-07-21 | Move a bunch of trans into trans_common, including the context structures. | Michael Sullivan | -388/+369 | |
| Probably more should be moved or split off into other files. My algorithm was something along the lines of: move the contexts and their transitive dependencies along with some functions to work with them. I stopped when I was going to have to start pulling glue generation, which really should go into a trans_glue file. | ||||
| 2011-07-21 | Make ty::ctxt be boxed. | Michael Sullivan | -50/+45 | |
| Arguably we should leave ty_ctxt as a bare rec and just always work with boxes of it. This winds up being simpler and prettier, though. | ||||
| 2011-07-21 | Instantiate function preconditions inside the function body | Tim Chevalier | -6/+53 | |
| so that if we have a function like: f(...) : p(x) { ... } p(x) is true inside the body of f. Closes #694. | ||||
| 2011-07-21 | Move ast_constr_to_constr from typeck to ty | Tim Chevalier | -22/+24 | |
| so that it can be used in places that import ty. | ||||
| 2011-07-21 | Now with more type inference. | Lindsey Kuper | -43/+42 | |
| 2011-07-21 | Comments and cleanup. | Lindsey Kuper | -4/+3 | |
| 2011-07-21 | Consolidate obj_field_from_anon_obj_field(). | Lindsey Kuper | -10/+8 | |
| 2011-07-21 | Remove vestiges of typarams from anon objs. | Lindsey Kuper | -77/+35 | |
| 2011-07-21 | Improving move semantics for channel operations. | Eric Holk | -4/+5 | |
| This lets us un-XFAIL task-comm-10.rs. | ||||
| 2011-07-21 | Lots of work on memory tracking and channels. | Eric Holk | -55/+59 | |
| We're trying to get closer to doing correct move semantics for channel operations. This involves a lot of cleanup (such as removing the unused sched parameter from rust_vec constructor) and making circular_buffer kernel_owned. Added tagging for memory allocations. This means we give a string tag to everything we allocate. If we leak something and TRACK_ALLOCATIONS is enabled, then it's much easier now to tell exactly what is leaking. | ||||
| 2011-07-21 | Revert "rustc: Avoid SHA-1 hashing every type, since they're interned" | Patrick Walton | -9/+29 | |
| This reverts commit df90f57a5f76059394abd8328d30003b844cb497. | ||||
| 2011-07-21 | rustc: Box raw types. Shaves about 5 seconds off compilation. | Patrick Walton | -17/+17 | |
| 2011-07-21 | rustc: Avoid SHA-1 hashing every type, since they're interned | Patrick Walton | -29/+9 | |
| 2011-07-21 | Make the pretty-printer output paren-free and case-free code | Marijn Haverbeke | -19/+19 | |
| We should probably do another pretty-printing pass soon. | ||||
| 2011-07-20 | rustc: Remove cnames for now | Patrick Walton | -1/+2 | |
| 2011-07-20 | rustc: Strip cnames before generating glue to avoid duplicates | Patrick Walton | -2/+11 | |
| 2011-07-20 | rustc: Translate functions only once | Patrick Walton | -0/+1 | |
| 2011-07-20 | Box the vec of freevars we store in the freevars cache. | Michael Sullivan | -6/+6 | |
| 2011-07-20 | Parse nil literals (including in patterns) | Tim Chevalier | -0/+5 | |
| Closes #622. | ||||
| 2011-07-20 | Refactoring and cleaning up. | Lindsey Kuper | -16/+11 | |
| 2011-07-20 | Fix typo. | Rafael Ávila de Espíndola | -1/+1 | |
| 2011-07-20 | give rust_metadata internal linkage but mark it as used. This allows | Rafael Ávila de Espíndola | -0/+11 | |
| multiple static crates to be used. | ||||
| 2011-07-19 | Add missing case in tyencode for ty_constr | Tim Chevalier | -0/+66 | |
| Fixes the Windoze breakage, I hope. | ||||
| 2011-07-19 | Have fn_to_str use proto_to_str. | Michael Sullivan | -5/+2 | |
| 2011-07-19 | Typechecking self-calls in anon objs. Closes #540. | Lindsey Kuper | -30/+50 | |
| 2011-07-19 | Clean up formatting. | Lindsey Kuper | -13/+10 | |
| 2011-07-19 | Beginnings of support for constrained types | Tim Chevalier | -360/+580 | |
| Programs with constrained types now parse and typecheck, but typestate doesn't check them specially, so the one relevant test case so far is XFAILed. Also rewrote all of the constraint-related data structures in the process (again), for some reason. I got rid of a superfluous data structure in the context that was mapping front-end constraints to resolved constraints, instead handling constraints in the same way in which everything else gets resolved. | ||||
| 2011-07-19 | Simple refactoring in the pretty printer. | Michael Sullivan | -7/+10 | |
| Introduce a proto_to_str function to find the string representation of a given proto instead of casing on the proto in multiple places. | ||||
| 2011-07-19 | Style and indentation cleanups. | Lindsey Kuper | -19/+19 | |
| 2011-07-19 | Some progress on issue #540. | Lindsey Kuper | -44/+76 | |
| 2011-07-19 | Comments and cleanup. | Lindsey Kuper | -9/+7 | |
| 2011-07-19 | Wrapping long strings. | Lindsey Kuper | -7/+7 | |
| 2011-07-19 | Remove cwriter.rs | Brian Anderson | -28/+0 | |
| This file isn't actually in the crate | ||||
| 2011-07-19 | Add a pass that finds all of the free variables. | Michael Sullivan | -18/+69 | |
| 2011-07-19 | Move collect_upvars into its own file. | Michael Sullivan | -72/+96 | |
| 2011-07-19 | rustc: Report how much time was spent to translate each function when ↵ | Patrick Walton | -14/+60 | |
| --stats is on | ||||
| 2011-07-19 | Fix trans_alt to handle unreachable branches without blowing up | Marijn Haverbeke | -12/+25 | |
| 2011-07-18 | rustc: Translate locals in DPS style | Patrick Walton | -1/+22 | |
| 2011-07-18 | rustc: Remove obsolete TODO | Patrick Walton | -1/+0 | |
| 2011-07-18 | rustc: Skip null when translating string concatenation | Patrick Walton | -1/+6 | |
| 2011-07-18 | rustc: First stab at implementing interior vector concat in the DPS engine | Patrick Walton | -27/+267 | |
| 2011-07-18 | Don't use 'obj_info' as an identifier for things not of type obj_info. | Lindsey Kuper | -5/+5 | |
| 2011-07-18 | Sane error message for self-call in non-obj context. Closes #707. | Lindsey Kuper | -2/+7 | |
| 2011-07-18 | Support x86 stdcall convention | Brian Anderson | -6/+40 | |
| This allows rust to call the Win32 API | ||||
| 2011-07-18 | rustc: Stub binary operator translation | Patrick Walton | -0/+47 | |
