| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2011-07-22 | Start adding support for multiple variable declarations per stmt | Marijn Haverbeke | -25/+47 | |
| This adds parser support and most of the machinery for auto x = 10, y = 20; However, the above still goes wrong somewhere in typestate, causing the state checker to believe only the last variable in the list is initialized after the statement. Tim, if you have a moment, could you go over the changes to the tstate code in this patch and see where I'm going wrong? Multi-var-decls without the typestate extension Add a loop | ||||
| 2011-07-22 | Rewrite trans_cast, float->float and float->int casts | Marijn Haverbeke | -50/+63 | |
| 2011-07-22 | Report unresolved names only once per function | Marijn Haverbeke | -32/+52 | |
| Closes #708 | ||||
| 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 | -385/+367 | |
| 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 | -49/+44 | |
| 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/+3 | |
| 2011-07-21 | Remove vestiges of typarams from anon objs. | Lindsey Kuper | -65/+27 | |
| 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/+55 | |
| 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 | -4/+4 | |
| 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 | -4/+4 | |
| 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 | 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/+1 | |
| Fixes the Windoze breakage, I hope. | ||||
| 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 | -237/+368 | |
| 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 | 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 | Add a pass that finds all of the free variables. | Michael Sullivan | -16/+62 | |
| 2011-07-19 | Move collect_upvars into its own file. | Michael Sullivan | -72/+95 | |
| 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/+266 | |
| 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/+26 | |
| This allows rust to call the Win32 API | ||||
| 2011-07-18 | rustc: Stub binary operator translation | Patrick Walton | -0/+47 | |
| 2011-07-17 | rustc: Simplify the destination format in the DPS backend; optimize aliases ↵ | Patrick Walton | -90/+103 | |
| to interior strings to require no allocation at all | ||||
| 2011-07-17 | rustc: Use memmove instructions more aggressively in DPS mode. LLVM converts ↵ | Patrick Walton | -13/+74 | |
| these to optimized block transfer instructions, significantly reducing code size. | ||||
