Commits

Replace `paths_by_id` with an `entries_by_id` sum tree

59fe0549cc • Antonio Scandurra • Jul 6, 2021

Unify maintenance of open buffers into `Worktree::poll_snapshot`

3ce2bea63a • Antonio Scandurra • Jul 6, 2021

Add ModelHandle::spawn_weak, fix worktree leak from spawn call

58eefcd331 • Max Brunsfeld • Jul 6, 2021

Add unit test for worktree update messages, fix minor issues

65e4e78cd7 • Max Brunsfeld • Jul 6, 2021

Process remote worktree updates in the background

73db910a95 • Nathan Sobo • Jul 5, 2021

Start on applying remote worktree updates in the background

036dcd50fd • Nathan Sobo • Jul 5, 2021

Propagate file system changes to remote worktrees

53adaa77c1 • Antonio Scandurra • Jul 5, 2021

Rename `{Add,Remove}Guest` to `{Add,Remove}Peer`

2a779d3529 • Antonio Scandurra • Jul 5, 2021

Expose `Client::disconnect` to force disconnection

61222b4fe5 • Antonio Scandurra • Jul 5, 2021

Avoid deadlocks on rpc state by switching to an RwLock

899b9cd5ad • Max Brunsfeld • Jul 2, 2021

Implement Copy for peer::Receipt

08991db882 • Max Brunsfeld • Jul 2, 2021

Avoid circular model update in save_buffer handler

a7f812e059 • Max Brunsfeld • Jul 2, 2021

Construct remote worktree snapshots in the background

86b9ab4505 • Max Brunsfeld • Jul 2, 2021

WIP: Save remote buffers

569a4a1e2d • Antonio Scandurra • Jul 2, 2021

Fix tests

b8bddd6c05 • Antonio Scandurra • Jul 2, 2021

Send also the currently active selection sets when serializing a buffer

7ae1d9e997 • Antonio Scandurra • Jul 2, 2021

Serialize RPC sends and responses using a channel

9d51fe88e9 • Max Brunsfeld • Jul 2, 2021

Avoid spurious error logging when host edits buffers not open by guests

42f7867f6e • Max Brunsfeld • Jul 1, 2021

Fix memory leak of `Editor` due to blinking cursors

e95936c624 • Antonio Scandurra • Jul 1, 2021

Report `SelectionSet` deletion operations correctly

da7bd8439b • Antonio Scandurra • Jul 1, 2021

Start on rendering remote selections

c881c7f30f • Antonio Scandurra • Jul 1, 2021

Expose `Worktree::{peers,replica_id}`

e07065265d • Antonio Scandurra • Jul 1, 2021

Send a `CloseWorktree` message when a shared `Worktree` is dropped

ed9036f3fc • Antonio Scandurra • Jun 30, 2021

Store online peers when joining a worktree

1d53d43d6f • Antonio Scandurra • Jun 30, 2021

Maintain a set of peers as they join and leave the worktree

7704291432 • Antonio Scandurra • Jun 30, 2021

Avoid logging errors in RPC message handlers

ab089b6575 • Antonio Scandurra • Jun 30, 2021

:lipstick:

8e5e354bd8 • Antonio Scandurra • Jun 30, 2021

Move `remote::update_buffer` main logic into `Worktree::update_buffer`

3c8aa0ee70 • Antonio Scandurra • Jun 30, 2021

Store shared buffers on LocalWorktree

0fde7a55ef • Nathan Sobo • Jun 30, 2021

Store a reference to the LangageRegistry on the Worktree

bbf803d7dc • Nathan Sobo • Jun 30, 2021

Use entry_id on File instead of worktree::Diff to detect when buffers' files change

34963ac80d • Nathan Sobo • Jun 30, 2021

Merge branch 'main' into rpc

e80439daaa • Antonio Scandurra • Jun 29, 2021

Redesign Worktree save API and make test_rescan_simple pass

