1. 16 7月, 2014 1 次提交
  2. 15 7月, 2014 24 次提交
  3. 14 7月, 2014 15 次提交
    • B
      auto merge of #15655 : lightsofapollo/rust/glob-match-options-pub, r=alexcrichton · 61e84a5d
      bors 提交于
      Not sure how to test this correctly I assume the current tests pass now because of the crate boundaries [and that this is fallout from private by default]?
      61e84a5d
    • B
      auto merge of #15632 : masklinn/rust/patch-1, r=alexcrichton · 4e2da7cb
      bors 提交于
      I saw that it was bounded by `Show` but the implication is no guarantee (and had only 0.10 to test, where this behavior has been added to 0.11)
      4e2da7cb
    • M
      Document that Result.unwrap prints the Err's value · ded48c58
      masklinn 提交于
      It is implied by the Show bound, but that implication can be missed.
      ded48c58
    • J
      glob::MatchOptions struct fields should be public · e4801da6
      James Lal 提交于
      e4801da6
    • B
      auto merge of #15653 : erickt/rust/master, r=alexcrichton · 996263a0
      bors 提交于
      996263a0
    • B
      auto merge of #15497 : jasonthompson/rust/docs/str3, r=cmr · 0a1e251e
      bors 提交于
        - for 3 implementations of into_maybe_owned()
        - is_slice()
        - is_owned()
      0a1e251e
    • B
      auto merge of #15649 : catharsis/rust/rust-libstd-examples, r=alexcrichton · 3d70f50b
      bors 提交于
      This patch adds doc examples for the make_absolute, change_dir,
      errors_string and args functions in the os module.
      3d70f50b
    • E
      std: make std::io::IoError{,Kind} implement Eq · c5edc70f
      Erick Tryzelaar 提交于
      c5edc70f
    • B
      auto merge of #15158 : alexcrichton/rust/windows-paths, r=brson · a35774b1
      bors 提交于
      In order to have the spawning semantics be the same for unix/windows, the
      child's PATH environment variable needs to be searched rather than the parent's
      environment variable.
      
      If the child is inheriting the parent's PATH, then no action need be taken as
      windows will do the heavy lifting. If the child specifies its own PATH, then it
      is searched beforehand for the target program and the result is favored if a hit
      is found.
      
      cc #15149, but does not close the issue because libgreen still needs to be
      updated.
      a35774b1
    • A
      native: Search the child's PATH on win32 · b1a964a9
      Alex Crichton 提交于
      In order to have the spawning semantics be the same for unix/windows, the
      child's PATH environment variable needs to be searched rather than the parent's
      environment variable.
      
      If the child is inheriting the parent's PATH, then no action need be taken as
      windows will do the heavy lifting. If the child specifies its own PATH, then it
      is searched beforehand for the target program and the result is favored if a hit
      is found.
      
      cc #15149, but does not close the issue because libgreen still needs to be
      updated.
      b1a964a9
    • B
      auto merge of #15591 : aturon/rust/box-cell-stability, r=alexcrichton · ffd9966c
      bors 提交于
      This PR is the outcome of the library stabilization meeting for the
      `liballoc::owned` and `libcore::cell` modules.
      
      Aside from the stability attributes, there are a few breaking changes:
      
      * The `owned` modules is now named `boxed`, to better represent its
        contents. (`box` was unavailable, since it's a keyword.) This will
        help avoid the misconception that `Box` plays a special role wrt
        ownership.
      
      * The `AnyOwnExt` extension trait is renamed to `BoxAny`, and its `move`
        method is renamed to `downcast`, in both cases to improve clarity.
      
      * The recently-added `AnySendOwnExt` extension trait is removed; it was
        not being used and is unnecessary.
      
      [breaking-change]
      ffd9966c
    • A
      Stabilization for `owned` (now `boxed`) and `cell` · e0ede9c6
      Aaron Turon 提交于
      This PR is the outcome of the library stabilization meeting for the
      `liballoc::owned` and `libcore::cell` modules.
      
      Aside from the stability attributes, there are a few breaking changes:
      
      * The `owned` modules is now named `boxed`, to better represent its
        contents. (`box` was unavailable, since it's a keyword.) This will
        help avoid the misconception that `Box` plays a special role wrt
        ownership.
      
      * The `AnyOwnExt` extension trait is renamed to `BoxAny`, and its `move`
        method is renamed to `downcast`, in both cases to improve clarity.
      
      * The recently-added `AnySendOwnExt` extension trait is removed; it was
        not being used and is unnecessary.
      
      [breaking-change]
      e0ede9c6
    • A
      libstd: Add a few doc examples · 77c4b3d2
      Anton Lofgren 提交于
      This patch adds doc examples for the make_absolute, change_dir,
      errors_string and args functions in the os module.
      77c4b3d2
    • B
      auto merge of #15646 : jbclements/rust/method-macros, r=cmr · 7a6208f2
      bors 提交于
      This patch adds support for macros in method position. It follows roughly the template for Item macros, where an outer `Method` wrapper contains a `Method_` enum which can either be a macro invocation or a standard macro definition. 
      
      One note; adding support for macros that expand into multiple methods is not included here, but should be a simple parser change, since this patch updates the type of fold_macro to return a smallvector of methods.
      
      For reviewers, please pay special attention to the parser changes; these are the ones I'm most concerned about.
      
      Because of the small change to the interface of fold_method, this is a ...
      
      [breaking change]
      7a6208f2
    • J
      macro expansion for methods · aee59175
      John Clements 提交于
      Closes #4621
      aee59175