Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Jul 16, 2013

  1. bors

    auto merge of #7816 : thestinger/rust/header, r=huonw

    Note that the headers are still on `~[T]` when `T` is managed. This is continued from #7605, which removed all the code relying on the headers and removed them from `~T` for non-managed `T`.
    authored July 15, 2013
  2. Daniel Micay

    remove headers from unique vectors

    authored July 15, 2013
  3. bors

    auto merge of #7815 : blake2-ppc/rust/hashmap-iterators, r=huonw

    Implement set difference, sym. difference, intersection and union using Iterators.
    
    The set methods are left since they are part of the Set trait. A grep over the tree indicates that the four hashset operations have no users at all.
    
    Also remove HashMap::mutate_values since it is unused, replaced by .mut_iter(), and not part of a trait.
    authored July 15, 2013
  4. hashmap: Iterators for hashset diff, sym. diff, intersec, union

    Implement the difference, union, etc iterators with the help of a custom
    iterator combinator with explicit closure environment. Reported issue #7814
    to be able to use the std::iterator filter combinator.
    authored July 16, 2013
  5. hashmap: Remove .mutate_values() which is replaced by .mut_iter()

    authored July 16, 2013
  6. bors

    auto merge of #7808 : blake2-ppc/rust/ringbuf, r=thestinger

    authored July 15, 2013

Jul 15, 2013

  1. ringbuf: Implement DoubleEndedIterator

    authored July 16, 2013
  2. bors

    auto merge of #7806 : apasel422/rust/hash_consume, r=catamorphism

    This partially addresses #7719.
    authored July 15, 2013
  3. Andrew Paseltiner

    std: add consuming iterators for `HashMap` and `HashSet`

    authored July 15, 2013
  4. bors

    auto merge of #7681 : catamorphism/rust/rustpkg-local-repos, r=catamo…

    …rphism
    
    r? @graydon rustpkg can now build code from a local git repository. In the
    case where the local repo is in a directory not in the RUST_PATH,
    it checks out the repository into a directory in the first workspace
    in the RUST_PATH.
    
    The tests no longer try to connect to github.com, which should
    solve some of the sporadic failures we've been seeing.
    authored July 15, 2013
  5. Tim Chevalier

    rustpkg: Handle local git repositories

    rustpkg can now build code from a local git repository. In the
    case where the local repo is in a directory not in the RUST_PATH,
    it checks out the repository into a directory in the first workspace
    in the RUST_PATH.
    
    The tests no longer try to connect to github.com, which should
    solve some of the sporadic failures we've been seeing.
    authored July 09, 2013
  6. bors

    auto merge of #7802 : catamorphism/rust/issue-6128, r=catamorphism

    authored July 15, 2013
  7. Tim Chevalier

    testsuite: Add xfailed test case for #6128

    authored July 15, 2013
  8. bors

    auto merge of #7799 : blake2-ppc/rust/eq-default, r=sanxiyn

    Let Eq::ne be implemented to the inverse of eq by default.
    authored July 15, 2013
  9. cmp: Use default methods in trait Eq, require only Eq::eq

    authored July 15, 2013
  10. bors

    auto merge of #7796 : thomaslee/rust/issue-6247, r=z0w0

    This closes #6247 by simply ensuring librustllvm.so gets installed to the target lib directory in addition to the host lib directory.
    authored July 14, 2013
  11. bors

    auto merge of #7795 : sp3d/rust/master, r=z0w0

    This should be pretty self-explanatory. The most important component is region/lifetime annotation highlighting, as previously they were interpreted as character literals and would ruin the rest of the line. The attribute regex is fairly crude, but it gets the job done and there's not much within attributes that would benefit from individual highlighting, so fancier handling didn't seem worth the trouble.
    
    The ident regex was copied from the vim highlighter.
    authored July 14, 2013
  12. Tom Lee

    Install librustllvm.so to target lib directory

    authored July 13, 2013
  13. sp3d

    add regions, unicode idents, attributes to GtkSourceView language-spec

    authored July 14, 2013
  14. bors

    auto merge of #7792 : ozten/rust/master, r=huonw

    Minor tweak, but I was confused when first digging into json.rs docs.
    
    I think it's clearer to say the module provides parsing and serialization.
    authored July 14, 2013
  15. Austin King

    Noting that json.rs provides parsing as well

    authored July 14, 2013

Jul 14, 2013

  1. bors

    auto merge of #7716 : kballard/rust/term-attr, r=cmr

    Teach `extra::term` to support more terminal attributes than just color.
    
    Fix the compiler diagnostic messages to print in bold instead of bright white. This matches Clang's output.
    
    Cache the term::Terminal instead of re-parsing for every diagnostic (fixes #6827).
    authored July 14, 2013
  2. Kevin Ballard

    Don't re-parse terminfo (twice!) on every compiler diagnostic

    Stuff the term::Terminal into TLS to avoid re-parsing for every single
    message we want to color.
    
    Fixes #6827.
    authored July 11, 2013
  3. Kevin Ballard

    Highlight rustc's warnings/errors in bold instead of bright white

    Clang actually highlights using bold, not using bright white. Match
    clang on this so our diagnostics are still readable on terminals with a
    white background.
    authored July 10, 2013
  4. Kevin Ballard

    term: Add new function .attr() to toggle terminal attributes

    Also add .supports_attr() to test for attribute support without writing
    anything to output.
    
    Update .reset() to use sgr0 instead of op.
    authored July 10, 2013
  5. Kevin Ballard

    Give term.fg() and term.bg() a bool return value

    authored July 10, 2013
  6. bors

    auto merge of #7790 : blake2-ppc/rust/dlist-ringbuf-small-changes, r=…

    …thestinger
    
    Implement size_hint for the ringbuf iterators.
    
    Do small cleanups in dlist, use Option's .map and .map_mut properly, and put inline on all the small methods.
    authored July 14, 2013
  7. dlist: Use inline on very small functions and iterator functions

    authored July 14, 2013
  8. dlist: Simplify by using Option::{map, map_mut}

    These methods were fixed or just added so they can now be used.
    authored July 14, 2013
  9. ringbuf: Implement .size_hint() for iterators

    authored July 14, 2013
  10. bors

    auto merge of #7788 : MarkJr94/rust/from_iter, r=cmr

    Added Iterators for HashMap/Set, TreeMap/Set, TrieMap/Set, and PriorityQueue as per Issue #7626
    authored July 14, 2013
  11. bors

    auto merge of #7751 : alexcrichton/rust/finish-tls, r=pcwalton

    This changes the interface to `get`, and it also changes the keys to be static slices instead of static functions.
    
    This allows the removal of the `unsafe` interface because while functions can monomorphize from different types to the same actual function, static slices cannot do this.
    
    From at least what I can tell, we don't need to worry about LLVM coalescing these addresses. If we ever use the `unnamed_addr` it looks like there's cause for worry, but there doesn't appear to be any coalescing atm.
    authored July 14, 2013
  12. Mark Edward Sinclair

    Stripped trailing spaces; Implemented FromIterator for TreeMap and Pr…

    …iorityQueue
    authored July 14, 2013
  13. Alex Crichton

    Make TLS keys actually take up space

    If the TLS key is 0-sized, then the linux linker is apparently smart enough to
    put everything at the same pointer. OSX on the other hand, will reserve some
    space for all of them. To get around this, the TLS key now actuall consumes
    space to ensure that it gets a unique pointer
    authored July 14, 2013
  14. Alex Crichton

    Purge the last remnants of the old TLS api

    Closes #3273
    authored July 12, 2013
Something went wrong with that request. Please try again.