Commit Graph
39175 Commits
Author SHA1 Message Date
Julia 203d0b2770 Track buffer row divergence while iterating through diff lines
This allows for offsetting head row index of deleted lines to normalize
into buffer row space
2022-09-29 13:16:02 -04:00
Julia ddeb59c3f3 Use row range while building buffer range during diff line iteration 2022-09-29 13:16:02 -04:00
Julia a5e049ec09 Reorganize for for purely file level invalidation 2022-09-29 13:16:02 -04:00
Julia 9cb5f7e323 Clear out commented code & once again perform full file diff on update 2022-09-29 13:16:02 -04:00
Julia 984f7052b2 Handle deletions more robustly and correctly 2022-09-29 13:16:02 -04:00
Julia ba0108b6ba Small clean 2022-09-29 13:16:02 -04:00
Julia 440a9aab5e buffer_divergence doesn't seem to be a concept that needs to be tracked 2022-09-29 13:16:02 -04:00
Julia ecc700e9d0 Checkpoint preparing for a more organized approach to incremental diff 2022-09-29 13:16:02 -04:00
Julia eb8c304418 Move diff logic back into BufferDiff::update 2022-09-29 13:16:02 -04:00
JuliaandMax Brunsfeld 343a34df74 Switch head range from row range to byte offset range
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2022-09-29 13:16:02 -04:00
JuliaandMax Brunsfeld 60bff07555 Move cloneable diff state into new snapshot type
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2022-09-29 13:16:02 -04:00
Julia 1853e15a73 Checkpoint on incremental diff sumtree shenanigans 2022-09-29 13:16:02 -04:00
JuliaandMax Brunsfeld 26464ad25b Update git gutter status after debounced delay
Co-authored-by: Max Brunsfeld <max@zed.com>
2022-09-29 13:16:02 -04:00
Julia f116340818 Render deletion gutter markers 2022-09-29 13:16:02 -04:00
Julia d05e7a0b5b Correct start/end of git diff hunks 2022-09-29 13:16:02 -04:00
Julia a23c5ded3a Correct git gutter indicator scroll position & add rounded corner 2022-09-29 13:16:02 -04:00
JuliaandMax Brunsfeld 745b30e6e9 Start painting some sort of hunk info, it's wrong but it's close
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2022-09-29 13:16:01 -04:00
Julia 2da503a3d9 Start asking Editors to update git after a debounced delay 2022-09-29 13:16:01 -04:00
ForLoveOfCats d7fbe9b084 Load a file's head text on file load just to get started 2022-09-29 13:16:01 -04:00
Antonio ScandurraandNathan Sobo 100249e196 Encapsulate Room interaction within ActiveCall
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2022-09-29 17:39:53 +02:00
Antonio ScandurraandNathan Sobo ccea160994 Rename room crate to call
Also, rename `client::Call` to `client::IncomingCall`.

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2022-09-29 17:24:31 +02:00
Antonio Scandurra 366c7ac5d6 Wire up accepting/declining a call 2022-09-29 15:33:33 +02:00
Antonio Scandurra 55e22d331c Avoid using global for Room and extract that logic into ActiveCall 2022-09-29 10:48:51 +02:00
Max Brunsfeld 82b450a31a Merge pull request #1668 from zed-industries/telemetry-fixes
Telemetry fixes
2022-09-28 17:47:08 -07:00
Max Brunsfeld d5aa740c7b Remove TestTelemetry command 2022-09-28 15:50:17 -07:00
Max Brunsfeld 1ee06123fd Set minimum user id length in amplitude calls 2022-09-28 15:21:49 -07:00
Max Brunsfeld 922aef8342 0.56.0 2022-09-28 14:16:35 -07:00
Joseph T Lyons 7267dc16c2 Remove "get" prefix from function names 2022-09-28 17:07:11 -04:00
Joseph T Lyons e696ffcd2b Add descriptions to journal settings 2022-09-28 16:52:15 -04:00
Max Brunsfeld be3f274785 Make Buffer::language_at fall back to Buffer::language
For languages with no grammar (plain text), there
will be no layers.
2022-09-28 13:38:54 -07:00
Joseph T Lyons 52b1f60b87 Initial work to add settings to journal feature 2022-09-28 16:25:37 -04:00
Nate Butler b4f0e6c96a Update projectPanel.ts 2022-09-28 16:04:15 -04:00
Nate Butler 36ddac2335 WIP 2022-09-28 16:03:00 -04:00
Nate Butler f54299ad95 Style tab bar 2022-09-28 15:53:06 -04:00
Max Brunsfeld 88dce8c130 Update EditorTestContext usage to reflect new synchronous constructor 2022-09-28 12:36:55 -07:00
Max Brunsfeld 9caf8888ae Restructure autoclosing to account for multi-language documents 2022-09-28 12:32:04 -07:00
Max BrunsfeldandJulia Risley 09e9b4e1a1 Add Buffer::language_at, update MultiBuffer to use it
Co-authored-by: Julia Risley <floc@unpromptedtirade.com>
2022-09-28 12:32:04 -07:00
Max Brunsfeld 6352d3093e Add basic syntax highlighting for CSS 2022-09-28 12:32:04 -07:00
Max Brunsfeld 28356223a5 Tweak HTML indents and highlights 2022-09-28 12:32:04 -07:00
Max Brunsfeld 256f64680d Add JavaScript language injection in HTML 2022-09-28 12:32:04 -07:00
Isaac Clayton 24e3883631 Basic html highlighting + lsp support 2022-09-28 12:32:04 -07:00
Antonio ScandurraandNathan Sobo 913ba66cae WIP: Start on ActiveCall
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2022-09-28 19:50:13 +02:00
Antonio ScandurraandNathan Sobo 06716d447f Open popup window when receiving a call
We still need to style and allow people to accept the call but this
is a good starting point.

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2022-09-28 19:35:24 +02:00
Antonio ScandurraandNathan Sobo 1a2b18d9aa Rename collab_titlebar_item crate to collab_ui
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2022-09-28 19:14:31 +02:00
Max Brunsfeld 76b04b8373 Merge pull request #1635 from zed-industries/new-signup-flow
Implement APIs for new signup flow
2022-09-28 10:08:12 -07:00
Nathan SoboandAntonio Scandurra f3c58bd213 Start a call when clicking on a contact in the contacts popover
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
2022-09-28 11:02:26 -06:00
Nate Butler c3dcf3474d WIP Titlebar styling 2022-09-28 13:01:12 -04:00
Nathan SoboandAntonio Scandurra 8c854e51a8 Rename AddParticipantPopover to ContactsPopover
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
2022-09-28 09:10:01 -06:00
Nathan SoboandAntonio Scandurra 444d92870d Remove contacts menu bar extra
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
2022-09-28 09:06:28 -06:00
2af7f27c3f Remove current user from contacts
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2022-09-28 11:33:38 +02:00