410ee12
Maintain remote worktrees correctly when building updates
Click to expand commit body
This accidentally regressed in 53327e2.
Antonio Scandurra
created
c613b22
Ignore diagnostics received for invisible worktrees
Antonio Scandurra
created
d0d6916
Move code action and completion edit messages to the background
Antonio Scandurra
created
14d26ee
Move several buffer-related messages to the background
Antonio Scandurra
created
1c14168
Ensure no two worktrees can point to the same root path
Click to expand commit body
This could happen because there was a pause between creating the worktree
and adding it to the list of tracked local worktrees, and so we might end
up adding the same worktree twice when calling `create_local_worktree` in
rapid succession.
Antonio Scandurra
created
d171d8c
Change the definition of `check_invariants`
Click to expand commit body
- On the host, ensure that only one worktree can exist for a given absolute
path. Asserting about buffers was cool but I think should be tackled in the
context of leaning more on entry ids for collaboration (vs. buffer ids).
- On the guest, ensure that all the opened buffers don't contain deferred
operations.
Antonio Scandurra
created
53327e2
Ensure worktree is registered/shared synchronously
b771667
Merge pull request #499 from zed-industries/project-find
Click to expand commit body
Project-wide search
Antonio Scandurra
created
51345cf
Advance clock when simulating random delay
Antonio Scandurra
created
be7a477
Delete timer state when the future that's awaiting it gets dropped
Antonio Scandurra
created
8b7a936
Avoid storing type name string on AnyViewHandle
Click to expand commit body
It won't be needed for leak error messages, because the typed
view handle will typically be created first. And this avoids
increasing the size of the handle used in production.
Max Brunsfeld
created
ae93cfe
Tear down client's connection states when dropping test clients
Max Brunsfeld
created
3cf5329
Flush effects when dropping test clients in random collaboration test
Max Brunsfeld
created
acf7ef3
Avoid retaining executor when using Connection::in_memory
Max Brunsfeld
created
95b2f4f
Fix remaining language server hangs on shutdown
Click to expand commit body
* Use fork of async-pipe library that handles closed pipes correctly.
* Clear response handlers map when terminating output task, so as
to wake any pending request futures.
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
917543c
Handle Peer responses using a futures::oneshot instead of postage::mpsc
Max Brunsfeld
created
f2f1a52
Prevent hangs in lsp requests made while server is shutting down
Click to expand commit body
* Avoid postage::oneshot, since receiver is not woken when sender is dropped.
* Clear the response channels when an IO task exits.
Max Brunsfeld
created
74469a4
Clean up tasks properly when dropping a FakeLanguageServer
Click to expand commit body
* Make sure the fake's IO tasks are stopped
* Ensure that the fake's stdout is closed, so that the corresponding language
server's IO tasks are woken up and halted.
43f856c
Make integration tests depend only on a few core crates, not all of zed
Max Brunsfeld
created
2b64e8d
Fix failure in test_unshare_project due to dropping handle outside of an update block
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
efe7f61
Use `simulate_random_delay` when polling snapshot only in tests
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
a25f21d
Remove `debug_elements_callbacks` from `App`
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
bc9c034
Fix `Presenter` leak when removing windows
Antonio Scandurra
created
c661ff2
Revert "Use `async_broadcast` to emit fake FS events"
Click to expand commit body
This reverts commit 4cfd345f9d91ebd8e76a668f3494ecf2e45c4b9d, because
having a bounded broadcast introduces the possibility of waiting forever
when there isn't yet a receiver processing those events.
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
992328a
Forbid parking in `project_panel::tests::test_visible_list`
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
0bb7189
Use a weak handle to poll local worktree snapshot
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
83a3402
Make `TestAppContext` and its dependencies available only in tests