Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 34 pull requests #22352

Closed
wants to merge 75 commits into from
Closed

Commits on Feb 12, 2015

  1. Configuration menu
    Copy the full SHA
    995b159 View commit details
    Browse the repository at this point in the history
  2. Adjusting default CPUs for iOS

    According to @dotdash it enables more aggressive optimizations from LLVM
    vhbit committed Feb 12, 2015
    Configuration menu
    Copy the full SHA
    00a6ff9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3df5c4a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9c686dc View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2015

  1. Unstabilise words for now.

    It is not totally clear if we should just use whitespace, or if the full
    unicode word-breaking algorithm is more correct. If there is demand we
    can reconsider this decision (and consider the precise algorithm to use
    in detail).
    
    cc rust-lang#15628.
    huonw committed Feb 13, 2015
    Configuration menu
    Copy the full SHA
    3d9528a View commit details
    Browse the repository at this point in the history
  2. Remove _VALUE from the float extremes constants.

    In `std::f32` and `std::f64`:
    
    - `MIN_VALUE` → `MIN`
    - `MAX_VALUE` → `MAX`
    - `MIN_POS_VALUE` → `MIN_POSITIVE`
    
    This matches the corresponding integer constants.
    
    [breaking-change]
    huonw committed Feb 13, 2015
    Configuration menu
    Copy the full SHA
    e4a9eb9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b4a2861 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    aef5551 View commit details
    Browse the repository at this point in the history
  5. Remove reference to mailing list

    Also add address of IRC server. Addresses rust-lang#22249.
    iKevinY committed Feb 13, 2015
    Configuration menu
    Copy the full SHA
    c5dba72 View commit details
    Browse the repository at this point in the history
  6. Make if after colon lowercase

    fhahn committed Feb 13, 2015
    Configuration menu
    Copy the full SHA
    f28a333 View commit details
    Browse the repository at this point in the history
  7. Replace map(|x| *x) with cloned().

    This partially resolves rust-lang#22243.
    ruuda committed Feb 13, 2015
    Configuration menu
    Copy the full SHA
    c6a647a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1c7cb8b View commit details
    Browse the repository at this point in the history
  9. Replace map(|x| (*x).clone()) with cloned().

    This resolves rust-lang#22243, at least for one-letter variable names.
    ruuda committed Feb 13, 2015
    Configuration menu
    Copy the full SHA
    539866b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    ce22f30 View commit details
    Browse the repository at this point in the history
  11. Improve documentation for Select::new().

    Remove incorrect claim, add example, reformat and re-word.
    
    Fixes rust-lang#22266
    steveklabnik committed Feb 13, 2015
    Configuration menu
    Copy the full SHA
    805a31f View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    4b25d75 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    58a7d58 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    114301f View commit details
    Browse the repository at this point in the history
  15. Re-tag slicing_syntax as Accepted.

    Rollup merge (373cbab) of PR rust-lang#20723
    accidentally reverted a portion of commit
    8327bcc which shifted
    `slicing_syntax` from Active to Accepted.
    pnkfelix committed Feb 13, 2015
    Configuration menu
    Copy the full SHA
    d414a39 View commit details
    Browse the repository at this point in the history
  16. Add diverging functions to the book.

    We use them in some places, but never actually talk about the syntax.
    steveklabnik committed Feb 13, 2015
    Configuration menu
    Copy the full SHA
    65eab6e View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    c9ad0d1 View commit details
    Browse the repository at this point in the history
  18. Added all active features to the list in reference.md.

    Added a second note about keeping the reference.md list up-to-date to
    the bottom of the list, since not everyone (including me) reads the
    big comment at the top of it.  :)
    
    Ensured that the feature gate list in reference.md is kept in
    alphabetical order.
    pnkfelix committed Feb 13, 2015
    Configuration menu
    Copy the full SHA
    a7d5c3f View commit details
    Browse the repository at this point in the history
  19. Add #[rustc_error] annotation, which causes trans to signal an error

    if found on the `main()` function. This lets you write tests that live
    in `compile-fail` but are expected to compile successfully. This is
    handy when you have many small variations on a theme that you want to
    keep together, and you are just testing the type checker, not the
    runtime semantics.
    nikomatsakis committed Feb 13, 2015
    Configuration menu
    Copy the full SHA
    fb05f28 View commit details
    Browse the repository at this point in the history
  20. Fix small copy-paste typo

    unode committed Feb 13, 2015
    Configuration menu
    Copy the full SHA
    f48eda8 View commit details
    Browse the repository at this point in the history
  21. Don't specify tuple layout.

    This isn't something we want to guarantee.
    steveklabnik committed Feb 13, 2015
    Configuration menu
    Copy the full SHA
    e478f66 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    9eb4436 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    ece19bf View commit details
    Browse the repository at this point in the history
  24. Remove ExactSizeIterator from 64-bit ranges.

    Fixes rust-lang#22047
    
    Range<u64> and Range<i64> may be longer than usize::MAX on 32-bit
    platforms, and thus they cannot fulfill the protocol for
    ExactSizeIterator. We don't want a nonobvious platform dependency in
    basic iterator traits, so the trait impl is removed.
    
    The logic of this change assumes that usize is at least 32-bit.
    
    This is technically a breaking change; note that Range<usize> and
    Range<isize> are always ExactSizeIterators.
    
    [breaking-change]
    Ulrik Sverdrup committed Feb 13, 2015
    Configuration menu
    Copy the full SHA
    b19fda0 View commit details
    Browse the repository at this point in the history
  25. Add the build date to the reported version. rust-lang#21957

    rustc --version says
    
    ```
    rustc 1.0.0-dev (d0e82a6 2015-02-05) (built 2015-02-11)
    ```
    brson committed Feb 13, 2015
    Configuration menu
    Copy the full SHA
    effad62 View commit details
    Browse the repository at this point in the history
  26. add test for rust-lang#21909

    Jorge Aparicio committed Feb 13, 2015
    Configuration menu
    Copy the full SHA
    3df8245 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    148d90b View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    f64d912 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    6d2e3d4 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2015

  1. Dramatically expand the docs of std::raw.

    This overhauls the very meager docs that currently exist to clarify
    various understandable confusions that I've noticed, e.g. people look in
    `std::raw` for the "real" types of slices like `&[T]`, or think that
    `Slice<T>` refers to `[T]` (fixes rust-lang#22214).
    
    This patch takes the liberty of offering some "style" guidance around
    `raw::Slice`, since there's more restricted ways to duplicate all
    functionality connected to it: `std::slice::from_raw_parts{,_mut}` for
    construction and `.as_{,mut_}ptr` & `.len` for deconstruction.
    
    It also deprecates the `std::raw::Closure` type which is now useless for
    non-type-erased closures, and replaced by `TraitObject` for `&Fn`, `&mut
    FnMut` etc, so I guess it should be called a:
    
    [breaking-change]
    huonw committed Feb 14, 2015
    Configuration menu
    Copy the full SHA
    5e3ae10 View commit details
    Browse the repository at this point in the history
  2. Make std::raw::Repr an unsafe trait

    The default implementation of .repr() will call conveniently call
    transmute_copy which should be appropriate for all implementors, but is
    memory unsafe if used wrong.
    
    Fixes rust-lang#22260
    
    You need to use `unsafe impl` to implement the Repr trait now.
    
    [breaking-change]
    Ulrik Sverdrup authored and huonw committed Feb 14, 2015
    Configuration menu
    Copy the full SHA
    7a52932 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1e01f7f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    657081b View commit details
    Browse the repository at this point in the history
  5. Correct typo

    shepmaster committed Feb 14, 2015
    Configuration menu
    Copy the full SHA
    af7b891 View commit details
    Browse the repository at this point in the history
  6. Documentation Fixes

    crates-and-modules - replace ")"
    more string - improve readability of grapheme
    Thiago Carvalho committed Feb 14, 2015
    Configuration menu
    Copy the full SHA
    f658efe View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2015

  1. Configuration menu
    Copy the full SHA
    1a99315 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#22132 - steveklabnik:gh16645, r=alexcrichton

    Fixes rust-lang#16645
    
    Fixing this in any deeper way will require an RFC, so let's just document the current behavior.
    steveklabnik committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    36ff7b9 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#22201 - brson:version, r=nick29581

    rustc --version says
    
    ```
    rustc 1.0.0-dev (d0e82a6 2015-02-05 14:38:56 -0800) (built 2015-02-11)
    ```
    steveklabnik committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    c4f6468 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#22218 - huonw:raw-docs, r=steveklabnik,huonw

    This overhauls the very meager docs that currently exist to clarify
    various understandable confusions that I've noticed, e.g. people look in
    `std::raw` for the "real" types of slices like `&[T]`, or think that
    `Slice<T>` refers to `[T]` (fixes rust-lang#22214).
    
    This patch takes the liberty of offering some "style" guidance around
    `raw::Slice`, since there's more restricted ways to duplicate all
    functionality connected to it: `std::slice::from_raw_parts{,_mut}` for
    construction and `.as_{,mut_}ptr` & `.len` for deconstruction.
    
    It also deprecates the `std::raw::Closure` type which is now useless for
    non-type-erased closures, and replaced by `TraitObject` for `&Fn`, `&mut
    FnMut` etc, so I guess it should be called a:
    
    [breaking-change]
    steveklabnik committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    ee7dea9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f5a2dff View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#22229 - vhbit:ios-default-cpus, r=alexcrichton

    According to @dotdash it enables more aggressive optimizations from LLVM
    steveklabnik committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    5957a16 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    168736a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    fc104ff View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#22253 - huonw:unstable-words, r=aturon

    It is not totally clear if we should just use whitespace, or if the full
    unicode word-breaking algorithm is more correct. If there is demand we
    can reconsider this decision (and consider the precise algorithm to use
    in detail).
    
    cc rust-lang#15628.
    steveklabnik committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    a03ff79 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#22254 - huonw:float-value--, r=aturon

    In `std::f32` and `std::f64`:
    
    - `MIN_VALUE` → `MIN`
    - `MAX_VALUE` → `MAX`
    - `MIN_POS_VALUE` → `MIN_POSITIVE`
    
    This matches the corresponding integer constants.
    
    [breaking-change]
    steveklabnik committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    24cb751 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#22262 - lfairy:unsafe-cell-lang-item, r=ale…

    …xcrichton
    
    `Unsafe` was renamed to `UnsafeCell` a while ago, but the corresponding lang item kept the old name. This patch fixes the inconsistency.
    
    r? @eddyb
    steveklabnik committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    1eca6fb View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#22263 - iKevinY:no-mailing-list, r=nikomats…

    …akis
    
    Removes the link to the rust-dev mailing list in the bug report submission page and also adds the address of the IRC server (`irc.mozilla.org`). Addresses rust-lang#22249.
    steveklabnik committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    91ea661 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#22264 - fhahn:tiny-doc-fix2, r=Gankro

    While having a look at the Rust book I found this tiny error. In my opinion this if should be all lowercase, because it follows a colon, but I am no native speaker, so I am probably wrong. Also it is a very tiny change, so feel free to include it in any bigger documentation patch.
    steveklabnik committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    8d4dd8b View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#22268 - steveklabnik:improve_wait, r=nikoma…

    …tsakis
    
    Remove incorrect claim, add example, reformat and re-word.
    
    Fixes rust-lang#22266
    steveklabnik committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    9c9a914 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    79da52e View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#22271 - steveklabnik:gh22035, r=nikomatsakis

    Fixes rust-lang#22035. (mostly by making it irrelevant)
    steveklabnik committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    48f1e58 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    c242922 View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#22274 - pnkfelix:retag-slicing-syntax-as-ac…

    …cepted, r=nikomatsakis
    
    Re-tag `slicing_syntax` as `Accepted`.
    
    Rollup merge (373cbab) of PR rust-lang#20723
    accidentally reverted a portion of commit
    8327bcc which shifted
    `slicing_syntax` from Active to Accepted.
    steveklabnik committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    86920c5 View commit details
    Browse the repository at this point in the history
  19. Rollup merge of rust-lang#22275 - steveklabnik:gh7538, r=huonw

    We use them in some places, but never actually talk about the syntax.
    steveklabnik committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    013769e View commit details
    Browse the repository at this point in the history
  20. Rollup merge of rust-lang#22276 - ruud-v-a:map-clone, r=nikomatsakis

    This resolves rust-lang#22243 for the single-letter variables that I could grep. Some occurences could not be replaced.
    steveklabnik committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    91e373a View commit details
    Browse the repository at this point in the history
  21. Rollup merge of rust-lang#22277 - pnkfelix:reference-update-feature-g…

    …ate-list, r=steveklabnik
    
    Added all active features to the list in reference.md.
    
    Added a second note about keeping the reference.md list up-to-date to the bottom of the list, since not everyone (including me) reads the big comment at the top of it.  :)
    
    Ensured that the feature gate list in reference.md is kept in alphabetical order.
    steveklabnik committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    24ffd5b View commit details
    Browse the repository at this point in the history
  22. Rollup merge of rust-lang#22278 - nikomatsakis:rustc-error, r=nikomat…

    …sakis
    
    Add `#[rustc_error]` annotation, which causes trans to signal an error
    if found on the `main()` function. This lets you write tests that live
    in `compile-fail` but are expected to compile successfully. This is
    handy when you have many small variations on a theme that you want to
    keep together, and you are just testing the type checker, not the
    runtime semantics.
    
    r? @pnkfelix
    steveklabnik committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    c34f8fb View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    5a3aa4a View commit details
    Browse the repository at this point in the history
  24. Rollup merge of rust-lang#22284 - steveklabnik:fix_another_lie, r=nik…

    …omatsakis
    
    This isn't something we want to guarantee.
    
    r? @nikomatsakis
    steveklabnik committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    82e42a0 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    51abc97 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    a3a1f86 View commit details
    Browse the repository at this point in the history
  27. Rollup merge of rust-lang#22299 - bluss:range-64-is-not-exact-size, r…

    …=alexcrichton
    
    Fixes rust-lang#22047
    
    `Range<u64>` and `Range<i64>` may be longer than usize::MAX on 32-bit
    platforms, and thus they cannot fulfill the protocol for
    ExactSizeIterator. We don't want a nonobvious platform dependency in
    basic iterator traits, so the trait impl is removed.
    
    The logic of this change assumes that usize is at least 32-bit.
    
    This is technically a breaking change; note that `Range<usize>` and
    `Range<isize>` are always ExactSizeIterators.
    
    [breaking-change]
    steveklabnik committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    f89168e View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    59feb6f View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    4587f64 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    6aaf535 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    5ee9d9e View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    bf25753 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    d80e5c7 View commit details
    Browse the repository at this point in the history
  34. Rollup merge of rust-lang#22329 - thiagooak:book, r=steveklabnik

    on crates and modules - replace ")"
    on more strings - improve readability of grapheme
    steveklabnik committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    f43546f View commit details
    Browse the repository at this point in the history
  35. Rollup merge of rust-lang#22347 - iKevinY:std-lib-panicking, r=brson

    Rename `libstd/failure.rs` to `libstd/panicking.rs` and `on_fail` to `on_panic`. Closes rust-lang#22306.
    steveklabnik committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    3ce2e0d View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    3ae8b02 View commit details
    Browse the repository at this point in the history