1. 07 9月, 2014 1 次提交
  2. 02 9月, 2014 1 次提交
  3. 29 8月, 2014 1 次提交
  4. 14 8月, 2014 1 次提交
  5. 08 8月, 2014 1 次提交
    • A
      rustdoc: Set a nonzero exit status on failure · d9038fc3
      Alex Crichton 提交于
      Now that rustdoc is spawning a child task, the program won't exit with a default
      error code if the main task fails (because it never fails). This commit forces
      the main task to wait for a child task in order to correctly propagate failure.
      
      Closes #16341
      d9038fc3
  6. 06 8月, 2014 1 次提交
    • A
      rustdoc: Run all work in a separate task · cb8bd838
      Alex Crichton 提交于
      There's a good long comment explaining why. The tl;dr; is that I have no idea
      why this is necessary, but it gets --test to work on windows which is something,
      right?
      
      cc #13259
      cc #16275
      cc rust-lang/cargo#302
      cb8bd838
  7. 01 8月, 2014 1 次提交
    • A
      rustdoc: Use --crate-name with --test · 4dbe3eb6
      Alex Crichton 提交于
      This ensures that the name of the crate is set from the command line for tests
      so the auto-injection of `extern crate <name>` in doc tests works correctly.
      4dbe3eb6
  8. 25 7月, 2014 1 次提交
  9. 24 7月, 2014 3 次提交
  10. 22 7月, 2014 2 次提交
  11. 17 7月, 2014 1 次提交
  12. 16 7月, 2014 2 次提交
  13. 11 7月, 2014 1 次提交
  14. 10 7月, 2014 1 次提交
  15. 09 7月, 2014 1 次提交
  16. 06 7月, 2014 1 次提交
    • A
      rustc: Remove CrateId and all related support · 50ee1ec1
      Alex Crichton 提交于
      This commit removes all support in the compiler for the #[crate_id] attribute
      and all of its derivative infrastructure. A list of the functionality removed is:
      
      * The #[crate_id] attribute no longer exists
      * There is no longer the concept of a version of a crate
      * Version numbers are no longer appended to symbol names
      * The --crate-id command line option has been removed
      
      To migrate forward, rename #[crate_id] to #[crate_name] and only the name of the
      crate itself should be mentioned. The version/path of the old crate id should be
      removed.
      
      For a transitionary state, the #[crate_id] attribute is still accepted if
      the #[crate_name] is not present, but it is warned about if it is the only
      identifier present.
      
      RFC: 0035-remove-crate-id
      [breaking-change]
      50ee1ec1
  17. 01 7月, 2014 1 次提交
  18. 30 6月, 2014 1 次提交
  19. 28 6月, 2014 1 次提交
  20. 26 6月, 2014 1 次提交
  21. 25 6月, 2014 1 次提交
  22. 18 6月, 2014 1 次提交
  23. 15 6月, 2014 1 次提交
  24. 14 6月, 2014 1 次提交
    • H
      getopts: format failure messages with `Show`. · 0642cbbd
      Huon Wilson 提交于
      This obsoletes the old `to_err_msg` method. Replace
      
          println!("Error: {}", failure.to_err_msg())
      
          let string = failure.to_err_msg();
      
      with
      
          println!("Error: {}", failure)
      
          let string = failure.to_str();
      
      [breaking-change]
      0642cbbd
  25. 12 6月, 2014 2 次提交
    • A
      sync: Move underneath libstd · b1c9ce9c
      Alex Crichton 提交于
      This commit is the final step in the libstd facade, #13851. The purpose of this
      commit is to move libsync underneath the standard library, behind the facade.
      This will allow core primitives like channels, queues, and atomics to all live
      in the same location.
      
      There were a few notable changes and a few breaking changes as part of this
      movement:
      
      * The `Vec` and `String` types are reexported at the top level of libcollections
      * The `unreachable!()` macro was copied to libcore
      * The `std::rt::thread` module was moved to librustrt, but it is still
        reexported at the same location.
      * The `std::comm` module was moved to libsync
      * The `sync::comm` module was moved under `sync::comm`, and renamed to `duplex`.
        It is now a private module with types/functions being reexported under
        `sync::comm`. This is a breaking change for any existing users of duplex
        streams.
      * All concurrent queues/deques were moved directly under libsync. They are also
        all marked with #![experimental] for now if they are public.
      * The `task_pool` and `future` modules no longer live in libsync, but rather
        live under `std::sync`. They will forever live at this location, but they may
        move to libsync if the `std::task` module moves as well.
      
      [breaking-change]
      b1c9ce9c
    • A
      rustc: Move the AST from @T to Gc<T> · 54c2a1e1
      Alex Crichton 提交于
      54c2a1e1
  26. 10 6月, 2014 1 次提交
  27. 07 6月, 2014 1 次提交
    • A
      rustdoc: Submit examples to play.rust-lang.org · e5bbbca3
      Alex Crichton 提交于
      This grows a new option inside of rustdoc to add the ability to submit examples
      to an external website. If the `--markdown-playground-url` command line option
      or crate doc attribute `html_playground_url` is present, then examples will have
      a button on hover to submit the code to the playground specified.
      
      This commit enables submission of example code to play.rust-lang.org. The code
      submitted is that which is tested by rustdoc, not necessarily the exact code
      shown in the example.
      
      Closes #14654
      e5bbbca3
  28. 06 6月, 2014 2 次提交
  29. 28 5月, 2014 3 次提交
    • A
      std: Remove format_strbuf!() · 42aed6bd
      Alex Crichton 提交于
      This was only ever a transitionary macro.
      42aed6bd
    • A
      Move std::{reflect,repr,Poly} to a libdebug crate · b53454e2
      Alex Crichton 提交于
      This commit moves reflection (as well as the {:?} format modifier) to a new
      libdebug crate, all of which is marked experimental.
      
      This is a breaking change because it now requires the debug crate to be
      explicitly linked if the :? format qualifier is used. This means that any code
      using this feature will have to add `extern crate debug;` to the top of the
      crate. Any code relying on reflection will also need to do this.
      
      Closes #12019
      
      [breaking-change]
      b53454e2
    • R
      std: Rename strbuf operations to string · 1f1b2e42
      Richo Healey 提交于
      [breaking-change]
      1f1b2e42
  30. 25 5月, 2014 1 次提交
  31. 23 5月, 2014 1 次提交
  32. 19 5月, 2014 1 次提交
    • F
      Fixing rustdoc stage1. · eb6856c3
      Felix S. Klock II 提交于
      See #13983 and #14000.
      
      Fix was originally authored by alexcrichton and then rebased a couple
      times by pnkfelix, most recently atop PR 13954.
      
      ----
      
      Regarding the change to librustdoc/lib.rs, to do `map_err` before
      unwrapping a `TqskResult`: I do not understand how master is passing
      without this change or something like it, since `Box<Any:Send>` does
      not implement `Show`.  (Is this something that is only a problem for
      the snapshot stage0 compiler?)  Still, the change I have put in here
      (which was added as part of a rebase after alex's review) seems
      harmless to me to apply to rustdoc at all stages, since a call to
      `unwrap` is just going to `fail!` on the err case anyway.
      eb6856c3