| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2012-03-28 | test: Un-XFAIL regions-mock-trans.rs and regions-mock-trans-impls.rs | Patrick Walton | -4/+0 | |
| 2012-03-28 | rustc: Universally quantify regions when calling functions. Un-XFAIL ↵ | Patrick Walton | -2/+0 | |
| regions-addr-of-ret.rs. | ||||
| 2012-03-28 | Allow references to "self" within classes | Tim Chevalier | -1/+1 | |
| Allow writing self.f within a class that has a field f. Currently, the compiler accepts either self.f or f. In a future commit I'll require writing self.f and not f. Not sure whether self.f() works if f is a method (making sure that works next). | ||||
| 2012-03-28 | Test case to make sure typestate checks the body of class constructors | Tim Chevalier | -0/+23 | |
| 2012-03-27 | Enforce mutability declarations in classes; correct shapes for classes | Tim Chevalier | -6/+55 | |
| 1. Enforce mutability declarations on class fields. Don't allow any mutation of class fields not declared as mutable (except inside the constructor). 2. Handle classes correctly in shape (treat classes like records). | ||||
| 2012-03-27 | Support returning from loop blocks | Marijn Haverbeke | -0/+57 | |
| The code is somewhat invasive, but it seems hard to do this in a clean way, since the design itself involves a bunch of 'action at a distance'. Issue #1819 | ||||
| 2012-03-26 | Bulk-edit mutable -> mut. | Graydon Hoare | -190/+190 | |
| 2012-03-26 | rustc: Begin eliminating ext's dependency on the session | Brian Anderson | -8/+6 | |
| 2012-03-26 | In typeck, don't call ty::store_iface_methods on private methods | Tim Chevalier | -1/+35 | |
| This was resulting in a different error message depending on whether the private method you were trying to call was in the same crate or a different one. | ||||
| 2012-03-26 | Improve type inference to compute LUB/GLB | Niko Matsakis | -6/+9 | |
| 2012-03-26 | Remove stray comment | Tim Chevalier | -9/+0 | |
| 2012-03-26 | Enforce privacy declarations for class fields and methods | Tim Chevalier | -0/+90 | |
| 2012-03-26 | Disallow ret inside of block functions | Marijn Haverbeke | -2/+2 | |
| Also adds proper checking for cont/break being inside a loop. Closes #1854 Issue #1619 | ||||
| 2012-03-24 | correct more broken tests | Niko Matsakis | -12/+20 | |
| 2012-03-24 | add test that was failing from tedh | Niko Matsakis | -0/+11 | |
| 2012-03-24 | add annotation for variable that used to infer to bot | Niko Matsakis | -1/+1 | |
| 2012-03-24 | Avoid unifying vars when possible; handle bot (more) correctly | Niko Matsakis | -7/+67 | |
| 2012-03-24 | new test which features conflicting variance requirements | Niko Matsakis | -0/+46 | |
| 2012-03-24 | test: Rename run-pass/simple-regions.rs to run-pass/regions-simple.rs | Patrick Walton | -0/+0 | |
| This groups all the region tests under regions-*. | ||||
| 2012-03-24 | test: Add a simple test for dangling pointers | Patrick Walton | -0/+9 | |
| 2012-03-23 | Allow methods to call other methods in the same class | Tim Chevalier | -4/+59 | |
| 2012-03-23 | Add another test for cross-crate method calls | Tim Chevalier | -0/+30 | |
| 2012-03-23 | xfail-test regions tests | Niko Matsakis | -0/+6 | |
| 2012-03-23 | Implement new inference algorithm. | Niko Matsakis | -19/+61 | |
| 2012-03-23 | Handle self correctly when translating classes | Tim Chevalier | -1/+0 | |
| This change uses the same code for handling the "self" reference for classes as is already used for impls/ifaces. This allows removing the extra maybe_self_id argument (which was just for classes) to trans_closure that I added before. I also rewrote the translation for class ctors so that it doesn't generate new AST nodes (instead translating directly). Also changed visit so that it visits class ctors correctly with visit_fn, and changed typestate to not do return-checking when visiting a class ctor. | ||||
| 2012-03-23 | test: Add a test case that ensures `ret &EXPR` works. | Patrick Walton | -0/+8 | |
| 2012-03-23 | test: Fix unresolved name in regions-mock-trans-impls.rs | Patrick Walton | -1/+1 | |
| 2012-03-23 | test: Add a version of the "mock-trans" regions test case that uses impls | Patrick Walton | -0/+46 | |
| 2012-03-23 | test: Fix leak in regions-mock-trans | Patrick Walton | -1/+4 | |
| 2012-03-23 | test: Fix whitespace at EOL | Patrick Walton | -1/+1 | |
| 2012-03-23 | test: Add a trans.rs-workalike test case for regions | Patrick Walton | -0/+41 | |
| 2012-03-23 | rustc: Redo region inference to be a bit less broken | Patrick Walton | -0/+1 | |
| 2012-03-23 | Keep an explicit map of things that have to be spilled | Marijn Haverbeke | -0/+6 | |
| This prevents us from spilling locals more than once. Closes #2040 | ||||
| 2012-03-23 | Replace most uses of intrinsics in core with builtins | Marijn Haverbeke | -29/+0 | |
| Issue #1981 | ||||
| 2012-03-22 | Make cross-crate calls to class methods work | Tim Chevalier | -3/+2 | |
| 2012-03-22 | rt: Run resource destructors during cycle collection | Brian Anderson | -0/+69 | |
| 2012-03-22 | make --enforce-mut-vars always on, add mut annotations to remaining files | Niko Matsakis | -287/+300 | |
| 2012-03-21 | methods work | Tim Chevalier | -6/+50 | |
| Cross-crate method calls don't work yet. Added run-pass/class-method-cross-crate to test that, but it's xfailed References to fields within methods don't work yet. Added run-pass/class-methods to test that, but it's also xfailed | ||||
| 2012-03-21 | add test for commit 9502fb99e0d535c8ced17ac61e63ebbd67b7dba7 | Niko Matsakis | -0/+22 | |
| 2012-03-21 | Adjust arena definition to be compatible with placement new | Niko Matsakis | -0/+9 | |
| 2012-03-20 | Implement an initial version of placement new. | Niko Matsakis | -2/+38 | |
| 2012-03-20 | Conditionalize test to only run double/byte/double test on x64 for now. | Graydon Hoare | -6/+13 | |
| 2012-03-20 | Xfail struct-return test. x64 ABI is not quite right yet. | Graydon Hoare | -0/+1 | |
| 2012-03-20 | Class methods WIP | Tim Chevalier | -1/+7 | |
| In particular, use the ast::method type to represent a class method, and try to reuse as much iface code as possible. (This makes sense now since I'll be allowing polymorphic class methods.) | ||||
| 2012-03-20 | Some tests for passing and returning structures by value on x64. Close ↵ | Graydon Hoare | -0/+39 | |
| #1402. Close #1970. | ||||
| 2012-03-20 | core: Rename unsafe::leak to unsafe::forget. Closes #2031 | Brian Anderson | -1/+1 | |
| 2012-03-19 | test: Remove pretty/issue-953. Doesn't typecheck | Brian Anderson | -5/+0 | |
| 2012-03-16 | Encode both private and public class fields in metadata | Tim Chevalier | -3/+0 | |
| This is necessary to calculate the correct offsets for field references. Simple cross-crate class tests (still with fields only) now pass. | ||||
| 2012-03-16 | rustc: Unify impl self types in the opposite order so variance is correct | Brian Anderson | -0/+12 | |
| 2012-03-16 | Classes WIP | Tim Chevalier | -0/+44 | |
| Cross-crate metadata for classes works well enough that programs with classes in other crates compile successfully, but output wrong results. Checking in work so far to avoid merge hassles. (Tests are xfailed.) | ||||
