Commit log
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
7b96888
Ensure that futures returns from `RpcClient` are 'static
Antonio Scandurra
created
Antonio Scandurra
created
1d9cfe6
Use an async `Mutex` to guard access to write stream in `RpcClient`
Antonio Scandurra
created
301531a
Test `RpcClient::subscribe`
Antonio Scandurra
created
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
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
e551894
Add `RpcClient::subscribe`
Click to expand commit body
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra
and
Max Brunsfeld
created
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
0ddbe0c
Make drop test more reliable
Antonio Scandurra
created
8e3f40b
Close connection when `RpcClient` is dropped and add unit tests
Antonio Scandurra
created
b2b1ce5
Start work on RpcClient
Max Brunsfeld
created
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
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
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
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
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
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
e897d1c
Update collaboration doc
Click to expand commit body
Add some diagrams
Max Brunsfeld
created
742241a
Rename `Cursor::{start,end}` to `Cursor::{sum_start,sum_end}`
Antonio Scandurra
created
dc2805b
Add `Cursor::seek_end` and audit the codebase to use `seek_start` more
Antonio Scandurra
created
f294bfd
Introduce `Cursor::seek_start` to compute `VersionedOffset` once
Antonio Scandurra
created
9c5c9fd
Add initial messages for setting up a worktree share
Max Brunsfeld
created
66c76d5
Test creating a new empty workspace and fix test compile errors
Nathan Sobo
created
b5cb41c
Open a new workspace on File > New if none exists
Nathan Sobo
created
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
71f50ce
Restore random edits in test to 5
Antonio Scandurra
created
de803a6
Merge pull request #82 from zed-industries/faster-undo
Click to expand commit body
Batch undo
Antonio Scandurra
created
ee52a5d
Store credentials in the keychain on login
Max Brunsfeld
created
5673f11
Add a platform API for accessing the keychain
Max Brunsfeld
created
3214fef
Ensure that base64 token values are URL-safe
Max Brunsfeld
created
327c205
Introduce zed-rpc with some shared auth utilities
Max Brunsfeld
created
072a575
Delete leftover test
Antonio Scandurra
created
467e1a4
Restore `History::group`
Antonio Scandurra
created
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
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
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
6daddf5
Allow platform references to be sent to background threads
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
ebbe517
Move path prompting methods to MainThreadPlatform
Click to expand commit body
They need to call back into the main thread, meaning the callbacks can't be Send + Sync.
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
7b98994
Rename PlatformLifecycle to MainThreadPlatform
Click to expand commit body
Don't love it, but at least it's accurate.
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
14b519f
Extract a platform::Lifecycle trait
Click to expand commit body
This will allow us to make platform::Platform be Send + Sync and keep the lifecycle on the main thread.
Nathan Sobo
created
748c101
Fix markdown formatting
Max Brunsfeld
created
2bf6fe7
Group only transactions that are temporally contiguous
Antonio Scandurra
created
1fe55d0
Speed up undoing multi-cursor changes
Antonio Scandurra
created
ad71e24
Add login notes to the collaboration plans doc
Max Brunsfeld
created
4a07e48
Merge pull request #81 from zed-industries/versioned-anchors
Click to expand commit body
Represent edit positions and anchors as versioned offsets
Max Brunsfeld
created
5d1afaf
Reduce `Fragment` size by not storing `ReplicaId` twice
Antonio Scandurra
created
8f8c6c8
Delete unused `Insertion` struct
Antonio Scandurra
created
125be2f
Save an allocation when editing locally
Antonio Scandurra
created
e071d40
Use a single `Bias` enum everywhere
Antonio Scandurra
created