Commit Graph
1505 Commits
Author SHA1 Message Date
Antonio Scandurra eefda8ac3c Version the zrpc protocol using a X-ZRPC-VERSION header 2021-09-23 15:35:35 +02:00
Antonio Scandurra 24ee8d4b32 Merge pull request #174 from zed-industries/tweak-word-boundaries
Adjust word-boundary motion, treating whitespace more like other editors
2021-09-23 09:09:49 +02:00
Max Brunsfeld a102a459da Adjust word-boundary motion, treating whitespace more like other editors
Also, fix the behavior of 'delete_to_{prev,next}_word_boundary' commands when
there are non-empty selections.
2021-09-22 17:00:57 -07:00
Max Brunsfeld dc5dcc555f Fix bytes/chars error in Editor::paste
Fixes #156
2021-09-22 14:36:30 -07:00
Antonio Scandurra 4af0754191 Merge pull request #170 from zed-industries/people-panel
People panel
2021-09-22 17:10:50 +02:00
Antonio ScandurraandNathan Sobo fa3085969b Move people panel up
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-22 17:09:24 +02:00
Antonio ScandurraandNathan Sobo 06e633f0e5 Refine people panel styling
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-22 17:02:50 +02:00
Antonio ScandurraandNathan Sobo 1936a89b1d Fix resolution of extends directive when children are unresolved
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-22 16:04:44 +02:00
Antonio Scandurra b1ee558a78 Leave joined worktrees when guest loses connection 2021-09-22 15:33:13 +02:00
Antonio Scandurra a3b0e59aa4 Maintain connections correctly when leaving or unsharing worktrees 2021-09-22 15:24:11 +02:00
Antonio Scandurra 6143d82ef7 Remove remote worktrees and close their buffers when host unshares 2021-09-22 14:50:32 +02:00
Antonio Scandurra d6249c7410 Allow leaving worktree while opening a buffer 2021-09-22 12:38:31 +02:00
Max BrunsfeldandNathan Sobo f7a39ba0ea Allow clicking on worktrees to share, unshare, join, and leave
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-21 16:27:57 -07:00
Max BrunsfeldandNathan Sobo af91cb91c3 Add chainable Element methods for common containers
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-21 15:24:14 -07:00
Max BrunsfeldandNathan Sobo 088f780505 Vertically align avatars with labels in people panel
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-21 15:09:31 -07:00
Max Brunsfeld 104fa0cf04 💄 2021-09-21 13:48:34 -07:00
Max BrunsfeldandNathan Sobo 476f16a8f1 Style worktree rows in people panel
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-21 13:35:00 -07:00
Max Brunsfeld 4ff4edae44 Ignore empty ZED_IMPERSONATE env var 2021-09-21 13:29:06 -07:00
8dc1f6996d Allow joining worktrees by clicking them in the people panel
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-21 12:21:03 -07:00
Max BrunsfeldandNathan Sobo 3667ccc420 Rerender list elements when they notify during events
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-21 12:20:32 -07:00
Antonio ScandurraandNathan Sobo 0d114d8c89 Rename participants to guests in proto
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-21 18:30:49 +02:00
Antonio ScandurraandNathan Sobo cbe54ad464 Allow size to be specified in ImageStyle
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-21 18:27:26 +02:00
Antonio ScandurraandNathan Sobo 605f599dcf Style people panel
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-21 18:13:02 +02:00
Antonio Scandurra b28ea8c4c5 Merge branch 'main' into people-panel 2021-09-21 17:29:07 +02:00
Antonio ScandurraandNathan Sobo c29ca9ff2b Use more concrete names for Store return values
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-21 17:21:30 +02:00
Antonio Scandurra f2dcc549ca Fix more failing/hanging unit tests 2021-09-21 16:20:20 +02:00
Antonio Scandurra 6489570bf6 Add Server::{state,state_mut} to catch most deadlocks statically 2021-09-21 12:19:52 +02:00
Antonio Scandurra 755b021f6d Remove deadlock and make integration tests pass again 2021-09-21 11:58:31 +02:00
Antonio Scandurra 17a66c2622 Replace returned tuples with named structs in Store 2021-09-21 11:38:50 +02:00
Nathan Sobo fb3150617d Fix remaining compilation errors 2021-09-20 19:44:30 -06:00
Max Brunsfeld 22e8bf0dcc WIP 2021-09-20 18:05:46 -07:00
Nathan Sobo 774e878936 Merge pull request #167 from zed-industries/fix-language-selection
Fix language selection when saving new buffers as a single-file worktree
2021-09-20 17:51:10 -07:00
Max Brunsfeld e3a59cbf5c Fix warnings in people_panel 2021-09-20 15:45:41 -07:00
Max BrunsfeldandNathan Sobo 72281d13e0 Maintain server state consistency when removing a connection
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-20 15:45:33 -07:00
Max Brunsfeld 6cdaafd7dc Add .zed.toml 2021-09-20 15:44:42 -07:00
Max BrunsfeldandNathan Sobo 5b63ff5408 Add ZED_IMPERSONATE env var, for testing
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-20 15:44:28 -07:00
Max BrunsfeldandNathan Sobo 256f1279f7 Add missing people panel properties to base theme
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-20 13:38:59 -07:00
Nathan SoboandMax Brunsfeld 745c3e32d1 Fix language selection when saving new buffers as a single-file worktree
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
2021-09-20 14:28:02 -06:00
8cb6468f57 Start on PeoplePanel::render
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-20 20:04:48 +02:00
30e0a65449 Use bullseye-slim for migration Dockerfile
Closes #154

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2021-09-20 19:42:24 +02:00
Nathan Sobo 6bab34364a Merge pull request #159 from zed-industries/tabs-cleanup
Clean up tabs styling
2021-09-20 09:16:08 -07:00
Nathan Sobo 688f8bb881 Merge pull request #158 from zed-industries/highlight-new-files
Set the language on new buffers when they are saved
2021-09-20 09:15:58 -07:00
Antonio Scandurra 27ada90ffc Add an integration test to verify collaborators are kept up to date 2021-09-20 16:40:31 +02:00
Antonio Scandurra 3f7221072e Maintain collaborators in UserStore 2021-09-20 15:05:41 +02:00
Antonio Scandurra f7a17b963c Turn UserStore into a model 2021-09-20 14:40:06 +02:00
Antonio Scandurra 398948ef05 Introduce a Client::subscribe method that doesn't need an entity 2021-09-20 14:14:07 +02:00
Antonio Scandurra 6d36fa0d71 Fix integration tests 2021-09-20 12:52:13 +02:00
Antonio Scandurra a3ae536803 Update collaborators as worktrees are opened/shared/closed 2021-09-20 12:29:32 +02:00
Nathan Sobo a70124a508 Suppress SVG loading errors in tests 2021-09-19 17:34:04 -07:00
Nathan Sobo e9e585c801 Test language assignment when new buffers are saved 2021-09-19 17:33:46 -07:00