about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2014-10-07Fix unclear macros documentation.Joseph Crail-1/+1
2014-10-07auto merge of #17787 : bgamari/rust/fix-quote-method, r=huonwbors-7/+10
The previous fix introduced in 75d49c8203405ab0af7a2b8b8698af02868fdbc2 neglected to parse outer attributes as described in #17782.
2014-10-07auto merge of #17834 : sfackler/rust/rustdoc-cfgs, r=alexcrichton,alexcrichtonbors-8/+3
Rustdoc would previously improperly handle key="value" style cfgs, which are notably used for Cargo features.
2014-10-07auto merge of #16641 : steveklabnik/rust/intro_redux, r=alexcrichtonbors-358/+499
Because my '30 minute intro' was originally a blog post, the tone was a bit too light. It also was written a long time ago, and deserves a bit of a refresher for modern Rust. now that my work on the Guide is wrapping up, I want to give it a quick re-write as well. This is not yet done, but I'm submitting it for feedback so far. I'd really like some comments on the ownership part in particular, which gets lower level than before, but is not strictly 100% accurate. Trying to strike a balance. In general, I'm not sure I go into enough detail for those without systems experience, but am afraid of too much detail for those that do. Rendered view: https://github.com/steveklabnik/rust/blob/intro_redux/src/doc/intro.md /cc @wycats @nikomatsakis @brson etc
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-06Properly handle cfgs in rustdocSteven Fackler-8/+3
Rustdoc would previously improperly handle key="value" style cfgs, which are notably used for Cargo features.
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-06syntax: Parse outer attributes in quote_method!Ben Gamari-7/+10
Fixes #17782.
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.