| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-11-03 | Auto merge of #65780 - GuillaumeGomez:move-help-popup-generation-code, ↵ | bors | -57/+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-27 | rustc, rustc_passes: don't depend on syntax_expand. | Mazdak Farrokhzad | -2/+2 | |
| This is done by moving some data definitions to syntax::expand. | ||||
| 2019-10-27 | reduce size of generated HTML files by moving the popup helper code to the JS | Guillaume Gomez | -55/+47 | |
| 2019-10-27 | Cleanup search element getter | Guillaume Gomez | -2/+2 | |
| 2019-10-26 | Add more information on search | Guillaume Gomez | -0/+8 | |
| 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/+3 | |
| 2019-10-16 | move syntax::ext to new crate syntax_expand | Mazdak Farrokhzad | -3/+3 | |
| 2019-10-15 | syntax::parse::sess -> syntax::sess | Mazdak Farrokhzad | -2/+2 | |
| 2019-10-13 | ast: remove implicit pprust dependency via Display. | Mazdak Farrokhzad | -1/+2 | |
| Instead just use `pprust::path_to_string(..)` where needed. This has two benefits: a) The AST definition is now independent of printing it. (Therefore we get closer to extracting a data-crate.) b) Debugging should be easier as program flow is clearer. | ||||
| 2019-10-04 | Auto merge of #64994 - GuillaumeGomez:fix-rustdoc-display-js-disabled, ↵ | bors | -0/+8 | |
| r=Mark-Simulacrum Fix rustdoc display with js disabled Fixes #64988. Currently, all sections are collapsed when the page is loading, and then is displayed once done. However, if js is disabled, they never get expanded. Therefore, they need to be shown by default. r? @Mark-Simulacrum | ||||
| 2019-10-02 | Rollup merge of #64948 - GuillaumeGomez:improve-sidebar-styling, ↵ | Mazdak Farrokhzad | -4/+4 | |
| r=Mark-Simulacrum Improve sidebar styling to make its integration easier Part of https://github.com/rust-lang/docs.rs/issues/417 Setting the height was an error: forcing the element bottom to be at the bottom allows to change to top of the sidebar. r? @Mark-Simulacrum | ||||
| 2019-10-02 | Fix rustdoc display with js disabled | Guillaume Gomez | -0/+8 | |
| 2019-10-01 | Improve sidebar styling to make its integration easier | Guillaume Gomez | -4/+4 | |
| 2019-09-29 | rustdoc: Fix default logo filename | Oliver Middleton | -1/+1 | |
| 2019-09-28 | rustc: rely on c_variadic == true instead of CVarArgs in HIR/Ty fn signatures. | Eduard-Mihai Burtescu | -4/+11 | |
| 2019-09-23 | Remove needless `mut` in paths | Mark Rousskov | -1/+1 | |
| 2019-09-23 | Remove unused arguments | Mark Rousskov | -14/+10 | |
| 2019-09-23 | Utilize shared error codes rather than re-querying env | Mark Rousskov | -1/+1 | |
| 2019-09-23 | Remove pointless or | Mark Rousskov | -2/+2 | |
| 2019-09-23 | Remove needless Rc<RefCell<...>> | Mark Rousskov | -2/+2 | |
| 2019-09-23 | Provide helper for synthesizing paths with resource suffix | Mark Rousskov | -29/+40 | |
| 2019-09-13 | Stylistic fix -- remove double impl | Mark Rousskov | -2/+0 | |
| 2019-09-13 | Move cache into Context, avoid TLS | Mark Rousskov | -29/+26 | |
| This doesn't move everything over as cache() is pretty annoying to remove fully, but it gets the ball rolling. | ||||
| 2019-09-13 | Move `Cache` generation to separate module | Mark Rousskov | -654/+689 | |
| 2019-09-13 | Move playground to shared context | Mark Rousskov | -35/+38 | |
| 2019-09-13 | Move error codes to shared context | Mark Rousskov | -4/+4 | |
| 2019-09-13 | Move edition field out of Context | Mark Rousskov | -8/+9 | |
| 2019-09-13 | Replace SlashChecker with ensure_trailing_slash | Mark Rousskov | -14/+12 | |
| 2019-09-13 | Simplify render_spotlight_traits | Mark Rousskov | -6/+2 | |
| 2019-09-13 | Move Toc printing from fmt::Display | Mark Rousskov | -22/+17 | |
| 2019-09-13 | Remove *Space wrappers in favor of direct impls or functions | Mark Rousskov | -109/+84 | |
| 2019-09-13 | Unwrap Visibility fields | Mark Rousskov | -9/+4 | |
| There's not really any reason to not have the visibility default to inherited, and this saves us the trouble of checking everywhere for whether we have a visibility or not. | ||||
| 2019-09-13 | Move to print functions on types instead of impl fmt::Display | Mark Rousskov | -504/+543 | |
| This will eventually allow us to easily pass in more parameters to the functions without TLS or other such hacks | ||||
| 2019-09-10 | Auto merge of #60387 - Goirad:test-expansion, r=ollie27 | bors | -32/+55 | |
| Allow cross-compiling doctests This PR allows doctest to receive a --runtool argument, as well as possibly many --runtool-arg arguments, which are then used to run cross compiled doctests. Also, functionality has been added to rustdoc to allow it to skip testing doctests on a per-target basis, in the same way that compiletest does it. For example, tagging the doctest with "ignore-sgx" disables testing on any targets that contain "sgx". A plain "ignore" still skips testing on all targets. See [here](https://github.com/rust-lang/cargo/pull/6892) for the companion PR in the cargo project that extends functionality in Cargo so that it passes the appropriate parameters to rustdoc when cross compiling and testing doctests. Part of [#6460](https://github.com/rust-lang/cargo/issues/6460) | ||||
| 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-08 | Rollup merge of #64267 - ehuss:rustdoc-fix-mixed-code-block, r=GuillaumeGomez | Mazdak Farrokhzad | -1/+4 | |
| rustdoc: fix diagnostic with mixed code block styles This fixes a relatively obscure issue where the diagnostic (emitted [here](https://github.com/rust-lang/rust/blame/ef54f57c5b9d894a38179d09b00610c1b337b086/src/librustdoc/passes/check_code_block_syntax.rs#L69)) would get confused since the "is_fenced" flag wasn't reset properly. | ||||
| 2019-09-08 | Auto merge of #64096 - GuillaumeGomez:theme-regex-fix, r=Mark-Simulacrum | bors | -1/+1 | |
| Fix regex replacement in theme detection Fixes #64061. This is sadly a lot of bad luck: after making the changes and re-build the docs, I just forgot to force reload the page. Hence having the old (working) version with two replacements instead of the failing regex. Sorry again about that... cc @fenhl r? @Mark-Simulacrum | ||||
| 2019-09-07 | Move to buffers throughout print_item | Mark Rousskov | -428/+375 | |
| 2019-09-07 | Item to function | Mark Rousskov | -84/+79 | |
| 2019-09-07 | AllTypes to function | Mark Rousskov | -32/+30 | |
| 2019-09-07 | Settings to function | Mark Rousskov | -36/+19 | |
| 2019-09-07 | Move Source to Buffer | Mark Rousskov | -14/+7 | |
| 2019-09-07 | layout::render takes Print instead of fmt::Display | Mark Rousskov | -11/+15 | |
| 2019-09-07 | De-indent all fmt::Display impls for later replacement to functions | Mark Rousskov | -255/+255 | |
| 2019-09-07 | Delete Sidebar struct in favor of FnOnce impl | Mark Rousskov | -8/+2 | |
