Commit log

7190840 Add paragraph based vertical movements

Julia created

146809e Merge branch 'main' into panels

Antonio Scandurra created

2098ac2 Fix formatting for keymap.json

Antonio Scandurra created

cb1b64e Fix up formatting for get preview channel changes script

Joseph Lyons created

f2a7401 Fix get preview channel changes script (#2501)

Click to expand commit body
Fixes the text we match on to get PR commits and also prints the release
notes of each PR

Release Notes:

* Skip

Joseph T. Lyons created

c701901 Fix get preview channel changes script

Joseph Lyons created

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

Nathan Sobo created

986eafd Enable test-support on editor in tests

Nathan Sobo created

35a9b90 Fix bugs in git implementation (#2495)

Click to expand commit body
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

Max Brunsfeld created

43e301e refine batched anchor conversions

Click to expand commit body
co-authored-by: max <max@zed.dev>

Mikayla Maki and max created

fb11c3e Remove stray prints

Max Brunsfeld created

1474429 fmt

Mikayla Maki created

c795c9b Rearrange git tests in worktree

Click to expand commit body
Add support for renaming work directories

Mikayla Maki created

623a177 Fix bug where git diff hunks would not extend through a soft wrap

Mikayla Maki created

560160b Batch anchor conversions in git hunk iterator

Mikayla Maki created

2a41a32 Calculate y offsets correctly

Mikayla Maki created

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

Max Brunsfeld created

c193b0b Add guards to other pane index removals

Mikayla Maki created

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)

Click to expand commit body
Release Notes:

* Optimize repository queries (preview only)

Max Brunsfeld created

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).

Max Brunsfeld created

9f157bd Remove unescessary methods

Mikayla Maki created

729a93d Optimize retrieving repos for entries when rendering the project panel

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

Max Brunsfeld and Mikayla created

6792788 Remove unnescessary double lookup

Mikayla Maki created

5a8fb18 Show workspace only after initializing it

Antonio Scandurra created

5ff49bd Serialize and deserialize `TerminalPanel`

Antonio Scandurra created

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

Antonio Scandurra created

3984cc6 Properly handle WorktreeId

Kirill Bulatov created

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.

Max Brunsfeld created

34b0d62 collab 0.12.4

Max Brunsfeld created

ffe35d1 Avoid unnecessary code action requests when applying leader updates t… (#2489)

Click to expand commit body
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

Mikayla Maki created

99fcf23 fmt

Mikayla Maki created

95a7d69 Fixed an imprecise join in rejoin room

Mikayla Maki created

2883d6f Improve collab logging (#2487)

Click to expand commit body
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.

Max Brunsfeld created