Commit log
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
3e391c0
Move worktree sharing down into `Workspace`
Click to expand commit body
This will make it easier to pick a worktree and give it an `RpcClient`.
Antonio Scandurra
created
4 years ago
7b96888
Ensure that futures returns from `RpcClient` are 'static
Antonio Scandurra
created
4 years ago
Antonio Scandurra
created
4 years ago
1d9cfe6
Use an async `Mutex` to guard access to write stream in `RpcClient`
Antonio Scandurra
created
4 years ago
301531a
Test `RpcClient::subscribe`
Antonio Scandurra
created
4 years ago
1c597ed
Report io errors when sending payloads for RpcClient methods
Click to expand commit body
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Max Brunsfeld
and
Antonio Scandurra
created
4 years ago
a87d4db
Change `RpcClient` methods to take shared references
Click to expand commit body
This will make it easier to spawn a future on gpui's executors
when calling `RpcClient` methods.
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra
and
Max Brunsfeld
created
4 years ago
e551894
Add `RpcClient::subscribe`
Click to expand commit body
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra
and
Max Brunsfeld
created
4 years ago
cd1a4c4
Use a fixed-length delimiter for encoding/decoding messages in RPC
Click to expand commit body
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra
and
Max Brunsfeld
created
4 years ago
0ddbe0c
Make drop test more reliable
Antonio Scandurra
created
4 years ago
8e3f40b
Close connection when `RpcClient` is dropped and add unit tests
Antonio Scandurra
created
4 years ago
b2b1ce5
Start work on RpcClient
Max Brunsfeld
created
4 years ago
86ff599
Use tiny_http for handling login HTTP request
Click to expand commit body
Our manual HTTP parsing and encoding was not working with Safari.
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Max Brunsfeld
and
Antonio Scandurra
created
4 years ago
71d64a8
Avoid crash when user denies keychain access
Click to expand commit body
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Max Brunsfeld
and
Antonio Scandurra
created
4 years ago
4efebda
Switch `CreateWorktreeResponse::worktree_id` to be a `i32`
Click to expand commit body
Apparently all IDs in `sqlx` on the server are represented as i32s.
Antonio Scandurra
created
4 years ago
ba29b1d
Merge pull request #88 from zed-industries/seek-start
Click to expand commit body
Introduce `Cursor::seek_start` and `Cursor::seek_end`
Antonio Scandurra
created
4 years ago
bd0a807
Merge pull request #84 from zed-industries/new-workspace
Click to expand commit body
Open a new workspace on File > New if none exists
Antonio Scandurra
created
4 years ago
20542f5
Start work on connecting to RPC endpoint
Click to expand commit body
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Max Brunsfeld
and
Antonio Scandurra
created
4 years ago
e897d1c
Update collaboration doc
Click to expand commit body
Add some diagrams
Max Brunsfeld
created
4 years ago
742241a
Rename `Cursor::{start,end}` to `Cursor::{sum_start,sum_end}`
Antonio Scandurra
created
4 years ago
dc2805b
Add `Cursor::seek_end` and audit the codebase to use `seek_start` more
Antonio Scandurra
created
4 years ago
f294bfd
Introduce `Cursor::seek_start` to compute `VersionedOffset` once
Antonio Scandurra
created
4 years ago
9c5c9fd
Add initial messages for setting up a worktree share
Max Brunsfeld
created
4 years ago
66c76d5
Test creating a new empty workspace and fix test compile errors
Nathan Sobo
created
4 years ago
b5cb41c
Open a new workspace on File > New if none exists
Nathan Sobo
created
4 years ago
a10f4bb
Introduce zed_rpc::proto module containing protobuf stream logic
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
71f50ce
Restore random edits in test to 5
Antonio Scandurra
created
4 years ago
de803a6
Merge pull request #82 from zed-industries/faster-undo
Click to expand commit body
Batch undo
Antonio Scandurra
created
4 years ago
ee52a5d
Store credentials in the keychain on login
Max Brunsfeld
created
4 years ago
5673f11
Add a platform API for accessing the keychain
Max Brunsfeld
created
4 years ago
3214fef
Ensure that base64 token values are URL-safe
Max Brunsfeld
created
4 years ago
327c205
Introduce zed-rpc with some shared auth utilities
Max Brunsfeld
created
4 years ago
072a575
Delete leftover test
Antonio Scandurra
created
4 years ago
467e1a4
Restore `History::group`
Antonio Scandurra
created
4 years ago
98ea7b3
Batch edits contained in undo operations
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
db3e01a
Start work on a login command
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
3a932cc
Rename MainThreadPlatform to ForegroundPlatform and fix crash on quit
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
Page 15 of 31