There may have been a good reason for the difference at some point, or I was
still learning Rust. But now it's just &mut AppContext vs &AppContext.
Nathan Sobo
created
aa7918c
Fix handling of redundant buffer creation messages on guests
Click to expand commit body
Check if the buffer already exists *before* overwriting it.
Ignore redundant registrations on remote projects.
Co-authored-by: Antonio Scandurra <antonio@zed.dev>
Max Brunsfeld
and
Antonio Scandurra
created
22a6a24
Move project assertions into main assertion function
Click to expand commit body
Co-authored-by: Antonio Scandurra <antonio@zed.dev>
Max Brunsfeld
and
Antonio Scandurra
created
dd00966
Merge pull request #2361 from zed-industries/add-close-items-to-left-and-right
Click to expand commit body
Add close items to left and right
Joseph T. Lyons
created
ef04dc1
Update file on incomplete buffer instead of waiting for it to be opened
Click to expand commit body
This ensures that two successive file updates coming from the host are
not applied in reverse order.
Antonio Scandurra
created
4b39df4
Merge pull request #2304 from zed-industries/bump-diff-width
Click to expand commit body
Increase git diff gutter width slightly
Julia
created
8020ea7
Wait to see guest's buffer version before converting completion anchor
Antonio Scandurra
created
4a61e2d
Save server operations that were in the middle of being applied
Click to expand commit body
Previously, if the test panicked before it had a chance to fully
apply an operation, it would end up not being saved in the plan.
With this commit we will mark the operation as applied before we
start processing it, and mark it as not applied if, once we're done,
we've found out that it couldn't be applied. This is consistent with
what we do for client operations.
Antonio Scandurra
created
f995d07
Return error if subscribing to an entity that was already subscribed to
Antonio Scandurra
created
d7f56d6
Forget which buffers were shared when host reconnects
Click to expand commit body
This fixes a bug where the host would momentarily disconnect and the guest
would close and reopen the project. This would cause the host to not observe
the guest closing the project. When the guest tried to open one of the
buffers opened prior to closing the project, the host would not send them the
buffer state because it would still remember that the buffer was shared.
The `shared_buffers` map is now cleared when the host reconnects and will slowly
get re-filled as guests issue `SynchronizeBuffers` requests.
bda7086
Clear guest's shared buffers if they rejoin project after leaving while host was disconnected
Max Brunsfeld
created
8e68c7f
Do include operations in serialized test plan if they cause a client to hang
Max Brunsfeld
created
43a94cd
Don't skip worktree updates if unknown entries are removed
Click to expand commit body
When rejoining a project, if entries were both created and deleted since
joining the project, the guest will receive those entries ids in as
removed.
Max Brunsfeld
created
661fba8
Run executor until parked at end of each iteration of random collaboration test
Click to expand commit body
Without this, the server doesn't get dropped at the end of the test, and we eventually run
out of file handles due to sqlite connections being retained.
Max Brunsfeld
created
781d66f
Omit operations for non-existent users from serialized test plan
Max Brunsfeld
created
43b6e7a
Merge pull request #2360 from zed-industries/maybe-fix-lock-screen-crash
Click to expand commit body
Hesitant possible fix for lock screen crash
Julia
created
6e3bf7f
Hesitant possible fix for lock screen crash
Click to expand commit body
This may cause issues in this situations but as I cannot repro this I'm
making the call to try something and see how it plays out