Commit Graph
31406 Commits
Author SHA1 Message Date
Antonio Scandurra 75dcc65ac9 Skip applying room updates if they're older than the local room state 2022-11-14 15:35:39 +01:00
Antonio Scandurra 05b8ba4fd0 Wait for acknowledgment before sending the next project update 2022-11-14 15:32:49 +01:00
Antonio Scandurra b53f82ab29 Automatically decline call when user drops their last connection 2022-11-14 11:32:26 +01:00
Antonio Scandurra 4077b94609 Implement Db::cancel_call 2022-11-14 11:12:23 +01:00
Antonio Scandurra 184d5ca6a8 Fix query errors in Db::share_project 2022-11-14 10:53:11 +01:00
Antonio Scandurra 1f0709bbef Leave room when connection is dropped 2022-11-14 10:13:36 +01:00
Joseph Lyons 05461d3f7b Update release urls to match new zed.dev url format 2022-11-12 21:39:08 -05:00
Max Brunsfeld 7e96dddb53 SyntaxMap - Don't ignore deletions at the boundaries of layers 2022-11-11 16:43:57 -08:00
Julia b3a73ae0f9 Use EMPTY code action kind to get more RA actions without breaking TS 2022-11-11 15:26:12 -05:00
Julia 9642106243 Propagate mouse up event through drop receiver in early return 2022-11-11 14:00:01 -05:00
Antonio Scandurra ae0252166b WIP 2022-11-11 19:36:20 +01:00
Antonio Scandurra 86271d9696 Remove stray log statement 2022-11-11 18:54:08 +01:00
Antonio Scandurra 2c71132d69 Get basic calls test passing again 2022-11-11 18:53:23 +01:00
Antonio Scandurra fb3b16917b WIP: Move Store::leave_room to Db::leave_room 2022-11-11 16:59:54 +01:00
Julia 3c48d9b6d9 Merge pull request #1871 from zed-industries/skip-additional-edit-within-primary
Skip LSP additional completion edits which fall within primary edit
2022-11-11 10:31:41 -05:00
Antonio Scandurra 2026f33494 Merge pull request #1870 from zed-industries/fix-remote-abs-paths
Fix bug where absolute paths of worktrees were not being stored on the server
2022-11-11 15:28:17 +00:00
Julia 0c906ab7de Test for filtering out of faulty LSP completion additional edits 2022-11-11 10:28:07 -05:00
Antonio Scandurra d55e420826 Move Store::decline_call to Db::decline_call 2022-11-11 15:41:56 +01:00
Antonio Scandurra 6406495a37 Remove calls table and use just room_participants 2022-11-11 15:22:04 +01:00
Antonio Scandurra 4bf9d978c7 Move Store::join_room into Db::join_room 2022-11-11 14:43:40 +01:00
Antonio Scandurra 564fa23533 Move incoming calls into Db 2022-11-11 14:28:26 +01:00
Antonio Scandurra 01127d8733 Start moving Store state into the database 2022-11-11 12:06:43 +01:00
Antonio Scandurra 2fb821b000 Include sender_user_id when handling a server message/request 2022-11-11 11:45:58 +01:00
Antonio Scandurra b192ea2bc8 Add schema for reconnection support 2022-11-11 10:41:44 +01:00
Kay Simmons 06ed936ac9 Allow dragging and dropping project entries 2022-11-10 20:43:55 -08:00
Kay Simmons c70520c64e Merge pull request #1867 from zed-industries/drag-project-entry-to-pane
Drag project entry to pane
2022-11-10 17:25:22 -08:00
Max Brunsfeld 791142ab59 Fix boundary condition where injection was not found after an edit 2022-11-10 17:04:40 -08:00
Julia 520164c3f7 Skip additional completions on any kind of overlap with primary edit 2022-11-10 18:53:37 -05:00
Max Brunsfeld 9180110748 Use upstream sqlx git repository 2022-11-10 15:13:32 -08:00
Max Brunsfeld a9cdf4201a Add missing cfg(test) attribute to sqlite RowsAffected 2022-11-10 15:04:57 -08:00
Max Brunsfeld 4f85bfa67e Use our fork of sqlx, for now 2022-11-10 14:58:05 -08:00
Max Brunsfeld 0b151b9be3 Run db tests against both postgres and sqlite 2022-11-10 14:29:03 -08:00
Julia 64db69ffbd Skip LSP additional completion edits which fall within primary edit 2022-11-10 15:28:11 -05:00
Max Brunsfeld 3ceec3f9e0 Run tests with an in-memory sqlite database 2022-11-10 12:18:35 -08:00
Max BrunsfeldandAntonio Scandurra 1a3ad561a0 Get integration tests passing with sqlite
Co-authored-by: Antonio Scandurra <antonio@zed.dev>
2022-11-10 11:03:52 -08:00
Nathan SoboandAntonio Scandurra 3f014714ab Store absolute path on server when sharing worktree
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
2022-11-10 09:34:16 -07:00
Nathan SoboandAntonio Scandurra 4be3276806 Avoid unwrapping when computing tab description
A bug caused the assumptions of this method to be violated. We will fix that in the next commit, but we want to be more conservative in our assumptions here going forward.

Co-Authored-By: Antonio Scandurra <me@as-cii.com>
2022-11-10 09:33:57 -07:00
Antonio Scandurra 102ed99c55 Go back to a compiling state and start running tests again 2022-11-10 15:24:49 +01:00
Antonio Scandurra 5e5ab4caae WIP: add more trait bounds 2022-11-10 12:24:56 +01:00
Max Brunsfeld 737a72c4ae Total WIP - try making Db a generic struct instead of a trait 2022-11-09 19:28:06 -08:00
Max Brunsfeld 3644a1d2d3 Start work on using sqlite in tests 2022-11-09 19:26:29 -08:00
Max BrunsfeldandNathan Sobo 96a79d3f1b Use a real database in tests, but block on db calls
Co-authored-by: Nathan Sobo <nathan@zed.dev>
2022-11-09 15:22:50 -08:00
Max Brunsfeld 5355c878d8 v0.65.x dev 2022-11-09 13:18:23 -08:00
Julia 49de1f0960 Merge pull request #1865 from zed-industries/do-not-restrict-code-action-kinds
Don't restrict which kind of code actions we ask the LSP server for
2022-11-09 09:49:47 -05:00
Kay Simmons 562b06d3fb Merge pull request #1866 from zed-industries/tweak-restart-zed-message
Remove restart to update zed icon
2022-11-08 14:38:10 -08:00
Kay Simmons 28da07351d remove unused comment 2022-11-08 14:26:55 -08:00
Kay Simmons 284085a947 remove dead comment 2022-11-08 14:24:51 -08:00
Kay Simmons 023ac8d7a6 remove restart to update zed icon because it clashes with the no diagnostics icon 2022-11-08 14:22:11 -08:00
Kay Simmons 249df2495a Split and move to pane working 2022-11-08 14:19:31 -08:00
Julia 80d37abc5d Don't restrict which kind of code actions we ask the LSP server for 2022-11-08 16:23:31 -05:00