| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-03-16 | Update src/librustdoc/html/static/main.js | Guillaume Gomez | -1/+1 | |
| Fix variable name Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com> | ||||
| 2020-03-16 | formatting | Guillaume Gomez | -6/+4 | |
| 2020-03-16 | Support type search for arguments and returned types | Guillaume Gomez | -62/+66 | |
| 2020-02-27 | Remove "important traits" feature | Guillaume Gomez | -28/+0 | |
| 2020-02-15 | Auto merge of #68668 - GuillaumeGomez:struct-variant-field-search, r=ollie27 | bors | -8/+22 | |
| Struct variant field search Fixes #16017. Reopening of #64724. cc @tomjakubowski cc @ollie27 r? @kinnison | ||||
| 2020-01-30 | rustdoc: emit JS paths for struct-like variants | Tom Jakubowski | -8/+22 | |
| On the backend, rustdoc now emits `paths` entries to a crate's search index for struct-like enum variants, and index items of type structfield which belong to such variants point to their variant parents in the `paths` table, rather than their enum grandparents. The path entry for a variant is the fully qualified module path plus the enum name. On the frontend, the search code recognizes structfields belonging to structlike variants in the `paths` table and re-constructs the URL to the field's anchor on the enum documentation page. closes #16017 | ||||
| 2020-01-28 | Fix null synthetic_implementors error | Guillaume Gomez | -14/+16 | |
| 2020-01-20 | Remove usage of global variable "inlined_types" | Guillaume Gomez | -2/+18 | |
| 2020-01-12 | rustdoc: HTML escape arrows on help popup | Oliver Middleton | -2/+2 | |
| 2019-12-22 | Fix invalid results showing back | Guillaume Gomez | -0/+4 | |
| 2019-12-22 | Improve code readability | Guillaume Gomez | -43/+37 | |
| 2019-12-22 | Improve JS code a bit by avoid erasing all event handlers | Guillaume Gomez | -4/+5 | |
| 2019-12-15 | Fix JS error when loading page with search | Guillaume Gomez | -1/+1 | |
| 2019-12-02 | Add missing check | Guillaume Gomez | -1/+1 | |
| 2019-11-20 | Rollup merge of #66514 - GuillaumeGomez:fix-search-filter-save, r=kinnison | Mazdak Farrokhzad | -15/+10 | |
| Fix selected crate search filter Fixes #62929. r? @kinnison | ||||
| 2019-11-20 | Rollup merge of #66298 - Ppjet6:disable-search-field, r=GuillaumeGomez | Mazdak Farrokhzad | -4/+4 | |
| rustdoc: fixes #64305: disable search field instead of hidding it The result seems to be ok but I wasn't entirely sure how to get there. I tried to stay generic a bit but maybe it's not required at all. @GuillaumeGomez Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | ||||
| 2019-11-20 | rustdoc: fixes #64305: disable search field instead of hidding it | Maxime “pep” Buquet | -4/+4 | |
| Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | ||||
| 2019-11-19 | Rollup merge of #66430 - dns2utf8:fix_code_selection_click_handler, ↵ | Mazdak Farrokhzad | -24/+37 | |
| r=GuillaumeGomez [doc] Fix the source code highlighting on source comments The code would always forget the previous selection. r? @GuillaumeGomez | ||||
| 2019-11-18 | Fix selected crate search filter | Guillaume Gomez | -15/+10 | |
| 2019-11-15 | Prevent jumps when selecting one or many lines | Stefan Schindler | -0/+5 | |
| 2019-11-15 | Fix the source code highlighting on source comments | Stefan Schindler | -24/+32 | |
| 2019-11-15 | Code cleanup to remove douplacte var definition | Stefan Schindler | -3/+2 | |
| Also move the declaration outside the loop since they accumulate state with each iteration | ||||
| 2019-11-15 | Remove unused argument | Stefan Schindler | -1/+1 | |
| 2019-11-08 | Rollup merge of #66123 - GuillaumeGomez:no-more-hidden-elements, r=Dylan-DPC | Yuki Okushi | -11/+51 | |
| No more hidden elements Fixes #66046. Follow-up of #66082. r? @kinnison | ||||
| 2019-11-07 | Rollup merge of #64696 - GuillaumeGomez:rustdoc-sub-settings, r=kinnison | Mazdak Farrokhzad | -4/+28 | |
| [rustdoc] add sub settings This PR is to give a finer control over what types are automatically expanded or not as well as the possibility to add sub-settings in the settings page.  r? @Mark-Simulacrum | ||||
| 2019-11-07 | Only call onHashChange instead of both functions | Guillaume Gomez | -3/+2 | |
| 2019-11-07 | Remove old isHidden function | Guillaume Gomez | -1/+1 | |
| 2019-11-06 | When a URL hash refers to a hidden element, it makes the element visible | Guillaume Gomez | -10/+51 | |
| 2019-11-04 | clean highlightSourceLines code | Guillaume Gomez | -42/+54 | |
| 2019-11-03 | Auto merge of #65780 - GuillaumeGomez:move-help-popup-generation-code, ↵ | bors | -2/+49 | |
| r=Mark-Simulacrum Move help popup generation code The first commit is just a small cleanup. The idea behind this PR is to reduce a bit more the generated HTML files by moving the duplicated code into one place instead. r? @kinnison | ||||
| 2019-10-29 | Rollup merge of #65741 - GuillaumeGomez:help-popup, r=Dylan-DPC | Tyler Mandry | -3/+7 | |
| Prevent help popup to disappear when clicking on it Fixes #65736. r? @kinnison | ||||
| 2019-10-29 | add sub settings in rustdoc | Guillaume Gomez | -4/+28 | |
| 2019-10-27 | reduce size of generated HTML files by moving the popup helper code to the JS | Guillaume Gomez | -0/+47 | |
| 2019-10-27 | Cleanup search element getter | Guillaume Gomez | -2/+2 | |
| 2019-10-25 | Improve help popup detection | Guillaume Gomez | -3/+4 | |
| 2019-10-24 | Prevent help popup to disappear when clicking on it | Guillaume Gomez | -2/+5 | |
| 2019-10-24 | Fix default "disable-shortcuts" feature value | Guillaume Gomez | -1/+1 | |
| 2019-10-21 | Add option to disable keyboard shortcuts in docs | Guillaume Gomez | -1/+2 | |
| 2019-09-09 | Rollup merge of #64312 - GuillaumeGomez:rustdoc-better-esc-handling, ↵ | Mazdak Farrokhzad | -18/+29 | |
| r=Mark-Simulacrum Unify escape usage Fixes #63443. I chose to keep the search text when pressing escape so when we focus on the search bar, we got the results again without needing to load them again. I also unified a bit a few things (maybe I should have done it in another commit, sorry...). r? @Mark-Simulacrum | ||||
| 2019-09-09 | Unify escape usage | Guillaume Gomez | -18/+29 | |
| 2019-09-06 | Rollup merge of #64094 - kawa-yoiko:rustdoc-search, r=GuillaumeGomez | Mazdak Farrokhzad | -10/+6 | |
| Improve searching in rustdoc and add tests 👋 I have made searching in rustdoc more intuitive, added a couple more tests and made a little shell script to aid testing. Closes #63005. It took me quite a while to figure out how to run the tests for rustdoc (instead of running tests for other crates with rustdoc); the only pointer I found was [hidden in the rustc book](https://rust-lang.github.io/rustc-guide/rustdoc.html#cheat-sheet). Maybe this could be better documented? I shall be delighted to help if it is desirable. | ||||
| 2019-09-05 | Rollup merge of #63774 - chocol4te:fix_63707, r=GuillaumeGomez | Mazdak Farrokhzad | -1/+1 | |
| Fix `window.hashchange is not a function` Closes #63707. | ||||
| 2019-09-04 | Improve searching in rustdoc and add tests | Shiqing | -10/+6 | |
| 2019-08-29 | Rollup merge of #62734 - GuillaumeGomez:hide-default-methods, r=Mark-Simulacrum | Mazdak Farrokhzad | -1/+1 | |
| Hide trait default methods Fixes #62499. However, the question remains: do we want to extend it to this point or not? r? @QuietMisdreavus | ||||
| 2019-08-28 | Auto merge of #62941 - GuillaumeGomez:save-crate-filter, r=Mark-Simulacrum | bors | -2/+18 | |
| Save crate filtering on rustdoc Fixes #62929. I added a hashmap and a hash encoding for the current crate list in case you have multiple crates handling on a same website (who talked about docs.rs?!). Like that, for each context, you have the filter crate selected. r? @QuietMisdreavus | ||||
| 2019-08-28 | Save crate filtering on rustdoc | Guillaume Gomez | -2/+18 | |
| 2019-08-21 | Fix confusion in theme picker functions | Guillaume Gomez | -6/+6 | |
| 2019-08-21 | Fix `window.hashchange is not a function` | Ferdia McKeogh | -1/+1 | |
| 2019-07-16 | code formatting | Guillaume Gomez | -1/+1 | |
| 2019-05-21 | Fix lines highlighting in rustdoc source view | Guillaume Gomez | -3/+14 | |
