25e3c4e
Fix leak when project is unshared while LSP handler waits for edits
Max Brunsfeld created
25e3c4e
Fix leak when project is unshared while LSP handler waits for edits
Max Brunsfeld created
e853e77
Upgrade postage for oneshot channel drop fix
Previously, dropping a oneshot sender didn't wake the receiver.
Max Brunsfeld created
0e4de87
Merge pull request #2367 from zed-industries/log-github-api-response-for-deserialize-error
In the case of Github release deserialize error, log response text
Julia created
189784f
In the case of Github release deserialize error, log response text
Co-Authored-By: Joseph Lyons <joseph@zed.dev>
Julia and Joseph Lyons created
e798156
Preserve ordering between UpdateProject and CreateBufferForPeer messages
Previously, because UpdateProject messages were sent in a separately- spawned task, they could be sent after CreateBufferForPeer messages that were intended to be sent after them. Co-authored-by: Antonio Scandurra <antonio@zed.dev>
Max Brunsfeld and Antonio Scandurra created
9761feb
Avoid broadcasting `SaveBuffer` in response to a client's save request
The host will send a `SaveBuffer` message anyway and this prevents re-querying the database, which could cause two `BufferSaved` messages to race and, as a result, cause guest to apply them in the wrong order.
Antonio Scandurra created
3a82c04
Improve assertion message when buffer state diverges
Antonio Scandurra created
016343e
Merge branch 'main' into randomized-tests-operation-script
Antonio Scandurra created
7f73ebd
Apply `BufferReloaded` message to incomplete remote buffers
Antonio Scandurra created
116d4f2
Merge pull request #2366 from zed-industries/avoid-unwrapping-on-try-send
Don't panic if worktree was dropped before sending path changes
Antonio Scandurra created
372e31d
Don't panic if worktree was dropped before sending path changes
In `refresh_entry`, we send a message to the `self.path_changes_tx` channel to notify the background thread that a path has changed. However, given that `refresh_entry` uses `spawn_weak`, the worktree could get dropped before sending the message, which could cause a panic. This commit changes the code to return an error instead of panicking.
Antonio Scandurra created
acbf9b5
Halt UpdateBuffer messages until sync if one errors
Co-authored-by: Antonio Scandurra <antonio@zed.dev>
Max Brunsfeld and Antonio Scandurra created
e50c488
Wait for host to acknowledge buffer updates before sending them to other guests
Max Brunsfeld created
f519f32
Fixed removal of closed projects in randomized test
Co-authored-by: Antonio Scandurra <antonio@zed.dev>
Max Brunsfeld and Antonio Scandurra created
035189a
Put file location details of panic on separate line
Joseph Lyons created
676dbdc
Merge pull request #2365 from zed-industries/dont_export_gpui_platform_module
Don't export platform::* from gpui
Nathan Sobo created
2615a11
Don't export platform::* from gpui
I'd like to avoid cluttering the top-level namespace with all the platform- specific types.
Nathan Sobo created
f450692
Merge pull request #2364 from zed-industries/put-backtrace-on-a-newline-when-reporting-panics
Put backtrace on a new line when reporting panics
Joseph T. Lyons created
9cf3481
Put backtrace on a new line when reporting panics
Joseph Lyons created
c58601a
Merge pull request #2363 from zed-industries/add-copy-path-commands
Update copy path commands
Joseph T. Lyons created
5e55eb2
Update copy path commands
Joseph Lyons created
dad403f
Merge pull request #2362 from zed-industries/eliminate-mutable-app-context
Merge MutableAppContext into AppContext
Nathan Sobo created
95eb918
Fix broken test due to trimmed trailing whitespace during formatting
Nathan Sobo created
8136d8a
Fix formatting
Nathan Sobo created
de9bf6d
Merge MutableAppContext into AppContext
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
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
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
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
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
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
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
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.
Antonio Scandurra created
4883ec2
Add close items to left and right
Joseph Lyons created
bf3b8ad
Avoid async fs call before checking if operation is applicable
This way, the executor isn't influenced by operations that aren't applicable.
Max Brunsfeld created
1064b14
Don't use TestPlan's rng in fake LSP handlers
These should use the test context's rng, so that they behave the same whether a pre-recorded plan was used, or the plan is being generated.
Max Brunsfeld created
2d63ed3
Merge branch 'main' into randomized-tests-operation-script
Max Brunsfeld created
e5861d6
Fix typos in EULA
Nathan Sobo created
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
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
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
Hesitant possible fix for lock screen crash
Julia created
6e3bf7f
Hesitant possible fix for lock screen crash
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
Julia created
e4bb5c2
v0.82.x dev
Joseph Lyons created
3b6c975
Merge pull request #2357 from zed-industries/update-eula
Update EULA
Joseph T. Lyons created
5becdbd
Fix spacing in EULA
Joseph Lyons created
af826f5
Merge pull request #2359 from zed-industries/prefer-right-statusbar-items
Prioritize displaying right statusbar items overtop left items if needed
Julia created