Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Apr 4, 2014
  1. @bors

    auto merge of #13326 : alexcrichton/rust/rollup, r=alexcrichton

    bors authored
    Closes #13313 (Fix typo in README.md)
    Closes #13311 (Fix inner attribute syntax from `#[foo];` to `#![foo]`)
    Closes #13309 (Add stdlib docs to the Linux binary tarball.)
    Closes #13308 (syntax: remove obsolete mutability from ExprVec and ExprRepeat.)
    Closes #13306 (TrieSet should impl Set/MutableSet; add with_capacity to PriorityQueue/SmallIntMap)
    Closes #13303 (Register new snapshots)
    Closes #13274 (Added grow_fn and retain to Vec)
    
    *Issues Closed*
    
    Closes #13249
  2. @alexcrichton

    Test fixes from rollup

    alexcrichton authored
  3. @pongad @alexcrichton

    Added grow_fn and retain to Vec

    pongad authored alexcrichton committed
  4. @alexcrichton

    Register new snapshots

    alexcrichton authored
  5. @erickt @alexcrichton
  6. @erickt @alexcrichton
  7. @eddyb @alexcrichton
  8. @huonw @alexcrichton

    Add stdlib docs to the Linux binary tarball.

    huonw authored alexcrichton committed
    These are not installed anywhere, but are included under `./doc` for
    those who want an offline copy with their nightlies. This increases the
    size of the (compressed) tarball from 76 to 83 MB.
  9. @Siosm @alexcrichton

    Fix inner attribute syntax from `#[foo];` to `#![foo]`

    Siosm authored alexcrichton committed
    From the 0.10 changelog:
     * The inner attribute syntax has changed from `#[foo];` to `#![foo]`.
  10. @hirschenberger @alexcrichton

    Update README.md

    hirschenberger authored alexcrichton committed
    Fix typo
  11. @bors

    auto merge of #13272 : ipetkov/rust/rustdoc-ignored-tests, r=alexcric…

    bors authored
    …hton
    
    librustdoc: instead of skipping ignored tests, pass them to libtest
    so it can report them as such.  If a test is marked as `notrust`,
    however, it will not show up in the final report.
    
    Fix #12939
  12. @bors
  13. @bors

    auto merge of #13301 : erickt/rust/remove-refcell-get, r=huonw

    bors authored
    `RefCell::get` can be a bit surprising, because it actually clones the wrapped value. This removes `RefCell::get` and replaces all the users with `RefCell::borrow()` when it can, and `RefCell::borrow().clone()` when it can't. It removes `RefCell::set` for consistency. This closes #13182.
    
    It also fixes an infinite loop in a test when debugging is on.
  14. @bors

    auto merge of #13298 : ckendell/rust/remove_managed_pointers_from_tut…

    bors authored
    …orial, r=cmr
    
    Work on #13287 
    
    This is not ready for a merge yet, but I wanted to get some eyes on what I have done so far.
    
    As of right now, all references in the text to managed boxes or pointers are removed. Code associated with those specific sections of text have likewise been altered. I also removed all references to managed closures.
    
    There is a small change I would like to add to the work done in 3137cd5, on the new lines 1495 and 1496, I would like to change those values to 10 and 20. I did the same in a later change on lines 1596 and 1508.
    
    There are still bits of sample code that use managed pointers and the sigil @. Those are next on my list to remove, but I wanted to have the outstanding changes reviewed first. The uses of @ in the code samples are a bit more embedded, and I will need to be more careful changing them as to not change the purpose of the code examples.
    
    I ensured that make check still passes, although I'm not sure if that actually tests the code in tutorial.md.
    
    One issues I ran into, and tried to avoid, was that `tutorial.md` is formatted with a nice column limit. I was unsure how this was enforced, so wherever I edited a line, I did my best to keep edits on the line they previously existed on. As such, the plain text of `tutorial.md` looks a bit strange as I've left it, and I will clean that up as suggested. The rendered markdown output should not be affected.
  15. @bors

    auto merge of #13295 : huonw/rust/gate-concat-idents, r=alexcrichton

    bors authored
    rustc: feature-gate `concat_idents!`.
    
    concat_idents! is not as useful as it could be, due to macros only being
    allowed in limited places, and hygiene, so lets feature gate it until we
    make a decision about it.
    
    cc #13294
  16. @bors

    auto merge of #13291 : thestinger/rust/no_null, r=alexcrichton

    bors authored
    This was missed when dropping the null-termination from our string
    types. An explicit null byte can still be placed anywhere in a string if
    desired, but there's no reason to stick one at the end of every string
    constant.
  17. @huonw

    rustc: feature-gate `concat_idents!`.

    huonw authored
    concat_idents! is not as useful as it could be, due to macros only being
    allowed in limited places, and hygiene, so lets feature gate it until we
    make a decision about it.
    
    cc #13294
  18. @killerswan
  19. @bors
  20. @cmr

    manual: fix a broken example

    cmr authored
  21. @bors

    auto merge of #13255 : alexcrichton/rust/issue-5605, r=huonw

    bors authored
    These syntax extensions need a place to be documented, and this starts passing a
    `--cfg dox` parameter to `rustdoc` when building and testing documentation in
    order to document macros so that they have no effect on the compiled crate, but
    only documentation.
    
    Closes #5605
  22. @cmr
  23. @cmr

    manual: further attribute clarifications

    cmr authored
    - Sort attributes lexicographically
    - Use new attribute syntax consistently
    - Fix wording describing new attribute syntax
    - Expand section on `repr`
  24. @cmr

    manual: fix attribute ebnf

    cmr authored
  25. @cmr

    manual: update style

    cmr authored
  26. @ipetkov

    rustdoc: Fix reporting of ignored tests

    ipetkov authored
    librustdoc: instead of skipping ignored tests, pass them to libtest
    so it can report them as such.  If a test is marked as `notrust`,
    however, it will not show up in the final report.
  27. @bors
  28. @cmr
  29. @cmr

    manual: many fixes

    cmr authored
    Mostly around attributes and language items.
  30. @cmr
  31. @erickt

    test: avoid infinite loop in out-of-stack.rs

    erickt authored
    This fixes #13238. It avoids an infinite loop when compiling
    the tests with `-g`. Without this change, the debuginfo on
    `black_box` prevents the method from being inlined, which
    allows llvm to convert `silent_recurse` into a tail-call. This
    then loops forever instead of consuming all the stack like it
    is supposed to. This patch forces inlining `black_box`, which
    triggers the right error.
  32. @erickt

    std: Remove `RefCell::set()`

    erickt authored
  33. @erickt

    std: Remove `RefCell::get()`

    erickt authored
    It's surprising that `RefCell::get()` is implicitly doing a clone
    on a value. This patch removes it and replaces all users with
    either `.borrow()` when we can autoderef, or `.borrow().clone()`
    when we cannot.
  34. @bors

    auto merge of #13296 : brson/rust/0.11-pre, r=alexcrichton

    bors authored
    This also changes some of the download links in the documentation
    to 'nightly'.
  35. @bors

    auto merge of #13237 : alexcrichton/rust/private-tuple-structs, r=brson

    bors authored
    This is the final commit need to implement [RFC #4](https://github.com/rust-lang/rfcs/blob/master/active/0004-private-fields.md), it makes all tuple struct fields private by default, overridable with the `pub` keyword.
    
    I'll note one divergence from the original RFC which is outlined in the first commit.
Something went wrong with that request. Please try again.