Commit log

0d0c85a Fix typo in comment

Piotr Osiewicz created

fe2cb9f fixup! pane: Another stab at focus flickers in tab bar

Piotr Osiewicz created

0497b2f pane: Another stab at focus flickers in tab bar

Click to expand commit body
This time around, we address the flicker seen in #3857 by querying the active item (that might've just been added),
as it knows whether it has focus even if the parent Pane does not.

Co-authored-by: Thorsten <thorsten@zed.dev>

Piotr Osiewicz and Thorsten created

22046ef Load language models in the background

Antonio Scandurra created

92b0184 Load images in the background

Antonio Scandurra created

e3157f7 Remove unused font

Antonio Scandurra created

e4604eb Parallelize deserialization of pane items on startup

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

Antonio Scandurra and Mikayla Maki created

526ea40 Log if element arena allocation is >80% (#4246)

Click to expand commit body
We recently doubled the size of the `ELEMENT_ARENA` after someone ran
into a panic due to the arena running out of space.

This adds some logging so that we can hopefully develop a better
understanding of when the element area's allocation is elevated.

Release Notes:

- N/A

Antonio Scandurra created

027f425 Fix tab bar button's focus handling lagging behind

Click to expand commit body
This fixes https://github.com/zed-industries/community/issues/2442 for
me.

Previously, the tab bar buttons would stay when the chat panel was
opened (and received focus) until something else was drawn (or caused a
render?)

With this change, the tab bar buttons are only shown if the pane was
focus.

I'm not sure about the side-effects of this, but the toolbar still seems
to work fine.

Thorsten Ball created

e018506 Cache font-missing result to avoid unnecessary lookups (#4245)

Click to expand commit body
This fixes the performance problem we saw in
https://github.com/zed-industries/community/issues/2405.

In a trace we could see that if a font is missing we'd constantly look
it up and never cache that it's missing.

This changes that and does cache the font-is-missing result.

Drawback is that one would need to restart Zed after installing a
missing font that was configured in settings. That seems acceptable for
now, though.

Release Notes:

- Improved rendering performance when configured fonts are missing on
the system.

Thorsten Ball created

18f5752 Log if element arena allocation is >80%

Click to expand commit body
We recently doubled the size of the `ELEMENT_ARENA` after someone ran
into a panic due to the arena running out of space.

This adds some logging so that we can hopefully develop a better
understanding of when the element area's allocation is elevated.

Co-authored-by: Antonio <antonio@zed.dev>

Thorsten Ball and Antonio created

4800991 Cache font-missing result to avoid unnecessary lookups

Click to expand commit body
This fixes the performance problem we saw in https://github.com/zed-industries/community/issues/2405.

In a trace we could see that if a font is missing we'd constantly look
it up and never cache that it's missing.

This changes that and does cache the font-is-missing result.

Drawback is that one would need to restart Zed after installing a
missing font that was configured in settings. That seems acceptable for
now, though.

Co-authored-by: Antonio <antonio@zed.dev>

Thorsten Ball and Antonio created

bd6197e Increase capacity of element arena to 8MB (#4244)

Click to expand commit body
This fixes a panic we just saw on nightly. It's the first time we see
this panic, so I think it's pretty safe to assume having twice as much
capacity will fix it.

Release Notes:

- Fixed a crash that could sometimes occur when the window contained
lots of graphical elements.

Antonio Scandurra created

b640e0e Increase capacity of element arena to 8MB

Click to expand commit body
This fixes a panic we just saw on nightly. It's the first time we
see this panic, so I think it's pretty safe to assume having twice as
much capacity will fix it.

Antonio Scandurra created

ce0ff81 Fix more tests

Mikayla created

fa6acc3 Add note about discord

Mikayla created

c0b9f0a Update JetBrains keymap (#4243)

Click to expand commit body
I want to immediately archive the `keymaps` repo tomorrow. This is the
only change that needs to be brought over.

Release Notes:

- N/A

Joseph T. Lyons created

1facc9f Fix test error

Mikayla created

ce7cd5a Copy GPUI documentation to README

Mikayla created

1d63902 Update JetBrains keymap

Joseph T. Lyons created

4e085b2 Show hovered cursors less flickerily

Conrad Irwin created

d80959d Add module documentation to GPUI and make gpui.rs example compile

Mikayla created

c07e416 Clean up `gpui` docs (#4240)

Click to expand commit body
This PR does some cleanup of the `gpui` docs, making sure we're linking
things appropriately and following good Rust documentation style.

Release Notes:

- N/A

Marshall Bowers created

1aa02ac Ensure that notify observations are sent during `Window::draw()` (#4236)

Click to expand commit body
This PR fixes a bug in GPUI where the observation API would not be
triggered if a focus event caused a `notify()`

Release Notes:

- N/A

Mikayla Maki created

ab3aba9 Add `CODE_OF_CONDUCT.md` (#4239)

Click to expand commit body
This PR adds a `CODE_OF_CONDUCT.md` that links out to the existing code
of conduct on the Zed site.

The link in the file is currently a dead link, but will work once the
new site goes live tomorrow.

Release Notes:

- N/A

Marshall Bowers created

6b50509 Balance headings in README (#4238)

Click to expand commit body
This PR balances the headings in the README.

Release Notes:

- N/A

Marshall Bowers created

a936aab Update README (#4237)

Click to expand commit body
This PR updates the README by removing the TODO items and linking out to
the contributing docs.

Release Notes:

- N/A

Marshall Bowers created

68260a4 Don't error when checking target dir size if there is no target dir

Max Brunsfeld created

8336300 Call notify observers during `Window::draw()`

Mikayla created

26c901e Fix bugs in file finder (#4234)

Click to expand commit body
* Fixed jumping of list item when the separator appeared and
disappeared.
* Fixed a bug where the selection got into a valid state when updating
the matches

Release Notes:

- Fixed an issue where the file finder's selection got into a state
where nothing was selected after filtering the matches.

Max Brunsfeld created

63d86fb Add barebones GPUI README (#4235)

Click to expand commit body
This PR adds a barebones README to the `gpui` crate, just so folks have
somewhere to land on when we link them here from
[gpui.rs](https://www.gpui.rs/).

We can flesh this out as we go.

Release Notes:

- N/A

Marshall Bowers created

a3968c5 Fix rendering of diagnostic blocks (#4232)

Click to expand commit body
- Distinct colors to make it not confusing
- Avoid overflowing the edge of the editor when the message is long


Release Notes:

- Improved display of diagnostic blocks (F8)

Conrad Irwin created

880d330 Clear selected index when updating file finder's matches

Max Brunsfeld created

1b12437 Render file finder separator in a way that doesn't affect layout

Click to expand commit body
Previously, while typing, the separator appearing and disappeaering would
cause the layout of the items below to jump up and down.

Max Brunsfeld created

2cf692e Move file finder tests to their own file

Click to expand commit body
Previously, the size of the file finder file would cause code formatting to time out.

Max Brunsfeld created

be4d314 Revert "Improve completion, action and shared project popovers' layout" (#4233)

Click to expand commit body
Reverts zed-industries/zed#4226

Unfortunately there where some worse states possible after this PR.
Reverting until after the launch, as the problems it addresses are still
bad.

![Screenshot 2024-01-23 at 3 20
59 PM](https://github.com/zed-industries/zed/assets/2280405/d25ab0d5-db49-44cb-b865-e320a97616ce)

Mikayla Maki created

450cf9d Fix rendering of diagnostic blocks

Click to expand commit body
- Distinct colors to make it not confusing
- Avoid overflowing the edge of the editor when the message is long

Conrad Irwin created

f2ff7fa chore: Change AGPL-licensed crates to GPL (except for collab) (#4231)

Click to expand commit body
- [x] Fill in GPL license text.
- [x] live_kit_client depends on live_kit_server as non-dev dependency,
even though it seems to only be used for tests. Is that an issue?

Release Notes:
- N/A

Piotr Osiewicz created

9f6072c Revert "Improve completion, action and shared project popovers' layout"

Mikayla Maki created

b20b1d4 Revert search in gitignored files in file finder (#4229)

Click to expand commit body
Reverts
https://github.com/zed-industries/zed/pull/3748/commits/2f56fe9129e98520ee9ffbc79c38f0d01ae4ca4d
since gitignored file indexing is inconsistent.

Release Notes:

- Removed the ability to search in gitignored files via file_finder for
now, as it's not consistent enough for good UX

Kirill Bulatov created

e6573e9 Revert search in gitignored files in file finder

Kirill Bulatov created

db22bab CI: Do not run cargo check --tests before running the tests (#4228)

Click to expand commit body
This is a bit redundant, as cargo test does not reuse results of cargo
check, so we're essentially doing the cargo check unnecessarily.

Release Notes:

- N/A

Piotr Osiewicz created

2d7d071 Use a different color for ignored files in the project panel (#4227)

Click to expand commit body
![Screenshot 2024-01-23 at 1 03
01 PM](https://github.com/zed-industries/zed/assets/326587/28b4e7e1-8847-40ff-aed6-0f4ede6b9007)


Release Notes:

- Fixed an issue where ignored files were not visually distinguished in
the project panel.

Max Brunsfeld created

4e970e9 Use a different color for ignored files in the project panel

Max Brunsfeld created

7ec68e0 Improve completion, action and shared project popovers' layout (#4226)

Click to expand commit body
Before:

* cutoff completion labels and docs
<img width="801" alt="image"
src="https://github.com/zed-industries/zed/assets/2690773/12fe39b2-a8a7-42d8-b697-e2a4fbd836b7">

* too long action labels start to introduce newlines and break the
layout
<img width="716" alt="image"
src="https://github.com/zed-industries/zed/assets/2690773/a0530f1e-4200-4cc4-8e0f-9a63d04e4d5c">

* too long completion proposals are cut off
<img width="1321" alt="image"
src="https://github.com/zed-industries/zed/assets/2690773/1ec154a1-9de5-4e47-9e9f-632b3e33f42a">



After:

* the docs are shifted, but both completions and docs are rendered
entirely now
<img width="1351" alt="image"
src="https://github.com/zed-industries/zed/assets/2690773/ddb0baa4-88b6-45e9-b3e1-496c0d6a0d0f">

* 
<img width="750" alt="image"
src="https://github.com/zed-industries/zed/assets/2690773/102ed77c-d7d0-41d2-a4a0-a8c73285ea8a">

* completions are not jumping in sized anymore, with all elements
aligned to occupy max elements' width and height
<img width="1459" alt="image"
src="https://github.com/zed-industries/zed/assets/2690773/483e3534-b00a-423c-a848-3c4ca1199510">


Release Notes:

- Improved completion and action label layouts

Kirill Bulatov created

bf35b78 Allow both action and completion lists to occupy max width and height of its element

Kirill Bulatov created

035bd79 collab 0.40.1

Max Brunsfeld created

67b7d74 Exclude staff from CLA check (#4225)

Max Brunsfeld created

513ddf1 Change background for the max width of the completion/action elements

Kirill Bulatov created

b84f4a3 Fix assertion in test_get_users

Max Brunsfeld created