Commit Graph
591 Commits
Author SHA1 Message Date
Joseph Lyons 86d4586a7e In-app feedback WIP 2023-01-07 18:53:00 -05:00
Nathan Sobo e255eb74a0 Merge pull request #2011 from zed-industries/project-reconnection
Retain connection to remote projects when temporarily disconnected
2023-01-06 18:01:08 -07:00
Nathan Sobo 94bc34e332 Merge remote-tracking branch 'origin/main' into project-reconnection 2023-01-06 16:52:22 -07:00
Kay Simmons 4da1890a54 working f and t bindings 2023-01-06 14:24:20 -08:00
Nathan Sobo e3b9adc8f6 Update buffer files when synchronizing buffers
It's possible that the host was disconnected when attempting to notify
guests of a file save, so we need to transmit this in order to correctly
update the file's mtime.

Next failing seed OPERATIONS=200 SEED=6894
2023-01-04 12:33:48 -07:00
Joseph Lyons 61ef97a1d4 Rename variable 2022-12-29 13:43:56 -05:00
Joseph Lyons 1a53d673c9 Add close clean items command 2022-12-29 13:28:52 -05:00
Joseph Lyons adc5d4f2c8 Add close all items command 2022-12-29 01:43:49 -05:00
Joseph LyonsandMikayla Maki 2b1936e26d Factored data into a SystemSpecs struct
Co-Authored-By: Mikayla Maki <mikayla.c.maki@gmail.com>
2022-12-22 14:27:32 -05:00
Joseph Lyons 32ab66535d add command to copy system information to the clipboard 2022-12-22 03:43:04 -05:00
Julia 56a2ce7916 Format problematic DB macros 2022-12-19 11:11:10 -05:00
Kay Simmons 01965a898d Merge pull request #1972 from zed-industries/recent-workspace
Recent Project Picker
2022-12-16 15:51:57 -08:00
Kay Simmons 84cc21c659 Clear stale projects if they no longer exist 2022-12-16 15:45:17 -08:00
Max Brunsfeld e5718bced7 Identify LiveKit room participants by user id, not peer id
This way, their participant id can remain the same when they reconnect.
2022-12-15 17:19:32 -08:00
Antonio Scandurra e65429a22b 💄 2022-12-15 16:34:59 +01:00
Antonio Scandurra 7c312a10d9 Merge branch 'main' into fix-reconnects-after-deploy 2022-12-15 15:32:05 +01:00
Kay Simmons 9e5b4dce01 Add recent project picker 2022-12-14 15:59:50 -08:00
Max Brunsfeld a02df9136d Merge pull request #1921 from zed-industries/multibuffer-following
Allow following collaborators into editors with multi-excerpt buffers (refactors + find-all-refs)
2022-12-14 15:33:11 -08:00
Max Brunsfeld c5c2520d43 Introduce a ViewId message, identifying views across calls 2022-12-14 14:40:07 -08:00
Antonio Scandurra f7070792a9 Introduce an epoch to ConnectionId and PeerId 2022-12-14 15:55:56 +01:00
Mikayla Maki 6ff2538ffd Fix mis-set variables 2022-12-13 09:58:04 -08:00
Max Brunsfeld 267c632c8b Merge branch 'main' into multibuffer-following 2022-12-13 09:25:18 -08:00
Mikayla MakiandMax 1088cf54b4 Allow an empty center group to successfully deserialize into an empty pane.
Fix error when deserializing pane axis which caused it's members.len() > 1 invariant to be violated
Fix failure to gain center pane focus when failing to deserialize a center pane entirely

