Commit Graph
39175 Commits
Author SHA1 Message Date
Antonio Scandurra d212d37a65 Fix syntax error in schema 2022-11-15 18:02:07 +01:00
Antonio Scandurra 0de552ae98 Always use the database to retrieve collaborators for a project 2022-11-15 17:49:37 +01:00
Antonio Scandurra 2521e230cd Move Store::update_worktree to Db::update_worktree 2022-11-15 17:18:28 +01:00
Antonio ScandurraandNathan Sobo bf3e4936b5 Always use strings to represent paths over the wire
Previously, the protocol used a mix of strings and bytes without any consistency.

When we go to multiple platforms, we won't be able to mix encodings of paths anyway.
We don't know this is the right approach, but it at least makes things consistent
and easy to read in the database, on the wire, etc. Really, we should be using entry
ids etc to refer to entries on the wire anyway, but there's a chance this is the
wrong decision.

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2022-11-15 16:46:17 +01:00
Antonio ScandurraandNathan Sobo ae2c64f47f Move Store::join_project to Db::join_project
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2022-11-15 16:37:51 +01:00
Antonio Scandurra c05e029a58 Start reworking join_project to use the database 2022-11-15 11:44:26 +01:00
Antonio Scandurra 93732c35a6 Determine whether a contact is busy via the database 2022-11-15 10:41:21 +01:00
Antonio Scandurra 2de5763d4d Finish implementing Db::update_project 2022-11-15 09:01:51 +01:00
Antonio Scandurra 142a91677a Add random delay after returning results from the database 2022-11-15 08:48:16 +01:00
Max Brunsfeld 392cf29a7b Merge pull request #1863 from zed-industries/erb
Add support for ERB
2022-11-14 16:59:51 -08:00
Max Brunsfeld b395c72047 Use a longer example text in random combined injections test 2022-11-14 16:56:21 -08:00
Max Brunsfeld d2b0487603 Bump tree-sitter after merging included-ranges PR 2022-11-14 16:56:09 -08:00
Max BrunsfeldandNate Butler a907ada44e Fix compile errors in seed script, ensure it is compiled on CI
Co-authored-by: Nate Butler <nate@zed.dev>
2022-11-14 11:12:25 -08:00
Antonio ScandurraandNathan Sobo e23a19eed3 Switch to serializable isolation
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2022-11-14 19:39:12 +01:00
Mikayla Maki d7bd0cf093 Merge pull request #1889 from zed-industries/terminal-bugs
Refactored rendering to squash all wakeups into 1
2022-11-14 10:29:00 -08:00
Mikayla Maki c810e1eb3b Refactored rendering to squash all wakeups into 1 2022-11-14 10:20:55 -08:00
Kay Simmons 004391a4d9 Merge pull request #1873 from zed-industries/drag-project-entry-to-pane
Drag and Drop Project Entries Between Folders
2022-11-14 09:55:56 -08:00
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
Max Brunsfeld 3c6eb78aa0 Bump tree-sitter for included range bugfix 2022-11-11 16:36:04 -08:00
Julia 692118ad23 Merge pull request #1875 from zed-industries/fix-code-actions-regression
Use `EMPTY` code action kind to get more RA actions without breaking TS
2022-11-11 15:34:40 -05: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 47c7f38759 Merge pull request #1874 from zed-industries/propagate-mouse-up-through-drop-receiver
Propagate mouse up event through drop receiver in early return
2022-11-11 14:05:07 -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 10929aa292 Merge pull request #1872 from zed-industries/tests-use-real-db
Run integration tests with an in-memory sqlite database instead of a hand-coded fake database
2022-11-10 15:15:52 -08:00
Max Brunsfeld 9180110748 Use upstream sqlx git repository 2022-11-10 15:13:32 -08:00