| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-06-16 | rustdoc: add ways of collapsing all impl blocks | binarycat | -6/+22 | |
| either shift+click the Summary button, or use the `_` key. this collapses everything, including (inherent) impl blocks. no need for a special "expand all impl blocks" method, as impl blocks are expanded during regular "expand all". doing "expand all" -> "collapse all" will always result in only impl blocks being expaned. some of the html is split up a bit awkwardly to try to avoid introducing new whitespaces nodes, which could affect display. Co-authored-by: Guillaume Gomez <guillaume1.gomez@gmail.com> | ||||
| 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 | -2/+24 | |
| fixes https://github.com/rust-lang/rust/issues/138067 | ||||
| 2025-05-27 | scrape-examples.js: fix typos | lolbinarycat | -2/+2 | |
| Co-authored-by: Guillaume Gomez <guillaume1.gomez@gmail.com> | ||||
| 2025-05-22 | scrape-examples.js: add another nonnull() invokation | binarycat | -1/+1 | |
| 2025-05-22 | fix typo | binarycat | -4/+5 | |
| 2025-05-21 | rustdoc js: add rustdoc.ScrapedLoc type | binarycat | -1/+5 | |
| 2025-05-21 | rustdoc js: add ScrapedLoc type | binarycat | -4/+16 | |
| 2025-05-21 | scrape-examples.js: give each function a signature | binarycat | -9/+24 | |
| 2025-05-10 | rustdoc: Fix links in trait impl docs | SpecificProtagonist | -1/+3 | |
| 2025-04-02 | rustdoc js: satisfy eslint | binarycat | -4/+4 | |
| 2025-04-02 | settings.js: fix whitespace | binarycat | -1/+1 | |
| 2025-04-02 | settings.js: add elemContainsTarget utility function | binarycat | -6/+15 | |
| this allows us to eliminate the last 3 @ts-expect-error in this file. | ||||
| 2025-04-02 | main.js: make hideAllModals docs clearer | binarycat | -1/+1 | |
| "true" looks like a string value, `true` makes it more clear that we are talking about the actual boolean value. | ||||
| 2025-04-02 | settings.js: make top-level code typecheck | binarycat | -9/+13 | |
| With this, almost the entire file is fully typechecked, the only exception being the Element.contains(EventTarget) pattern that is used several times, those are annotated with @ts-expect-error | ||||
| 2025-04-02 | settings.js: add some null checks to buildSettingsPage | binarycat | -2/+8 | |
| 2025-04-02 | settings.js: refactor settingsBlurHandler | binarycat | -5/+14 | |
| changes: * Add type signature * Add null checks * getHelpButton and getSettingsButton are only called once, which should marginally improve performance due to less queries. unfortunatly 2 @ts-expect-error was needed, as typescript is unaware the EventTarget is likely an Element. | ||||
| 2025-04-02 | settings.js: remove dead code for adding <hr> to settings page | binarycat | -5/+0 | |
| 2025-04-02 | settings.js: add new rustdoc.Setting interface | binarycat | -17/+36 | |
| 2025-04-02 | settings.js: begin typechecking migration | binarycat | -7/+19 | |
| this also makes `changeSetting` more robust in case it somehow gets called before `main.js` has finished loading. | ||||
| 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 | -14/+27 | |
| 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 | -5/+28 | |
| 2025-03-14 | rustdoc js: add nonnull helper and typecheck src-script.js | binarycat | -9/+70 | |
| 2025-03-10 | main.js: remove searchState from globals. | binarycat | -1/+1 | |
| 2025-03-10 | main.js: typecheck things related to window.register_type_impls | binarycat | -8/+10 | |
| 2025-03-10 | rustdoc.d.ts: add window.{register_implementors,pending_implementors} | binarycat | -3/+17 | |
| 2025-03-10 | rustdoc.d.ts: window.SIDEBAR_ITEMS may exist. | binarycat | -1/+2 | |
| 2025-03-10 | main.js: handle document.activeElement being null | binarycat | -2/+2 | |
| this is technically possible if someone sticks rustdoc in an iframe, i think? | ||||
| 2025-03-10 | main.js(isDisplayed): coerce truthy values to boolean | binarycat | -3/+2 | |
| 2025-03-10 | main.js: always refer to searchState through window.searchState | binarycat | -10/+5 | |
| 2025-03-10 | main.js: handleEscape and handleShortcut accept KeyboardEvent | binarycat | -2/+6 | |
| 2025-03-10 | main.js: give type signatures to a few helper functions | binarycat | -4/+8 | |
| 2025-03-10 | main.js: don't set mouseMovedAfterSearch, as it is never read | binarycat | -1/+0 | |
| 2025-03-10 | main.js: insertAfter needs non-root referenceNode | binarycat | -4/+1 | |
| 2025-03-04 | search.js: remove incorrect outdated comment | binarycat | -2/+0 | |
| 2025-03-04 | search.js: give RawSearchIndexCrate.a an index signature | binarycat | -4/+2 | |
