Commit log

c3ba8f5 Ensure worktree updates are observed in order on the server

Antonio Scandurra created

3f6feb1 Compare only snapshot's essential state in random collaboration test

Antonio Scandurra created

6a07d39 Don't send worktree updates until the initial share is done

Antonio Scandurra created

978dae2 Buffer messages in Client while no entity is listening to them

Antonio Scandurra created

71abea7 WIP - Register client RPC handlers on app startup

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

Max Brunsfeld and Nathan Sobo created

1ca1595 Add AnyWeakModelHandle

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

Max Brunsfeld and Nathan Sobo created

34bba30 In random collaboration test, add failing assertion for worktree convergence

Max Brunsfeld created

a11495a Start on a randomized integration test

Antonio Scandurra created

c33d554 Don't render sample item twice in `UniformList`

Antonio Scandurra created

56e4591 Fix panic caused by reusing the same handler for diagnostic status

Antonio Scandurra created

17b13b9 Wait for request and response version before resolving completions

Antonio Scandurra created

809b843 Render "Sign in" label only for current user

Antonio Scandurra created

4e748b1 WIP - Wait for code action anchors to be valid

Max Brunsfeld created

d358072 Include the desired version in a SaveBuffer RPC request

Click to expand commit body
When handling this messages on the host, wait until the desired
version has been observed before performing the save.

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

Max Brunsfeld and Nathan Sobo created

8d06049 Ensure worktree updates are applied in order

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

Max Brunsfeld and Nathan Sobo created

28ba49b Wait for buffer if it doesn't exist when deserializing a reference

Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Nathan Sobo and Max Brunsfeld created

e9250e6 Fix mouse event handler for code actions indicator

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

Max Brunsfeld and Nathan Sobo created

ddc1f23 Panic if element state is used twice in the same frame

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

Max Brunsfeld and Nathan Sobo created

7b666af Get chat integration tests passing

Click to expand commit body
* Don't send a chat message before the previous chat message
  is acknowledged.
* Fix emitting of notifications in RPC server

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

Max Brunsfeld and Nathan Sobo created

bf6ae0d Restore logic for storing operations on buffers that are still being opened

Max Brunsfeld created

fe46b89 Remove logic for preserving RPC message order between peers

Click to expand commit body
* On the server, spawn a separate task for each incoming message
* In the peer, eliminate the barrier that was used to enforce ordering
  of responses with respect to other incoming messages

Co-Authored-By: Antonio Scandurra <me@as-cii.com>

Max Brunsfeld and Antonio Scandurra created

90576cf Request code actions inside of task to avoid spamming the LSP

Antonio Scandurra created

ae75648 v0.15.0

Antonio Scandurra created

298c991 Ensure that zed package version matches git tag before packaging a release

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

Antonio Scandurra and Nathan Sobo created

f742f63 Merge pull request #446 from zed-industries/assists

Click to expand commit body
Implement code actions

Antonio Scandurra created

fadb94a Use selection instead of just the cursor when fetching code actions

Antonio Scandurra created

1eea2f3 Add integration test for code actions

Antonio Scandurra created

68917c7 Implement Server::add_request_handler in terms of ::add_message_handler

Antonio Scandurra created

1aff423 Rename `subscribe` to `add_{message,request}_handler` in `Client`

Click to expand commit body
This makes it easier to distinguish between messages and requests.

Antonio Scandurra created

6a6cd68 :art:

Antonio Scandurra created

03812a6 Pass `write(true)` when creating a file in `RealFs`

Antonio Scandurra created

a19735c Ensure client always responds when receiving a request

Antonio Scandurra created

a41eb5a Ensure server always responds when receiving a request

Antonio Scandurra created

331667c WIP: Start auditing all `forward_request` calls on the server

Click to expand commit body
When the host returns an error after a server has forwarded a request,
we want to surface that error to the guest. At the moment, the server
just returns early leaving some requests unresponded on the guest.

I started auditing all the code paths where we do that, but I am
wondering whether there's some other approach that would prevent us
from repeating this mistake in other code paths.

Antonio Scandurra created

2dbea28 Deserialize buffers synchronously when deserializing project transaction

Click to expand commit body
On guests, this ensures we never miss updates to subsequent buffers in
the project transaction that arrive while we're waiting for edits on a
prior buffer in the transaction.

Antonio Scandurra created

8d3b7e9 Proceed with saving a buffer even if formatting fails

Antonio Scandurra created

a210062 Refresh diagnostics and code actions more selectively

Antonio Scandurra created

cbe93af Reduce number of iterations on `test_editing_while_guest_opens_buffer`

Click to expand commit body
I think this was mistakenly increased as part of some other change.

Antonio Scandurra created

ca052b4 Make `test_propagate_saves_and_fs_changes` more robust

Click to expand commit body
...by using a condition that awaits on the actual paths as opposed
to the simple file counts.

Antonio Scandurra created

e354133 Remove stray log statements

Antonio Scandurra created

f2b4a06 Fix integration test verifying the rename behavior

Click to expand commit body
Specifically, the test now ensures that the host's worktree observes a/file1's
change event *before* the rename occurs, otherwise when interpreting the change
event it will mistakenly think that the file has been deleted (because its path
has changed) and will subsequently fail to detect the rename, causing the test
to fail.

Antonio Scandurra created

7b9ff42 Apply worktree updates in the order they were received

Antonio Scandurra created

5a7d391 Ensure response barrier is always dropped, even if request is canceled

Antonio Scandurra created

174c9d7 Adjust multibuffer history test to reflect new behavior

Max Brunsfeld created

8d65048 Reduce logging in lsp tests

Max Brunsfeld created

d84fc3b Remove Buffer::apply_lsp_edits

Click to expand commit body
Always use `edits_from_lsp`.

Max Brunsfeld created

d4b9d9e Inline MultiBuffer::format

Click to expand commit body
Put all the logic in Editor. Add an `all_buffers` method so the editor can
format all of the buffers by itself.

Max Brunsfeld created

06bb8d2 Fix panic when canceling with a pending selection

Max Brunsfeld created

01664d4 Restructure fake language server to setup request handlers in advance

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

Max Brunsfeld , Antonio Scandurra , and Nathan Sobo created

680d1fe Always call set_selections in mouse selection methods

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

Max Brunsfeld , Antonio Scandurra , and Nathan Sobo created