b7a4393f29 • Nathan Sobo • Jun 29, 2021

Eagerly populate worktree entries on load

1793eda470 • Nathan Sobo • Jun 28, 2021

Assign a stable identity to Worktree entries

958345b5ce • Antonio Scandurra • Jun 28, 2021

Restructure RPC state to also keep track of remote worktrees on guests

65aa9733d7 • Antonio Scandurra • Jun 28, 2021

Maintain active selections as editors are focused and blurred

e72b4ae03d • Antonio Scandurra • Jun 28, 2021

Remove selection set when an editor is closed

0bc8663d36 • Antonio Scandurra • Jun 28, 2021

Avoid double handle-read in File::buffer_updated

e2b9ab500f • Max Brunsfeld • Jun 26, 2021

Always represent anchor as a versioned offset

60ee97be24 • Max Brunsfeld • Jun 26, 2021

Send and receive buffer operations

b9952bad8b • Max Brunsfeld • Jun 25, 2021

Start work on sending buffer operations

04c80578bc • Max Brunsfeld • Jun 25, 2021

Notify host when guests close buffers

7ee0862b99 • Nathan Sobo • Jun 25, 2021

Add Entity release hooks

2257abd7dd • Nathan Sobo • Jun 25, 2021

Move `remote` module from `workspace` to `worktree`

d59267a7ef • Antonio Scandurra • Jun 25, 2021

Allow cleaning up connections/handlers state using `Peer::reset`

779dbf86dd • Antonio Scandurra • Jun 24, 2021

Consolidate more logic for joining worktree in Worktree::remote

ce2f3f664a • Max Brunsfeld • Jun 24, 2021

Add public method for connecting to RPC server with a given address

6a166554e8 • Max Brunsfeld • Jun 24, 2021

Fix last usage of App::test_async in one test

54c4b31249 • Max Brunsfeld • Jun 24, 2021

Add a test-support feature flag that enables compilation of zed::test module

efc8bc3124 • Max Brunsfeld • Jun 24, 2021

Add a public gpui::TestAppContext::new method

a57cb2b189 • Max Brunsfeld • Jun 23, 2021

Make `replica_id` optional in `OpenWorktreeResponse`

f1587fbb6e • Antonio Scandurra • Jun 23, 2021

Respond to `proto::OpenBuffer` requests

02321af08a • Antonio Scandurra • Jun 23, 2021

Eagerly update worktree entries when saving

c5e08b6548 • Nathan Sobo • Jun 23, 2021

WIP - Maintain a set of open buffers on a LocalWorktree

dc8e216fcb • Max Brunsfeld • Jun 22, 2021

Replace FileHandle with File entity that subscribes to Worktree update events

a364839e93 • Nathan Sobo • Jun 22, 2021

Emit a diff event when worktree's snapshot is updated

cabf6b1f58 • Max Brunsfeld • Jun 22, 2021

Implement worktree::Snapshot::diff

8ae5c0d7d6 • Nathan Sobo • Jun 21, 2021

Allow async background work when polling worktree background snapshot

1364ba6f5e • Nathan Sobo • Jun 21, 2021

Remove other_mount_paths

986afd26e9 • Nathan Sobo • Jun 21, 2021

:lipstick:

5c0f4e572f • Antonio Scandurra • Jun 21, 2021

Fix deadlock when comparing `FileHandle`s when handles are the same

7489e86c47 • Antonio Scandurra • Jun 21, 2021

Put back `worktree_id` in `CloseFile` and `OpenBuffer` messages

95024c616e • Antonio Scandurra • Jun 21, 2021

WIP: Load remote history

2905ce3ba7 • Antonio Scandurra • Jun 21, 2021

Issue only one `OpenFile` and `CloseFile` request per handle

f4d6fbe14f • Antonio Scandurra • Jun 21, 2021

Stub in more logic for open_file and close_file

96c118b4df • Max Brunsfeld • Jun 21, 2021

WIP

