| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2011-12-18 | Only look for a matching method when normal field access fails | Marijn Haverbeke | -86/+90 | |
| We should probalby warn when defining a method foo on {foo: int} etc. This should reduce the amount of useless typevars that are allocated. Issue #1227 | ||||
| 2011-12-18 | Improve efficienty of impl cache in resolve | Marijn Haverbeke | -10/+15 | |
| And fix a bug where importing anything from an external module would import all impls in the module. Issue #1227 | ||||
| 2011-12-16 | Fix arg order for vec::map call | Marijn Haverbeke | -4/+5 | |
| 2011-12-16 | Finish resolving and calling of crate-external impls | Marijn Haverbeke | -48/+86 | |
| Issue #1227 | ||||
| 2011-12-16 | Reserve node_id 0 for the crate top-level module | Marijn Haverbeke | -9/+11 | |
| And define a const to refer to it. | ||||
| 2011-12-16 | revoke cleanup of sendable closure once construction completes | Niko Matsakis | -0/+1 | |
| 2011-12-16 | extend with ty_send_type and ty_opaque_closure | Niko Matsakis | -2/+7 | |
| 2011-12-16 | rename iter2 to iteri to match typical convention | Niko Matsakis | -3/+3 | |
| 2011-12-16 | reorder args to the various vec, option fns so blk comes last | Niko Matsakis | -33/+34 | |
| 2011-12-16 | Make polymorphic impl methods work | Marijn Haverbeke | -43/+67 | |
| Something will still have to be done to the AST to make it possible to say `x.foo::<int>()`, since currently field access never allows type parameters. Issue #1227 | ||||
| 2011-12-16 | Improve resolution of impls | Marijn Haverbeke | -18/+33 | |
| Issue #1227 | ||||
| 2011-12-16 | Make uses of self in impls compile | Marijn Haverbeke | -176/+133 | |
| Get rid of expr_self_call, introduces def_self. `self` is now, syntactically, simply a variable. A method implicitly brings a `self` binding into scope. Issue #1227 | ||||
| 2011-12-16 | Get very simple impl method calls to compile | Marijn Haverbeke | -56/+98 | |
| Resolution is still dumb, and no self support yet. | ||||
| 2011-12-16 | Get a very primitive form of typechecking/resolving to work for impls | Marijn Haverbeke | -62/+93 | |
| No conflict resolution or polymorphism yet. Issue #1227 | ||||
| 2011-12-16 | Parse and resolve implementations. | Marijn Haverbeke | -66/+198 | |
| Issue #1227 | ||||
| 2011-12-16 | rustc: Implement non-renamed re-export across crates | Haitao Li | -23/+60 | |
| First patch for issue #1115. Not yet ready for re-exported modules which are renamed when importing them. | ||||
| 2011-12-15 | rustc: Box tag variants to avoid copies | Brian Anderson | -4/+4 | |
| 2011-12-15 | rustc: Box the vectors returned from ty::tag_variants | Brian Anderson | -37/+39 | |
| 2011-12-15 | rustc: Cache results of ty::tag_variants | Brian Anderson | -5/+16 | |
| 2011-12-15 | restore old buggy behavior where n_obj_params is always 0 for fns | Niko Matsakis | -1/+9 | |
| 2011-12-15 | massive refactor of how closures work | Niko Matsakis | -498/+565 | |
| 2011-12-15 | resurrect tps_fn() and put it to use this time. | Niko Matsakis | -3/+5 | |
| 2011-12-15 | Don't try to look up crate modules in ext_map in resolve | Marijn Haverbeke | -1/+1 | |
| Closes #1305 | ||||
| 2011-12-14 | remove unused tps_fn(); comment out unused var | Niko Matsakis | -4/+3 | |
| 2011-12-14 | refactor trans into trans_closure; restore original closure repr | Niko Matsakis | -413/+439 | |
| 2011-12-14 | treat native fns as shared closures | Niko Matsakis | -0/+1 | |
| 2011-12-14 | insert a field into the closure storing number of ty descs | Niko Matsakis | -16/+22 | |
| 2011-12-14 | pull out the code from iter_structural_ty for handling functions, | Niko Matsakis | -29/+55 | |
| as we will have to do very careful and non-generic things | ||||
| 2011-12-14 | treat different kinds of closures differently | Niko Matsakis | -19/+53 | |
| 2011-12-14 | translate unique closure env better | Niko Matsakis | -25/+49 | |
| 2011-12-14 | remove unused options | Niko Matsakis | -15/+5 | |
| 2011-12-14 | restore old functionality for now | Niko Matsakis | -7/+25 | |
| 2011-12-14 | get basic code generation working, clone type descs for lambda[send] | Niko Matsakis | -19/+52 | |
| 2011-12-14 | make fact that trans'ing lvar does not modify bcx explicit in type | Niko Matsakis | -12/+19 | |
| 2011-12-14 | sendable functions now "work", meaning pass through trans/typestate | Niko Matsakis | -2/+7 | |
| but they do not generate correct code | ||||
| 2011-12-14 | push changes through to get things compiling, if not running. | Niko Matsakis | -36/+40 | |
| 2011-12-14 | first attempt, not happy with it | Niko Matsakis | -34/+25 | |
| 2011-12-14 | define ty and update parser for sendable lambdas | Niko Matsakis | -0/+1 | |
| 2011-12-13 | Copy first batch of material from libstd to libcore. | Graydon Hoare | -113/+120 | |
| 2011-12-13 | Reorganize some code in typeck | Marijn Haverbeke | -305/+233 | |
| This should cut down a lot on the amount of closures being allocated, and removes some duplicated code. | ||||
| 2011-12-12 | rustc: build versioned library with hash in its name | Haitao Li | -2/+2 | |
| Also updated build to install versioned libraries and added a few missing actions for `make clean`. | ||||
| 2011-12-12 | Handle external-crate case when printing full unresolved paths | Marijn Haverbeke | -5/+13 | |
| Closes #1283 | ||||
| 2011-12-08 | rustc: Determine the crate type (lib/bin) in the session, not session opts | Brian Anderson | -5/+5 | |
| This is in preparation for adding a #[crate_type] attribute | ||||
| 2011-12-08 | Allow binding of nested patterns | Marijn Haverbeke | -67/+97 | |
| See src/test/run-pass/nested-patterns.rs for some examples. The syntax is boundvar@subpattern Which will match the subpattern as usual, but also bind boundvar to the whole matched value. Closes #838 | ||||
| 2011-12-08 | Stop passing around some unused information in typeck | Marijn Haverbeke | -27/+7 | |
| 2011-12-08 | Consider variant constructors pure functions for the purpose of purity checking | Marijn Haverbeke | -2/+3 | |
| Closes #1269 | ||||
| 2011-12-07 | Remove stmt_crate_directive, it's vestigial and confusing. | Graydon Hoare | -11/+0 | |
| 2011-12-07 | Check for literals that are out of range for their type | Marijn Haverbeke | -1/+18 | |
| 2011-12-07 | Change literal representation to not truncate | Marijn Haverbeke | -349/+167 | |
| 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-12-07 | repair more hash functions | Niko Matsakis | -15/+15 | |
