| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 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 | -19/+44 | |
| 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 | reorder args to the various vec, option fns so blk comes last | Niko Matsakis | -3/+3 | |
| 2011-12-16 | Make polymorphic impl methods work | Marijn Haverbeke | -1/+2 | |
| 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 | -20/+27 | |
| 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 a very primitive form of typechecking/resolving to work for impls | Marijn Haverbeke | -22/+16 | |
| No conflict resolution or polymorphism yet. Issue #1227 | ||||
| 2011-12-16 | Parse and resolve implementations. | Marijn Haverbeke | -35/+166 | |
| Issue #1227 | ||||
| 2011-12-16 | rustc: Implement non-renamed re-export across crates | Haitao Li | -20/+54 | |
| First patch for issue #1115. Not yet ready for re-exported modules which are renamed when importing them. | ||||
| 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 | sendable functions now "work", meaning pass through trans/typestate | Niko Matsakis | -0/+5 | |
| but they do not generate correct code | ||||
| 2011-12-13 | Copy first batch of material from libstd to libcore. | Graydon Hoare | -2/+3 | |
| 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 | -1/+1 | |
| This is in preparation for adding a #[crate_type] attribute | ||||
| 2011-12-08 | Allow binding of nested patterns | Marijn Haverbeke | -3/+3 | |
| 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-02 | Include full module path in unresolved errors when looking in module | Marijn Haverbeke | -28/+61 | |
| Closes #1228 | ||||
| 2011-12-02 | Make import ignore imports coming after them | Marijn Haverbeke | -14/+54 | |
| This broke no code at all, so I guess people were already writing imports in this style. Issue #1228 | ||||
| 2011-12-02 | Finally make the -1 crate id in resolve.rs a const | Marijn Haverbeke | -10/+7 | |
| 2011-11-30 | Box ast::path values | Marijn Haverbeke | -6/+6 | |
| It seems inefficient to copy them around. Let's measure whether that's actually > the case | ||||
| 2011-11-23 | Add some changes that *should* have been in e98286b594 | Marijn Haverbeke | -4/+4 | |
| Forgot to amend the commit after fixing the failure. | ||||
| 2011-11-23 | Allow import directives in any block | Marijn Haverbeke | -72/+88 | |
| Closes #49 | ||||
| 2011-11-17 | remove compile-command from local variable blocks | Niko Matsakis | -1/+0 | |
| 2011-11-17 | rustc: Add a flag '--warn-unused-imports' | Haitao Li | -1/+3 | |
| Followup of issue #889 | ||||
| 2011-11-17 | rustc: Fix warn on unused import bug | Haitao Li | -11/+10 | |
| rustc generates incorrect warning for cascaded import declarations like: use std; import std::io; import io::println; fn main() { println("hello"); } warning: unused import io A followup of issue #889 | ||||
| 2011-11-16 | rustc: Use link_name attribute for native function | Haitao Li | -2/+2 | |
| Fixes issue #906 | ||||
| 2011-11-10 | Cleanup unused imports | Haitao Li | -3/+2 | |
| 2011-11-10 | rustc: Add support of warning on unused imports | Haitao Li | -9/+35 | |
| Fixes issue #889 | ||||
| 2011-11-03 | Disallow writing to function arguments again | Marijn Haverbeke | -0/+3 | |
| Remove implicit copying hack. Closes #1118 | ||||
| 2011-11-02 | Rename car/cdr to head/tail in std::list | Marijn Haverbeke | -5/+4 | |
| Closes #1086 | ||||
| 2011-11-02 | Make resolving of imports behave more sanely | Marijn Haverbeke | -65/+57 | |
| An import now ignores itself when resolving its target. This gets rid of the previously existing (problematic) behaviour where the import would start looking one scope up when its name was the same as its target's first component. Closes #1114 | ||||
| 2011-10-28 | Make shared kind the default only for generic functions | Marijn Haverbeke | -2/+4 | |
| You almost never want a function with pinned type params. For types, objects, resources, and tags, pinned types are actually often more sane. For most of these, shared rarely makes sense. Only tricky case is objs -- you'll have to think about the kinds you want there. Issue #1076 | ||||
| 2011-10-21 | Drop support for iter, put, and for-each | Marijn Haverbeke | -7/+5 | |
| Closes #1056 | ||||
| 2011-10-21 | Move ast_util::pat_bindings over to new iter system. | Marijn Haverbeke | -6/+6 | |
| Issue #1056 | ||||
| 2011-10-21 | Move hash table iteration over to block-taking functions | Marijn Haverbeke | -18/+10 | |
| Issue #1056 | ||||
| 2011-10-20 | Merge ast::proto_shared and ast::proto_closure | Brian Anderson | -2/+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/+2 | |
| 2011-10-20 | Make fn denote a bare function. Convert fn to fn@ as needed | Brian Anderson | -0/+1 | |
| 2011-10-14 | Don't crash when reporting an unresolved import in the nil scope | Marijn Haverbeke | -18/+22 | |
| Closes #1027 | ||||
| 2011-10-12 | make native functions markable as unsafe and incorporate that | Niko Matsakis | -3/+5 | |
| into the type check | ||||
| 2011-10-10 | Adjust function signatures to allow for vecs being immediate | Marijn Haverbeke | -1/+1 | |
| Some code was relying on vectors being implicitly by-reference (as non-immediate value). This adds the necessary &&-sigils. Closes #1021 | ||||
| 2011-10-07 | Parse and typecheck by-value and by-ref arg specs | Marijn Haverbeke | -5/+5 | |
| Add sprinkle && throughout the compiler to make it typecheck again. Issue #1008 | ||||
| 2011-09-16 | Require body of else-less if expressions to be a value-less block | Marijn Haverbeke | -1/+1 | |
| For consistency with other constructs that could not possibly return a value (say, loops). | ||||
| 2011-09-15 | Forbid assignment to by-reference bindings | Marijn Haverbeke | -4/+6 | |
| Issue #918 | ||||
| 2011-09-15 | Add representation for by-ref let bindings | Marijn Haverbeke | -3/+3 | |
| Issue #918 | ||||
| 2011-09-15 | Insert omitted semicolons for statements | Marijn Haverbeke | -1/+1 | |
| 2011-09-14 | Accept returning refs rooted in an arg from a by-ref funtion | Marijn Haverbeke | -1/+0 | |
| Issue #918 | ||||
| 2011-09-14 | Remove some extra white-space introduced by the pretty-printer | Marijn Haverbeke | -17/+1 | |
| 2011-09-12 | Factor imports mindlessly. | Graydon Hoare | -26/+9 | |