0deaa3a61d • Nathan Sobo • Jun 18, 2021

Update prost to include our changes

bfccb173c4 • Nathan Sobo • Jun 18, 2021

Start work on implementing ::file on remote WorktreeHandles

a2a6d67e1e • Max Brunsfeld • Jun 18, 2021

WIP

f9d8e952f2 • Antonio Scandurra • Jun 18, 2021

Add worktree to workspace when joining a remote worktree

89d25458ac • Antonio Scandurra • Jun 18, 2021

Replace `Worktree` with an enum

79cac1340e • Antonio Scandurra • Jun 18, 2021

Implement Display for ConnectionId

7a66cd1ae1 • Max Brunsfeld • Jun 18, 2021

Add a name to EnvelopedMessage for logging purposes

cdfb33b283 • Max Brunsfeld • Jun 18, 2021

Add menu command to join worktree using URL on clipboard

7a88e44264 • Max Brunsfeld • Jun 18, 2021

Use strings for paths and buffer contents

3a78f053f6 • Max Brunsfeld • Jun 17, 2021

Replace POST /worktrees rest endpoint with GET /rpc-address

f4dccc5353 • Max Brunsfeld • Jun 17, 2021

Make TypedEnvelope fields public

2fd0f0be50 • Max Brunsfeld • Jun 17, 2021

Ignore message-handling error in disconnect unit test

a3c938cc77 • Max Brunsfeld • Jun 17, 2021

Don't generate bindgen layout tests

531443dc9c • Max Brunsfeld • Jun 17, 2021

Allow peers to receive individual messages before starting message loop

05a662b35e • Max Brunsfeld • Jun 17, 2021

Rename `handle_message` to `on_message`

4d28d03e3f • Antonio Scandurra • Jun 17, 2021

Move `handle_messages` into an extension method for `Arc<Peer>`

82ac7e2072 • Antonio Scandurra • Jun 17, 2021

Use an `i32` for user_id in RPC authentication message

d243395e06 • Antonio Scandurra • Jun 17, 2021

Fix termination of peer's incoming future

c5cec247c4 • Max Brunsfeld • Jun 17, 2021

Remove peer message listeners when their receiver is dropped

fb736d5e78 • Max Brunsfeld • Jun 17, 2021

Move `RpcClient` to `zed_rpc` and rename it to `Peer`

9de4d73ffb • Antonio Scandurra • Jun 16, 2021

Replace Request and Message with a single TypedEnvelope

5e4872fdf8 • Antonio Scandurra • Jun 16, 2021

Replace callback-based requests/messages with streams

8112efd522 • Antonio Scandurra • Jun 16, 2021

WIP - Allow RpcClient to register handlers for incoming messages

8b66e0aa7e • Max Brunsfeld • Jun 16, 2021

Remove gpui dependency from rpc_client

d3a3ad2820 • Max Brunsfeld • Jun 15, 2021

Allow RpcClient to encapsulate arbitrarily many connections

3db215418c • Max Brunsfeld • Jun 15, 2021

Flatten protobuf message namespace

e88f33851e • Max Brunsfeld • Jun 15, 2021

Start sharing paths with the server via RPC

546ce14cb9 • Antonio Scandurra • Jun 15, 2021

Simplify saving `RpcClient` by removing the generic connection param

cf67fc6589 • Antonio Scandurra • Jun 15, 2021

Move worktree sharing down into `Workspace`

3e391c0785 • Antonio Scandurra • Jun 15, 2021

Ensure that futures returns from `RpcClient` are 'static

7b96888ab1 • Antonio Scandurra • Jun 15, 2021

:lipstick:

04bf84af44 • Antonio Scandurra • Jun 15, 2021

Use an async `Mutex` to guard access to write stream in `RpcClient`

1d9cfe6b64 • Antonio Scandurra • Jun 15, 2021

Test `RpcClient::subscribe`

301531ae04 • Antonio Scandurra • Jun 15, 2021