about summary refs log tree commit diff
path: root/src/librustdoc/rustdoc.rs
AgeCommit message (Collapse)AuthorLines
2013-11-03Rename files to match current recommendations.Chris Morgan-328/+0
New standards have arisen in recent months, mostly for the use of rustpkg, but the main Rust codebase has not been altered to match these new specifications. This changeset rectifies most of these issues. - Renamed the crate source files `src/libX/X.rs` to `lib.rs`, for consistency with current styles; this affects extra, rustc, rustdoc, rustpkg, rustuv, std, syntax. - Renamed `X/X.rs` to `X/mod.rs,` as is now recommended style, for `std::num` and `std::terminfo`. - Shifted `src/libstd/str/ascii.rs` out of the otherwise unused `str` directory, to be consistent with its import path of `std::ascii`; libstd is flat at present so it's more appropriate thus. While this removes some `#[path = "..."]` directives, it does not remove all of them, and leaves certain other inconsistencies, such as `std::u8` et al. which are actually stored in `src/libstd/num/` (one subdirectory down). No quorum has been reached on this issue, so I felt it best to leave them all alone at present. #9208 deals with the possibility of making libstd more hierarchical (such as changing the crate to match the current filesystem structure, which would make the module path `std::num::u8`). There is one thing remaining in which this repository is not rustpkg-compliant: rustpkg would have `src/std/` et al. rather than `src/libstd/` et al. I have not endeavoured to change that at this point as it would guarantee prompt bitrot and confusion. A change of that magnitude needs to be discussed first.
2013-10-26Make addl_lib_search_paths a HashSet (Closes #7718).Joshua Yanovski-1/+1
2013-10-24Remove even more of std::ioAlex Crichton-6/+11
Big fish fried here: extra::json most of the compiler extra::io_util removed extra::fileinput removed Fish left to fry extra::ebml
2013-10-23register snapshotsDaniel Micay-1/+1
2013-10-22Drop the '2' suffix from logging macrosAlex Crichton-8/+8
Who doesn't like a massive renaming?
2013-10-16auto merge of #9833 : alexcrichton/rust/fixes, r=brsonbors-1/+4
Commits have all the fun details
2013-10-15path2: Adjust the API to remove all the _str mutation methodsKevin Ballard-7/+7
Add a new trait BytesContainer that is implemented for both byte vectors and strings. Convert Path::from_vec and ::from_str to one function, Path::new(). Remove all the _str-suffixed mutation methods (push, join, with_*, set_*) and modify the non-suffixed versions to use BytesContainer.
2013-10-15path2: Replace the path module outrightKevin Ballard-7/+7
Remove the old path. Rename path2 to path. Update all clients for the new path. Also make some miscellaneous changes to the Path APIs to help the adoption process.
2013-10-14rustdoc: Use privacy visibility for pruningAlex Crichton-1/+4
This commit ends rustdoc's approximation of privacy and instead uses the result of the various compiler passes instead. Closes #9827
2013-10-13Make Rustdoc strip private fieldsSteven Fackler-1/+1
In addition, the renderer will add comments to structs and enums saying that fields or variants have been stripped.
2013-10-09option: rewrite the API to use compositionDaniel Micay-1/+1
2013-10-05Implement feature-gating for the compilerAlex Crichton-0/+2
A few features are now hidden behind various #[feature(...)] directives. These include struct-like enum variants, glob imports, and macro_rules! invocations. Closes #9304 Closes #9305 Closes #9306 Closes #9331
2013-10-01Migrate users of 'loop' to 'continue'Alex Crichton-1/+1
Closes #9467
2013-10-01auto merge of #9636 : alexcrichton/rust/rustdoc, r=huonwbors-52/+120
Commits have all the juicy details. Import thing to note in this pull request is that `rustdoc html crate.rs` becomes `rustdoc crate.rs`
2013-09-30rustdoc: Remove usage of fmt!Alex Crichton-1/+1
2013-09-30rustdoc: Use a BufferedWriter when emitting sourceAlex Crichton-1/+1
This takes the rendering time of source files for libstd from 12.5s to 0.1s, turns out write! calls the write function *a lot*
2013-09-30rustdoc: Update the man pageAlex Crichton-3/+4
Closes #9622
2013-09-30rustdoc: Add the ability to input jsonAlex Crichton-50/+117
This modifies the command-line usage of rustdoc to intake its own JSON output as well as a rust source file. This also alters the command line from `rustdoc input file` to `rustdoc file` with the input/output formats specified as -r and -w, respectively. When using a JSON input, no passes or plugins are re-run over the json, instead the output is generated directly from the JSON that was provided. Passes and plugins are still run on rust source input, however.
2013-09-28auto merge of #9577 : alexcrichton/rust/rustdoc, r=cmrbors-2/+3
They're getting smaller each time though! The highlight of this round is source files in documentation. Still trying to figure out the best syntax-highlighting solution.
2013-09-27rustdoc: Include source files with documentationAlex Crichton-2/+3
All items have source links back to their actual code. Source files can be omitted with the doc(html_no_source) attribute on the crate. Currently there is no syntax highlighting, but that will come with syntax highlighting with all other snippets. Closes #2072
2013-09-26Update version numbers to 0.9-preBrian Anderson-1/+1
2013-09-25rustdoc: Fix merge falloutAlex Crichton-1/+1
2013-09-25rustdoc: Collapse before unindentingAlex Crichton-2/+2
Doesn't make much sense to unindent each line individually and *then* collapse them all together.
2013-09-25rustdoc: Strip hidden docs by default.Alex Crichton-0/+1
2013-09-25rustdoc: Implement stripping based on privacyAlex Crichton-0/+3
This will probably need to get tweaked once the privacy rules have been fully agreed on, but for now this has all of the infrastructure necessary for filtering out private items. Closes #9410
2013-09-25rustdoc: Add the ability to list all passesAlex Crichton-12/+45
In doing so, also remove the collapse-privacy pass because it's a little over-zealous and may not be right 100% of the time (not used right now as well)
2013-09-24Don't use libc::exit. #9473Brian Anderson-12/+8
This can cause unexpected errors in the runtime when done while scheduler threads are still initializing. Required some restructuring of the main_args functions in our libraries.
2013-09-22rustdoc: Out with the old, in with the newAlex Crichton-110/+179
Removes old rustdoc, moves rustdoc_ng into its place instead (plus drops the _ng suffix). Also shreds all reference to rustdoc_ng from the Makefile rules.
2013-09-21Update version numbers to 0.8Brian Anderson-1/+1
2013-08-23removed os::set_args, closing #8325Do Nhat Minh-0/+3
removed pub on real_args, changed test to use args
2013-07-24Change 'print(fmt!(...))' to printf!/printfln! in src/lib*Birunthan Mohanathas-2/+1
2013-07-18Silence various warnings in bootstrap build.Felix S. Klock II-2/+0
2013-07-17librustc: Remove all uses of "copy".Patrick Walton-5/+4
2013-07-08Bump version numbers to 0.8-preBrian Anderson-1/+1
2013-07-07remove some method resolve workaroundsDaniel Micay-1/+1
2013-06-30Bump version from 0.7-pre to 0.7Brian Anderson-1/+1
2013-06-29Great renaming: propagate throughout the rest of the codebaseCorey Richardson-17/+3
2013-06-25Rename all files with the 'rc' extensionAlex Crichton-0/+162
2012-11-26Remove the crate languageBrian Anderson-91/+0
2012-11-03library-ifying of tools - turning cargo, rustdoc, fuzzer, into libraries, as ↵Daniel Patterson-0/+91
per #3543