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 Simmons and Mikayla 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 Simmons and Mikayla 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 Maki and
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
Mikayla Maki
c31f5cd9ec
removed test file
2022-12-03 16:06:01 -08:00
Mikayla Maki and
f07cde2afd
workspace level integration of serialization complete! Time for item level integration....
...
Co-Authored-By: kay@zed.dev
2022-12-03 16:06:01 -08:00
Mikayla Maki
163ee2b188
Rebased to main
2022-12-03 16:06:01 -08:00
Mikayla Maki and
102e150d1a
Polishing workspace data structures
...
Co-authored-by: kay@zed.dev
2022-12-03 16:06:01 -08:00
Mikayla Maki
8465e9262b
Added center group deserialization
2022-12-03 16:06:01 -08:00
Kay Simmons and Mikayla Maki
ff5f2cbed7
Dock persistence working!
...
Co-Authored-By: Mikayla Maki <mikayla@zed.dev >
2022-12-03 16:06:01 -08:00
Kay Simmons
337881b490
wip
2022-12-03 16:06:01 -08:00
Mikayla Maki and
6c0a41919b
Distributed database pattern built.
...
Co-Authored-By: kay@zed.dev
2022-12-03 16:06:01 -08:00
Mikayla Maki
a062ac2c27
Moved to workspaces crate... don't feel great about it
2022-12-03 16:05:26 -08:00
Mikayla Maki
853f0db8ec
WIP commit, migrating workspace serialization code into the workspace
2022-12-03 16:05:25 -08:00
Mikayla Maki
e097f1f598
Done first draft of strongly typed migrations
2022-12-03 16:05:25 -08:00
Mikayla Maki
87a3475db3
Got Zed compiling again 🥰
2022-12-03 16:05:25 -08:00
Mikayla Maki and
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
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
Antonio Scandurra
3fac823050
Merge branch 'main' into reconnections-2
2022-12-02 19:09:33 +01:00
Max Brunsfeld and Antonio Scandurra
6df9e3995a
Fetch missing buffers when adding excerpts to a multibuffer while following
...
Make FollowableItem::apply_update_proto asynchronous. Use a single
task per workspace to process all leader updates, to prevent updates
from being interleaved.
Co-authored-by: Antonio Scandurra <antonio@zed.dev >
2022-12-01 15:17:51 -08:00
Julia
1aaf00c7ee
Avoid moving tab when leader item updates
2022-12-01 00:29:58 -05:00
Max Brunsfeld
336cd58526
Replicate multibuffer excerpt additions and removals to followers
2022-11-30 13:20:13 -08:00
Kay Simmons
e9e85fccec
Merge pull request #1814 from zed-industries/golden-ratio
...
Active Pane Magnification
2022-11-18 13:14:03 -08:00
Antonio Scandurra
915b7280d4
Revert "Wait for previous UpdateFollowers message ack before sending new ones"
...
This reverts commit ceb40613bc .
2022-11-17 16:57:32 +01:00
Antonio Scandurra
ceb40613bc
Wait for previous UpdateFollowers message ack before sending new ones
2022-11-17 14:12:00 +01:00
Antonio Scandurra
54fc129e60
Send worktree updates after project metadata has been sent
2022-11-16 14:58:11 +01:00
Nathan Sobo
1b3fcfe375
collab 0.2.3
2022-11-15 15:45:04 -07:00
Antonio Scandurra
05b8ba4fd0
Wait for acknowledgment before sending the next project update
2022-11-14 15:32:49 +01:00
Julia
9642106243
Propagate mouse up event through drop receiver in early return
2022-11-11 14:00:01 -05:00
Kay Simmons
249df2495a
Split and move to pane working
2022-11-08 14:19:31 -08:00
Julia and Kay Simmons
b1a8fc5f3f
Handle project entry drop render & start fixing drag cancel issues
...
Co-Authored-By: Kay Simmons <kay@zed.dev >
2022-11-07 18:17:36 -05:00
Nate Butler
ec44cf47a7
Merge pull request #1831 from zed-industries/theme-tweaks
...
Theme tweaks
2022-11-02 10:04:55 -04:00
Julia
d8a71ec59a
Add test for new tab order history behavior
2022-11-01 13:29:21 -04:00
Kay Simmons
0e824726c2
Avoid reordering items by adding an activation history to panes, and remove tab reordering hack
...
Co-Authored-By: Julia Risley <julia@zed.dev >
2022-10-31 14:10:34 -07:00
Nate Butler
60b445cb20
Update icons
...
- `x_mark_thin` combined into `x_mark`
- updated many icons
- remove unused icons
2022-10-28 12:59:05 -04:00
Julia
c9ed5b4953
Propagate mouse move event through dragged-item-receiver if not dragging
2022-10-26 12:06:32 -04:00
Antonio Scandurra
21ffaa87ad
Use the same background color as the editor for SharedScreen
2022-10-26 08:33:32 +02:00
K Simmons
6b91fae774
Add active pane magnification setting which grows the active pane making it easier to see it's contents
2022-10-25 17:24:19 -07:00
Antonio Scandurra
85ce4d083a
Allow specifying a custom height for stacking contexts
2022-10-25 13:41:47 +02:00
K Simmons
f2c8c85358
tweak drop target overlay color and make stack fully constraint children by the first child
...
's size
2022-10-24 23:47:43 -07:00