Commit Graph
11144 Commits
Author SHA1 Message Date
Antonio Scandurra db82b434c3 Implement db2::Database::fuzzy_search_users 2022-12-01 10:09:53 +01:00
Julia 1aaf00c7ee Avoid moving tab when leader item updates 2022-12-01 00:29:58 -05:00
Max Brunsfeld 03a109cc57 collab 0.2.5 2022-11-30 14:10:10 -08:00
Max Brunsfeld 336cd58526 Replicate multibuffer excerpt additions and removals to followers 2022-11-30 13:20:13 -08:00
Julia 5281f7c491 Merge pull request #1922 from zed-industries/dont-panic-clip-instead
Dont panic in point conversion, clip instead
2022-11-30 13:28:10 -05:00
JuliaandMax Brunsfeld 7f8aecd8f1 Style
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2022-11-30 13:11:08 -05:00
JuliaandMax Brunsfeld 8a7d081b89 Change verify macro to debug panic
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2022-11-30 13:03:15 -05:00
Julia a910ed490d Don't panic rope point conversions 2022-11-30 12:43:43 -05:00
Julia df65473139 Add verify macros & use in one location for point conversion 2022-11-30 12:43:43 -05:00
Max Brunsfeld 798eb76f26 Start-local-collaboration script: put peers' windows at different positions 2022-11-30 09:29:49 -08:00
Antonio Scandurra 5baeeb1c0d Implement db2::Database::remove_contact 2022-11-30 17:39:17 +01:00
Antonio ScandurraandNathan Sobo 2df67f29e3 Implement contacts using sea-orm
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2022-11-30 17:36:25 +01:00
Antonio Scandurra e00428b0c6 Implement db2::Database::get_user_metrics_id 2022-11-30 15:06:04 +01:00
Antonio Scandurra e188730546 Implement access tokens using sea-orm 2022-11-30 14:47:03 +01:00
Antonio Scandurra ff9624e7e6 Implement db2::Database::get_user_by_github_account 2022-11-30 14:18:46 +01:00
Antonio Scandurra 9d0b5851a3 Make some db tests pass against the new sea-orm implementation 2022-11-30 12:13:16 +01:00
Joseph T. Lyons 3d71b3760d Merge pull request #1913 from zed-industries/Add-column-to-signups-for-added-to-mailing-list
Add "added_to_mailing_list" column on signups table
2022-11-29 19:30:11 -05:00
Max Brunsfeld ce0c9a8dd4 Start work on following in multi-buffers 2022-11-29 14:50:43 -08:00
Max Brunsfeld 7991518390 Add start-local-collaboration script 2022-11-29 14:50:12 -08:00
Joseph T. Lyons d7fbd08a75 Merge pull request #1920 from zed-industries/order-invites-by-creation-time
Order invites by creation time
2022-11-29 14:28:53 -05:00
e7312c80bf WIP: move to a non-generic test database struct
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
Co-Authored-By: Julia Risley <julia@zed.dev>
2022-11-29 19:20:11 +01:00
Joseph Lyons d48d244af4 Order invites by creation time 2022-11-29 12:57:51 -05:00
Antonio Scandurra fdbb4bb974 Start on a new db2 module that uses SeaORM 2022-11-29 16:49:04 +01:00
Antonio Scandurra 0ad040f4d2 Start moving towards using sea-query to construct queries 2022-11-29 13:55:08 +01:00
Antonio Scandurra c6227a0fb2 Increase probability of creating new files in randomized test 2022-11-29 11:02:14 +01:00
Joseph Lyons ccca00344b Add "added_to_mailing_list" column on signups table 2022-11-29 02:13:13 -05:00
Joseph T. Lyons 8054a8bb9e Merge pull request #1918 from zed-industries/remove-sign-in-telemetry-event
Remove sign in telemetry event
2022-11-29 01:59:33 -05:00
Max Brunsfeld 80f0d19ed7 Send full multibuffer anchors to following peers 2022-11-28 18:00:38 -08:00
Max Brunsfeld 6d9d5f0c52 Emit events from a multibuffer when adding/removing excerpts 2022-11-28 17:57:55 -08:00
Joseph Lyons 974ddd27d6 Remove sign in telemetry event 2022-11-28 18:56:27 -05:00
Max Brunsfeld c035114c43 Merge pull request #1917 from zed-industries/integer-excerpt-ids
Use integers for excerpt ids, map them to locators internally
2022-11-28 14:27:35 -08:00
Max Brunsfeld 38699bcbb0 Implement Copy for multibuffer anchors 2022-11-28 14:18:49 -08:00
Max Brunsfeld 883d683ee8 Add a layer of indirection between excerpt ids and locators 2022-11-28 14:18:49 -08:00
Antonio Scandurra 871add9d65 Capture runnable backtraces only when detecting nondeterminism 2022-11-28 19:35:33 +01:00
Antonio Scandurra 3c4a8b6c01 Error if project is disconnected after getting completions response 2022-11-28 19:19:24 +01:00
Antonio Scandurra 7d91ae8d03 Introduce a new detect_nondeterminism = true attribute to gpui::test 2022-11-28 19:01:28 +01:00
Antonio Scandurra 59fe86d036 Remove non-determinism caused by random entropy when reconnecting 2022-11-28 18:56:11 +01:00
Antonio Scandurra 0791ac42e9 💄 2022-11-28 17:44:18 +01:00
Antonio Scandurra ccc0539843 Return error when waiting on a worktree snapshot after disconnecting 2022-11-28 17:43:40 +01:00
Antonio Scandurra 68a40f777c Introduce per-room lock acquired before committing a transaction 2022-11-28 17:00:47 +01:00
Antonio Scandurra 655567c0ab Error if project is disconnected after getting code actions response 2022-11-28 15:05:34 +01:00
Antonio Scandurra 8a734a408c After completing LSP request, return an error if guest is disconnected 2022-11-28 14:39:27 +01:00
Antonio Scandurra 810bb99fa1 Fix integration test incorrectly assuming a certain ordering 2022-11-28 13:57:15 +01:00
Antonio Scandurra 7b4e4474ee Check the correct serialization failure code when retrying transaction 2022-11-28 13:56:03 +01:00
Max Brunsfeld e16439ad2b Merge pull request #1912 from zed-industries/matching-brackets-must-contain-range
Fix enclosing-bracket bug that appeared in JS for loops
2022-11-23 13:44:48 -08:00
Max Brunsfeld 2c14c1a0ce Fix enclosing-bracket bug that appeared in JS for loops
Previously, we were relying on the tree-sitter query's range restriction to
avoid returning brackets that did not contain the given range. But the
query's range restriction only guarantees that we don't descend into parent
nodes unless they intersect the range.
2022-11-23 13:37:22 -08:00
Julia d854ed5246 Merge pull request #1910 from zed-industries/lsp-coordinate-clamp
Don't trust LSP coordinates to be within document bounds
2022-11-23 14:07:37 -05:00
Julia d10f0cc977 Move Unclipped into separate file 2022-11-23 14:02:11 -05:00
JuliaandMax Brunsfeld 9206dd5461 Remove spurious lifetimes
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2022-11-23 13:52:39 -05:00
JuliaandMax Brunsfeld 399af478fc Consistency in prefix/suffix/signature of UTF16 point to point conversion
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2022-11-23 13:52:18 -05:00