| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-11-15 | Re-format code with new rustfmt | Mark Rousskov | -3/+3 | |
| 2023-08-21 | rustdoc-json: Rename typedef to type alias | Noah Lev | -1/+1 | |
| 2023-08-16 | Improve code readability by moving fmt args directly into the string | Guillaume Gomez | -3/+3 | |
| 2023-04-26 | rustdoc-json: Time serialization. | Alona Enraght-Moony | -1/+4 | |
| 2023-03-30 | Replace doc(primitive) with rustc_doc_primitive | Guillaume Gomez | -1/+1 | |
| 2023-02-18 | Improve code readability | Guillaume Gomez | -2/+2 | |
| 2023-02-18 | Fix bad handling of primitive types | Guillaume Gomez | -1/+1 | |
| 2023-02-18 | Allow reexports of items with same name but different types to both appear | Guillaume Gomez | -9/+6 | |
| 2023-02-15 | Use more let chain | Guillaume Gomez | -6/+5 | |
| 2023-02-08 | Fix small debug typo | Guillaume Gomez | -1/+1 | |
| 2023-01-22 | rustdoc: Use `DefId(Map,Set)` instead of `FxHash(Map,Set)` | Vadim Petrochenkov | -3/+3 | |
| Not all uses are converted, a few cases iterating through maps/sets and requiring nontrivial changes are kept. | ||||
| 2022-12-02 | Rustdoc-Json: Don't include foreign traits | Nixon Enraght-Moony | -52/+1 | |
| 2022-12-01 | rustc_ast_lowering: Stop lowering imports into multiple items | Vadim Petrochenkov | -1/+1 | |
| Lower them into a single item with multiple resolutions instead. This also allows to remove additional `NodId`s and `DefId`s related to those additional items. | ||||
| 2022-11-16 | rustdoc JSON: Use `Function` everywhere and remove `Method` | Martin Nordholts | -2/+1 | |
| 2022-11-13 | fix some typos in comments | cui fliter | -1/+1 | |
| Signed-off-by: cui fliter <imcusg@gmail.com> | ||||
| 2022-09-27 | rustdoc: remove `clean::TraitWithExtraInfo` | Michael Howell | -1/+0 | |
| Instead, it gathers the extra info later, when it's actually requested. | ||||
| 2022-09-26 | Rustdoc-Json: List impls for primitives | Nixon Enraght-Moony | -2/+5 | |
| Closes #101695 | ||||
| 2022-09-13 | Rustdoc-Json: Don't loose subitems of foreign traits. | Nixon Enraght-Moony | -2/+13 | |
| 2022-08-29 | Rollup merge of #101106 - aDotInTheVoid:rdj-stripped-mod, r=GuillaumeGomez | Matthias Krüger | -1/+7 | |
| Rustdoc-Json: Retain Stripped Modules when they are imported, not when they have items Fixes #101103 Fixes #100973 r? `@GuillaumeGomez` | ||||
| 2022-08-29 | Rustdoc-Json: Retain Stripped Modules when they are imported, not when they ↵ | Nixon Enraght-Moony | -1/+7 | |
| have items. Fixes #101103 Fixes #100973 | ||||
| 2022-08-28 | Auto merge of #100497 - kadiwa4:remove_clone_into_iter, r=cjgillot | bors | -5/+6 | |
| Avoid cloning a collection only to iterate over it `@rustbot` label: +C-cleanup | ||||
| 2022-08-16 | rustdoc JSON: Fix ICE with `pub extern crate self as <self_crate_name>` | Martin Nordholts | -2/+2 | |
| 2022-08-13 | avoid cloning and then iterating | KaDiWa | -5/+6 | |
| 2022-07-16 | Fix rustdoc JSON inline | Guillaume Gomez | -0/+9 | |
| 2022-06-17 | Fix rustdoc handling of primitive documentation | Guillaume Gomez | -3/+3 | |
| 2022-06-13 | Ignore impl items because they can be duplicated in case of generic impl | Guillaume Gomez | -10/+43 | |
| 2022-06-02 | Add Symbol into rustdoc JSON ID to prevent conflicts between reexports | Guillaume Gomez | -8/+16 | |
| 2022-05-21 | Remove `crate` visibility modifier in libs, tests | Jacob Pratt | -1/+1 | |
| 2022-04-16 | Rename `def_id` into `item_id` when the type is `ItemId` for readability | Guillaume Gomez | -9/+9 | |
| 2022-03-14 | rustdoc-json-types: implementors -> implementations | Nixon Enraght-Moony | -1/+1 | |
| Closes #94198 | ||||
| 2022-02-13 | rustdoc-json: buffer output | Nixon Enraght-Moony | -3/+6 | |
| 2022-01-21 | Remove FIXME and fix inconsistency of local blanket impls by using HIR for them | Rune Tynan | -14/+1 | |
| 2022-01-20 | Rollup merge of #93099 - tomkris:rustdoc-fix, r=jsha | Matthias Krüger | -4/+8 | |
| rustdoc: auto create output directory when "--output-format json" This PR allows rustdoc to automatically create output directory in case it does not exist (when run with `--output-format json`). This fixes rustdoc crash: ```` $ rustdoc --output-format json -Z unstable-options src/main.rs error: couldn't generate documentation: No such file or directory (os error 2) | = note: failed to create or modify "doc/main.json" error: aborting due to previous error ```` With this fix behavior of `rustdoc --output-format json` becomes consistent with `rustdoc --output-format html` (which already auto-creates output directory if it's missing) | ||||
| 2022-01-20 | Rollup merge of #92860 - CraftSpider:rustdoc-json-impl-ice, r=jsha | Matthias Krüger | -1/+14 | |
| Fix errors on blanket impls by ignoring the children of generated impls Related to #83718 We can safely skip the children, as they don't contain any new info, and may be subtly different for reasons hard to track down, in ways that are consistently worse than the actual generic impl. | ||||
| 2022-01-19 | rustdoc: auto create output directory when "--output-format json" | Artem Kryvokrysenko | -4/+8 | |
| This PR allows rustdoc to automatically create output directory in case it does not exist (when run with `--output-format json`). This fixes rustdoc crash: ```` $ rustdoc --output-format json -Z unstable-options src/main.rs error: couldn't generate documentation: No such file or directory (os error 2) | = note: failed to create or modify "doc/main.json" error: aborting due to previous error ```` With this fix behavior of `rustdoc --output-format json` becomes consistent with `rustdoc --output-format html` (which already auto-creates output directory if it's missing) | ||||
| 2022-01-14 | rustdoc: avoid many `Symbol` to `String` conversions. | Nicholas Nethercote | -2/+2 | |
| Particularly when constructing file paths and fully qualified paths. This avoids a lot of allocations, speeding things up on almost all examples. | ||||
| 2022-01-13 | Move FIXME to if statement | Rune Tynan | -4/+4 | |
| 2022-01-13 | Update comment to make it a FIXME | Rune Tynan | -2/+4 | |
| 2022-01-13 | inline ItemId method, clarify comments a bit | Rune Tynan | -3/+10 | |
| 2022-01-13 | Fix errors on blanket impls by ignoring the children of their generated ↵ | Rune Tynan | -1/+5 | |
| implementations | ||||
| 2021-12-30 | Auto merge of #92377 - compiler-errors:rustdoc-lifetimes, r=camelid,jyn514 | bors | -1/+1 | |
| remove in_band_lifetimes from librustdoc r? `@camelid` closes #92368 | ||||
| 2021-12-28 | remove in_band_lifetimes from librustdoc | Michael Goulet | -1/+1 | |
| 2021-12-27 | Move `ExternalLocation` to `clean::types` | Noah Lev | -2/+1 | |
| It was previously defined in `render::search_index` but wasn't used at all there. `clean::types` seems like a better fit since that's where `ExternalCrate` is defined. | ||||
| 2021-12-27 | Rename `rustdoc::html::render::cache` to `search_index` | Noah Lev | -1/+1 | |
| The old name wasn't very clear, while the new one makes it clear that this is the code responsible for creating the search index. | ||||
| 2021-10-15 | Moved format-version constant to rustdoc-json-types | Yuval Dolev | -1/+1 | |
| 2021-10-08 | Rollup merge of #89669 - Urgau:json-remove-type-never, r=GuillaumeGomez | Guillaume Gomez | -1/+1 | |
| Remove special-casing of never primitive in rustdoc-json-types Fixes https://github.com/rust-lang/rust/issues/89349 r? `@GuillaumeGomez` | ||||
| 2021-10-08 | clippy::complexity fixes | Matthias Krüger | -1/+1 | |
| 2021-10-08 | Remove special-casing of never primitive in rustdoc-json-types | Loïc BRANSTETT | -1/+1 | |
| 2021-10-04 | Rollup merge of #88234 - hkmatsumoto:rustdoc-impls-for-primitive, r=jyn514 | Manish Goregaokar | -2/+21 | |
| rustdoc-json: Don't ignore impls for primitive types Fix the issue discussed at [Zulip](https://rust-lang.zulipchat.com/#narrow/stream/266220-rustdoc/topic/.E2.9C.94.20Json.20output.20lacks.20some.20item.20which.20are.20supposed.20to.20be.20there) r? ``@jyn514`` | ||||
| 2021-09-29 | Don't ignore impls for primitive types | Hirochika Matsumoto | -2/+21 | |
