Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 8 pull requests #93260

Merged
merged 19 commits into from
Jan 24, 2022
Merged

Rollup of 8 pull requests #93260

merged 19 commits into from
Jan 24, 2022

Commits on Jan 3, 2022

  1. Configuration menu
    Copy the full SHA
    edae82e View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2022

  1. Configuration menu
    Copy the full SHA
    495c7b3 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2022

  1. Fix link to CVE-2022-21658

    kraai committed Jan 22, 2022
    Configuration menu
    Copy the full SHA
    91b9b6a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9f30dd9 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2022

  1. Configuration menu
    Copy the full SHA
    9c3ffd7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a0748d9 View commit details
    Browse the repository at this point in the history
  3. remove duplicate rule

    conradludgate committed Jan 23, 2022
    Configuration menu
    Copy the full SHA
    f00b02b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d889a4e View commit details
    Browse the repository at this point in the history
  5. update tests

    conradludgate committed Jan 23, 2022
    Configuration menu
    Copy the full SHA
    ca3d0e2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    bc8ef4c View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2022

  1. Update theme on pageshow event

    When a user goes forward or back, the page may be rendered from the
    back/forward cache (https://web.dev/bfcache/) rather than from scratch. If
    they have changed theme in the meantime, that means seeing an incorrect
    theme on the page they went forward or back to. The `pageshow` event
    fires on such navigations, so we can update the theme based on that event.
    jsha committed Jan 24, 2022
    Configuration menu
    Copy the full SHA
    b30725e View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#92513 - Xuanwo:path-buf, r=dtolnay

    std: Implement try_reserve and try_reserve_exact on PathBuf
    
    Part of rust-lang#91789
    
    Signed-off-by: Xuanwo <[email protected]>
    matthiaskrgr authored Jan 24, 2022
    Configuration menu
    Copy the full SHA
    b92a1e9 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#93152 - ivmarkov:master, r=m-ou-se

    Fix STD compilation for the ESP-IDF target (regression from CVE-2022-21658)
    
    Commit rust-lang@54e22eb broke the compilation of STD for the ESP-IDF embedded "unix-like" Tier 3 target, because the fix for [CVE-2022-21658](https://blog.rust-lang.org/2022/01/20/Rust-1.58.1.html) uses [libc flags](https://github.com/esp-rs/esp-idf-svc/runs/4892221554?check_suite_focus=true) which are not supported on the ESP-IDF platform.
    
    This PR simply redirects the ESP-IDF compilation to the "classic" implementation, similar to REDOX. This should be safe because:
    * Neither of the two filesystems supported by ESP-IDF (spiffs and fatfs) support [symlinks](https://github.com/natevw/fatfs/blob/master/README.md) in the first place
    * There is no notion of fs permissions at all, as the ESP-IDF is an embedded platform that does not have the notion of users, groups, etc.
    * Similarly, ESP-IDF has just one "process" - the firmware itself - which contains the user code and the "OS" fused together and running with all permissions
    matthiaskrgr authored Jan 24, 2022
    Configuration menu
    Copy the full SHA
    144aeed View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#93186 - kraai:fix-CVE-2022-21658-link, r=m-…

    …ou-se
    
    Fix link to CVE-2022-21658
    
    The link to CVE-2022-21658 contains a trailing bracket, which causes
    it to link to <https://www.cve.org/CVERecord?id=CVE-2022-21658%5D>.
    matthiaskrgr authored Jan 24, 2022
    Configuration menu
    Copy the full SHA
    8491fb3 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#93188 - jsha:fix-safari-bumpy-search, r=cam…

    …elid
    
    rustdoc: fix bump down typing search on Safari
    
    Fixes rust-lang#93184.
    
    For some reason, if the search input doesn't have a previous sibling, typing in the search box increases the search-container's size by about 5px on the bottom. Putting in a dummy sibling fixes it.
    
    https://rustdoc.crud.net/jsha/fix-safari-bumpy-search/std/string/struct.String.html
    
    r? `@camelid`
    matthiaskrgr authored Jan 24, 2022
    Configuration menu
    Copy the full SHA
    cce8023 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#93212 - GuillaumeGomez:cursor-pointer-mobil…

    …e-sidebar, r=jsha
    
    Remove unneeded cursor pointer rule on mobile sidebar
    
    Since it's on mobile, there isn't much point in this rule...
    
    r? `@jsha`
    matthiaskrgr authored Jan 24, 2022
    Configuration menu
    Copy the full SHA
    26f14bb View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#93231 - conradludgate:doc-link-brightness, …

    …r=notriddle
    
    adjust sidebar link brightness
    
    Fairly simple change. I've taken the existing link colour and main body background colours, and made sure that the sidebar+link contrast is the same.
    
    ayu:
    - [main content contrast](https://colourcontrast.cc/0f1419/39afd7) - 7.31
    - [current sidebar contrast](https://colourcontrast.cc/14191f/39afd7) - 6.97
    - [new sidebar contrast](https://colourcontrast.cc/14191f/56b1d9) - 7.30
    
    dark:
    - [main content contrast](https://colourcontrast.cc/353535/d2991d) - 4.86
    - [current sidebar contrast](https://colourcontrast.cc/14191f/d2991d) - 3.19
    - [new sidebar contrast](https://colourcontrast.cc/14191f/fdbf35) - 4.87
    
    light:
    - [main content contrast](https://colourcontrast.cc/ffffff/3873ad) - 4.97
    - [current sidebar contrast](https://colourcontrast.cc/f5f5f5/3873ad) - 4.56
    - [new sidebar contrast](https://colourcontrast.cc/f5f5f5/356da4) - 4.97
    matthiaskrgr authored Jan 24, 2022
    Configuration menu
    Copy the full SHA
    ed1fea8 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#93241 - GuillaumeGomez:rust-logo-appearance…

    …, r=jsha
    
    Fix brief appearance of rust logo in the sidebar
    
    Part of rust-lang#91374.
    
    I simply removed the CSS animation on the visibility, which now makes it all appear at once. I didn't change the CSS animation on the width though, which gives:
    
    https://user-images.githubusercontent.com/3050060/150689595-067a6e00-9875-40c8-9d8a-1e3031dbcaba.mp4
    
    cc `@camelid`
    
    r? `@jsha`
    matthiaskrgr authored Jan 24, 2022
    Configuration menu
    Copy the full SHA
    d1aa2f7 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#93253 - jsha:theme-on-show, r=GuillaumeGomez

    Update theme on pageshow event
    
    When a user goes forward or back, the page may be rendered from the back/forward cache (https://web.dev/bfcache/) rather than from scratch. If they have changed theme in the meantime, that means seeing an incorrect theme on the page they went forward or back to. The `pageshow` event fires on such navigations, so we can update the theme based on that event.
    
    Demo: https://rustdoc.crud.net/jsha/theme-on-show/std/string/trait.ToString.html
    
    r? `@GuillaumeGomez`
    matthiaskrgr authored Jan 24, 2022
    Configuration menu
    Copy the full SHA
    ee35ed3 View commit details
    Browse the repository at this point in the history