Permalink
Commits on Mar 28, 2012
  1. Fix long line.

    graydon committed Mar 28, 2012
  2. rustc: Universally quantify regions when calling functions. Un-XFAIL …

    …regions-addr-of-ret.rs.
    pcwalton committed Mar 27, 2012
  3. Allow references to "self" within classes

    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).
    catamorphism committed Mar 28, 2012
  4. Fix typo in release notes.

    graydon committed Mar 28, 2012
  5. Update CC fuzzer

    jruderman committed Mar 28, 2012
  6. Update AST fuzzer

    jruderman committed Mar 28, 2012
  7. Enforce mutability declarations in classes; correct shapes for classes

    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).
    catamorphism committed Mar 28, 2012
Commits on Mar 27, 2012
  1. emacs: Make 'mut' a keyword

    brson committed Mar 27, 2012
  2. Minor typo fixes.

    graydon committed Mar 27, 2012
  3. Prep docs before pdf.

    graydon committed Mar 27, 2012
  4. Tweak relnotes.

    graydon committed Mar 27, 2012
  5. Emergency safe-ref-checker maintenance

    It still has some big problems, but at least it more or less
    understands block arguments now.
    
    Closes #1925
    marijnh committed Mar 27, 2012
  6. Register new snapshot

    marijnh committed Mar 27, 2012
  7. Add vec::each, vec::eachi, and list::each

    For use with the new for construct.
    
    Issue #1619
    marijnh committed Mar 27, 2012
  8. Support returning from loop blocks

    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
    marijnh committed Mar 27, 2012
  9. Support an alternate for syntax that calls a higher-order function

    The last argument of the call must be a block, and the type of this
    argument must a function returning bool. `break` and `cont` are
    supported in the body of the block, and return `false` or `true` from
    the function. When the end of the function is reached, `true` is
    implicitly returned.
    
        for vec::all([1, 2, 3]) {|elt|
            if elt == 2 { break; }
            log(error, elt);
        }
    
    Issue #1619
    marijnh committed Mar 26, 2012
  10. Register new snapshots.

    graydon committed Mar 27, 2012
  11. Remove duplicate definition.

    graydon committed Mar 27, 2012
  12. Bulk-edit mutable -> mut.

    graydon committed Mar 27, 2012