Commit log
6a16655
Add public method for connecting to RPC server with a given address
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
54c4b31
Fix last usage of App::test_async in one test
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
efc8bc3
Add a test-support feature flag that enables compilation of zed::test module
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
a57cb2b
Add a public gpui::TestAppContext::new method
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
f1587fb
Make `replica_id` optional in `OpenWorktreeResponse`
Antonio Scandurra
created
4 years ago
02321af
Respond to `proto::OpenBuffer` requests
Antonio Scandurra
created
4 years ago
c5e08b6
Eagerly update worktree entries when saving
Click to expand commit body
Don't use ModelHandles for storing Files.
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
dc8e216
WIP - Maintain a set of open buffers on a LocalWorktree
Max Brunsfeld
created
4 years ago
a364839
Replace FileHandle with File entity that subscribes to Worktree update events
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
cabf6b1
Emit a diff event when worktree's snapshot is updated
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
8ae5c0d
Implement worktree::Snapshot::diff
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
1364ba6
Allow async background work when polling worktree background snapshot
Click to expand commit body
This prepares us to perform a diff against the previous snapshot before installing a new worktree snapshot on the foreground thread.
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
986afd2
Remove other_mount_paths
Click to expand commit body
We only needed this when we relied on inodes for file identity, which we no longer attempt to do.
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
Antonio Scandurra
created
4 years ago
7489e86
Fix deadlock when comparing `FileHandle`s when handles are the same
Antonio Scandurra
created
4 years ago
95024c6
Put back `worktree_id` in `CloseFile` and `OpenBuffer` messages
Antonio Scandurra
created
4 years ago
2905ce3
WIP: Load remote history
Antonio Scandurra
created
4 years ago
f4d6fbe
Issue only one `OpenFile` and `CloseFile` request per handle
Antonio Scandurra
created
4 years ago
96c118b
Stub in more logic for open_file and close_file
Max Brunsfeld
created
4 years ago
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
bfccb17
Update prost to include our changes
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
a2a6d67
Start work on implementing ::file on remote WorktreeHandles
Max Brunsfeld
created
4 years ago
Antonio Scandurra
created
4 years ago
89d2545
Add worktree to workspace when joining a remote worktree
Antonio Scandurra
created
4 years ago
79cac13
Replace `Worktree` with an enum
Click to expand commit body
For now this enum only contains a `Local` variant, but the next step is
to add a `Remote` variant that will be constructed when joining a remote
worktree.
Antonio Scandurra
created
4 years ago
7a66cd1
Implement Display for ConnectionId
Max Brunsfeld
created
4 years ago
cdfb33b
Add a name to EnvelopedMessage for logging purposes
Max Brunsfeld
created
4 years ago
7a88e44
Add menu command to join worktree using URL on clipboard
Click to expand commit body
Introduce rpc::Client struct that wraps zed_rpc::Peer
Max Brunsfeld
created
4 years ago
3a78f05
Use strings for paths and buffer contents
Max Brunsfeld
created
4 years ago
f4dccc5
Replace POST /worktrees rest endpoint with GET /rpc-address
Click to expand commit body
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Max Brunsfeld
and
Antonio Scandurra
created
4 years ago
2fd0f0b
Make TypedEnvelope fields public
Max Brunsfeld
created
4 years ago
a3c938c
Ignore message-handling error in disconnect unit test
Max Brunsfeld
created
4 years ago
531443d
Don't generate bindgen layout tests
Max Brunsfeld
created
4 years ago
05a662b
Allow peers to receive individual messages before starting message loop
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
4d28d03
Rename `handle_message` to `on_message`
Antonio Scandurra
created
4 years ago
82ac7e2
Move `handle_messages` into an extension method for `Arc<Peer>`
Antonio Scandurra
created
4 years ago
d243395
Use an `i32` for user_id in RPC authentication message
Antonio Scandurra
created
4 years ago
c5cec24
Fix termination of peer's incoming future
Click to expand commit body
* Re-enable peer tests
* Enhance request/response unit test to exercise
peers interacting with each other end-to-end
Max Brunsfeld
created
4 years ago
fb736d5
Remove peer message listeners when their receiver is dropped
Max Brunsfeld
created
4 years ago
9de4d73
Move `RpcClient` to `zed_rpc` and rename it to `Peer`
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
5e4872f
Replace Request and Message with a single TypedEnvelope
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
8112efd
Replace callback-based requests/messages with streams
Antonio Scandurra
created
4 years ago
8b66e0a
WIP - Allow RpcClient to register handlers for incoming messages
Max Brunsfeld
created
4 years ago
d3a3ad2
Remove gpui dependency from rpc_client
Click to expand commit body
Also, avoid any contention between connections.
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
3db2154
Allow RpcClient to encapsulate arbitrarily many connections
Max Brunsfeld
created
4 years ago
e88f338
Flatten protobuf message namespace
Click to expand commit body
* Remove `FromClient`/`FromServer` distinction.
* Remove `subscribe` concept - clients will need to handle
unprompted messages from the server.
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
3889107
Merge pull request #91 from zed-industries/fix-save
Click to expand commit body
Ensure all bytes are written when saving a buffer
Max Brunsfeld
created
4 years ago
37cc1e8
Ensure all bytes are written when saving a buffer
Antonio Scandurra
created
4 years ago
546ce14
Start sharing paths with the server via RPC
Antonio Scandurra
created
4 years ago
cf67fc6
Simplify saving `RpcClient` by removing the generic connection param
Antonio Scandurra
created
4 years ago
Page 12 of 28