summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2014-10-07Update html_root_url for 0.12.0 releaseBrian Anderson-32/+32
2014-10-07auto merge of #17832 : brson/rust/updateversion, r=alexcrichtonbors-1/+1
2014-10-07auto merge of #17802 : Gankro/rust/collection-docs-redux, r=aturonbors-3/+322
Adds a high-level discussion of "what collection should you use for what", as well as some general discussion of correct/efficient usage of the capacity, iterator, and entry APIs. Still building docs to confirm this renders right and the examples are good, but the content can be reviewed now.
2014-10-07auto merge of #17807 : nick29581/rust/slice6, r=aturonbors-405/+663
r? @aturon
2014-10-06add missing btree re-exportsAlexis Beingessner-0/+2
2014-10-06library-level docs for collectionsAlexis Beingessner-3/+320
2014-10-07Reinstate AsSlice impls for Option and ResultNick Cameron-0/+37
2014-10-07Rename slicing methodsNick Cameron-24/+225
2014-10-07Rename slice::SliceNick Cameron-68/+30
2014-10-07Put slicing syntax behind a feature gate.Nick Cameron-39/+101
[breaking-change] If you are using slicing syntax you will need to add #![feature(slicing_syntax)] to your crate.
2014-10-07Use slice syntax instead of slice_to, etc.Nick Cameron-317/+313
2014-10-06Revise DST test to not require duplicate errors.Aaron Turon-2/+0
2014-10-06Remove core::any::AnyPrivateAaron Turon-7/+2
[Previously](https://github.com/rust-lang/rust/commit/e5da6a71a6a0b46dd3630fc8326e6d5906a1fde6), the `Any` trait was split into a private portion and an (empty) public portion, in order to hide the implementation strategy used for downcasting. However, the [new rules](https://github.com/rust-lang/rust/commit/e9ad12c0cae5c43ada6641c7dc840a0fbe5010a2) for privacy forbid `AnyPrivate` from actually being private. This patch thus reverts the introduction of `AnyPrivate`. Although this is unlikely to break any real code, it removes a public trait and is therefore a: [breaking-change]
2014-10-06doc: Update output of `rustc --version`Brian Anderson-1/+1
2014-10-06auto merge of #17820 : pnkfelix/rust/fsk-improve-binary_search-doc2, ↵bors-2/+42
r=alexcrichton Add example to doc for `slice::ImmutableSlice::binary_search`. Fix #17817.
2014-10-06auto merge of #17798 : tomjakubowski/rust/rustdoc-fix-bounds, r=alexcrichtonbors-15/+42
This PR adds support in rustdoc for properly naming lifetimes in bounds, instead of just showing `'static` for everything. It also adds support for unboxed function sugar bounds, which were also previously rendered as `'static`.
2014-10-06auto merge of #17796 : tomjakubowski/rust/rustdoc-ice-17736, r=alexcrichtonbors-1/+11
Previously, external code might call `markdown::render()` without having called `markdown::reset_headers()`, meaning the TLS key `used_header_map` was unset. Now `markdown::render()` ensures that `used_header_map` is set by calling `reset_headers` if necessary. Fix #17736
2014-10-06Add example to doc for `slice::ImmutableSlice::binary_search`.Felix S. Klock II-2/+42
Fix #17817.
2014-10-06rustdoc: Include lifetimes in re-exported boundsTom Jakubowski-0/+4
Fix #17818
2014-10-06auto merge of #17814 : vhbit/rust/ios-build-fix, r=huonwbors-0/+1
2014-10-06auto merge of #17812 : thestinger/rust/jemalloc, r=alexcrichtonbors-0/+0
This includes optimizations to the thread cache and support for shrinking and expanding huge (>4M) allocations in-place.
2014-10-06rustdoc: Remove dummy UnknownBound variantTom Jakubowski-10/+4
2014-10-06auto merge of #17803 : bkoropoff/rust/issue-17021, r=alexcrichtonbors-54/+78
This closes issue #17021.
2014-10-06rustdoc: Support unboxed fn sugar in boundsTom Jakubowski-9/+21
2014-10-06rustdoc: Correctly name lifetimes in boundsTom Jakubowski-13/+30
Fix #16518
2014-10-06rustdoc: make calls of markdown::render saferTom Jakubowski-1/+11
Previously, external code might call `markdown::render()` without having called `markdown::reset_headers()`, meaning the TLS key `used_header_map` was unset. Now `markdown::render()` ensures that `used_header_map` is set by calling `reset_headers` if necessary. Fix #17736
2014-10-06auto merge of #17781 : P1start/rust/bitflags-lints, r=alexcrichtonbors-120/+173
Closes #17773.
2014-10-06Fixed iOS build (statics name lint)Valerii Hiora-0/+1
2014-10-06Remove the #[allow(non_uppercase_statics)] attr from bitflags!P1start-42/+37
2014-10-06Rename the file permission statics in std::io to be uppercaseP1start-78/+136
For example, this renames `GroupRWX` to `GROUP_RWX`, and deprecates the old name. Code using these statics should be updated accordingly.
2014-10-06auto merge of #17414 : jakub-/rust/issue-17405, r=alexcrichtonbors-14/+86
Fixes #17405. Fixes #17518. Fixes #17800.
2014-10-05update jemallocDaniel Micay-0/+0
This includes optimizations to the thread cache and support for shrinking and expanding huge (>4M) allocations in-place.
2014-10-06auto merge of #17809 : thestinger/rust/windows, r=eddybbors-4/+4
2014-10-05work around yet another MinGW-w64 ASLR bugDaniel Micay-4/+4
2014-10-05auto merge of #17794 : SimonSapin/rust/patch-8, r=alexcrichtonbors-4/+5
2014-10-05Fix handling of struct variants in a couple of placesJakub Wieczorek-14/+86
Fixes #17405. Fixes #17518. Fixes #17800.
2014-10-05Build regression test for issue #17021 with -gBrian Koropoff-0/+2
This causes it to hit the previously ICEing debuginfo codepath
2014-10-05Handle emitting debug info for unboxed closuresBrian Koropoff-54/+76
This fixes an ICE. Closes issue #17021
2014-10-05auto merge of #17762 : bkoropoff/rust/issue-17734, r=alexcrichtonbors-1/+24
Closes issue #17734 r? @nick29581
2014-10-05Add regression test for issue #17734Brian Koropoff-0/+23
2014-10-05Fix cfg syntax warnings in libnativeMichael Gehring-8/+4
2014-10-05String::truncate doc: also fails if not a char boundarySimon Sapin-4/+5
2014-10-05auto merge of #17785 : P1start/rust/diagnostics, r=alexcrichtonbors-23/+81
Closes #17765. Closes #15524. Closes #14772.
2014-10-05auto merge of #16970 : kmcallister/rust/llvm-unreachable, r=thestingerbors-0/+93
I'm not sure how to add an automated test for this.
2014-10-05auto merge of #17776 : luqmana/rust/ul, r=alexcrichtonbors-19/+59
Update our LLVM snapshot to master (as of ~ Wed Oct 1 18:49:58 2014 +0000). Since my patches have landed upstream this fixes #13429 and #7298.
2014-10-05auto merge of #17774 : lambda/rust/docs-mention-hoedown, r=steveklabnikbors-2/+2
Rust 0.11.0 switched from sundown to the actively maintained hoedown; update the rustdoc documention to mention this.
2014-10-04Add tests for intrinsics::unreachableKeegan McAllister-0/+81
2014-10-04Add intrinsics::unreachableKeegan McAllister-0/+12
2014-10-05auto merge of #17772 : bkoropoff/rust/issue-17767, r=alexcrichtonbors-2/+2
Closes issue #17767
2014-10-05Give a more descriptive error when marking non-test items as #[test]P1start-12/+41
Closes #14772.