Commit log

527f031 Update + publish the Ayu theme

Nate Butler created

42b1004 Fix running client crate tests

Antonio Scandurra created

5eb1719 Re-send worktree if reconnecting while initial scan isn't finished yet

Click to expand commit body
Previously, if the client was disconnected while the initial worktree
state was being sent, it would not see the remaining state after reconnecting.
This was due to `scan_id` and `completed_scan_id` both being initialized to
`0`, so the client would ask for updates since `0` and get nothing.

This commit changes the worktree to initialize `scan_id` to `1` and
`completed_scan_id` to `0`, so that we get the full worktree again on reconnect.

Antonio Scandurra created

172441a Cancel pending calls when participant fails to reconnect

Click to expand commit body
Previously, we would only cancel pending calls when the room became
empty.

Antonio Scandurra created

5e37c89 Ensure project is still alive by the time remote LSP request starts

Antonio Scandurra created

5898600 Use `LspCommand` to handle code actions

Antonio Scandurra created

651a839 :fire:

Antonio Scandurra created

ac532cb Use `LspCommand` to handle completions

Antonio Scandurra created

9e6d865 Prevent already dropped model from being upgraded during `release`

Antonio Scandurra created

6ba5e06 Stop waiting for buffers when releasing a remote project

Antonio Scandurra created

643381c Make `UpdateDiffBase` a `Foreground` message to prevent reordering

Antonio Scandurra created

67cb046 Add tab context menu

Joseph Lyons created

abfbba6 Improve randomized test assertion message when diff base is wrong

Max Brunsfeld created

25e3c4e Fix leak when project is unshared while LSP handler waits for edits

Max Brunsfeld created

3de8fe0 WIP

Nathan Sobo created

e853e77 Upgrade postage for oneshot channel drop fix

Click to expand commit body
Previously, dropping a oneshot sender didn't wake the receiver.

Max Brunsfeld created

6638407 WIP: Everything shredded

Nathan Sobo created

0e4de87 Merge pull request #2367 from zed-industries/log-github-api-response-for-deserialize-error

Click to expand commit body
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

Click to expand commit body
Co-Authored-By: Joseph Lyons <joseph@zed.dev>

Julia and Joseph Lyons created

e798156 Preserve ordering between UpdateProject and CreateBufferForPeer messages

Click to expand commit body
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

Click to expand commit body
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

Click to expand commit body
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

Click to expand commit body
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

7536645 WIP

Nathan Sobo created

9d23a98 WIP

Nathan Sobo created

acbf9b5 Halt UpdateBuffer messages until sync if one errors

Click to expand commit body
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

Click to expand commit body
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

Click to expand commit body
Don't export platform::* from gpui

Nathan Sobo created

2186de3 Merge AppContext impl blocks

Nathan Sobo created

2615a11 Don't export platform::* from gpui

Click to expand commit body
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

Click to expand commit body
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

Click to expand commit body
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

Click to expand commit body
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

Click to expand commit body
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