Commit Graph
6875 Commits
Author SHA1 Message Date
Mikayla Makiand cd84a3ee88 Refactored workspaces API and corrected method headers + fixed bug caused by migration failures
co-authored-by: kay@zed.dev
2022-12-03 16:04:10 -08:00
Mikayla Makiand 9551bebee2 Rebase - Got Zed compiling and fixed a build error due to conflicting dependencies that cargo didn't catch :(
Co-Authored-By: kay@zed.dev
2022-12-03 16:04:10 -08:00
Mikayla Maki 23af638ba8 WIP: fixing up behavior of workspace initialization 2022-12-03 16:04:10 -08:00
Mikayla Maki 656c5c6530 Figured out a good schema for the pane serialization stuff 2022-12-03 16:04:10 -08:00
Mikayla Maki cca47fa053 WIP: Writing tests 2022-12-03 16:04:10 -08:00
Mikayla Maki d603530edf added stubs for more tests 2022-12-03 16:04:10 -08:00
Mikayla Maki 6b2aa648af Tidied up code, managed errors, etc. 2022-12-03 16:04:10 -08:00
Mikayla Maki ad7dc9588e All workspace tests passing :D 2022-12-03 16:04:10 -08:00
Mikayla Maki 6126f2d1f6 Rebase - Successfully detecting workplace IDs :D 2022-12-03 16:04:10 -08:00
Mikayla Maki 256ac50057 Rebase fix + Started writing the real SQL we're going to need 2022-12-03 16:04:10 -08:00
K Simmons 0a387bc34c rebase fix - almost have serialize_workspace piped to the workspace constructor. Just a few compile errors left 2022-12-03 16:04:10 -08:00
K Simmons c42e629292 wip 2022-12-03 16:04:10 -08:00
K Simmons 7d11a3b37f WIP 2022-12-03 16:04:10 -08:00
Mikayla Makiand a611c97eea Built first draft of workspace serialization schemas, started writing DB tests
Co-Authored-By: kay@zed.dev
2022-12-03 16:04:10 -08:00
Mikayla Maki d7c7873bc2 Rebase fix - Reworking approach to sql for take 2022-12-03 16:04:10 -08:00
Mikayla Maki 20f13c46ce Fix rebase - Broken tab 2022-12-03 16:04:10 -08:00
Joseph T. Lyons f43498e6a0 Merge pull request #1876 from zed-industries/update-release-urls-to-match-new-zed.dev-url-format
Update release urls to match new zed.dev url format
2022-12-01 20:32:14 -05:00
Max Brunsfeld 03a109cc57 collab 0.2.5 2022-11-30 14:10:10 -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
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
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
Joseph Lyons d48d244af4 Order invites by creation time 2022-11-29 12:57:51 -05: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
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
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
Julia 10927128bd Bump protocol version back down as proto changes are non-breaking 2022-11-23 13:40:49 -05:00
JuliaandMax Brunsfeld 52be58fcb9 Collapse proto Point into the one kind of use case, utf-16 coords
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2022-11-23 13:28:44 -05:00
JuliaandMax Brunsfeld dde8f8e781 Clip diagnostic range before and during empty range expansion
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2022-11-23 13:21:05 -05:00
Max Brunsfeld a26cdaed4e v0.67.x dev 2022-11-23 09:56:06 -08:00
Julia 06895033f3 Fixup compile errors 2022-11-22 02:49:47 -05:00
Julia 475e37d4cf Wrap a bunch of traits for Unclipped<T> 2022-11-21 15:58:44 -05:00
JuliaandMax Brunsfeld 0b63261fb8 Start adding concept of Unclipped text coordinates
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2022-11-21 15:48:25 -05:00
Max Brunsfeld fcc8d52297 Merge pull request #1911 from zed-industries/single-file-worktree-event-extension
Fix file extension retrieval for single-file worktrees
2022-11-21 12:41:35 -08:00
Max Brunsfeld 4ea6ac1c42 Fix file extension retrieval for single-file worktrees
Previously, we used the file's 'path' method, which only returns the relative
path from the worktree root.
2022-11-21 12:34:36 -08:00
Julia c4eca8274a Rename clamped -> clipped 2022-11-21 15:23:00 -05:00
JuliaandMax Brunsfeld 3d1814a8c8 Simply logic of this method
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2022-11-21 14:25:01 -05:00
Julia 1ca040ee67 Clamp UTF-16 to point conversions 2022-11-21 14:25:01 -05:00