-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Rollup of 34 pull requests #22352
Commits on Feb 12, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 995b159 - Browse repository at this point
Copy the full SHA 995b159View commit details -
Adjusting default CPUs for iOS
According to @dotdash it enables more aggressive optimizations from LLVM
Configuration menu - View commit details
-
Copy full SHA for 00a6ff9 - Browse repository at this point
Copy the full SHA 00a6ff9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3df5c4a - Browse repository at this point
Copy the full SHA 3df5c4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c686dc - Browse repository at this point
Copy the full SHA 9c686dcView commit details
Commits on Feb 13, 2015
-
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.
Configuration menu - View commit details
-
Copy full SHA for 3d9528a - Browse repository at this point
Copy the full SHA 3d9528aView commit details -
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]
Configuration menu - View commit details
-
Copy full SHA for e4a9eb9 - Browse repository at this point
Copy the full SHA e4a9eb9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4a2861 - Browse repository at this point
Copy the full SHA b4a2861View commit details -
Configuration menu - View commit details
-
Copy full SHA for aef5551 - Browse repository at this point
Copy the full SHA aef5551View commit details -
Remove reference to mailing list
Also add address of IRC server. Addresses rust-lang#22249.
Configuration menu - View commit details
-
Copy full SHA for c5dba72 - Browse repository at this point
Copy the full SHA c5dba72View commit details -
Configuration menu - View commit details
-
Copy full SHA for f28a333 - Browse repository at this point
Copy the full SHA f28a333View commit details -
Replace map(|x| *x) with cloned().
This partially resolves rust-lang#22243.
Configuration menu - View commit details
-
Copy full SHA for c6a647a - Browse repository at this point
Copy the full SHA c6a647aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c7cb8b - Browse repository at this point
Copy the full SHA 1c7cb8bView commit details -
Replace map(|x| (*x).clone()) with cloned().
This resolves rust-lang#22243, at least for one-letter variable names.
Configuration menu - View commit details
-
Copy full SHA for 539866b - Browse repository at this point
Copy the full SHA 539866bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce22f30 - Browse repository at this point
Copy the full SHA ce22f30View commit details -
Improve documentation for
Select::new()
.Remove incorrect claim, add example, reformat and re-word. Fixes rust-lang#22266
Configuration menu - View commit details
-
Copy full SHA for 805a31f - Browse repository at this point
Copy the full SHA 805a31fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b25d75 - Browse repository at this point
Copy the full SHA 4b25d75View commit details -
Configuration menu - View commit details
-
Copy full SHA for 58a7d58 - Browse repository at this point
Copy the full SHA 58a7d58View commit details -
Configuration menu - View commit details
-
Copy full SHA for 114301f - Browse repository at this point
Copy the full SHA 114301fView commit details -
Re-tag
slicing_syntax
asAccepted
.Rollup merge (373cbab) of PR rust-lang#20723 accidentally reverted a portion of commit 8327bcc which shifted `slicing_syntax` from Active to Accepted.
Configuration menu - View commit details
-
Copy full SHA for d414a39 - Browse repository at this point
Copy the full SHA d414a39View commit details -
Add diverging functions to the book.
We use them in some places, but never actually talk about the syntax.
Configuration menu - View commit details
-
Copy full SHA for 65eab6e - Browse repository at this point
Copy the full SHA 65eab6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c9ad0d1 - Browse repository at this point
Copy the full SHA c9ad0d1View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for a7d5c3f - Browse repository at this point
Copy the full SHA a7d5c3fView commit details -
Add
#[rustc_error]
annotation, which causes trans to signal an errorif 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.
Configuration menu - View commit details
-
Copy full SHA for fb05f28 - Browse repository at this point
Copy the full SHA fb05f28View commit details -
Configuration menu - View commit details
-
Copy full SHA for f48eda8 - Browse repository at this point
Copy the full SHA f48eda8View commit details -
This isn't something we want to guarantee.
Configuration menu - View commit details
-
Copy full SHA for e478f66 - Browse repository at this point
Copy the full SHA e478f66View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9eb4436 - Browse repository at this point
Copy the full SHA 9eb4436View commit details -
Configuration menu - View commit details
-
Copy full SHA for ece19bf - Browse repository at this point
Copy the full SHA ece19bfView commit details -
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 committedFeb 13, 2015 Configuration menu - View commit details
-
Copy full SHA for b19fda0 - Browse repository at this point
Copy the full SHA b19fda0View commit details -
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) ```
Configuration menu - View commit details
-
Copy full SHA for effad62 - Browse repository at this point
Copy the full SHA effad62View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3df8245 - Browse repository at this point
Copy the full SHA 3df8245View commit details -
Configuration menu - View commit details
-
Copy full SHA for 148d90b - Browse repository at this point
Copy the full SHA 148d90bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f64d912 - Browse repository at this point
Copy the full SHA f64d912View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d2e3d4 - Browse repository at this point
Copy the full SHA 6d2e3d4View commit details
Commits on Feb 14, 2015
-
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]
Configuration menu - View commit details
-
Copy full SHA for 5e3ae10 - Browse repository at this point
Copy the full SHA 5e3ae10View commit details -
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]
Configuration menu - View commit details
-
Copy full SHA for 7a52932 - Browse repository at this point
Copy the full SHA 7a52932View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e01f7f - Browse repository at this point
Copy the full SHA 1e01f7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 657081b - Browse repository at this point
Copy the full SHA 657081bView commit details -
Configuration menu - View commit details
-
Copy full SHA for af7b891 - Browse repository at this point
Copy the full SHA af7b891View commit details -
crates-and-modules - replace ")" more string - improve readability of grapheme
Thiago Carvalho committedFeb 14, 2015 Configuration menu - View commit details
-
Copy full SHA for f658efe - Browse repository at this point
Copy the full SHA f658efeView commit details
Commits on Feb 15, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 1a99315 - Browse repository at this point
Copy the full SHA 1a99315View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 36ff7b9 - Browse repository at this point
Copy the full SHA 36ff7b9View commit details -
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) ```
Configuration menu - View commit details
-
Copy full SHA for c4f6468 - Browse repository at this point
Copy the full SHA c4f6468View commit details -
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]
Configuration menu - View commit details
-
Copy full SHA for ee7dea9 - Browse repository at this point
Copy the full SHA ee7dea9View commit details -
Configuration menu - View commit details
-
Copy full SHA for f5a2dff - Browse repository at this point
Copy the full SHA f5a2dffView commit details -
Rollup merge of rust-lang#22229 - vhbit:ios-default-cpus, r=alexcrichton
According to @dotdash it enables more aggressive optimizations from LLVM
Configuration menu - View commit details
-
Copy full SHA for 5957a16 - Browse repository at this point
Copy the full SHA 5957a16View commit details -
Rollup merge of rust-lang#22238 - dotdash:llvmup_20150212, r=alexcric…
…hton Fixes rust-lang#22233 r? @alexcrichton
Configuration menu - View commit details
-
Copy full SHA for 168736a - Browse repository at this point
Copy the full SHA 168736aView commit details -
Configuration menu - View commit details
-
Copy full SHA for fc104ff - Browse repository at this point
Copy the full SHA fc104ffView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for a03ff79 - Browse repository at this point
Copy the full SHA a03ff79View commit details -
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]
Configuration menu - View commit details
-
Copy full SHA for 24cb751 - Browse repository at this point
Copy the full SHA 24cb751View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 1eca6fb - Browse repository at this point
Copy the full SHA 1eca6fbView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 91ea661 - Browse repository at this point
Copy the full SHA 91ea661View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 8d4dd8b - Browse repository at this point
Copy the full SHA 8d4dd8bView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 9c9a914 - Browse repository at this point
Copy the full SHA 9c9a914View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79da52e - Browse repository at this point
Copy the full SHA 79da52eView commit details -
Rollup merge of rust-lang#22271 - steveklabnik:gh22035, r=nikomatsakis
Fixes rust-lang#22035. (mostly by making it irrelevant)
Configuration menu - View commit details
-
Copy full SHA for 48f1e58 - Browse repository at this point
Copy the full SHA 48f1e58View commit details -
Configuration menu - View commit details
-
Copy full SHA for c242922 - Browse repository at this point
Copy the full SHA c242922View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 86920c5 - Browse repository at this point
Copy the full SHA 86920c5View commit details -
Rollup merge of rust-lang#22275 - steveklabnik:gh7538, r=huonw
We use them in some places, but never actually talk about the syntax.
Configuration menu - View commit details
-
Copy full SHA for 013769e - Browse repository at this point
Copy the full SHA 013769eView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 91e373a - Browse repository at this point
Copy the full SHA 91e373aView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 24ffd5b - Browse repository at this point
Copy the full SHA 24ffd5bView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for c34f8fb - Browse repository at this point
Copy the full SHA c34f8fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a3aa4a - Browse repository at this point
Copy the full SHA 5a3aa4aView commit details -
Rollup merge of rust-lang#22284 - steveklabnik:fix_another_lie, r=nik…
…omatsakis This isn't something we want to guarantee. r? @nikomatsakis
Configuration menu - View commit details
-
Copy full SHA for 82e42a0 - Browse repository at this point
Copy the full SHA 82e42a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51abc97 - Browse repository at this point
Copy the full SHA 51abc97View commit details -
Configuration menu - View commit details
-
Copy full SHA for a3a1f86 - Browse repository at this point
Copy the full SHA a3a1f86View commit details -
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]
Configuration menu - View commit details
-
Copy full SHA for f89168e - Browse repository at this point
Copy the full SHA f89168eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 59feb6f - Browse repository at this point
Copy the full SHA 59feb6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4587f64 - Browse repository at this point
Copy the full SHA 4587f64View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6aaf535 - Browse repository at this point
Copy the full SHA 6aaf535View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ee9d9e - Browse repository at this point
Copy the full SHA 5ee9d9eView commit details -
Rollup merge of rust-lang#22324 - Manishearth:patch-1, r=steveklabnik
(fixes rust-lang#22317) rollupable
Configuration menu - View commit details
-
Copy full SHA for bf25753 - Browse repository at this point
Copy the full SHA bf25753View commit details -
Configuration menu - View commit details
-
Copy full SHA for d80e5c7 - Browse repository at this point
Copy the full SHA d80e5c7View commit details -
Rollup merge of rust-lang#22329 - thiagooak:book, r=steveklabnik
on crates and modules - replace ")" on more strings - improve readability of grapheme
Configuration menu - View commit details
-
Copy full SHA for f43546f - Browse repository at this point
Copy the full SHA f43546fView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 3ce2e0d - Browse repository at this point
Copy the full SHA 3ce2e0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ae8b02 - Browse repository at this point
Copy the full SHA 3ae8b02View commit details