Commit log

88188c7 Bump to 0.134.4 for @ConradIrwin

Zed Bot created

fbe361e project panel: Allow confirming prompt with keyboard (#11346)

Click to expand commit body
The ability to confirm the file deletion prompt by pressing "Enter" was
broken in #11015

Release Notes:

- Restored the ability to confirm a prompt by pressing "Enter" when
deleting/trashing files

Bennet Bo Fenner created

7cb5ab2 Bump to 0.134.3 for @ConradIrwin

Zed Bot created

202460a Don't panic on failure to allocate an AtlasTile (cherry-pick #11579) (#11582)

Click to expand commit body
Cherry-picked Don't panic on failure to allocate an AtlasTile (#11579)

Release Notes:

- Fixed a panic in graphics allocation

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>

gcp-cherry-pick-bot[bot] and Conrad Irwin created

cc402c8 Pass hover position as an anchor (cherry-pick #11578) (#11580)

Click to expand commit body
Cherry-picked Pass hover position as an anchor (#11578)

It's too easily to accidentally pass a point from one snapshot into
another

Release Notes:

- Fixed a panic in show hover

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>

gcp-cherry-pick-bot[bot] and Conrad Irwin created

a3d1933 v0.134.x stable

Joseph T. Lyons created

def6922 Bump to 0.134.2 for @ConradIrwin

Zed Bot created

041ac56 Fix race condition in editor show_hover (cherry-pick #11441) (#11444)

Click to expand commit body
Cherry-picked Fix race condition in editor show_hover (#11441)

The DisplayPoint returned from the position map is only valid at the
snapshot in the position map.

Before this change we were erroneously using it to index into the
current version of the buffer.

Release Notes:

- Fixed a panic caused by a race condition in hover.

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>

gcp-cherry-pick-bot[bot] and Conrad Irwin created

9834934 don't report hangs on stable (cherry-pick #11494) (#11497)

Click to expand commit body
Cherry-picked don't report hangs on stable (#11494)

Release Notes:

- N/A

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>

gcp-cherry-pick-bot[bot] and Conrad Irwin created

19bf699 Compile and instantiate wasm modules on a background thread (cherry-pick #11270) (#11287)

Click to expand commit body
Cherry-picked Compile and instantiate wasm modules on a background
thread (#11270)

Release Notes:

- Fixed a hang that could occur when loading some extensions, by loading
extensions on a background thread.

Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>

gcp-cherry-pick-bot[bot] and Max Brunsfeld created

bc0dd3a Don't iterate over all system processes (cherry-pick #11281) (#11285)

Click to expand commit body
Cherry-picked Don't iterate over all system processes (#11281)

Release Notes:

- Fixed a UI beachball when gathering process information

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>

gcp-cherry-pick-bot[bot] and Conrad Irwin created

bb394bd Fix bundle script moar

Conrad Irwin created

a5eec9c Upload file better?

Conrad Irwin created

9529e36 Only keep one blame up-to-date (cherry-pick #11274) (#11277)

Click to expand commit body
Cherry-picked Only keep one blame up-to-date (#11274)

I was experiencing hang, and we blamed it on spawning a few hundred git
processes
simultaneously.

cc @MrNugget

Release Notes:

- Fixed slowness with hundreds of buffers open doing git blame.

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>

gcp-cherry-pick-bot[bot] and Conrad Irwin created

932555a Use HIGH priority to wake blocked timers (cherry-pick #11269) (#11278)

Click to expand commit body
Cherry-picked Use HIGH priority to wake blocked timers (#11269)

One contributor to some beach-balls was that the main thread was calling
block_with_timeout, but the timeout never fired.

Release Notes:

- Reduced main thread hangs under very high system load

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>

gcp-cherry-pick-bot[bot] and Conrad Irwin created

6e5e482 Fix linux bundle again maybe

Conrad Irwin created

f3a82e4 zed 0.134.1

Conrad Irwin created

8a1e451 blerg (#11254)

Click to expand commit body
Release Notes:

- N/A

Conrad Irwin created

03abd7d Revert tyop (#11253)

Click to expand commit body
Follup up from
https://github.com/zed-industries/zed/pull/11229#pullrequestreview-2033556336

Release Notes:

- N/A

Conrad Irwin created

28b0378 v0.134.x preview

Joseph T. Lyons created

eb4ac7e Suggest the SCSS extension for `.scss` files (#11249)

Click to expand commit body
This PR adds a suggestion for the new [SCSS
extension](https://github.com/bajrangCoder/zed-scss) when `.scss` files
are opened.

Release Notes:

- Added a suggestion for the SCSS extension when `.scss` files are
opened.

Marshall Bowers created

6b55a6f Retain run loop (#11241)

Click to expand commit body
Contributes: #11168


https://developer.apple.com/documentation/corefoundation/1542428-cfrunloopgetcurrent
implies that we should be `CFRetain`ing the run loop.

Lets do that, and see if it reduces the number of crashes we see.

Release Notes:

- (maybe) Fix a rare crash in watching settings files.

Conrad Irwin created

45cf101 Add MimeType to open directory with zed (#11238)

Click to expand commit body
Release Notes:

- open directory using context menu (Right click -> open with -> zed).

Zorin FOSS created

f39a242 Adjust the yss surrounds operator (#11212)

Click to expand commit body
For #11084 In the case of an indentation in front of the current line,
it may also be necessary to deal with the start point of the selected
range


Release Notes:


- N/A

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>

Hans and Conrad Irwin created

c9778a3 Use Elixir LS as the default language server for Elixir (#11234)

Click to expand commit body
This PR adds `language_servers` settings for Elixir and HEEX to ensure
they both only use Elixir LS by default.

Eventually we'd like to have these provided by the Elixir extension, but
there are some outstanding questions on the design.

For now we can just use the built-in default settings to ensure a good
out-of-the-box experience for Elixir users.

Release Notes:

- N/A

Marshall Bowers created

d1abbb1 assistant2: Refine editing of previous messages (#11233)

Click to expand commit body
This PR refines the UX of editing a previous message, including the
following:

- Focus the prev message body editor on double-click
- Restore previous body text on cancel
- Cancel pending completion upon submission of previous message
- Drive-by: Remove min height on composer editor

Release Notes:

- N/A

---------

Co-authored-by: Marshall Bowers <marshall@zed.dev>

Nathan Sobo and Marshall Bowers created

b18ca15 Fix merge conflict (#11232)

Click to expand commit body
Release Notes:

- N/A

Conrad Irwin created

93fbca4 Bundle linux preview releases too (#11231)

Click to expand commit body
Release Notes:

- Added preview builds for linux

Conrad Irwin created

3752ed2 open new buffer (#11203)

Click to expand commit body
Release Notes:

- Allow creating new untitled buffers in remote projects

TODO:
- Add a Test
- Fix version number check

Conrad Irwin created

28bcc95 installer (#11229)

Click to expand commit body
Release Notes:

- N/A

---------

Co-authored-by: Mikayla <mikayla@zed.dev>

Conrad Irwin and Mikayla created

d55b637 assistant2: Fix the height of collapsed messages (#11230)

Click to expand commit body
This PR fixes the height of collapsed messages, addressing the
associated TODO comment.

Release Notes:

- N/A

Marshall Bowers created

f2a1226 assistant2: Setup storybook (#11228)

Click to expand commit body
This PR sets up the `assistant2` crate with the storybook so that UI
elements can be iterated on in isolation.

To start, we have some stories for the `ChatMessage` component:

```sh
cargo run -p storybook -- components/assistant_chat_message
```

<img width="1233" alt="Screenshot 2024-04-30 at 5 20 03 PM"
src="https://github.com/zed-industries/zed/assets/1486634/510967ea-0e9b-4fa9-94fb-421ee74bcc45">

Release Notes:

- N/A

Marshall Bowers created

96b1fc4 assistant2: Align chat messages with composer (#11227)

Click to expand commit body
This PR adds some additional spacing to the composer so it aligns with
the chat messages.

Release Notes:

- N/A

Marshall Bowers created

1d4814e installer (#11224)

Click to expand commit body
Release Notes:

- N/A

---------

Co-authored-by: Mikayla <mikayla@zed.dev>

Conrad Irwin and Mikayla created

cb73501 Don't allow dropping files on remote projects (#11218)

Click to expand commit body
Release Notes:

- Fixed a panic when a remote participant dropped a local file on your
project

Conrad Irwin created

f11a781 assistant2: Use composer for editing inline messages (#11222)

Click to expand commit body
This PR updates the assistant to render historical user messages the
same as ones from the assistant.

Double-clicking on a message will open a composer inline for editing.
Pressing `Esc` will cancel the edit.

We don't yet restore the previous state of the message upon canceling.

<img width="401" alt="Screenshot 2024-04-30 at 4 04 01 PM"
src="https://github.com/zed-industries/zed/assets/1486634/5f253fa8-6578-4054-be30-c495e326d700">

<img width="401" alt="Screenshot 2024-04-30 at 4 04 28 PM"
src="https://github.com/zed-industries/zed/assets/1486634/edf25cea-d97e-44d2-8772-3690eac017a4">


Release Notes:

- N/A

Marshall Bowers created

e8ee013 Remove unused assistant prompt (#11221)

Click to expand commit body
This PR removes an unused assistant prompt.

Release Notes:

- N/A

Co-authored-by: Nathan <nathan@zed.dev>

Marshall Bowers and Nathan created

38b9d5c Fix some semantic index issues (#11216)

Click to expand commit body
* [x] Fixed an issue where embeddings would be assigned incorrectly to
files if a subset of embedding batches failed
* [x] Added a command to debug which paths are present in the semantic
index
* [x] Determine why so many paths are often missing from the semantic
index
* we erroring out if an embedding batch contained multiple texts that
were the same, which can happen if a worktree contains multiple copies
of the same text (e.g. a license).

Release Notes:

- N/A

---------

Co-authored-by: Marshall <marshall@zed.dev>
Co-authored-by: Nathan <nathan@zed.dev>
Co-authored-by: Kyle <kylek@zed.dev>
Co-authored-by: Kyle Kelley <rgbkrk@gmail.com>

Max Brunsfeld , Marshall , Nathan , Kyle , and Kyle Kelley created

d01428e assistant2: Add create buffer tool (#11219)

Click to expand commit body
This PR adds a new tool to the `assistant2` crate that allows the
assistant to create a new buffer with some content.

Release Notes:

- N/A

---------

Co-authored-by: Nathan <nathan@zed.dev>

Marshall Bowers and Nathan created

ada2791 editor: Move code actions menu closer to the indicator when it is deployed via click (#11214)

Click to expand commit body
Before:

![image](https://github.com/zed-industries/zed/assets/24362066/98d633a7-c982-4522-b4dc-b944b70b8081)

After: 

![image](https://github.com/zed-industries/zed/assets/24362066/79931e12-0e6c-4ece-b734-5af7d02f7e50)

Release Notes:

- N/A

Piotr Osiewicz created

713c314 Clean up doc comments on `LanguageModelTool` trait (#11217)

Click to expand commit body
This PR cleans up the doc comments on the `LanguageModelTool` trait to
follow Rust documentation conventions.

Release Notes:

- N/A

Marshall Bowers created

e3de440 assistant2: Restructure tools in preparation for adding more (#11213)

Click to expand commit body
This PR does a slight restructuring of how tools are defined in the
`assistant2` crate to make it more amenable to adding more tools in the
near future.

Release Notes:

- N/A

Marshall Bowers created

d743c19 Add script to package Linux binary into archive (#11165)

Click to expand commit body
Release Notes:

- N/A

Thorsten Ball created

73d0600 project: Set completion to undocumented if text empty (#11207)

Click to expand commit body
I think the previous code was missing a `return` in there because it
always overwrote the `completion.documentation` field, even if the
`text.is_empty()` is true.

Release Notes:

- N/A

Thorsten Ball created

f96cab2 Add avatar support for codeberg in git blame (#10991)

Click to expand commit body
Release Notes:

- Added support for avatars in git blame for repositories hosted on
codeberg

<img width="1144" alt="Screenshot 2024-04-25 at 16 45 22"
src="https://github.com/zed-industries/zed/assets/43210583/d44770d8-44ea-4c6b-a1c0-ac2d1d49408f">

Questions:
- Should we move git stuff like `Commit`, `Author`, etc outside of
hosting-specific files (I don't think so, as other hostings can have
different stuff)
- Should we also add support for self hosted forgejo instances or should
it be a different PR?

Stanislav Alekseev created

8152e06 Allow triggering preview and stable simultaneously (#11201)

Click to expand commit body
Release Notes:


- N/A

Conrad Irwin created

62c12cd Reduce frequency of workspace save (#11183)

Click to expand commit body
Co-Authored-By: Mikayla <mikayla@zed.dev>

Release Notes:


- N/A

---------

Co-authored-by: Mikayla <mikayla@zed.dev>

Conrad Irwin and Mikayla created

4fad96b Add yss operation support for vim surrounds: (#11084)

Click to expand commit body
The Motion::CurrentLine operation will contain the newline of the
current line, so we need to deal with this edge case



Release Notes:

- N/A

Hans created

ad44237 Fix panic in SVG rendering (#11196)

Click to expand commit body
Release Notes:

- Fixed a panic in SVG rendering

Conrad Irwin created

bc73626 support vim replace command with range (#10709)

Click to expand commit body
Release Notes:

- Added support for line ranges in vim replace commands #9428


- not supporting anything other than bare line numbers right now
- ~need to figure out how to show range in question in search bar~
@ConradIrwin implemented showing a highlight of the selected range for a
short direction instead
- ~tests lol~

Danny Hua created