| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-10-27 | rustc, rustc_passes: don't depend on syntax_expand. | Mazdak Farrokhzad | -1/+1 | |
| This is done by moving some data definitions to syntax::expand. | ||||
| 2019-10-21 | Add option to disable keyboard shortcuts in docs | Guillaume Gomez | -0/+1 | |
| 2019-10-16 | move syntax::ext to new crate syntax_expand | 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-09-29 | rustdoc: Fix default logo filename | Oliver Middleton | -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/+14 | |
| 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 | -12/+10 | |
| 2019-09-13 | Simplify render_spotlight_traits | Mark Rousskov | -6/+2 | |
| 2019-09-13 | Remove *Space wrappers in favor of direct impls or functions | Mark Rousskov | -41/+41 | |
| 2019-09-13 | Unwrap Visibility fields | Mark Rousskov | -3/+2 | |
| 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 | -59/+68 | |
| This will eventually allow us to easily pass in more parameters to the functions without TLS or other such hacks | ||||
| 2019-09-07 | Move to buffers throughout print_item | Mark Rousskov | -425/+372 | |
| 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 | layout::render takes Print instead of fmt::Display | Mark Rousskov | -5/+5 | |
| 2019-09-07 | De-indent all fmt::Display impls for later replacement to functions | Mark Rousskov | -233/+233 | |
| 2019-09-07 | Delete Sidebar struct in favor of FnOnce impl | Mark Rousskov | -8/+2 | |
| 2019-09-07 | Implement Print for FnOnce(&mut Buffer) | Mark Rousskov | -5/+5 | |
| This means that callers can pass in a closure like `|buf| some_function(..., &mut buf)` and pass in arbitrary arguments to that function without complicating the trait definition. We also keep the impl for str and String, since it's useful to be able to just pass in "" or format!("{}"...) results in some cases. This changes Print's definition to take self, instead of &self, because otherwise FnOnce cannot be called directly. We could instead take FnMut or even Fn, but that seems like it'd merely complicate matters -- most of the time, the FnOnce does not constrain us at all anyway. If it does, a custom Print impl for &'_ SomeStruct is not all that painful. | ||||
| 2019-09-07 | Move sidebar to Buffer-printing | Mark Rousskov | -60/+44 | |
| 2019-09-07 | Replace writeln!/write! with push_str | Mark Rousskov | -81/+69 | |
| 2019-09-07 | Move constant parameters to render to Layout struct | Mark Rousskov | -22/+7 | |
| 2019-09-07 | Remove needless clone of layout | Mark Rousskov | -2/+1 | |
| 2019-09-07 | Create buffers in top-level rendering | Mark Rousskov | -28/+21 | |
| This avoids needlessly creating and threading the buffers through when we only use them once. | ||||
| 2019-09-07 | Migrate top-level rendering to Buffer | Mark Rousskov | -42/+41 | |
| 2019-09-05 | Fix invalid span generation when it should be div | Guillaume Gomez | -4/+4 | |
| 2019-08-29 | Rollup merge of #62734 - GuillaumeGomez:hide-default-methods, r=Mark-Simulacrum | Mazdak Farrokhzad | -11/+14 | |
| 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-26 | Shorten line during rendering instead of in markdown | Mark Rousskov | -25/+35 | |
| 2019-08-26 | Inline recurse into only callsite | Mark Rousskov | -57/+40 | |
| 2019-08-26 | Transition a few fmt::Display impls to functions | Mark Rousskov | -3/+3 | |
| This introduces a WithFormatter abstraction that permits one-time fmt::Display on an arbitrary closure, created via `display_fn`. This allows us to prevent allocation while still using functions instead of structs, which are a bit unwieldy to thread arguments through as they can't easily call each other (and are generally a bit opaque). The eventual goal here is likely to move us off of the formatting infrastructure entirely in favor of something more structured, but this is a good step to move us in that direction as it makes, for example, passing a context describing current state to the formatting impl much easier. | ||||
| 2019-08-26 | Store only the current depth | Mark Rousskov | -5/+5 | |
| Previously we stored the entire current path which is a bit expensive and only ever accessed its length. This stores the length directly. | ||||
| 2019-08-26 | Remove dead tracking of external param names | Mark Rousskov | -26/+0 | |
| 2019-08-26 | Move source HTML generation to own module | Mark Rousskov | -173/+6 | |
| 2019-08-22 | Rollup merge of #63782 - GuillaumeGomez:theme-switch-fix, r=kinnison | Mazdak Farrokhzad | -8/+8 | |
| Fix confusion in theme picker functions To reproduce the bug currently: click on the theme picker button twice (to show it then hide it). Then click anywhere else: the dropdown menu appears again. The problem was coming from a confusion of what the `hideThemeButtonState` and `showThemeButtonState` were supposed to do. I switched their codes and updated the `switchThemeButtonState` function. It now works as expected. r? @kinnison | ||||
| 2019-08-21 | Fix confusion in theme picker functions | Guillaume Gomez | -8/+8 | |
| 2019-08-21 | Replaced skipStorage with saveTheme variable | Guillaume Gomez | -1/+1 | |
| 2019-08-11 | Drop RefCell from IdMap in markdown rendering | Mark Rousskov | -5/+4 | |
| 2019-08-11 | Remove fmt::Display impls on Markdown structs | Mark Rousskov | -5/+5 | |
| These impls prevent ergonomic use of the config (e.g., forcing us to use RefCell) despite all usecases for these structs only using their Display impls once. | ||||
| 2019-08-11 | Remove thread-local for playground config | Mark Rousskov | -9/+20 | |
| 2019-08-11 | Store typed Passes | Mark Rousskov | -10/+4 | |
