Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Feb 27, 2015
  1. bors
  2. bors

    Auto merge of #22857 - alexcrichton:net-flaky, r=alexcrichton

    bors authored
    Instead of allocating the same ports for ipv4 and ipv6 tests, instead draw all
    ports from the same pool. Some tests connect to just "localhost" on a particular
    port which may accidentally be interacting with other tests as the ipv-what-ness
    isn't specified with the string "localhost"
    
    Relevant logs:
    
    * [Deadlock of the `net::tcp::tests::listen_localhost` test][mac]
    * [Failure of the `fast_rebind` test][win1]
    * [Failure of `multiple_connect_interleaved_lazy_schedule_ip4`][win2]
    
    [mac]: https://gist.github.com/alexcrichton/349c7ce7c620c1adb2f2
    [win1]: https://gist.github.com/alexcrichton/7e3611faae2e1edaee6f
    [win2]: https://gist.github.com/alexcrichton/4f5f87749af3ad0f9851
  3. Alex Crichton

    std: Draw from the same port pool during tests

    alexcrichton authored
    Instead of allocating the same ports for ipv4 and ipv6 tests, instead draw all
    ports from the same pool. Some tests connect to just "localhost" on a particular
    port which may accidentally be interacting with other tests as the ipv-what-ness
    isn't specified with the string "localhost"
    
    Relevant logs:
    
    * [Deadlock of the `net::tcp::tests::listen_localhost` test][mac]
    * [Failure of the `fast_rebind` test][win1]
    * [Failure of `multiple_connect_interleaved_lazy_schedule_ip4`][win2]
    
    [mac]: https://gist.github.com/alexcrichton/349c7ce7c620c1adb2f2
    [win1]: https://gist.github.com/alexcrichton/7e3611faae2e1edaee6f
    [win2]: https://gist.github.com/alexcrichton/4f5f87749af3ad0f9851
  4. bors

    Auto merge of #22765 - sanxiyn:dedup-rustdoc, r=alexcrichton

    bors authored
    rustdoc impl item did not include default methods for local crates, but did include them for external crates. This resulted in duplicate methods. Fix so that impl item does not include default methods for external crates.
    
    Fix #22595.
  5. Flavio Percoco Premoli

    register snapshot 880fb89

    FlaPer87 authored
Commits on Feb 26, 2015
  1. bors

    Auto merge of #22825 - semarie:openbsd-pathbuf, r=alexcrichton

    bors authored
    unbreak openbsd/bitrig build after 2d200c9 (the complete build/check on openbsd is in progress)
    
    @dhuseby maybe this one is in your list ?
  2. bors

    Auto merge of #22715 - edwardw:send-sync-audit, r=alexcrichton

    bors authored
    In the process, also replaces two raw mutable pointers with `Unique` to
    spell out the ownership semantics.
    
    cc #22709
  3. Seo Sanghyeon
  4. Seo Sanghyeon
  5. bors

    Auto merge of #22827 - sfackler:should_panic_pt1, r=alexcrichton

    bors authored
    This needs to make it into the snapshot before #21824 can land.
    
    r? @alexcrichton
  6. Edward Wang

    Send/Sync audit for libcollections

    edwardw authored
    In the process, also replaces a raw mutable pointers with Unique to
    spell out the ownership semantics.
    
    cc #22709
  7. bors

    Auto merge of #22810 - japaric:cow-path, r=alexcrichton

    bors authored
    The Path/PathBuf pair already implements the required `Borrow`/`ToOwned` traits and can be used in a `Cow` pointer, so why not?
    
    r? @alexcrichton
  8. Steven Fackler

    Whitelist #[should_panic]

    sfackler authored
  9. Edward Wang

    Tweak VecDeque's IterMut implementation

    edwardw authored
    So it is symmetric to its `Iter` implementation. Also kills an FIXME.
  10. Sébastien Marie
