9e46b17
Do not refocus project search query on ESC press (#2494)
Click to expand commit body
Closes
https://linear.app/zed-industries/issue/Z-1471/escape-should-not-move-focus-to-project-search
Makes ESC more predictable as a shortcut that cancels/roll backs the
state in project search panel.
Release Notes:
* Fixes ESC making focus to jump in project search panel
d5cf595
Enable `"test-support"` feature on editor dependencies for tests (#2499)
Click to expand commit body
Enable the `"test-support"` feature whenever we depend on the `editor`
crate in tests.
If we don't do this, we end up depending on `livekit_client` without
enabling `"test-support"`, and this causes us to link against
`WebRTC.framework` in its build script, which causes a dynamic linker
error when starting the tests.
Fixes
https://linear.app/zed-industries/issue/Z-1646/cant-run-package-tests-for-activity-monitor-and-auto-update
Release Notes:
* No notes
fixes
https://linear.app/zed-industries/issue/Z-1593/clean-up-git-integration
- Fixes calculation of git offsets in the scrollbar:
fixes
https://linear.app/zed-industries/issue/Z-1608/fix-scrollbar-diffs-sliding-out-of-sync-with-gutter-diffs-in
fixes
https://linear.app/zed-industries/issue/Z-1629/project-search-panel-has-git-marks-on-the-scrollbar-misaligned
fixes
https://linear.app/zed-industries/issue/Z-1625/soft-wrap-affects-diff-locations-in-scrollbar
- Improves the performance of scrollbar hunks:
fixes
https://linear.app/zed-industries/issue/Z-1640/double-check-performance-of-scrollbar-hunks
- Fixes a long standing bug with how git gutters interact with soft
wraps:
fixes
https://linear.app/zed-industries/issue/Z-1442/make-hunks-grow-to-the-end-of-softwraps-when-ending-on-a-softwrapped
- Allows work directories to be renamed
fixes
https://linear.app/zed-industries/issue/Z-1577/fix-stale-git-repositories-when-directory-is-renamed
Release Notes:
* Fix the offsets of the git diffs in the scrollbar when there are
folds, wraps, or excerpts (preview only)
* Allow the work directory of a repository to be renamed (preview only)
* Extend git gutter to cover the entirety of a wrapped line
(https://github.com/zed-industries/community/issues/937)
Mikayla Maki
created
bbb68c5
Refactored apart the forward and the backwards iterator for diff hunks
Mikayla Maki
created
e32233c
Fix spurious setting error logs on non-existent setting keys
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