| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-10-02 | search.js: introduce optimized removeIdxListAsc routine | binarycat | -9/+30 | |
| 2025-10-02 | if a trait item is shown in search results, hide the impl item | binarycat | -20/+82 | |
| for example, if we're showing `Iterator::next`, we don't need to also show `Range::next` in the results. Co-authored-by: Michael Howell <michael@notriddle.com> | ||||
| 2025-09-12 | rustdoc-search: delay loading type name IDs until type search | Michael Howell | -88/+208 | |
| This avoids blocking on these lookups, so name-based searches return results more quickly. | ||||
| 2025-09-12 | rustdoc-search: reduce async machinery in value lookups | Michael Howell | -6/+2 | |
| This commit is a mirrored change from stringdex that makes `at()` not always return a promise, which is fine because we can still `await` it. | ||||
| 2025-09-11 | Correctly handle literal search on paths | Guillaume Gomez | -2/+4 | |
| 2025-09-04 | Auto merge of #145911 - notriddle:stringdex-tweak-3, r=GuillaumeGomez | bors | -5/+4 | |
| rustdoc-search: yet another stringdex optimization attempt This one's uses a different tactic. It shouldn't significantly increase the amount of downloaded index data, but still reduces the amount of disk usage. This one works by changing the suffix-only node representation to omit some data that's needed for checking. Since those nodes make up the bulk of the tree, it reduces the data they store, but also requires validating the match by fetching the name itself (but the names list is pretty small, and when I tried it with wordnet "indexing" it was about the same). r? `@GuillaumeGomez` | ||||
| 2025-09-03 | rustdoc-search: yet another stringdex optimization attempt | Michael Howell | -5/+4 | |
| This one's uses a different tactic. It shouldn't significantly increase the amount of downloaded index data, but still reduces the amount of disk usage. This one works by changing the suffix-only node representation to omit some data that's needed for checking. Since those nodes make up the bulk of the tree, it reduces the data they store, but also requires validating the match by fetching the name itself (but the names list is pretty small, and when I tried it with wordnet "indexing" it was about the same). | ||||
| 2025-08-31 | rustdoc-search: skip loading unneeded fnData | Michael Howell | -11/+12 | |
| 2025-08-30 | rustdoc-search: improve concurrency at type search | Michael Howell | -9/+15 | |
| 2025-08-30 | rustdoc-search: split function inverted index by input/output | Michael Howell | -23/+40 | |
| With a patch applied to count the number of unifications, and running the query `Option<T>, (T -> U) -> Option<U>` before: performed unifyFunctionType on 17484 functions after: performed unifyFunctionType on 3055 functions | ||||
| 2025-08-28 | Add new `doc(attribute = "...")` attribute | Guillaume Gomez | -1/+4 | |
| 2025-08-22 | Rollup merge of #145742 - ↵ | Jacob Pratt | -2/+0 | |
| lolbinarycat:rustdoc-search-type-cleanup-continued, r=GuillaumeGomez rustdoc js: Even more typechecking improvments made another pass at eliminating typescript errors, this time mainly focused on adding fields to `window` that weren't declared before. r? `@notriddle` | ||||
| 2025-08-21 | typecheck window.rr_ | binarycat | -1/+0 | |
| 2025-08-21 | typecheck window.searchIndex | binarycat | -1/+0 | |
| 2025-08-21 | add special formatting for displaying raw pointers in signatures | binarycat | -2/+22 | |
| 2025-08-21 | rustdoc search: accept *mut T syntax for raw pointers | binarycat | -30/+45 | |
| 2025-08-20 | Fix JS search scripts path | Guillaume Gomez | -2/+2 | |
| 2025-08-15 | rustdoc-search: search backend with partitioned suffix tree | Michael Howell | -2882/+2269 | |
| 2025-08-14 | Revert "rustdoc search: prefer stable items in search results" | Guillaume Gomez | -20/+1 | |
| This reverts commit 1140e90074b0cbcfdea8535e4b51877e2838227e. | ||||
| 2025-08-14 | Revert "rustdoc search: add performance note about searchIndexUnstable check" | Guillaume Gomez | -6/+0 | |
| This reverts commit fdbc8d08a63a3d34b7aebabb2f18a768462a98c4. | ||||
| 2025-08-14 | Revert "Correctly handle when there are no unstable items in the documented ↵ | Guillaume Gomez | -3/+1 | |
| crate" This reverts commit cd79c7189db7b611f9199fd12ba56563afa18642. | ||||
| 2025-08-13 | Correctly handle when there are no unstable items in the documented crate | Guillaume Gomez | -1/+3 | |
| 2025-08-09 | Rollup merge of #145100 - GuillaumeGomez:rank-doc-alias-lower, r=lolbinarycat | Stuart Cook | -0/+7 | |
| Rank doc aliases lower than equivalently matched items Follow-up of https://github.com/rust-lang/rust/pull/143988. cc `@lolbinarycat` | ||||
| 2025-08-09 | Rollup merge of #141658 - lolbinarycat:rustdoc-search-stability-rank-138067, ↵ | Stuart Cook | -1/+26 | |
| r=GuillaumeGomez rustdoc search: prefer stable items in search results fixes https://github.com/rust-lang/rust/issues/138067 this does add a new field to the search index, but since we're only listing unstable items instead of adding a boolean flag to every item, it should only increase the search index size of sysroot crates, since those are the only ones using the `staged_api` feature, at least as far as the rust project is concerned. | ||||
| 2025-08-09 | Rank doc aliases lower than equivalently matched items | Guillaume Gomez | -0/+7 | |
| 2025-08-08 | rustdoc search: add performance note about searchIndexUnstable check | binarycat | -0/+6 | |
| 2025-07-16 | Make aliases search support partial matching | Guillaume Gomez | -73/+77 | |
| 2025-06-26 | rustdoc js: several typechecking improvments | binarycat | -64/+28 | |
| non-exhaustive list of changes: * rustdoc.Results has a max_dist field * improve typechecking around pathDist and addIntoResults * give handleNameSearch a type signature * typecheck sortQ * currentCrate is string and not optional * searchState is referenced as a global, not through window | ||||
| 2025-06-20 | Rollup merge of #142497 - GuillaumeGomez:fix-random-search-failure, ↵ | Trevor Gross | -37/+41 | |
| r=lolbinarycat Fix random failure when JS code is executed when the whole file was not read yet Very randomly (and rarely), when I arrived on a page with `?search=something` in the URL, I got this error:  Moving the `initSearch` function at the bottom to ensure everything has been loaded fixes the issue. PS: Sorry for the noise. Pushed to the wrong branch and https://github.com/rust-lang/rust/pull/142496 closed. >< | ||||
| 2025-06-17 | Lint about `console` calls in rustdoc JS | Guillaume Gomez | -0/+1 | |
| 2025-06-16 | Add comment to prevent having code other than `initSearch` at the end of ↵ | Guillaume Gomez | -0/+4 | |
| `search.js` | ||||
| 2025-06-14 | Fix random failure when JS code is executed when the whole file was not read yet | Guillaume Gomez | -37/+37 | |
| 2025-06-10 | rustdoc search: prefer stable items in search results | binarycat | -1/+20 | |
| fixes https://github.com/rust-lang/rust/issues/138067 | ||||
| 2025-03-27 | search.js: revert usage of nonundef for now (not available under test) | binarycat | -2/+3 | |
| specifically, `storage.js` is not loaded during `rustdoc-js` and `rustdoc-js-std` tests. | ||||
| 2025-03-26 | satisfy eslint | binarycat | -3/+3 | |
| 2025-03-24 | search.js: fix whitespace | binarycat | -1/+1 | |
| 2025-03-24 | search.js: give type annotation to newSolutions | binarycat | -2/+2 | |
| 2025-03-24 | search.js: give type to unifiedGenericsMgens | binarycat | -2/+1 | |
| 2025-03-24 | search.js: fix return type of unifyFunctionTypes | binarycat | -2/+1 | |
| 2025-03-24 | search.js: use @type instead of @ts-expect-error | binarycat | -5/+1 | |
| 2025-03-24 | search.js: fix signature of pushText | binarycat | -9/+5 | |
| 2025-03-24 | search.js: refactor transformResults | binarycat | -12/+17 | |
| 2025-03-24 | search.js: remove another Map.has() and @ts-expect-error | binarycat | -3/+3 | |
| 2025-03-24 | search.js(query parser): rethrow error if it isn't a string array | binarycat | -3/+7 | |
| only errors that are string arrays are intended to be shown to the user, other errors are bugs, and will be shown in the console as usual. | ||||
| 2025-03-24 | search.js: add undef2null and eliminate more @ts-expect-error | binarycat | -10/+21 | |
| 2025-03-24 | search.js: refactor handling of rawPaths in buildIndex | binarycat | -20/+22 | |
| 2025-03-24 | search.js: improve typechecking by avoiding Map.has | binarycat | -13/+8 | |
| 2025-03-24 | rustdoc js: add nonundef and use it to remove a ts-expect-error | binarycat | -4/+3 | |
| 2025-03-04 | search.js: remove incorrect outdated comment | binarycat | -2/+0 | |
| 2025-03-04 | search.js: give RawSearchIndexCrate.a an index signature | binarycat | -3/+1 | |
