-
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
Rolling up PRs in the queue #12535
Rolling up PRs in the queue #12535
Commits on Feb 25, 2014
-
rustc: Don't error on the rlib symlinks
This commit implements a layman's version of realpath() for metadata::loader to use in order to not error on symlinks pointing to the same file. Closes rust-lang#12459
Configuration menu - View commit details
-
Copy full SHA for 8922fa0 - Browse repository at this point
Copy the full SHA 8922fa0View commit details -
Use lines_any() when parsing output form "ar"
On windows lines are delimited with \r\n while on unix they're delimited with \n. cc rust-lang#12471
Configuration menu - View commit details
-
Copy full SHA for 53b9484 - Browse repository at this point
Copy the full SHA 53b9484View commit details -
Remove some obsolete ignored tests
* compile-fail/vec-add.rs is obsolete, there are no mutable vectors any more, rust-lang#2711 is closed * compile-fail/issue-1451.rs is obsolete, there are no more structural records, rust-lang#1451 is closed * compile-fail/issue-2074.rs is obsolete, an up to date test is in run-pass/nested-enum-same-names.rs, rust-lang#2074 is closed * compile-fail/omitted-arg-wrong-types.rs is obsolete, rust-lang#2093 is closed
Configuration menu - View commit details
-
Copy full SHA for 3ca0167 - Browse repository at this point
Copy the full SHA 3ca0167View commit details -
std: make .swap_remove return Option<T>.
This is one of the last raw "indexing" method on vectors that returns `T` instead of the Option.
Configuration menu - View commit details
-
Copy full SHA for 16e635c - Browse repository at this point
Copy the full SHA 16e635cView commit details -
std: Add Vec.reserve for rounding-up reservation.
`.reserve_exact` can cause pathological O(n^2) behaviour, so providing a `.reserve` that ensures that capacity doubles (if you step 1, 2, ..., n) is more efficient. cc rust-lang#11949
Configuration menu - View commit details
-
Copy full SHA for ac64db9 - Browse repository at this point
Copy the full SHA ac64db9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cc9531 - Browse repository at this point
Copy the full SHA 3cc9531View commit details -
Configuration menu - View commit details
-
Copy full SHA for 84a8893 - Browse repository at this point
Copy the full SHA 84a8893View commit details -
Configuration menu - View commit details
-
Copy full SHA for dad52cf - Browse repository at this point
Copy the full SHA dad52cfView commit details -
syntax: record multibyte chars' positions absolutely, not relative to
file. Previously multibyte UTF-8 chars were being recorded as byte offsets from the start of the file, and then later compared against global byte positions, resulting in the compiler possibly thinking it had a byte position pointing inside a multibyte character, if there were multibyte characters in any non-crate files. (Although, sometimes the byte offsets line up just right to not ICE, but that was a coincidence.) Fixes rust-lang#11136. Fixes rust-lang#11178.
2Configuration menu - View commit details
-
Copy full SHA for ff79a44 - Browse repository at this point
Copy the full SHA ff79a44View commit details -
syntax: calculate positions of multibyte characters more correctly.
They are still are not completely correct, since it does not handle graphemes at all, just codepoints, but at least it handles the common case correctly. The calculation was previously very wrong (rather than just a little bit wrong): it wasn't accounting for the fact that every character is 1 byte, and so multibyte characters were pretending to be zero width. cc rust-lang#8706
Configuration menu - View commit details
-
Copy full SHA for 8812e8a - Browse repository at this point
Copy the full SHA 8812e8aView commit details -
Mark by-value parameters that are passed on the stack as nocapture
The by-value argument is a copy that is only valid for the duration of the function call, therefore keeping any pointer to it that outlives the call is illegal.
Configuration menu - View commit details
-
Copy full SHA for 0309104 - Browse repository at this point
Copy the full SHA 0309104View commit details -
syntax: allow stmt/expr macro invocations to be delimited by {}.
This makes using control-flow-y macros like `spawn! { ... }` more fluent and natural. cc rust-lang#11892.
Configuration menu - View commit details
-
Copy full SHA for 6757053 - Browse repository at this point
Copy the full SHA 6757053View commit details -
In its first pass, namely gather_loans, the borrow checker tracks the initialization sites among other things it does. It does so for let bindings with initializers but not for bindings in match arms, which are effectively also assignments. This patch does that for borrow checker. Closes rust-lang#12452.
Configuration menu - View commit details
-
Copy full SHA for 4690ab0 - Browse repository at this point
Copy the full SHA 4690ab0View commit details -
Run the travis build as one large command
It appears that travis doesn't stop running script commands after the first one fails (see travis-ci/travis-ci#1066), so chain all our commands together with && for now.
Configuration menu - View commit details
-
Copy full SHA for a7b1d65 - Browse repository at this point
Copy the full SHA a7b1d65View commit details -
Update source code layout in src/
with the new modules that moved from extra, and with other undocumented folders. also add a note about potential changes.
Configuration menu - View commit details
-
Copy full SHA for 54abbda - Browse repository at this point
Copy the full SHA 54abbdaView commit details -
Tutorial: Add std::num::sqrt to the example.
We should be using the package std::num::sqrt instead of the sqrt function that was defined to return 0.0
Configuration menu - View commit details
-
Copy full SHA for 7fc7c37 - Browse repository at this point
Copy the full SHA 7fc7c37View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35f2da4 - Browse repository at this point
Copy the full SHA 35f2da4View commit details -
5
Configuration menu - View commit details
-
Copy full SHA for 7d85546 - Browse repository at this point
Copy the full SHA 7d85546View commit details