| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2022-11-21 | Unreserve braced enum variants in value namespace | Vadim Petrochenkov | -5/+5 | |
| 2022-11-16 | rustdoc JSON: Use `Function` everywhere and remove `Method` | Martin Nordholts | -22/+7 | |
| 2022-11-13 | fix some typos in comments | cui fliter | -2/+2 | |
| Signed-off-by: cui fliter <imcusg@gmail.com> | ||||
| 2022-11-05 | rustdoc: use `ThinVec` and `Box<str>` to shrink `clean::ItemKind` | Michael Howell | -1/+1 | |
| 2022-11-04 | Rollup merge of #103935 - GuillaumeGomez:remove-rustdoc-visibility-ty, ↵ | Matthias Krüger | -6/+5 | |
| r=notriddle Remove rustdoc clean::Visibility type Fixes #90852. Follow-up of https://github.com/rust-lang/rust/pull/103690. This PR completely removes the rustdoc `clean::Visibility` type to use the `rustc_middle` one instead. I don't think there will be any impact on perf. r? `@notriddle` | ||||
| 2022-11-03 | Remove rustdoc clean::Visibility type | Guillaume Gomez | -6/+5 | |
| 2022-11-02 | rustdoc: remove unneeded Box from ItemKind | Michael Howell | -1/+1 | |
| 2022-10-30 | Make rustdoc Item::visibility computed on-demand | Guillaume Gomez | -1/+2 | |
| 2022-10-05 | rustdoc: render more cross-crate hrtbs properly | León Orell Valerian Liehr | -2/+3 | |
| 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 | -3/+11 | |
| Closes #101695 | ||||
| 2022-09-13 | Rustdoc-Json: Don't loose subitems of foreign traits. | Nixon Enraght-Moony | -2/+13 | |
| 2022-09-10 | Rustdoc-Json: Correcty handle intra-doc-links to items without HTML page | Nixon Enraght-Moony | -2/+9 | |
| Closes #101531 | ||||
| 2022-09-07 | Rustdoc-Json: More accurate struct type. | Nixon Enraght-Moony | -25/+11 | |
| Closes #101489 | ||||
| 2022-09-05 | Rustdoc-Json: Store Variant Fields as their own item. | Nixon Enraght-Moony | -11/+21 | |
| Closes #100587 Closes #92945 | ||||
| 2022-09-05 | Auto merge of #101386 - aDotInTheVoid:rdj-discriminant, r=GuillaumeGomez | bors | -1/+13 | |
| Rustdoc-Json: Add enum discriminant Does the first part of #101337, by adding it to `clean`, but doesn't change HTML output, as 1. [No Consensus has appeared on the UI for this](https://rust-lang.zulipchat.com/#narrow/stream/266220-rustdoc/topic/Enum.20discriminant.20values.20in.20HTML.20output) 2. [When inlining across crates, information is lost](https://rust-lang.zulipchat.com/#narrow/stream/266220-rustdoc/topic/.60clean_variant_def.20.60vs.20.60clean_variant_data.60) JSON doesn't have either of these limitations. r? `@GuillaumeGomez` | ||||
| 2022-09-04 | rustdoc: Compute enum discriminant on demand | Nixon Enraght-Moony | -8/+10 | |
| 2022-09-03 | Rustdoc-Json: Add enum discriminant | Nixon Enraght-Moony | -1/+11 | |
| 2022-09-03 | remove redundant clones | Matthias Krüger | -1/+1 | |
| 2022-08-29 | Rollup merge of #101106 - aDotInTheVoid:rdj-stripped-mod, r=GuillaumeGomez | Matthias Krüger | -3/+51 | |
| 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 | -3/+51 | |
| 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-21 | Auto merge of #100645 - notriddle:notriddle/rustdoc-diet-plan, r=GuillaumeGomez | bors | -3/+3 | |
| rustdoc: strategic boxing to reduce the size of ItemKind and Type The `Type` change redesigns `QPath` to box the entire data structure instead of boxing `self_type` and the `trait_`. This reduces the size of several `ItemKind` variants, leaving `Impl` as the biggest variant. The `ItemKind` change boxes that variant's payload. | ||||
| 2022-08-16 | rustdoc: box ItemKind::Trait | Michael Howell | -1/+1 | |
| This reduces the memory consumption of ItemKind. | ||||
| 2022-08-17 | Rollup merge of #100630 - Enselic:export_extern_crate_as_self, r=GuillaumeGomez | Takayuki Maeda | -2/+2 | |
| rustdoc JSON: Fix ICE with `pub extern crate self as <self_crate_name>` Closes #100531 r? `@GuillaumeGomez` `@rustbot` labels +A-rustdoc-json +T-rustdoc | ||||
| 2022-08-16 | rustdoc: factor Type::QPath out into its own box | Michael Howell | -2/+2 | |
| This reduces the size of Type. | ||||
| 2022-08-16 | rustdoc JSON: Fix ICE with `pub extern crate self as <self_crate_name>` | Martin Nordholts | -2/+2 | |
| 2022-08-15 | Handle correctly stripped enum variant fields | Guillaume Gomez | -6/+4 | |
| 2022-08-13 | Rollup merge of #100335 - aDotInTheVoid:rdj-resolved-path, r=GuillaumeGomez | Michael Goulet | -26/+20 | |
| Rustdoc-Json: Add `Path` type for traits. Avoids using `Type` for trait fields, as a trait must always be a path, and not any other kind of type. ``@rustbot`` modify labels: +A-rustdoc-json +T-rustdoc Closes #100106 | ||||
| 2022-08-13 | make clean::Item::span return option instead of dummy span | Michael Goulet | -1/+1 | |
| 2022-08-13 | avoid cloning and then iterating | KaDiWa | -5/+6 | |
| 2022-08-10 | Rustdoc-Json: Add `Path` type for traits. | Nixon Enraght-Moony | -26/+20 | |
| Closes #100106 | ||||
| 2022-08-10 | Rollup merge of #99479 - Enselic:import-can-be-without-id, r=camelid | Matthias Krüger | -18/+12 | |
| rustdoc-json: Remove doc FIXME for Import::id and explain Also add some test and refactor related code a bit. ``@rustbot`` labels +A-rustdoc-json +T-rustdoc | ||||
| 2022-08-03 | Rustdoc-Json: Add and use `FromWithTcx` for `Vec` | Nixon Enraght-Moony | -33/+31 | |
| 2022-08-03 | Rustdoc-Json: Extract `convert_lifetime` to function | Nixon Enraght-Moony | -6/+10 | |
| 2022-08-03 | Rustdoc-Json: Document HRTB's on DynTrait | Nixon Enraght-Moony | -26/+22 | |
| Closes #99118 | ||||
| 2022-07-29 | Box FunctionItem, TyMethodItem, MethodItem, ForeignFunctionItem | est31 | -4/+4 | |
| This reduces ItemKind size from 160 bytes to 112 bytes | ||||
| 2022-07-29 | Box TypedefItem, ImplItem, AssocTypeItem variants of ItemKind | est31 | -6/+6 | |
| This reduces ItemKind size from 224 bytes to 160 bytes. | ||||
| 2022-07-22 | Auto merge of #99598 - GuillaumeGomez:clean-trait-fields-on-demand, r=notriddle | bors | -2/+4 | |
| Make some clean::Trait fields computation on demand r? `@notriddle` | ||||
| 2022-07-22 | Make some clean::Trait fields computation on demand | Guillaume Gomez | -2/+4 | |
| 2022-07-21 | Remove unused field in ItemKind::KeywordItem | Guillaume Gomez | -2/+2 | |
| 2022-07-19 | rustdoc-json: De-duplicate `FromWithTcx<clean::Import>` | Martin Nordholts | -18/+12 | |
| 2022-07-17 | rustdoc: extend `#[doc(tuple_variadic)]` to fn pointers | Michael Howell | -1/+1 | |
| The attribute is also renamed `fake_variadic`. | ||||
| 2022-07-16 | Fix rustdoc JSON inline | Guillaume Gomez | -4/+35 | |
| 2022-07-02 | rustdoc-json-types: Clean up derives. | Nixon Enraght-Moony | -1/+1 | |
| Closes #96189 Closes #96189 Everything is `Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize` except `Crate` and `Item` which arn't `Hash`, as they have `HashMap`'s. See linked issue for reasoning. | ||||
| 2022-06-29 | rustdoc-json: Make default value of blanket impl assoc types work | Martin Nordholts | -1/+1 | |
| 2022-06-28 | Auto merge of #98475 - notriddle:notriddle/index-fn-signatures, r=GuillaumeGomez | bors | -1/+0 | |
| rustdoc: reference function signature types from the `p` array This reduces the size of the function signature index, because it's common to have many functions that operate on the same types. $ wc -c search-index-old.js search-index-new.js 5224374 search-index-old.js 3932314 search-index-new.js By my math, this reduces the uncompressed size of the search index by 32%. On compressed signatures, the wins are less drastic, a mere 8%: $ wc -c search-index-old.js.gz search-index-new.js.gz 404532 search-index-old.js.gz 371635 search-index-new.js.gz | ||||
| 2022-06-28 | Rollup merge of #98611 - GuillaumeGomez:rustdoc-json-glob-ice, r=notriddle | Matthias Krüger | -1/+6 | |
| Fix glob import ICE in rustdoc JSON format Fixes #98003. r? `@notriddle` | ||||
| 2022-06-28 | Fix glob import ICE in rustdoc JSON format | Guillaume Gomez | -1/+6 | |
| 2022-06-27 | Fix kind for associated types in rustdoc JSON output for trait implementations | Guillaume Gomez | -2/+5 | |
