d7d2947
Remove expensive-to-clone fields from worktree's LocalSnapshot (#2497)
Click to expand commit body
This fixes performance problems that @nathansobo and I have seen in some
cases, when a large number of files changed on disk. A lot of time was
being spent in `worktree::LocalSnapshot::clone`. I think this may have
been because of needing to clone the `removed_entry_ids` map. This
structure is only really used when *mutating* the `LocalSnapshot` in the
background scanner, so I moved it off of the snapshots.
Max Brunsfeld
created
06a89d9
Add guards to other pane index removals (#2496)
Click to expand commit body
These should be impossible for users to reach, but why leave it to
chance?
Release Notes:
* N/A
Mikayla Maki
created
7ae642b
Avoid storing removed_entry_ids on the LocalSnapshot
32c7157
:art: Make worktree repositories more consistent
Max Brunsfeld
created
6359333
Don't store next_entry_id on worktree's local snapshot
Max Brunsfeld
created
065f71d
Do not refocus project search query on ESC press
Kirill Bulatov
created
7d1833b
When the file is deleted via project panel, close it in editors (#2490)
Click to expand commit body
Deals with https://github.com/zed-industries/community/issues/179 by
sending a message about it, to asynchronously apply on all workspaces.
Release Notes:
* Fixes a bug when files, deleted in the project panel were left open in
the editor
Kirill Bulatov
created
844b8d9
Remove unnescessary double lookup in repo for (#2492)
2c8fffc
Use better name for the method that closes deleted buffers
Click to expand commit body
co-authored-by: Max <max@zed.dev>
Kirill Bulatov
and
Max
created
01a3e49
Optimize retrieving repos for entries when rendering the project panel (#2493)
Click to expand commit body
This fixes slowness in rendering the project panel due to retrieving the
repository for a given entry.
Release Notes:
* Fixed a lag that would occur when lots of files changed on disk while
the project panel was open (preview only).
d480555
Fix performance problems in reporting changed FS paths to language servers (#2491)
Click to expand commit body
Fixes
https://linear.app/zed-industries/issue/Z-1611/main-thread-hangs-while-sending-filesystem-change-events-to-lsp
Release Notes:
* Fixed a lag that would sometime occur when large numbers of files
changed on disk, due to reporting the changed files to language servers.
Max Brunsfeld
created
847d1e7
Replace remaining usages of glob crate with globset
Max Brunsfeld
created
459cc9c
Optimize matching of multiple file-watch globs using the globset crate
Max Brunsfeld
created
583b15b
When the file is deleted via project panel, close it in editors
Kirill Bulatov
created
e492816
Add new terminal when the terminal panel is activated, and not on focus
Antonio Scandurra
created
924ec96
Toggle project panel when opening new workspace in a dock-agnostic way
Antonio Scandurra
created
3d6b728
Activate the correct panel when deserializing workspace
4bda5c4
Optimize LSP watched file reporting in 2 simple ways
Click to expand commit body
* Convert globs to relative paths in advance. This avoids needing to convert
every changed path to an absolute path before performing glob matching.
* Avoid duplicate reporting for language servers with multiple worktrees.
We noticed a huge amount of code actions requests being issued by
followers when applying leader updates. It was caused by a call to
`MultiBuffer::remove_excerpts` with an empty list of excerpts to remove.
This PR fixes that by avoiding emitting spurious events when multibuffer
excerpt manipulation methods are called with empty lists.
Max Brunsfeld
created
58f704a
Avoid unnecessary code action requests when applying leader updates to an editor
Max Brunsfeld
created
87e206c
Fixed an imprecise join in rejoin room (#2488)
Click to expand commit body
This fixed a pre-existing bug in rejoin room that got expanded to
stalling collab with the new git status feature.
Release Notes:
* N/A
This adds some logging to the collab server, to help us identify the
source of the collaboration latency we're seeing in the 0.87 preview
version of zed.
c71b59b
Log how long it takes to handle each RPC message
Max Brunsfeld
created
923be18
Maintain recently opened files history (#2467)
Click to expand commit body
Part of https://github.com/zed-industries/community/issues/351 and
https://github.com/zed-industries/community/issues/1125
Adds navigation history to the search file dialogue:

The history is only shown on empty query and gets replaced by the query
results after an input.
Currently, history gets lost between the project restarts.
Release Notes:
* Added a recently opened file list to search file dialogue
83f8981
Define empty theme for tests regardless of cargo features (#2485)
Click to expand commit body
This fixes some errors that were happening when running a single crate's
tests, if the test did not enable the `test-support` feature in the
`theme` crate.
Max Brunsfeld
created
71ad7e7
Define empty theme for tests regardless of cargo features
263afc7
Merge pull request #2484 from zed-industries/kb/unite-dmg-build
Click to expand commit body
Unite dmg build jobs
Follow-up of https://github.com/zed-industries/zed/pull/2472 actually doing the proper thing: allow running dmg builds on PRs if `run-build-dmg` label is attached.