Commits on Feb 25, 2015
  1. bors

    Auto merge of #22767 - pnkfelix:issue-22265, r=nikomatsakis

    bors authored
    Avoid `cat_expr Erred` notes when already in error state.
    
    Also, to ensure we do not let the dropck get skipped, ICE if `cat_expr` errors when *not* in error state.
    
    This is not known to be a breaking change (i.e. I do not know of a current case that causes the new ICE to be exercised).
    
    Fix #22265
  2. bors
  3. Jorge Aparicio

    impl IntoCow for Path[Buf]

    japaric authored
  4. Manish Goregaokar
  5. Manish Goregaokar
  6. Manish Goregaokar
  7. Manish Goregaokar
  8. Manish Goregaokar
  9. Manish Goregaokar
  10. Manish Goregaokar

    Rollup merge of #22787 - pnkfelix:reenable-gate-for-unsafe_no_drop_fl…

    Manishearth authored
    …ag, r=alexcrichton
    
     Turn `unsafe_no_drop_flag` back into a gated-feature.
    
    Fix #22173
  11. Manish Goregaokar

    Rollup merge of #22744 - alexcrichton:issue-22738, r=aturon

    Manishearth authored
     Currently we have a `set_mode` mutator, so this just adds the pairing of a
    `mode` accessor to read the value.
    
    Closes #22738
  12. Manish Goregaokar

    Rollup merge of #22742 - alexcrichton:issue-22737, r=aturon

    Manishearth authored
     If the filename for a path is `None` then we know that the creation of the
    parent directory created the whole path so there's no need to retry the call to
    `create_dir`.
    
    Closes #22737
  13. Manish Goregaokar

    Rollup merge of #22729 - alexcrichton:ptr-stabilization, r=aturon

    Manishearth authored
     Specifically, the following actions were takend:
    
    * The `copy_memory` and `copy_nonoverlapping_memory` functions
      to drop the `_memory` suffix (as it's implied by the functionality). Both
      functions are now marked as `#[stable]`.
    * The `set_memory` function was renamed to `write_bytes` and is now stable.
    * The `zero_memory` function is now deprecated in favor of `write_bytes`
      directly.
    * The `Unique` pointer type is now behind its own feature gate called `unique`
      to facilitate future stabilization.
    
    [breaking-change]
  14. Manish Goregaokar

    Rollup merge of #22727 - alexcrichton:prep-env, r=aturon

    Manishearth authored
     This commit moves `std::env` away from the `std::old_io` error type as well as
    the `std::old_path` module. Methods returning an error now return `io::Error`
    and methods consuming or returning paths use `std::path` instead of
    `std::old_path`. This commit does not yet mark these APIs as `#[stable]`.
    
    This commit also migrates `std::old_io::TempDir` to `std::fs::TempDir` with
    essentially the exact same API. This type was added to interoperate with the new
    path API and has its own `tempdir` feature.
    
    Finally, this commit reverts the deprecation of `std::os` APIs returning the old
    path API types. This deprecation can come back once the entire `std::old_path`
    module is deprecated.
    
    [breaking-change]
  15. Manish Goregaokar

    Rollup merge of #22596 - alexcrichton:fix-some-impls, r=huonw

    Manishearth authored
     This commit removes many unnecessary `unsafe impl` blocks as well as pushing the
    needed implementations to the lowest level possible. I noticed that the bounds
    for `RwLock` are a little off when reviewing #22574 and wanted to ensure that we
    had our story straight on these implementations.
  16. Manish Goregaokar
  17. Manish Goregaokar

    Rollup merge of #22792 - semarie:openbsd-unbreak-nacl, r=alexcrichton

    Manishearth authored
     The recent commit on liblibc for nacl break the compilation for OpenBSD (and Bitrig too, I think).
    
    The problem is `ino_t` come from another block too now. This patch remove the extra declaration.
    
    ```
    .../src/liblibc/lib.rs:98:9: 98:37 error: a type named `ino_t` has already been imported in this module [E0251]
    .../src/liblibc/lib.rs:98 pub use types::os::arch::posix01::*;
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    error: aborting due to previous error
    ```
    
    @dhuseby do you have this problem too ? and if yes, does this patch correct it ?
  18. Manish Goregaokar

    Rollup merge of #22785 - nikomatsakis:issue-21750-normalization-with-…

    Manishearth authored
    …regions, r=pnkfelix
    
     Two changes:
    
    1. Make traits with assoc types invariant w/r/t their inputs.
    2. Fully normalize parameter environments, including any region variables (which were being overlooked).
    
    The former supports the latter, but also just seems like a reasonably good idea.
    
    Fixes #21750
    
    cc @edwardw
    r? @pnkfelix
  19. Manish Goregaokar

    Rollup merge of #22784 - rnestler:fix_doc_faq, r=dotdash

    Manishearth authored
     According to #22650 and bb0bbf6 the
    link changed.
    I think this should fix the link on http://doc.rust-lang.org/#faqs
  20. Manish Goregaokar

    Rollup merge of #22783 - alexcrichton:deprecate-taskpool, r=alexcrichton

    Manishearth authored
     Rather than stabilize on the current API, we're going to punt this
    concern to crates.io, to allow for faster iteration.
    
    [breaking-change]
Something went wrong with that request. Please try again.