Commit log

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

3b9d760 Add blanket implementation for (D1, D2) when they impl `Dimension`

Antonio Scandurra created

f016400 Remove `FullOffset`

Antonio Scandurra created

eaf0946 Remove commented out code

Antonio Scandurra created

ec07b8c Change fragment's visibility only if it was visible at a version

Antonio Scandurra created

9bf3038 Coalesce contiguous ranges when editing locally

Antonio Scandurra created

23c4621 Reenable undo/redo in randomized concurrent edit test

Click to expand commit body
Currently this fails

Max Brunsfeld created

de9626a Get random concurrent edits test passing, except for undo

Max Brunsfeld created

6f0ef36 Make SEED and ITERATIONS variables work independently

Click to expand commit body
This way, after finding one failure, you can still search for a
simpler failure by running another series of iterations starting
from the next seed.

Max Brunsfeld created

f6bb1a9 Implement Ord manually for time::Lamport

Max Brunsfeld created

33472eb Ensure fragments are only consumed once in apply_local_edit

Max Brunsfeld created

02e4745 Improve logging for randomized buffer test

Max Brunsfeld created

f101050 Create shorter Debug impls for clocks

Max Brunsfeld created

9a29f55 WIP: Re-implement apply_local_edit to look more like apply_remote_edit

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>

Antonio Scandurra , Nathan Sobo , and Max Brunsfeld created

72464a9 WIP: Start on `apply_remote_edit`

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

2ea8969 Add a simple unit test for applying remote edit operations

Max Brunsfeld created

6899424 Add custom error message for rope cursor slice precondition

Max Brunsfeld created

e021154 Add logging in random concurrent edits test

Max Brunsfeld created

bef93b3 Get undo/redo tests passing

Max Brunsfeld created

2c8d597 Add a hand-written error message for the `seek_internal` precondition

Max Brunsfeld created

01cfba0 Compute full ranges for edit operation inside of Buffer::splice_fragments

Max Brunsfeld created

657b0af Avoid unnecessarily adding internal summaries in Cursor::next

Max Brunsfeld created

d83a046 Avoid calling SumTree::extent in Cursor::suffix

Max Brunsfeld created