Commit log

39ebaeb Merge pull request #486 from zed-industries/background-highlights

Click to expand commit body
Move `GetDocumentHighlights` to the background and fix collaboration race conditions

Antonio Scandurra created

d929819 Fix warning

Antonio Scandurra created

8fa23c7 Store ops if buffer handle can't be upgraded and buffer requests are in-flight

Antonio Scandurra created

a6613d5 Store operations for unknown buffers when there are outstanding buffer RPC requests

Max Brunsfeld created

f1921c8 Open buffers from definitions request in random collab test

Click to expand commit body
Don't try to open buffers from the weak worktrees directly, as this is
expected to fail if the host drops the buffer for that worktree.

Max Brunsfeld created

51e2e9e Make client log message format more consistent

Max Brunsfeld created

6060077 Remove unused pending_updates field from RemoteWorktree

Max Brunsfeld created

e9009d4 Tweak logging in random collaboration test

Max Brunsfeld created

e714b00 Improve logging around handling RPC requests on client

Max Brunsfeld created

170487a Fix race conditions with LSP requests that return buffers

Click to expand commit body
* Avoid panic when registering a buffer that was previously open,
  and whose weak handle was still present in the open_buffers map.
* Avoid releasing any buffers while a request is outstanding which
  could return a reference to a buffer.

Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Max Brunsfeld and Nathan Sobo created

17c9aa1 Remove ShareWorktree message

Click to expand commit body
Instead, create an empty worktree on guests when a worktree is first *registered*, then update it via an initial UpdateWorktree message.

This prevents the host from referencing a worktree in definition RPC responses that hasn't yet been observed by the guest. We could have waited until the entire worktree was shared, but this could take a long time, so instead we create an empty one on guests and proceed from there.

We still have randomized test failures as of this commit:

SEED=9519 MAX_PEERS=2 ITERATIONS=10000 OPERATIONS=7 ct -p zed-server test_random_collaboration

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Co-Authored-By: Antonio Scandurra <me@as-cii.com>

Nathan Sobo , Max Brunsfeld , and Antonio Scandurra created

d1b4384 WIP

Antonio Scandurra created

8440644 Remove update_id from worktree update messages

Click to expand commit body
We don't need this anymore because worktree updates are foreground
messages.

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>

Antonio Scandurra , Nathan Sobo , and Max Brunsfeld created

f3c6320 Move document highlights RPC message to the background

Antonio Scandurra created

9e17356 Pass an `AsyncAppContext` to fake language server request handlers

Antonio Scandurra created

73fcebb Bump protocol version

Nathan Sobo created

9841abf v0.17.0

Nathan Sobo created

6f77ede Merge pull request #483 from zed-industries/document-highlights

Click to expand commit body
Show document highlights from the language server when moving the cursor

Antonio Scandurra created

e140f70 Show document highlights from the language server when moving the cursor

Max Brunsfeld created

0aeb235 Merge pull request #481 from zed-industries/find-usages

Click to expand commit body
Find-all-references

Max Brunsfeld created

25d4537 Implement find-all-references

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Max Brunsfeld and Nathan Sobo created

a925df8 Merge pull request #479 from zed-industries/project-symbols

Click to expand commit body
Project symbols

Max Brunsfeld created

6be4b1e Don't select entire item when jumping to a project symbol

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Max Brunsfeld and Nathan Sobo created

5d2201c Add integration test for project symbols

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Max Brunsfeld and Nathan Sobo created

669fe77 Normalize paths passed to the FakeFs

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Max Brunsfeld and Nathan Sobo created

dbe9c54 Request definitions as guests in random collaboration integration test

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Max Brunsfeld and Nathan Sobo created

6409824 Allow languages to be registered at any time

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Antonio Scandurra <me@as-cii.com>

Max Brunsfeld , Nathan Sobo , and Antonio Scandurra created

d7db379 Show worktree root name for symbol when there are multiple worktrees

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>

Antonio Scandurra , Nathan Sobo , and Max Brunsfeld created

0e4bd4b Sign symbols so that we can trust opening buffers for them from guests

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>

Antonio Scandurra , Nathan Sobo , and Max Brunsfeld created

fad335b Don't serialize the full LSP symbol when collaborating

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

72ad3c2 Render paths in `ProjectSymbolsView`

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

f0195ac Allow opening of buffers associated with a project symbol

Antonio Scandurra created

2a6d486 Retrieve project symbols over RPC

Antonio Scandurra created

ab73343 WIP: Start on getting project symbols over RPC

Antonio Scandurra created

326f1f4 Syntax-highlight symbols based on their kind

Antonio Scandurra created

d59ebb5 Update symbol matches as the query changes

Antonio Scandurra created

8a8ae0f Rename `CompletionLabel` to `CodeLabel` and add `Project::symbols`

Click to expand commit body
This only works locally for now and we haven't implemented the
`RustLsp::label_for_symbol` method yet.

Antonio Scandurra created

8f375a5 Start on a new `project_symbols` crate

Antonio Scandurra created

882756d Merge pull request #475 from zed-industries/filter-input

Click to expand commit body
Don't insert input in editor when control keys are pressed

Nathan Sobo created

618f0a1 Don't insert input in editor when control keys are pressed

Nathan Sobo created

7cd5dbd v0.16.0

Nathan Sobo created

c752383 Merge pull request #459 from zed-industries/spurious-macro-errors

Click to expand commit body
Download language servers dynamically on startup

Nathan Sobo created

9959433 Log an error instead of panicking when there's no LSP download dir

Nathan Sobo created

03ec6e1 Assign language server download directory on startup

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Max Brunsfeld and Nathan Sobo created

79910ba Show more information in lsp status bar item

Click to expand commit body
* Distinguish between checking for updates and downloading
* Show dismissable error message when downloading failed and there
  is no cached server.

Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Max Brunsfeld and Nathan Sobo created

ededfff Download language servers on-demand

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Max Brunsfeld and Nathan Sobo created

66c69e5 Don't offset text vertically with gutter margin

Click to expand commit body
Fixes #467

Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Nathan Sobo , Antonio Scandurra , and Max Brunsfeld created

4295df1 Merge pull request #457 from zed-industries/find-improvements

Click to expand commit body
Find improvements

Nathan Sobo created

db23a87 Revert "Temporarily allow uploading artifacts on all branches"

Click to expand commit body
This reverts commit 794fcba842349708bd3eaeef3cc37041124b9ea1.

Antonio Scandurra created

277d86b Remove unused method

Antonio Scandurra created