| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2016-08-17 | Rollup merge of #35610 - JessRudder:33637-doc-update-for-str-representaton, ↵ | Jonathan Turner | -0/+4 | |
| r=steveklabnik Add note to docs for &str that example is to demo internals only r? @steveklabnik This adds a note below the &str representation example explaining that the example provided should not be used under normal circumstances.. Would it make sense to point people in the direction of the method(s) they should use instead? I left it out in the interest of not complicating the documentation, but, there's definitely an argument to be made for adding a bit of guidance in there. | ||||
| 2016-08-16 | Auto merge of #35354 - tomgarcia:covariant-drain, r=alexcrichton | bors | -6/+13 | |
| Made vec_deque::Drain, hash_map::Drain, and hash_set::Drain covariant Fixed the rest of the Drain iterators. | ||||
| 2016-08-14 | Rollup merge of #35574 - badboy:emscripten-test-fixes, r=brson | Eduard-Mihai Burtescu | -8/+9 | |
| Emscripten test fixes This picks up parts of #31623 to disable certain tests that emscripten can't run, as threads/processes are not supported. I re-applied @tomaka's changes manually, I can rebase those commits with his credentials if he wants. It also disables jemalloc for emscripten (at least in Rustbuild, I have to check if there is another setting for the same thing in the old makefile approach). This should not impact anything for normal builds. | ||||
| 2016-08-14 | Rollup merge of #35444 - alexcrichton:optimize-catch-unwind, r=brson | Eduard-Mihai Burtescu | -36/+68 | |
| std: Optimize panic::catch_unwind slightly The previous implementation of this function was overly conservative with liberal usage of `Option` and `.unwrap()` which in theory never triggers. This commit essentially removes the `Option`s in favor of unsafe implementations, improving the code generation of the fast path for LLVM to see through what's happening more clearly. cc #34727 | ||||
| 2016-08-14 | Rollup merge of #34941 - qolop:patch-2, r=apasel422 | Eduard-Mihai Burtescu | -2/+2 | |
| Fix typo (privledge->privilege) | ||||
| 2016-08-12 | provide additional justification for array interface design | Matthew Piziak | -3/+8 | |
| Explain why Rust does not implement traits for large arrays. Explain why most methods are implemented on slices rather than arrays. | ||||
| 2016-08-12 | Update note to include recommendation to use `.as_slice()` | JessRudder | -1/+2 | |
| 2016-08-12 | Add doc example for `std::ffi::CString::from_vec_unchecked`. | Corey Farwell | -0/+11 | |
| 2016-08-11 | Fix typo | Patrick McCann | -1/+1 | |
| Didn't see this one at first. | ||||
| 2016-08-11 | Add note to docs for &str that example is to demo internals only | JessRudder | -0/+3 | |
| 2016-08-11 | std: Optimize panic::catch_unwind slightly | Alex Crichton | -36/+68 | |
| The previous implementation of this function was overly conservative with liberal usage of `Option` and `.unwrap()` which in theory never triggers. This commit essentially removes the `Option`s in favor of unsafe implementations, improving the code generation of the fast path for LLVM to see through what's happening more clearly. cc #34727 | ||||
| 2016-08-11 | Rollup merge of #35569 - pietroalbini:fix-typo, r=steveklabnik | Jonathan Turner | -1/+1 | |
| Fix docs typo in std::os::unix::net::SocketAddr::is_unnamed | ||||
| 2016-08-11 | Rollup merge of #35482 - frewsxcv:patch-31, r=GuillaumeGomez | Jonathan Turner | -17/+9 | |
| Remove unnecessary `main` functions in doc examples. | ||||
| 2016-08-11 | Auto merge of #34866 - cynicaldevil:panic-counter, r=alexcrichton | bors | -23/+40 | |
| Refactored code to access TLS only in case of panic (II) Fixes #34787 r? @alexcrichton Do it **very** carefully this time! | ||||
| 2016-08-10 | Auto merge of #35525 - jonathandturner:rollup, r=jonathandturner | bors | -7/+6 | |
| Rollup of 15 pull requests - Successful merges: #35371, #35396, #35446, #35449, #35452, #35458, #35465, #35466, #35470, #35475, #35477, #35484, #35504, #35507, #35524 - Failed merges: #35395, #35415 | ||||
| 2016-08-10 | Added an update_panic_count function to handle access to PANIC_COUNT | Nikhil Shagrithaya | -23/+28 | |
| 2016-08-10 | Added a shim around rust_panic to update panic counter | Nikhil Shagrithaya | -1/+11 | |
| 2016-08-10 | Refactored code to access TLS only in case of panic | Nikhil Shagrithaya | -9/+11 | |
| 2016-08-10 | Clarify std::os::unix::net::SocketAddr::is_unnamed's docstring | Pietro Albini | -1/+1 | |
| 2016-08-10 | Fix docs typo in std::os::unix::net::SocketAddr::is_unnamed | Pietro Albini | -1/+1 | |
| 2016-08-10 | [emscripten] Disable code paths that don't work on emscripten | Jan-Erik Rediger | -8/+9 | |
| 2016-08-09 | Auto merge of #35426 - frewsxcv:os-sys-env-args-phantoms, r=alexcrichton | bors | -6/+7 | |
| Utilize `PhantomData` to enforce `!Sync` and `!Send` field. None | ||||
| 2016-08-09 | Auto merge of #35425 - apasel422:refcell, r=alexcrichton | bors | -0/+16 | |
| Implement `RefCell::{try_borrow, try_borrow_mut}` CC #35070 r? @alexcrichton | ||||
| 2016-08-08 | Implement `RefCell::{try_borrow, try_borrow_mut}` | Andrew Paseltiner | -0/+16 | |
| 2016-08-08 | Rollup merge of #35371 - mgattozzi:master, r=steveklabnik | Jonathan Turner | -7/+6 | |
| Update HashMap docs regarding DoS protection Because of changes to how Rust acquires randomness HashMap is not guaranteed to be DoS resistant. This commit reflects these changes in the docs themselves and provides an alternative method to creating a hash that is resistant if needed. This fixes #33817 and includes relevant information regarding changes made in #33086 | ||||
| 2016-08-08 | Remove unnecessary `main` functions in doc examples. | Corey Farwell | -17/+9 | |
| 2016-08-07 | Rollup merge of #35436 - frewsxcv:into-vec, r=GuillaumeGomez | Jonathan Turner | -0/+9 | |
| Add doc example for `std::ffi::NulError::into_vec`. None | ||||
| 2016-08-07 | Rollup merge of #35433 - mneumann:dragonfly-fix-libstd-errno-location, ↵ | Jonathan Turner | -0/+1 | |
| r=alexcrichton Fix build on DragonFly (unused function errno_location) Function errno_location() is not used on DragonFly. As warnings are errors, this breaks the build. | ||||
| 2016-08-07 | Utilize `PhantomData` to enforce `!Sync` and `!Send` field. | Corey Farwell | -6/+7 | |
| 2016-08-06 | Auto merge of #35378 - Amanieu:rwlock_eagain, r=alexcrichton | bors | -1/+3 | |
| Handle RwLock reader count overflow `pthread_rwlock_rdlock` may return `EAGAIN` if the maximum reader count overflows. We shouldn't return a successful lock in that case. | ||||
| 2016-08-06 | Add doc example for `std::ffi::NulError::into_vec`. | Corey Farwell | -0/+9 | |
| 2016-08-06 | Fix build on DragonFly (unused function errno_location) | Michael Neumann | -0/+1 | |
| Function errno_location() is not used on DragonFly. As warnings are errors, this breaks the build. | ||||
| 2016-08-06 | Rollup merge of #34916 - tbu-:pr_comment_on_seek_cast, r=GuillaumeGomez | Eduard-Mihai Burtescu | -4/+8 | |
| Comment on the casts in the `seek` implementations on files | ||||
| 2016-08-05 | Handle RwLock reader count overflow | Amanieu d'Antras | -1/+3 | |
| 2016-08-05 | Comment on the casts in the `seek` implementations on files | Tobias Bucher | -4/+8 | |
| 2016-08-05 | Update HashMap docs regarding DoS protection | Michael Gattozzi | -7/+6 | |
| Because of changes to how Rust acquires randomness HashMap is not guaranteed to be DoS resistant. This commit reflects these changes in the docs themselves and provides an alternative method to creating a hash that is resistant if needed. | ||||
| 2016-08-05 | Rollup merge of #35239 - dns2utf8:doc_park_timeout, r=steveklabnik | Guillaume Gomez | -1/+25 | |
| Doc `std::thread::park_timeout` r? @steveklabnik | ||||
| 2016-08-05 | Rollup merge of #35182 - frewsxcv:nulerror, r=steveklabnik | Guillaume Gomez | -0/+12 | |
| Add doc example for `std::ffi::NulError::nul_position`. None | ||||
| 2016-08-05 | Rollup merge of #35175 - frewsxcv:tcp, r=GuillaumeGomez | Guillaume Gomez | -1/+10 | |
| A couple `std::net` doc improvements. None | ||||
| 2016-08-05 | Rollup merge of #35109 - GuillaumeGomez:io_docs, r=steveklabnik | Guillaume Gomez | -2/+222 | |
| Add io::Error doc examples Fixes #29359. r? @steveklabnik | ||||
| 2016-08-05 | Rollup merge of #35076 - GuillaumeGomez:file_type_docs, r=steveklabnik | Guillaume Gomez | -1/+59 | |
| Add doc examples for FileType struct Part of #29356. r? @steveklabnik | ||||
| 2016-08-04 | Made vec_deque::Drain, hash_map::Drain, and hash_set::Drain covariant | Thomas Garcia | -6/+13 | |
| 2016-08-03 | Add link to replacement function | Stefan Schindler | -1/+6 | |
| 2016-08-03 | Add an example to `std::thread::park_timeout` | Stefan Schindler | -0/+19 | |
| 2016-08-03 | Add doc examples for FileType struct | Guillaume Gomez | -1/+59 | |
| 2016-08-02 | Add doc example for `std::ffi::NulError::nul_position`. | Corey Farwell | -0/+12 | |
| 2016-08-02 | Auto merge of #35084 - tbu-:pr_lowercase_wtf8_debug, r=brson | bors | -2/+2 | |
| Escape the unmatched surrogates with lower-case hexadecimal numbers It's done the same way for the rest of the codepoint escapes. | ||||
| 2016-08-01 | Link to relevant method/struct for `std::net::Shutdown` docs. | Corey Farwell | -1/+5 | |
| 2016-08-01 | Indicate where the `std::net::Incoming` struct is created. | Corey Farwell | -0/+5 | |
| 2016-07-31 | Use monotonic time with condition variables. | Tomasz Miąsko | -9/+74 | |
| Configure condition variables to use monotonic time using pthread_condattr_setclock on systems where this is possible. This fixes the issue when thread waiting on condition variable is woken up too late when system time is moved backwards. | ||||
