renovate[bot] and renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
404ddeebc5
Update Rust crate serde_json to v1.0.132 ( #20638 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [serde_json](https://redirect.github.com/serde-rs/json ) | dependencies
| patch | `1.0.128` -> `1.0.132` |
| [serde_json](https://redirect.github.com/serde-rs/json ) |
workspace.dependencies | patch | `1.0.128` -> `1.0.132` |
---
### Release Notes
<details>
<summary>serde-rs/json (serde_json)</summary>
###
[`v1.0.132`](https://redirect.github.com/serde-rs/json/releases/tag/1.0.132 )
[Compare
Source](https://redirect.github.com/serde-rs/json/compare/1.0.131...1.0.132 )
- Improve binary size and compile time for JSON array and JSON object
deserialization by about 50%
([#​1205](https://redirect.github.com/serde-rs/json/issues/1205 ))
- Improve performance of JSON array and JSON object deserialization by
about 8%
([#​1206](https://redirect.github.com/serde-rs/json/issues/1206 ))
###
[`v1.0.131`](https://redirect.github.com/serde-rs/json/releases/tag/1.0.131 )
[Compare
Source](https://redirect.github.com/serde-rs/json/compare/1.0.130...1.0.131 )
- Implement Deserializer and IntoDeserializer for `Map<String, Value>`
and `&Map<String, Value>`
([#​1135](https://redirect.github.com/serde-rs/json/issues/1135 ),
thanks [@​swlynch99](https://redirect.github.com/swlynch99 ))
###
[`v1.0.130`](https://redirect.github.com/serde-rs/json/releases/tag/1.0.130 )
[Compare
Source](https://redirect.github.com/serde-rs/json/compare/1.0.129...1.0.130 )
- Support converting and deserializing `Number` from i128 and u128
([#​1141](https://redirect.github.com/serde-rs/json/issues/1141 ),
thanks [@​druide](https://redirect.github.com/druide ))
###
[`v1.0.129`](https://redirect.github.com/serde-rs/json/releases/tag/1.0.129 )
[Compare
Source](https://redirect.github.com/serde-rs/json/compare/1.0.128...1.0.129 )
- Add
[`serde_json::Map::sort_keys`](https://docs.rs/serde_json/1/serde_json/struct.Map.html#method.sort_keys )
and
[`serde_json::Value::sort_all_objects`](https://docs.rs/serde_json/1/serde_json/enum.Value.html#method.sort_all_objects )
([#​1199](https://redirect.github.com/serde-rs/json/issues/1199 ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 3pm on Wednesday" in timezone
America/New_York, Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
Release Notes:
- N/A
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMS41IiwidXBkYXRlZEluVmVyIjoiMzkuMTEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 18:35:13 +02:00
renovate[bot] and renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
ad370ed986
Update Rust crate sys-locale to v0.3.2 ( #20639 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [sys-locale](https://redirect.github.com/1Password/sys-locale ) |
workspace.dependencies | patch | `0.3.1` -> `0.3.2` |
---
### Release Notes
<details>
<summary>1Password/sys-locale (sys-locale)</summary>
###
[`v0.3.2`](https://redirect.github.com/1Password/sys-locale/releases/tag/v0.3.2 )
[Compare
Source](https://redirect.github.com/1Password/sys-locale/compare/v0.3.1...v0.3.2 )
#### What's Changed
##### Added
- Support for all other Apple targets, such as watchOS and tvOS by
[@​complexspaces](https://redirect.github.com/complexspaces ) in
[https://github.com/1Password/sys-locale/pull/38 ](https://redirect.github.com/1Password/sys-locale/pull/38 ).
- Support for ignoring POSIX modifiers in UNIX locales with them present
by [@​pasabanov](https://redirect.github.com/pasabanov ) in
[https://github.com/1Password/sys-locale/pull/33 ](https://redirect.github.com/1Password/sys-locale/pull/33 ).
- Parsing support/recognition may come at a later date.
- Support for returning a list of user locales on Linux/BSD UNIX
platforms by [@​pasabanov](https://redirect.github.com/pasabanov )
in
[https://github.com/1Password/sys-locale/pull/35 ](https://redirect.github.com/1Password/sys-locale/pull/35 ).
##### Fixed
- No longer use `LC_CTYPE` when determining the locale; the crate now
uses `LC_MESSAGES` in its place by
[@​pasabanov](https://redirect.github.com/pasabanov ) in
[https://github.com/1Password/sys-locale/pull/35 ](https://redirect.github.com/1Password/sys-locale/pull/35 ).
- Skip empty locale environment variables on UNIX platforms by
[@​complexspaces](https://redirect.github.com/complexspaces ) in
[https://github.com/1Password/sys-locale/pull/29 ](https://redirect.github.com/1Password/sys-locale/pull/29 ).
- Corrected types mentioned and improved the public API documentation by
[@​pasabanov](https://redirect.github.com/pasabanov ) in
[https://github.com/1Password/sys-locale/pull/37 ](https://redirect.github.com/1Password/sys-locale/pull/37 ).
##### Changed
- Improved crate download size by excluding unused directories and files
by [@​pasabanov](https://redirect.github.com/pasabanov ).
- Very slight improvement to locale fetching performance on Windows by
[@​complexspaces](https://redirect.github.com/complexspaces ) in
[https://github.com/1Password/sys-locale/pull/29 ](https://redirect.github.com/1Password/sys-locale/pull/29 ).
- Increased MSRV to Rust 1.56, which is 3 years old as of this release
by [@​complexspaces](https://redirect.github.com/complexspaces ).
#### New Contributors
- [@​pasabanov](https://redirect.github.com/pasabanov ) made their
first contribution in
[https://github.com/1Password/sys-locale/pull/30 ](https://redirect.github.com/1Password/sys-locale/pull/30 )
**Full Changelog**:
https://github.com/1Password/sys-locale/compare/v0.3.1...v0.3.2
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 3pm on Wednesday" in timezone
America/New_York, Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
Release Notes:
- N/A
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMS41IiwidXBkYXRlZEluVmVyIjoiMzkuMTEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 18:35:05 +02:00
renovate[bot] and renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
ced9045591
Update Rust crate thiserror to v1.0.69 ( #20643 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [thiserror](https://redirect.github.com/dtolnay/thiserror ) |
workspace.dependencies | patch | `1.0.64` -> `1.0.69` |
---
### Release Notes
<details>
<summary>dtolnay/thiserror (thiserror)</summary>
###
[`v1.0.69`](https://redirect.github.com/dtolnay/thiserror/releases/tag/1.0.69 )
[Compare
Source](https://redirect.github.com/dtolnay/thiserror/compare/1.0.68...1.0.69 )
- Backport 2.0.2 fixes
###
[`v1.0.68`](https://redirect.github.com/dtolnay/thiserror/releases/tag/1.0.68 )
[Compare
Source](https://redirect.github.com/dtolnay/thiserror/compare/1.0.67...1.0.68 )
- Handle incomplete expressions more robustly in format arguments, such
as while code is being typed
([#​341](https://redirect.github.com/dtolnay/thiserror/issues/341 ),
[#​344](https://redirect.github.com/dtolnay/thiserror/issues/344 ))
###
[`v1.0.67`](https://redirect.github.com/dtolnay/thiserror/releases/tag/1.0.67 )
[Compare
Source](https://redirect.github.com/dtolnay/thiserror/compare/1.0.66...1.0.67 )
- Improve expression syntax support inside format arguments
([#​335](https://redirect.github.com/dtolnay/thiserror/issues/335 ),
[#​337](https://redirect.github.com/dtolnay/thiserror/issues/337 ),
[#​339](https://redirect.github.com/dtolnay/thiserror/issues/339 ),
[#​340](https://redirect.github.com/dtolnay/thiserror/issues/340 ))
###
[`v1.0.66`](https://redirect.github.com/dtolnay/thiserror/releases/tag/1.0.66 )
[Compare
Source](https://redirect.github.com/dtolnay/thiserror/compare/1.0.65...1.0.66 )
- Improve compile error on malformed format attribute
([#​327](https://redirect.github.com/dtolnay/thiserror/issues/327 ))
###
[`v1.0.65`](https://redirect.github.com/dtolnay/thiserror/releases/tag/1.0.65 )
[Compare
Source](https://redirect.github.com/dtolnay/thiserror/compare/1.0.64...1.0.65 )
- Ensure OUT_DIR is left with deterministic contents after build script
execution
([#​325](https://redirect.github.com/dtolnay/thiserror/issues/325 ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 3pm on Wednesday" in timezone
America/New_York, Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
Release Notes:
- N/A
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMS41IiwidXBkYXRlZEluVmVyIjoiMzkuMTEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 18:34:58 +02:00
Kirill Bulatov and Conrad Irwin
0d9bcbba25
Use vim-like keybindings for splitting out of the file finder ( #20680 )
...
Follow-up of https://github.com/zed-industries/zed/pull/20507
Release Notes:
- (breaking Preview) Adjusted file finder split keybindings to be less
conflicting
Co-authored-by: Conrad Irwin <conrad@zed.dev >
2024-11-14 18:32:04 +02:00
Peter Tripp
c650ba4e72
docs: Proto formatter example ( #20677 )
2024-11-14 11:25:37 -05:00
Marshall Bowers
5fab3ca5ba
Format workspace Cargo.toml ( #20679 )
...
This PR does some formatting of the workspace `Cargo.toml`.
Release Notes:
- N/A
2024-11-14 11:10:58 -05:00
zachcp
621a200d2f
docs: Remove duplicate text in the Clojure page ( #20635 )
2024-11-14 10:36:43 -05:00
Shiny
2544fad8a4
Fix tab switch behavior for the Sublime Text keymap ( #20547 )
...
Don't override tab switching behavior, default has correct behavior.
2024-11-14 09:50:29 -05:00
Piotr Osiewicz
49eb865e8a
python: Improve handling of triple-quoted strings ( #20664 )
...
Closes #13998
/cc @notpeter would you mind giving this branch a go to see if this is
pleasant to use? This impl is not quite what VSC has, but I think it
feels okay?
In this PR, the sequence goes as follows:
1st keypress: "|"
2nd keypress: ""|
3rd keypress: """|"""
Release Notes:
- Improved handling of triple-quote strings in Python.
2024-11-14 15:12:46 +01:00
Piotr Osiewicz
a650fe0d77
python: Fix detection of Poetry environments ( #20669 )
...
We were missing a .configure call, which let to discrepancies with PET
output.
Release Notes:
- Improved detection of Poetry-based environments
2024-11-14 14:54:53 +01:00
Danilo Leal
204a989758
assistant: Add tiny design tweaks to the patch block ( #20636 )
...
Adjusting really tiny things, most notably ensuring that the header text
doesn't overflow out of the block.
<img width="600" alt="Screenshot 2024-11-13 at 20 11 08"
src="https://github.com/user-attachments/assets/26656203-92c6-49e5-a732-bae010f96b2d ">
Release Notes:
- N/A
2024-11-14 10:53:00 -03:00
Thorsten Ball
776cfe44d7
environment: Log stderr too if command fails to run ( #20659 )
...
Release Notes:
- N/A
2024-11-14 14:44:32 +01:00
Thorsten Ball and Antonio
35798212c4
Update copilot to Copilot.vim 1.41.0 ( #20520 )
...
Release Notes:
- Update Copilot's underlying version to [Copilot.vim
1.41.0](https://github.com/github/copilot.vim/commit/87038123804796ca7af20d1b71c3428d858a9124 )
Co-authored-by: Antonio <antonio@zed.dev >
2024-11-14 14:44:13 +01:00
Piotr Osiewicz
89f9a506f9
tasks: Add ability to query active toolchains for languages ( #20667 )
...
Closes #18649
Release Notes:
- Python tasks now use active toolchain to run.
2024-11-14 14:37:37 +01:00
Nate Butler
04ba75e2e5
Add ui::ContentGroup ( #20666 )
...
TL;DR our version of [HIG's
Box](https://developer.apple.com/design/human-interface-guidelines/boxes )
We can't use the name `Box` (because rust) or `ContentBox` (because
taffy/styles/css).
---
This PR introduces the `ContentGroup` component, a flexible container
inspired by HIG's `Box` component. It's designed to hold and organize
various UI elements with options to toggle borders and background fills.
**Example usage**:
```rust
ContentGroup::new()
.flex_1()
.items_center()
.justify_center()
.h_48()
.child(Label::new("Flexible ContentBox"))
```
Here are some configurations:
- Default: Includes both border and fill.
- Borderless: No border for a clean look.
- Unfilled: No background fill for a transparent appearance.
**Preview**:

---
_This PR was written by a large language model with input from the
author._
Release Notes:
- N/A
2024-11-14 08:25:48 -05:00
renovate[bot] and renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
f7b4431659
Update Rust crate libc to v0.2.162 ( #20625 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [libc](https://redirect.github.com/rust-lang/libc ) |
workspace.dependencies | patch | `0.2.161` -> `0.2.162` |
---
### Release Notes
<details>
<summary>rust-lang/libc (libc)</summary>
###
[`v0.2.162`](https://redirect.github.com/rust-lang/libc/releases/tag/0.2.162 )
[Compare
Source](https://redirect.github.com/rust-lang/libc/compare/0.2.161...0.2.162 )
##### Added
- Android: fix the alignment of `uc_mcontext` on arm64
[#​3894](https://redirect.github.com/rust-lang/libc/pull/3894 )
- Apple: add `host_cpu_load_info`
[#​3916](https://redirect.github.com/rust-lang/libc/pull/3916 )
- ESP-IDF: add a time flag
[#​3993](https://redirect.github.com/rust-lang/libc/pull/3993 )
- FreeBSD: add the `CLOSE_RANGE_CLOEXEC`
flag[#​3996](https://redirect.github.com/rust-lang/libc/pull/3996 )
- FreeBSD: fix test errors regarding `__gregset_t`
[#​3995](https://redirect.github.com/rust-lang/libc/pull/3995 )
- FreeBSD: fix tests on x86 FreeBSD 15
[#​3948](https://redirect.github.com/rust-lang/libc/pull/3948 )
- FreeBSD: make `ucontext_t` and `mcontext_t` available on all
architectures
[#​3848](https://redirect.github.com/rust-lang/libc/pull/3848 )
- Haiku: add `getentropy`
[#​3991](https://redirect.github.com/rust-lang/libc/pull/3991 )
- Illumos: add `syncfs`
[#​3990](https://redirect.github.com/rust-lang/libc/pull/3990 )
- Illumos: add some recently-added constants
[#​3999](https://redirect.github.com/rust-lang/libc/pull/3999 )
- Linux: add `ioctl` flags
[#​3960](https://redirect.github.com/rust-lang/libc/pull/3960 )
- Linux: add epoll busy polling parameters
[#​3922](https://redirect.github.com/rust-lang/libc/pull/3922 )
- NuttX: add `pthread_[get/set]name_np`
[#​4003](https://redirect.github.com/rust-lang/libc/pull/4003 )
- RTEMS: add `arc4random_buf`
[#​3989](https://redirect.github.com/rust-lang/libc/pull/3989 )
- Trusty OS: add initial support
[#​3942](https://redirect.github.com/rust-lang/libc/pull/3942 )
- WASIp2: expand socket support
[#​3981](https://redirect.github.com/rust-lang/libc/pull/3981 )
##### Fixed
- Emscripten: don't pass `-lc`
[#​4002](https://redirect.github.com/rust-lang/libc/pull/4002 )
- Hurd: change `st_fsid` field to `st_dev`
[#​3785](https://redirect.github.com/rust-lang/libc/pull/3785 )
- Hurd: fix the definition of `utsname`
[#​3992](https://redirect.github.com/rust-lang/libc/pull/3992 )
- Illumos/Solaris: fix `FNM_CASEFOLD` definition
[#​4004](https://redirect.github.com/rust-lang/libc/pull/4004 )
- Solaris: fix all tests
[#​3864](https://redirect.github.com/rust-lang/libc/pull/3864 )
##### Other
- CI: Add loongarch64
[#​4000](https://redirect.github.com/rust-lang/libc/pull/4000 )
- CI: Check that semver files are sorted
[#​4018](https://redirect.github.com/rust-lang/libc/pull/4018 )
- CI: Re-enable the FreeBSD 15 job
[#​3988](https://redirect.github.com/rust-lang/libc/pull/3988 )
- Clean up imports and `extern crate` usage
[#​3897](https://redirect.github.com/rust-lang/libc/pull/3897 )
- Convert `mode_t` constants to octal
[#​3634](https://redirect.github.com/rust-lang/libc/pull/3634 )
- Remove the `wasm32-wasi` target that has been deleted upstream
[#​4013](https://redirect.github.com/rust-lang/libc/pull/4013 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 3pm on Wednesday" in timezone
America/New_York, Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
Release Notes:
- N/A
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMS41IiwidXBkYXRlZEluVmVyIjoiMzkuMTEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 12:07:38 +02:00
renovate[bot] and renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
6b9eba2109
Update Rust crate linkme to v0.3.31 ( #20626 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [linkme](https://redirect.github.com/dtolnay/linkme ) | dependencies |
patch | `0.3.29` -> `0.3.31` |
---
### Release Notes
<details>
<summary>dtolnay/linkme (linkme)</summary>
###
[`v0.3.31`](https://redirect.github.com/dtolnay/linkme/releases/tag/0.3.31 )
[Compare
Source](https://redirect.github.com/dtolnay/linkme/compare/0.3.30...0.3.31 )
- Prevent `ref_option_ref` pedantic clippy lint from triggering inside
generated code
([#​103](https://redirect.github.com/dtolnay/linkme/issues/103 ))
- Implement Debug for DistributedSlice
([#​105](https://redirect.github.com/dtolnay/linkme/issues/105 ))
###
[`v0.3.30`](https://redirect.github.com/dtolnay/linkme/releases/tag/0.3.30 )
[Compare
Source](https://redirect.github.com/dtolnay/linkme/compare/0.3.29...0.3.30 )
- Support Rust 2024 edition
([#​102](https://redirect.github.com/dtolnay/linkme/issues/102 ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 3pm on Wednesday" in timezone
America/New_York, Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
Release Notes:
- N/A
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMS41IiwidXBkYXRlZEluVmVyIjoiMzkuMTEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 12:07:27 +02:00
renovate[bot] and renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
58e3b788dc
Update Rust crate mdbook to v0.4.42 ( #20629 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [mdbook](https://redirect.github.com/rust-lang/mdBook ) | dependencies
| patch | `0.4.40` -> `0.4.42` |
---
### Release Notes
<details>
<summary>rust-lang/mdBook (mdbook)</summary>
###
[`v0.4.42`](https://redirect.github.com/rust-lang/mdBook/blob/HEAD/CHANGELOG.md#mdBook-0442 )
[Compare
Source](https://redirect.github.com/rust-lang/mdBook/compare/v0.4.41...v0.4.42 )
[v0.4.41...v0.4.42](https://redirect.github.com/rust-lang/mdBook/compare/v0.4.41...v0.4.42 )
##### Fixed
- Fixed chapter list folding.
[#​2473](https://redirect.github.com/rust-lang/mdBook/pull/2473 )
###
[`v0.4.41`](https://redirect.github.com/rust-lang/mdBook/blob/HEAD/CHANGELOG.md#mdBook-0441 )
[Compare
Source](https://redirect.github.com/rust-lang/mdBook/compare/v0.4.40...v0.4.41 )
[v0.4.40...v0.4.41](https://redirect.github.com/rust-lang/mdBook/compare/v0.4.40...v0.4.41 )
**Note:** If you have a custom `index.hbs` theme file, you will need to
update it to the latest version.
##### Added
- Added preliminary support for Rust 2024 edition.
[#​2398](https://redirect.github.com/rust-lang/mdBook/pull/2398 )
- Added a full example of the remove-emphasis preprocessor.
[#​2464](https://redirect.github.com/rust-lang/mdBook/pull/2464 )
##### Changed
- Adjusted styling of clipboard/play icons.
[#​2421](https://redirect.github.com/rust-lang/mdBook/pull/2421 )
- Updated to handlebars v6.
[#​2416](https://redirect.github.com/rust-lang/mdBook/pull/2416 )
- Attr and section rules now have specific code highlighting.
[#​2448](https://redirect.github.com/rust-lang/mdBook/pull/2448 )
- The sidebar is now loaded from a common file, significantly reducing
the book size when there are many chapters.
[#​2414](https://redirect.github.com/rust-lang/mdBook/pull/2414 )
- Updated dependencies.
[#​2470](https://redirect.github.com/rust-lang/mdBook/pull/2470 )
##### Fixed
- Improved theme support when JavaScript is disabled.
[#​2454](https://redirect.github.com/rust-lang/mdBook/pull/2454 )
- Fixed broken themes when localStorage has an invalid theme id.
[#​2463](https://redirect.github.com/rust-lang/mdBook/pull/2463 )
- Adjusted the line-height of superscripts (and footnotes) to avoid
adding extra space between lines.
[#​2465](https://redirect.github.com/rust-lang/mdBook/pull/2465 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 3pm on Wednesday" in timezone
America/New_York, Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
Release Notes:
- N/A
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMS41IiwidXBkYXRlZEluVmVyIjoiMzkuMTEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 12:07:17 +02:00
renovate[bot] and renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
9fd971d8c9
Update Rust crate pulldown-cmark to v0.12.2 ( #20630 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [pulldown-cmark](https://redirect.github.com/raphlinus/pulldown-cmark )
| workspace.dependencies | patch | `0.12.1` -> `0.12.2` |
---
### Release Notes
<details>
<summary>raphlinus/pulldown-cmark (pulldown-cmark)</summary>
###
[`v0.12.2`](https://redirect.github.com/pulldown-cmark/pulldown-cmark/releases/tag/v0.12.2 ):
0.12.2
[Compare
Source](https://redirect.github.com/raphlinus/pulldown-cmark/compare/v0.12.1...v0.12.2 )
#### What's Changed
- Fix compiilation error in fuzzers by
[@​kdarkhan](https://redirect.github.com/kdarkhan ) in
[https://github.com/pulldown-cmark/pulldown-cmark/pull/947 ](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/947 )
- Make `fuzz` dir part of the workspace by
[@​kdarkhan](https://redirect.github.com/kdarkhan ) in
[https://github.com/pulldown-cmark/pulldown-cmark/pull/948 ](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/948 )
- Fix and improve `bench` by
[@​notriddle](https://redirect.github.com/notriddle ) in
[https://github.com/pulldown-cmark/pulldown-cmark/pull/950 ](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/950 )
- Reuse a couple hash maps across blocks by
[@​notriddle](https://redirect.github.com/notriddle ) in
[https://github.com/pulldown-cmark/pulldown-cmark/pull/951 ](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/951 )
- Reuse outer indent between item list, def list, and blockquote by
[@​notriddle](https://redirect.github.com/notriddle ) in
[https://github.com/pulldown-cmark/pulldown-cmark/pull/952 ](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/952 )
- Add instructions on fixing fuzz build by
[@​kdarkhan](https://redirect.github.com/kdarkhan ) in
[https://github.com/pulldown-cmark/pulldown-cmark/pull/953 ](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/953 )
- Account for definition list fixups while popping containers by
[@​notriddle](https://redirect.github.com/notriddle ) in
[https://github.com/pulldown-cmark/pulldown-cmark/pull/954 ](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/954 )
- Use byte range instead of char count for delim run bounds by
[@​notriddle](https://redirect.github.com/notriddle ) in
[https://github.com/pulldown-cmark/pulldown-cmark/pull/956 ](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/956 )
- CI improvements by
[@​kdarkhan](https://redirect.github.com/kdarkhan ) in
[https://github.com/pulldown-cmark/pulldown-cmark/pull/955 ](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/955 )
- Fix a problem that causes multiple dt's to be parsed by
[@​notriddle](https://redirect.github.com/notriddle ) in
[https://github.com/pulldown-cmark/pulldown-cmark/pull/958 ](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/958 )
- fix: emit `InlineHtml` for inline HTML inside blockquote instead of
`Html` by [@​rhysd](https://redirect.github.com/rhysd ) in
[https://github.com/pulldown-cmark/pulldown-cmark/pull/961 ](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/961 )
- Complete the list of block item bodies by
[@​notriddle](https://redirect.github.com/notriddle ) in
[https://github.com/pulldown-cmark/pulldown-cmark/pull/962 ](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/962 )
- Implement into_static for CowStr and Event in pulldown-cmark by
[@​Atreyagaurav](https://redirect.github.com/Atreyagaurav ) in
[https://github.com/pulldown-cmark/pulldown-cmark/pull/967 ](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/967 )
- Enforce cargo fmt by
[@​ollpu](https://redirect.github.com/ollpu ) in
[https://github.com/pulldown-cmark/pulldown-cmark/pull/971 ](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/971 )
- Respect line starts when trimming header endings by
[@​notriddle](https://redirect.github.com/notriddle ) in
[https://github.com/pulldown-cmark/pulldown-cmark/pull/969 ](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/969 )
#### New Contributors
- [@​Atreyagaurav](https://redirect.github.com/Atreyagaurav ) made
their first contribution in
[https://github.com/pulldown-cmark/pulldown-cmark/pull/967 ](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/967 )
**Full Changelog**:
https://github.com/pulldown-cmark/pulldown-cmark/compare/v0.12.1...v0.12.2
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 3pm on Wednesday" in timezone
America/New_York, Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
Release Notes:
- N/A
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMS41IiwidXBkYXRlZEluVmVyIjoiMzkuMTEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 12:07:03 +02:00
renovate[bot] and renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
cf7679e6a0
Update Rust crate clap to v4.5.21 ( #20620 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [clap](https://redirect.github.com/clap-rs/clap ) |
workspace.dependencies | patch | `4.5.20` -> `4.5.21` |
---
### Release Notes
<details>
<summary>clap-rs/clap (clap)</summary>
###
[`v4.5.21`](https://redirect.github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4521---2024-11-13 )
[Compare
Source](https://redirect.github.com/clap-rs/clap/compare/v4.5.20...v4.5.21 )
##### Fixes
- *(parser)* Ensure defaults are filled in on error with
`ignore_errors(true)`
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 3pm on Wednesday" in timezone
America/New_York, Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
Release Notes:
- N/A
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMS41IiwidXBkYXRlZEluVmVyIjoiMzkuMTEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 11:12:14 +02:00
renovate[bot] and renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
07c0c54c28
Update Rust crate anyhow to v1.0.93 ( #20619 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [anyhow](https://redirect.github.com/dtolnay/anyhow ) |
workspace.dependencies | patch | `1.0.91` -> `1.0.93` |
---
### Release Notes
<details>
<summary>dtolnay/anyhow (anyhow)</summary>
###
[`v1.0.93`](https://redirect.github.com/dtolnay/anyhow/releases/tag/1.0.93 )
[Compare
Source](https://redirect.github.com/dtolnay/anyhow/compare/1.0.92...1.0.93 )
- Update dev-dependencies to `thiserror` v2
###
[`v1.0.92`](https://redirect.github.com/dtolnay/anyhow/releases/tag/1.0.92 )
[Compare
Source](https://redirect.github.com/dtolnay/anyhow/compare/1.0.91...1.0.92 )
- Support Rust 1.82's `&raw const` and `&raw mut` syntax inside
`ensure!`
([#​390](https://redirect.github.com/dtolnay/anyhow/issues/390 ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 3pm on Wednesday" in timezone
America/New_York, Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
Release Notes:
- N/A
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMS41IiwidXBkYXRlZEluVmVyIjoiMzkuMTEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 11:11:52 +02:00
Max Brunsfeld and Richard
093c9cc87b
Avoid creating occlusions for editor blocks, since these block mouse wheel events ( #20649 )
...
Just block mouse down events, and in the case of the inline assist
prompt, set the default cursor.
Release Notes:
- N/A
Co-authored-by: Richard <richard@zed.dev >
2024-11-13 21:02:54 -08:00
Bret Comnes
6b3c909155
Clarify rustup is requried ( #20642 )
...
Clarify that rustup is required to build developer extensions. Developer
extensions fail silently to the logs because rustup isn't found, even
when rust is installed.
Release Notes:
- N/A
2024-11-13 17:20:20 -08:00
Conrad Irwin
7e349e52b1
Don't try and run on armv5/6/7 ( #20618 )
...
Updates: #20523
Release Notes:
- SSH Remoting: correctly show an error when SSH'ing into a 32-bit arm
system
2024-11-13 16:18:53 -07:00
Max Brunsfeld and Marshall
84d17fb191
Fix completions for non-built-in slash commands ( #20632 )
...
Release Notes:
- N/A
Co-authored-by: Marshall <marshall@zed.dev >
2024-11-13 15:11:50 -08:00
d3d408d47d
Improve context server lifecycle management ( #20622 )
...
This optimizes and fixes bugs in our logic for maintaining a set of
running context servers, based on the combination of the user's
`context_servers` settings and their installed extensions.
Release Notes:
- N/A
---------
Co-authored-by: Marshall <marshall@zed.dev >
Co-authored-by: Marshall Bowers <elliott.codes@gmail.com >
2024-11-13 13:55:06 -08:00
Conrad Irwin
6e477bbf56
Don't double-localize menu shortcuts ( #20623 )
...
Release Notes:
- Don't have macOS localize our menu shortcuts that we already
localized.
2024-11-13 13:56:56 -07:00
Conrad Irwin
3c2dcf50fa
Don't send key equivalents to the input hanlder ( #20621 )
...
Release Notes:
- Fix `cmd-backtick` to change windows
2024-11-13 13:42:31 -07:00
David Soria Parra
a15f408f0c
anthropic: Remove stable headers ( #20595 )
...
The tool and context length headers are now stable and no longer needed.
Release Notes:
- N/A
2024-11-13 15:04:37 -05:00
Axel Carlsson and Conrad Irwin
b1cd9e4d24
vim: Add support for temporary normal mode (ctrl-o) within insert mode ( #19454 )
...
Support has been added for the ctrl-o command within insert mode. Ctrl-o
is used to partially enter normal mode for 1 motion to then return back
into insert mode.
Release Notes:
- vim: Added support for `ctrl-o` in insert mode to enter temporary
normal mode
---------
Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com >
2024-11-13 12:44:41 -07:00
Marshall Bowers
254ce74036
Extract ExtensionSlashCommand to assistant_slash_command crate ( #20617 )
...
This PR extracts the `ExtensionSlashCommand` implementation to the
`assistant_slash_command` crate.
The slash command related methods have been added to the `Extension`
trait. We also create separate data types for the slash command data
within the `extension` crate so that we can talk about them without
depending on the `extension_host` or `assistant_slash_command`.
Release Notes:
- N/A
2024-11-13 14:34:58 -05:00
Kyle Kelley
b913cf2e02
Allow base64 encoded images to be decoded with or without padding ( #20616 )
...
The R kernel doesn't use base64 padding whereas the Python kernel (via
matplotlib) sometimes uses padding. We have to use the `base64` crate's
`Indifferent` mode.
/cherry-pick v0.161.x
Release Notes:
- N/A
2024-11-13 11:26:42 -08:00
92613a8904
Use replace blocks for patches ( #20605 )
...
Release Notes:
- N/A
---------
Co-authored-by: Max <max@zed.dev >
Co-authored-by: Richard <richard@zed.dev >
2024-11-13 18:55:23 +01:00
Conrad Irwin
96deabfb78
Deadkeys 2 ( #20612 )
...
Re-land of #20515 with less brokenness
In particular it turns out that for control, the .characters() method
returns the control code. This mostly didn't make a difference, except
when the control code matched tab/enter/escape (for
ctrl-y,ctrl-[/ctrl-c) as we interpreted the key incorrectly.
Secondly, we were setting IME key too aggressively. This led to (in vim
mode) cmd-shift-{ being interpreted as [, so vim would wait for a second
[ before letting you change tab.
Release Notes:
- N/A
2024-11-13 10:42:08 -07:00
Peter Tripp
ad31aacb7a
Fix bad quote in script/determine-release-channel ( #20613 )
2024-11-13 12:41:50 -05:00
Marshall Bowers
a04c2ecff7
Decouple extension Worktree resource from LspAdapterDelegate ( #20611 )
...
This PR decouples the extension `Worktree` resource from the
`LspAdapterDelegate`.
We now have a `WorktreeDelegate` trait that corresponds to the methods
on the resource.
We then create a `WorktreeDelegateAdapter` that can wrap an
`LspAdapterDelegate` and implement the `WorktreeDelegate` trait.
Release Notes:
- N/A
2024-11-13 12:24:27 -05:00
Joseph T. Lyons
f96b29ca54
v0.163.x dev
2024-11-13 11:47:52 -05:00
Danilo Leal
9d2fc691de
project panel: Don't change label color even when file has errors ( #20600 )
...
With this PR, Git status is now the only thing that can change an item's
label color. So, the summary of how status colors operate in the project
panel is:
- Item icon color is, by default, never changed, _not_ affected by
either diagnostics or Git status
- This should become configurable in the near future, though
- However, a little x or triangle icon shows up on top of the file type
icon to display diagnostics status
- Label color is _not_ affected by diagnostics but it _is_ affected by
Git status
This aims to reduce color noise and clarify/simplify how each element is
affected.
Release Notes:
- N/A
2024-11-13 13:35:20 -03:00
Marshall Bowers
b084d53f8e
Extract ExtensionIndexedDocsProvider to indexed_docs crate ( #20607 )
...
This PR extracts the `ExtensionIndexedDocsProvider` implementation to
the `indexed_docs` crate.
To achieve this, we introduce a new `Extension` trait that provides an
abstracted interface for calling an extension. This trait resides in the
`extension` crate, which has minimal dependencies and can be depended on
by other crates, like `indexed_docs`.
We're then able to implement the `ExtensionIndexedDocsProvider` without
having any knowledge of the Wasm-specific internals of the extension
system.
Release Notes:
- N/A
2024-11-13 11:19:55 -05:00
Askar
7832883c74
terminal: Fix detection of ignored python venv ( #20227 )
...
Closes #19227
Since items listed in `.gitignore` file are not included in a worktree,
python virtual environment cannot be detected until venv directory is
unfolded from project panel and forcefully added into worktree. I didn't
come up with anything better than scanning fs directly. I'm not sure how
it will affect remote development. if at all.
Release Notes:
- Fixed detection of `detect_venv.directories` ignored by a worktree
2024-11-13 17:19:25 +01:00
Peter Tripp
eb4e7472e6
Improve terminal.working_directory for non-project files ( #18251 )
2024-11-13 10:40:36 -05:00
Thorsten Ball
27dfb48a7b
project panel: Fix entries being marked when switching between tabs ( #20596 )
...
This is a follow-up (or related to) #20412 .
It fixes entries being marked when navigating between tabs with `cmd-[`
and `cmd-]`.
Turns out that deep in the bowels of the project panel, we check whether
a `shift` modifier was pressed - which is the case with `cmd-[` on a US
ANSI layout - and if so mark an entry.
I think that's a left-over, because all the other code paths that
select/reveal an entry mark it explicitly too.
Release Notes:
- Fixed entries in project panel being marked when navigating between
tabs with keybinding that uses `shift` modifier.
2024-11-13 15:32:19 +01:00
Peter Tripp
3a319e6cbe
docs: Improve formatter docs. Examples for C/C++ ( #20553 )
2024-11-13 09:24:50 -05:00
Kirill Bulatov
84e47fb80b
Fix context menus not cycling over its edge when selecting items ( #20592 )
2024-11-13 15:14:23 +01:00
Kirill Bulatov
7e82ca8082
Always allow rerunning the tasks using the tab button ( #20591 )
...
Release Notes:
- Improved task tabs to always rerun tasks on click
2024-11-13 14:57:30 +01:00
Danilo Leal
b44078781d
Standardize button design in modal footers ( #20585 )
...
- Making sure this design and properties are the same across different
places
- No need for the `ButtonLike` here, we can use `Button` as it supports
`key_binding` and makes it for a cleaner code!
- Also, that ensures the binding is always to the right of the label,
which makes more sense
- Title-case the labels for consistency with other buttons across the
app
| File finder | Project finder |
|--------|--------|
| <img width="1136" alt="Screenshot 2024-11-13 at 09 21 06"
src="https://github.com/user-attachments/assets/dd051514-d873-4b65-a08f-af0920f2c010 ">
| <img width="1136" alt="Screenshot 2024-11-13 at 09 21 12"
src="https://github.com/user-attachments/assets/f958e3e7-4bfb-4752-839e-2bbc01334643 ">
|
Release Notes:
- N/A
2024-11-13 09:36:08 -03:00
Piotr Osiewicz
3b1f12af75
chore: Cleanup dev_server_projects leftover files ( #20581 )
...
Closes #ISSUE
Release Notes:
- N/A
2024-11-13 13:04:12 +01:00
Piotr Osiewicz
b8cf0a1ed1
chore: use codegen-units=1 for small crates ( #20558 )
...
These 500ms we'll save with this change will surely pay off.
Release Notes:
- N/A
2024-11-13 12:51:30 +01:00
Kirill Bulatov
3f224274da
Restore the ability to navigate into project search input with the keyboard ( #20579 )
2024-11-13 12:45:30 +01:00
Kirill Bulatov
56cf32cb91
Add a way to use splits when opening in file finder ( #20507 )
2024-11-13 11:58:42 +01:00