| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-12-20 | semi-revert libsyntax doctest parsing if a macro is wrapping main | QuietMisdreavus | -3/+48 | |
| 2018-11-05 | Auto merge of #55515 - QuietMisdreavus:rustdoc-config, r=GuillaumeGomez | bors | -34/+25 | |
| rustdoc: refactor: centralize all command-line argument parsing This is something i've wanted to do for a while, since we keep having to add new arguments to places like `rust_input` or `core::run_core` whenever we add a new CLI flag or the like. Those functions have inflated up to 11-19, and in some cases hiding away the locations where some CLI flags were being parsed, obscuring their use. Now, we have a central place where all command-line configuration occurs, including argument validation. One note about the design: i grouped together all the arguments that `html::render::run` needed, so that i could pass them on from compilation in one lump instead of trying to thread through individual items or clone the entire blob ahead of time. One other thing this adds is that rustdoc also now recognizes all the `-Z` options that rustc does, since we were manually grabbing a few previously. Now we parse a full `DebuggingOptions` struct and hand it directly to rustc when scraping docs. | ||||
| 2018-11-02 | pass the Options struct instead of individual args | QuietMisdreavus | -34/+25 | |
| 2018-11-01 | buffer errors from initial tokenization when parsing | QuietMisdreavus | -4/+11 | |
| 2018-11-01 | silence errors found during doctest pre-parsing | QuietMisdreavus | -1/+11 | |
| 2018-11-01 | add a line between extracted crates and everything else | QuietMisdreavus | -0/+3 | |
| 2018-11-01 | Separates inner attributes from code during doctest parsing. | Wesley Norris | -23/+37 | |
| 2018-11-01 | Tidy up source file and fix typo. | Wesley Norris | -6/+6 | |
| 2018-11-01 | Replaces fn main search and extern crate search with proper parsing. | Wesley Norris | -14/+81 | |
| 2018-10-26 | Remove redundant clone | Shotaro Yamada | -2/+2 | |
| 2018-10-18 | Auto merge of #54349 - GuillaumeGomez:no-example-lint, r=QuietMisdreavus | bors | -25/+35 | |
| [rustdoc] Add lint for doc without codeblocks Fixes #53805. r? @QuietMisdreavus | ||||
| 2018-10-09 | Use default of preferring static over dynamic linking in rustdoc tests. | Felix S. Klock II | -1/+0 | |
| 2018-10-09 | Add lint for doc without codeblocks | Guillaume Gomez | -25/+35 | |
| 2018-09-22 | Rollup merge of #54350 - Munksgaard:support-edition-in-doc-test, r=steveklabnik | Pietro Albini | -1/+1 | |
| Support specifying edition in doc test Fixes #52623 r? @QuietMisdreavus | ||||
| 2018-09-19 | Add support for running doc test in specific edition | Philip Munksgaard | -1/+1 | |
| 2018-09-18 | Remove unneeded clone() from tests | Erich Cordoba | -4/+4 | |
| The expected.clone() calls were not needed for the tests. This is just to keep consistency between the test cases. | ||||
| 2018-08-19 | mv codemap source_map | Donato Sciarra | -14/+14 | |
| 2018-08-19 | mv (mod) codemap source_map | Donato Sciarra | -1/+1 | |
| 2018-08-19 | mv CodeMap SourceMap | Donato Sciarra | -6/+6 | |
| 2018-08-09 | set the syntax edition in the driver's phase 1 | QuietMisdreavus | -2/+1 | |
| 2018-08-04 | Move basic_options to impl of Default | Mark Rousskov | -2/+2 | |
| 2018-08-04 | Normalize variants of CrateType to standard style | Mark Rousskov | -2/+2 | |
| This is a clippy-breaking change. | ||||
| 2018-07-31 | Further extract error code switch | Mark Rousskov | -4/+6 | |
| Removes dependency on UnstableFeatures from markdown rendering | ||||
| 2018-07-31 | Remove dependency on error handling from find_testable_code | Mark Rousskov | -4/+6 | |
| 2018-07-31 | Provide test configuration through struct | Mark Rousskov | -13/+11 | |
| This is far more sound than passing many different arguments of the same type. | ||||
| 2018-07-31 | Provide warnings for invalid code blocks in markdown files | Mark Rousskov | -1/+1 | |
| Previously we would only warn on Rust code but we can also do so when testing markdown (the diag::Handler is available). | ||||
| 2018-07-25 | Add missing dyn | Tatsuyuki Ishi | -1/+1 | |
| 2018-07-24 | force the doctest rustc thread to share the name of the test | QuietMisdreavus | -2/+2 | |
| 2018-07-20 | report doctest compile failures correctly | QuietMisdreavus | -19/+19 | |
| 2018-07-20 | rustdoc: set panic output before starting compiler thread pool | QuietMisdreavus | -25/+27 | |
| 2018-07-17 | Rollup merge of #52385 - GuillaumeGomez:pass-edition-to-parser, ↵ | kennytm | -1/+2 | |
| r=QuietMisdreavus Pass edition flags to compiler from rustdoc as expected Fixes #52357. | ||||
| 2018-07-16 | ItemKind | csmoe | -1/+1 | |
| 2018-07-14 | Pass edition flags to compiler from rustdoc as expected | Guillaume Gomez | -1/+2 | |
| 2018-06-28 | Use `Ident`s for associated item definitions in HIR | Vadim Petrochenkov | -2/+2 | |
| Remove emulation of hygiene with gensyms | ||||
| 2018-06-20 | Fix tidy | Bastien Orivel | -1/+3 | |
| 2018-06-20 | Replace tempdir by tempfile in librustdoc | Bastien Orivel | -2/+2 | |
| 2018-05-26 | Use `Ident`s for fields in HIR | Vadim Petrochenkov | -1/+1 | |
| 2018-05-17 | Rename trans to codegen everywhere. | Irina Popa | -8/+8 | |
| 2018-05-13 | Add a Rayon thread pool | John Kåre Alsaker | -156/+163 | |
| 2018-04-21 | Auto merge of #50080 - klnusbaum:edition_49591, r=Manishearth | bors | -2/+2 | |
| add --edition option This adds an official `edition` flag to the rust compiler | ||||
| 2018-04-20 | fix some small compile errors | Kurtis Nusbaum | -2/+2 | |
| 2018-04-19 | Tweak some stabilizations in libstd | Alex Crichton | -1/+1 | |
| This commit tweaks a few stable APIs in the `beta` branch before they hit stable. The `str::is_whitespace` and `str::is_alphanumeric` functions were deleted (added in #49381, issue at #49657). The `and_modify` APIs added in #44734 were altered to take a `FnOnce` closure rather than a `FnMut` closure. Closes #49581 Closes #49657 | ||||
| 2018-04-13 | add -C parameter to rustdoc | QuietMisdreavus | -8/+15 | |
| 2018-04-10 | add target features when extracting and running doctests | QuietMisdreavus | -5/+10 | |
| 2018-04-02 | suppress the default allow(unused) under --display-warnings | QuietMisdreavus | -2/+25 | |
| 2018-04-01 | Rollup merge of #49451 - QuietMisdreavus:epoch-doctests, r=GuillaumeGomez | Mark Simulacrum | -6/+20 | |
| rustdoc: add an --edition flag to compile docs/doctests with a certain edition To correspond with the 2018 edition, this adds a (currently unstable) `--edition` flag to rustdoc that makes it compile crates and doctests with the given edition. Once this lands, Cargo should be updated to pass this flag when the edition configuration option is given. | ||||
| 2018-03-28 | use --edition for doctests, rather than just the crate | QuietMisdreavus | -5/+13 | |
| 2018-03-27 | add --edition flag to rustdoc | QuietMisdreavus | -1/+7 | |
| 2018-03-26 | Remove unnecessary trait import. | boats | -2/+0 | |
| 2018-03-22 | Rollup merge of #49188 - memoryleak47:macro_use_doctest, r=QuietMisdreavus | kennytm | -0/+19 | |
| Put `#[macro_use] extern crate <crate>` before fn main() in doctests Closes #49174. | ||||
