Commit Graph
39175 Commits
Author SHA1 Message Date
Julia 3ae3b2a83c Increment protocol version again for previous commit 2022-10-02 14:11:35 -04:00
Mikayla Maki bf215cf3c8 Added proto messages for updating the head text 2022-10-01 18:18:35 -07:00
Mikayla Maki cb189400a6 Touched up comments 2022-09-30 17:36:22 -07:00
Mikayla Maki ee8a275c60 Fixed 1 test 2022-09-30 17:34:14 -07:00
d2ac8018bb Refactored git repository code to seperate out repository entry tracking data and git2 mocking code.
Co-authored-by: Max <max@zed.dev>
Co-authored-by: Julia <julia@zed.dev>
2022-09-30 17:33:34 -07:00
c15e29be64 WIP Start refactoring separation of concerns for repo metadata
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2022-09-30 18:25:25 -04:00
Julia b754c2e663 Perform git diff on remote buffer open 2022-09-30 18:05:09 -04:00
484bdb0fc0 Start a test for remote git data updating
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2022-09-30 15:51:32 -04:00
Julia af5b1c1e3e Fix some panics in tests 2022-09-30 13:51:54 -04:00
19cd0dedb9 Use sumtree instead of iterator linear search for diff hunks in range
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2022-09-30 13:32:54 -04:00
Antonio Scandurra b05063b8a1 WIP: require sharing projects on a given Room 2022-09-30 18:21:47 +02:00
Julia 310975fcbc Fix test build 2022-09-30 11:13:22 -04:00
Antonio Scandurra 9d6f15cb60 Rip out project registration and use sharing/unsharing instead 2022-09-30 12:23:57 +02:00
Antonio Scandurra 0b6390b1a2 Remove project join requests 2022-09-30 11:35:50 +02:00
Antonio Scandurra 56c922c080 Merge pull request #1673 from zed-industries/fix-cgevent-memory-leak
Cache `CGEventSource` and avoid leaking `CGEvent` when handling events
2022-09-30 09:04:25 +01:00
Antonio Scandurra bd9db2e919 Cache CGEventSource and avoid leaking CGEvent when handling events 2022-09-30 09:51:03 +02:00
Max Brunsfeld 3eec42aa41 0.57.0 2022-09-29 16:47:20 -07:00
Max Brunsfeld e8132b0741 Merge pull request #1670 from zed-industries/metrics-id-uuid
Identify users in amplitude via a separate 'metrics_id' UUID
2022-09-29 15:53:15 -07:00
Max Brunsfeld fdc2db0a08 Fix FakeServer to expect new GetPrivateUserInfo request 2022-09-29 14:34:15 -07:00
Joseph T Lyons a750ebe868 Change journal location setting name to "path" and default to ~ 2022-09-29 17:12:57 -04:00
Max Brunsfeld 8cebb04a0f Identify users in amplitude via a separate 'metrics_id' UUID 2022-09-29 13:15:21 -07:00
Antonio ScandurraandNathan Sobo 5cf6e0728c Remove projects from contact updates
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2022-09-29 19:40:36 +02:00
Nate Butler dc465cb738 Fix illegible rename text 2022-09-29 13:28:31 -04:00
Julia 883465c016 Bump protocol version to be ahead of main 2022-09-29 13:16:02 -04:00
Julia d1a7dc02a2 Track index instead of head for diffs 2022-09-29 13:16:02 -04:00
Mikayla Maki 63747c8fee made git stuff slightly more themable 2022-09-29 13:16:02 -04:00
Nate Butler 1456445f2a wip 2022-09-29 13:16:02 -04:00
Nate Butler 22b1d0eae9 WIP Git gutter styling 2022-09-29 13:16:02 -04:00
Mikayla Maki 4398b2f9a4 Added test, and fix, for changed_repos method on LocalWorktree 2022-09-29 13:16:02 -04:00
Julia b1838a6a1d Don't pretend this is async 2022-09-29 13:16:02 -04:00
Mikayla Maki ab3f820edc WIP, re-doing fs and fake git repos 2022-09-29 13:16:02 -04:00
JuliaandMikayla Maki 1da2b63b97 Move git related things into specialized git crate
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2022-09-29 13:16:02 -04:00
Julia 5527234e06 Build again 2022-09-29 13:16:02 -04:00
JuliaandMikayla Maki 51d8a04748 WIP Notifying buffers of head text change
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2022-09-29 13:16:02 -04:00
JuliaandMikayla Maki 486156fd26 Update repo scan id when files under dot git dir events
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2022-09-29 13:16:02 -04:00
JuliaandMikayla Maki 74deb91776 Remove git repos from worktree when deleted on storage
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2022-09-29 13:16:02 -04:00
JuliaandMikayla Maki a40f477416 Find repos under worktree & return correct results for repo queries
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2022-09-29 13:16:02 -04:00
Mikayla Maki 0199141606 Get the test to failing,,, correctly 2022-09-29 13:16:02 -04:00
Mikayla Maki 2170499ac3 Added git repository type infrastructure and moved git file system stuff into fs abstraction so we can test without touching the file system. Co-Authored-By: kay@zed.dev 2022-09-29 13:16:02 -04:00
Mikayla Maki 5deb414296 WIP - max & mikayla working on tests 2022-09-29 13:16:02 -04:00
7a52a2dde5 WIP pls amend me
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2022-09-29 13:16:02 -04:00
8f5a2a7a4f Pull git indicator colors out of theme
Co-Authored-By: Kay Simmons <kay@zed.dev>
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2022-09-29 13:16:02 -04:00
JuliaandMikayla Maki 39789691d5 Utilize initial file contents as head text by default
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2022-09-29 13:16:02 -04:00
JuliaandMikayla Maki f53a544038 Avoid racing git diffs & allow for "as fast as possible" diff updating
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2022-09-29 13:16:02 -04:00
Julia 3eadb80c9a Fully qualify outside git-related code when a diff is a git diff 2022-09-29 13:16:02 -04:00
Julia f019cfc81d Async-ify head text loading 2022-09-29 13:16:02 -04:00
Julia 9d777c74f2 Perform initial file load git diff async 2022-09-29 13:16:02 -04:00
Julia 6d23cbedc2 Properly invalidate when async git diff completes 2022-09-29 13:16:02 -04:00
Julia 8c17183c5a Changed diffs to be async and dropped git delay 2022-09-29 13:16:02 -04:00
JuliaandMikayla Maki f5f3d18bdb Disable unnecessary libgit2 cargo features
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2022-09-29 13:16:02 -04:00