Permalink
Commits on Mar 27, 2013
  1. auto merge of #5560 : brson/rust/relnotes, r=brson

    r?
    bors committed Mar 27, 2013
Commits on Mar 26, 2013
  1. auto merge of #5523 : alexcrichton/rust/less-oldmap, r=thestinger

    I started out just removing a few instances of `HashMap` throughout rustc, but it ended up snowballing to remove the entire thing. Most uses translated to just using `@mut LinearMap` instead of `HashMap`, although I tried where possible to drop the `@mut` modifier. This ended up working out some of the time, but definitely not in the major use cases.
    
    Things got kinda weird in some cases like:
    
    * alexcrichton@mozilla:a56ec8c1342453a88be79e192a11501844375d40...alexcrichton:621b63300358cacad088ddd7f78180f29c40e66e#L39R1587
    * alexcrichton@mozilla:a56ec8c1342453a88be79e192a11501844375d40...alexcrichton:621b63300358cacad088ddd7f78180f29c40e66e#L61R3760
    * alexcrichton@mozilla:a56ec8c1342453a88be79e192a11501844375d40...alexcrichton:621b63300358cacad088ddd7f78180f29c40e66e#L71R917
    * alexcrichton@mozilla:a56ec8c1342453a88be79e192a11501844375d40...alexcrichton:621b63300358cacad088ddd7f78180f29c40e66e#L91R127
    
    I tried to tag them all with bugs which I thought would make them less weird, but I may have the wrong bug in a few places. These cases only came up when I tried to pass around `&mut LinearMap` instead of an `@mut LinearMap`.
    
    I also ran into a few bugs when migrating to `LinearMap`, one of which is #5521. There's another set of bugs which a00d779042fb8753c716e07b4f1aac0d5ab7bf66 addresses (all marked with `XXX`). I have a feeling they're all the same bug, but all I've been able is to reproduce them. I tried to whittle down the test cases and try to get some input which causes a failure, but I've been unable to do so. All I know is that it's vaguely related to `*T` pointers being used as `&*T` (return value of `find`). I'm not able to open a very descriptive issue, but I'll do so if there seems no other better route.
    
    I realize this is a very large pull request, so if it'd be better to split this up into multiple segments I'd be more than willing to do so. So far the tests all pass locally, although I'm sure bors will turn something up. I also don't mind keeping this up to date with rebasing. This maybe should wait until after 0.6 because it is a fairly large change...
    bors committed Mar 26, 2013
  2. rustc: Purge of HashMap, fixing segfaulting cases

    Various FIXME comments added around to denote copies which when removed cause
    the compiler to segfault at some point before stage2. None of these copies
    should even be necessary.
    alexcrichton committed Mar 23, 2013
  3. auto merge of #5555 : Kimundi/rust/str-dealloc-3, r=catamorphism

    - Most functions that used to return `~[~str]` for a list of substrings got turned into iterators over `&str` slices
    - Some cleanup of apis, docs and code layout
    bors committed Mar 26, 2013
  4. auto merge of #5467 : nikomatsakis/rust/issues-3888-4036-4492-cannot-…

    …encode-region-variables, r=nikomatsakis
    
    The basic problem was that vtables were not being resolved.  The fix uncovered another issue, which was that the syntax extensions were not creating method calls properly and were relying on outdated code in typeck, so I fixed that too.  
    
    Resolves issues #3888, #4036, #4492.
    
    r? @catamorphism
    bors committed Mar 26, 2013
  5. Add missing authors

    brson committed Mar 26, 2013
  6. Stop writing directly to the final type/method/vtable sidetables from…

    … astconv
    
    and from typeck, which is verboten.  We are supposed to write inference results
    into the FnCtxt and then these get copied over in writeback.  Add assertions
    that no inference by-products are added to this table.
    
    Fixes #3888
    Fixes #4036
    Fixes #4492
    nikomatsakis committed Mar 21, 2013
  7. Update 0.6 release notes

    brson committed Mar 26, 2013
  8. core: Hide GC docs

    brson committed Mar 25, 2013
  9. Add various debug statements to trans that I used to help track down the

    problem and which seem like they could be useful in the future.
    nikomatsakis committed Mar 21, 2013
  10. Rip out old code that still structured method calls as a

    expr_call(expr_field(...)) rather than an expr_method_call.
    There is probably more such code in trans that should be removed.
    nikomatsakis committed Mar 21, 2013
  11. auto merge of #5532 : brson/rust/coredocs, r=brson

    r?
    bors committed Mar 26, 2013
  12. core: Clarify prelude docs. #4556

    brson committed Mar 25, 2013
  13. auto merge of #5556 : nikomatsakis/rust/issues-4904-and-4855, r=nikom…

    …atsakis
    
    Two small fixes. 
    
    r? @catamorphism
    bors committed Mar 26, 2013
  14. auto merge of #5549 : brson/rust/rustdoc, r=brson

    r?
    bors committed Mar 26, 2013
  15. rustdoc: Tweak list style

    brson committed Mar 25, 2013
  16. rustdoc: Add type bounds to impls

    brson committed Mar 25, 2013
  17. rustdoc: Sanitize links harder

    brson committed Mar 25, 2013