Co-authored-by: Max <max@zed.dev>
2022-12-12 17:51:16 -08:00
Mikayla MakiandMax 18db08aefb Fetch last workspace explicitly when starting Zed
co-authored-by: Max <max@zed.dev>
2022-12-12 13:29:18 -08:00
Mikayla Maki 6c9e2f3cf8 Add check for if the user wants a blanks workspace when deserializing 2022-12-12 12:25:52 -08:00
Max Brunsfeld 3eb2f901b0 Merge branch 'main' into multibuffer-following 2022-12-12 11:47:39 -08:00
Mikayla Maki 3f5f89e89d Updated is_child() to omit self 2022-12-09 12:07:49 -08:00
Mikayla Maki 8048428390 Fix infinite loop in dock position when deserializing 2022-12-09 11:50:24 -08:00
Mikayla Maki 76196726d0 Remove terminal container view, switch to notify errors 2022-12-08 20:21:00 -08:00
Kay Simmons acac7d292d Refactor editor scrolling and implement scroll commands from vim mode 2022-12-07 16:39:32 -08:00
Antonio Scandurra bda5b033a3 Fix warnings 2022-12-05 19:45:56 +01:00
Antonio Scandurra b5ede1d2d9 Merge branch 'main' into reconnections-2 2022-12-05 19:18:40 +01:00
Julia 46b5e02961 Merge pull request #1924 from zed-industries/simon-says-dont-move
Do not reorder tab opened by follower to end of item list
2022-12-04 13:00:07 -05:00
Mikayla Maki fd12a32b34 Added user notifications 2022-12-03 16:06:02 -08:00
Mikayla Maki 8cc8dfacd9 WIP fixing dock problems 2022-12-03 16:06:02 -08:00
Mikayla Makiand d6aaa8aca9 CHANGE LOCK TO NOT BE DROPPED INSTANTLY. DANG U RUST
co-authored-by: kay@zed.dev
2022-12-03 16:06:02 -08:00
Mikayla Makiand ca1166fac9 Reworked thread safe connection be threadsafer,,,, again
Co-Authored-By: kay@zed.dev
2022-12-03 16:06:02 -08:00
Mikayla Maki 9a0cbe00df Added side bar restoration 2022-12-03 16:06:02 -08:00
Kay Simmons c88ac9e771 Reactivate the correct item in each pane when deserializing 2022-12-03 16:06:01 -08:00
Kay Simmons 11c25ee936 Address some issues with the sqlez_macros 2022-12-03 16:06:01 -08:00
Kay SimmonsandMikayla Maki 22f44c8024 make thread safe connection more thread safe
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2022-12-03 16:06:01 -08:00
Kay SimmonsandMikayla Maki 18494210e5 Added sql! proc macro which checks syntax errors on sql code and displays them with reasonable underline locations
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2022-12-03 16:06:01 -08:00
Kay Simmons 6a3b636633 rename sql_method to query and adjust the syntax to more closely match function definitions 2022-12-03 16:06:01 -08:00
Kay Simmons 3c6dccdfa7 working serialized writes with panics on failure. Everything seems to be working 2022-12-03 16:06:01 -08:00
Mikayla Makiand 16654df419 Made dev tools not break everything about the db
Also improved multi statements to allow out of order parameter binding in statements
Ensured that all statements are run for maybe_row and single, and that of all statements only 1 of them returns only 1 row
Made bind and column calls add useful context to errors

Co-authored-by: kay@zed.dev
2022-12-03 16:06:01 -08:00
Mikayla Maki 28ea35bf9f Touched up sql macro 2022-12-03 16:06:01 -08:00
Mikayla Maki 3a5f46ea21 Fixed workspace tests 2022-12-03 16:06:01 -08:00
Mikayla Maki 80df7a3698 WIP: Some bugs switching to database provided IDs, terminal titles don't reload when restored from serialized, workspace tests are no longer passing but should be easy to fix when it isn't 11:44 2022-12-03 16:06:01 -08:00
Mikayla Maki 3ea3593b1a Added UUID based, stable workspace ID for caching on item startup. Completed first sketch of terminal persistence. Still need to debug it though.... 2022-12-03 16:06:01 -08:00
Mikayla Maki 1c6cbbd563 Implementing persistence for the terminal working directory, found an issue with my current data model. :( 2022-12-03 16:06:01 -08:00