| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2012-03-02 | Move src/comp to src/rustc | Graydon Hoare | -303/+0 | |
| 2012-02-24 | Encode/decode AST into metadata, re-instantiate inlined items | Niko Matsakis | -7/+12 | |
| 2012-02-15 | make mut a keyword synonymous with mutable | Niko Matsakis | -5/+5 | |
| first step towards issue #1273 | ||||
| 2012-02-10 | use absolute names when pretty-printing types | Niko Matsakis | -4/+4 | |
| 2012-02-09 | Further WIP on classes | Tim Chevalier | -0/+7 | |
| Changes to resolve and typeck. Still nothning working yet. | ||||
| 2012-02-09 | Remove some pointless imports | Marijn Haverbeke | -1/+0 | |
| 2012-02-07 | Reuse monomorphized functions for different box types | Marijn Haverbeke | -0/+1 | |
| The free glue for opaque boxes will pick the actual tydesc out of the box, and call its glue. Issue #1736 | ||||
| 2012-02-06 | Make ty::t type self-sufficient | Marijn Haverbeke | -11/+10 | |
| It is now no longer needed to have a ty::ctxt to get at the contents of a ty::t. The straight-forward approach of doing this, simply making ty::t a box type, unfortunately killed our compiler performance (~15% slower) through refcounting cost. Thus, this patch now represents ty::t as an unsafe pointer, assuming that the ty::ctxt, which holds these boxes alive, outlives any uses of the ty::t values. In the current compiler this trivially holds, but it is does of course add a new potential pitfall. ty::get takes a ty::t and returns a boxed representation of the type. I've changed calls to ty::struct(X) to do ty::get(X).struct. Type structs are full of vectors, and copying them every time we wanted to access them was a bit of a cost. | ||||
| 2012-02-06 | Self types for ifaces | Marijn Haverbeke | -0/+5 | |
| This allows a 'Name:' to appear in front of an iface declaration's name, which will cause 'Name' to refer to the self type (with the same number of type parameters as the iface has) in the method signatures of the iface. For example: iface F: functor<A> { fn fmap<B>(f: fn(A) -> B) -> F<B>; } Issue #1718 | ||||
| 2012-02-05 | infer modes rather than overwriting with expected ty | Niko Matsakis | -5/+1 | |
| 2012-02-01 | Remove support for native types | Marijn Haverbeke | -5/+0 | |
| Issue #1673 | ||||
| 2012-01-31 | Require alts to be exhaustive | Tim Chevalier | -0/+5 | |
| middle::check_alt does the work. Lots of changes to add default cases into alts that were previously inexhaustive. | ||||
| 2012-01-26 | Remove ty_native_fn | Marijn Haverbeke | -5/+0 | |
| It was being used as a clumsy synonym of ty_fn. | ||||
| 2012-01-25 | Rename tag to enum throughout the compiler | Marijn Haverbeke | -1/+1 | |
| This should reduce confusion of people trying to read the code. | ||||
| 2012-01-19 | rustc: ";" to "," in enums | Patrick Walton | -1/+1 | |
| 2012-01-19 | rustc: "tag" -> "enum" | Patrick Walton | -1/+1 | |
| 2012-01-18 | Remove '.' after nullary tags in patterns | Tim Chevalier | -45/+45 | |
| Does what it says on the tin. The next commit will remove support for this syntax. | ||||
| 2012-01-16 | Don't write out type names when hashing types | Marijn Haverbeke | -3/+5 | |
| I hope this is why my patch made things so much slower... | ||||
| 2012-01-16 | Store type names in crate metadata | Marijn Haverbeke | -2/+9 | |
| Improves type error messages referring to external types. Issue #1507 | ||||
| 2012-01-13 | distinguish "any closure" and "stack closure" (block) | Niko Matsakis | -4/+5 | |
| 2012-01-13 | deprecate fn exprs and the fn() type, preferring fn@ and native fn | Niko Matsakis | -1/+1 | |
| 2012-01-13 | Obj system? What obj system? | Marijn Haverbeke | -9/+0 | |
| Removes the obj system from the compiler. Closes #1484 | ||||
| 2012-01-11 | Major clean-up of std::io | Marijn Haverbeke | -12/+11 | |
| Use ifaces instead of objs, stop wrapping everything in two (or three) layers of no-value-added indirection, and remove some of the more pointless/outdated idioms from the code. | ||||
| 2012-01-10 | rename sendfn to fn~, lambda to fn@ | Niko Matsakis | -5/+5 | |
| 2012-01-09 | Remove proto_sugar and 'lambda' as keyword, commit to fn@. | Graydon Hoare | -1/+1 | |
| 2012-01-06 | rejigger impl to have an opaque closure ptr rather than | Niko Matsakis | -1/+3 | |
| opaque closure | ||||
| 2012-01-05 | Get external interfaces / impls working | Marijn Haverbeke | -4/+3 | |
| Issue #1227 | ||||
| 2012-01-02 | Check that type parameter bounds are interface types | Marijn Haverbeke | -3/+10 | |
| Issue #1227 | ||||
| 2011-12-28 | Change representation of type params to handle interface bounds | Marijn Haverbeke | -6/+17 | |
| Issue #1227 | ||||
| 2011-12-23 | Use the same type of record in ty::ty_fn and ty::method | Marijn Haverbeke | -12/+12 | |
| Removes some more code duplication. | ||||
| 2011-12-16 | extend with ty_send_type and ty_opaque_closure | Niko Matsakis | -0/+2 | |
| 2011-12-14 | push changes through to get things compiling, if not running. | Niko Matsakis | -0/+1 | |
| 2011-12-13 | Copy first batch of material from libstd to libcore. | Graydon Hoare | -2/+3 | |
| 2011-12-07 | Change literal representation to not truncate | Marijn Haverbeke | -10/+18 | |
| Also shuffles around the organization of numeric literals and types, separating by int/uint/float instead of machine-vs-non-machine types. This simplifies some code. Closes #974 Closes #1252 | ||||
| 2011-11-23 | Rollback return-by-reference | Marijn Haverbeke | -5/+0 | |
| It's proving too inflexible, so I'm ripping out the extra complexity in the hope that regions will, at some point, provide something similar. Closes #918 | ||||
| 2011-11-21 | rustc: Remove abi from ast::native_mod | Haitao Li | -6/+1 | |
| 2011-11-18 | Add a pass-by-copy parameter passing convention | Marijn Haverbeke | -1/+2 | |
| This is intended to solve the problem of how to pass arguments to constructor functions -- you want to move in rvalues, but not have to explicitly copy stuff that is not an rvalue. The by-copy passing convention will ensure the callee gets its own copy of the value. For rvalues, it'll just pass off the value. For lvalues, it'll make a copy. Issue #1177 | ||||
| 2011-11-18 | Preparation for kind system overhaul | Marijn Haverbeke | -3/+3 | |
| This goes before a snapshot, so that subsequenct patches can make the transition without breaking the build. Disables kind checking pass, makes parser accept both new and old-style kind annotation. Issue #1177 | ||||
| 2011-11-17 | remove compile-command from local variable blocks | Niko Matsakis | -1/+0 | |
| 2011-11-10 | Cleanup unused imports | Haitao Li | -2/+1 | |
| 2011-11-09 | rustc: Rename native_abi_c_stack_cdecl to native_abi_cdecl | Brian Anderson | -1/+1 | |
| 2011-11-09 | rustc: Rename native_abi_c_stack_stdcall to native_abi_stdcall | Brian Anderson | -1/+1 | |
| 2011-11-09 | Remove native "x86stdcall" ABI | Brian Anderson | -1/+0 | |
| 2011-11-08 | Remove native "cdecl" ABI | Brian Anderson | -1/+0 | |
| 2011-11-07 | Remove native "llvm" ABI | Brian Anderson | -1/+0 | |
| 2011-11-07 | Remove native "rust" ABI | Brian Anderson | -1/+0 | |
| 2011-10-21 | Drop support for iter, put, and for-each | Marijn Haverbeke | -1/+0 | |
| Closes #1056 | ||||
| 2011-10-20 | Merge ast::proto_shared and ast::proto_closure | Brian Anderson | -1/+1 | |
| Now they are both just proto_shared and proto_shared takes an argument indicating that it is sugared as 'lambda' | ||||
| 2011-10-20 | Rename ast::proto_fn to ast::proto_shared | Brian Anderson | -1/+1 | |
| 2011-10-11 | Use a non-ambiguous character for encoding bare functions | Brian Anderson | -1/+1 | |
| I was using 'R' and that was already used for records. Issue #1022 | ||||
