Commit Graph
22 Commits
Author SHA1 Message Date
cdb374b2aa Remove remaining instances of router
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2021-08-19 19:38:17 +02:00
Antonio Scandurra 3f68dcf5f0 Re-register message handlers in RPC server 2021-08-19 15:35:03 +02:00
Antonio Scandurra 898ed09f59 Delete old Peer implementation and adapt previous code paths
This still doesn't compile but should be close.
2021-08-19 15:02:30 +02:00
Antonio Scandurra ba8e119c93 Start using the new zrpc::peer2::Peer in Server 2021-08-19 15:01:57 +02:00
Nathan SoboandMax Brunsfeld ccaae15c99 Subscribe to worktree messages at the entity level
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
2021-08-18 19:06:46 -06:00
Max Brunsfeld 2807ec83ad wip 2021-08-06 14:47:18 -07:00
Max BrunsfeldandNathan Sobo 25fb1ead35 Implement initial RPC endpoints for chat
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-08-06 13:43:06 -07:00
Max Brunsfeld 9bf5244d38 Start work on server-side RPC handling for chat 2021-08-05 19:59:54 -07:00
Max Brunsfeld cc6a1d44bb Add server methods for creating chat domain objects
Also, consolidate all sql into a `db` module
2021-08-05 19:16:36 -07:00
Max BrunsfeldandNathan Sobo 0953585002 Add several proto messages for chat
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-08-05 19:05:58 -07:00
Max BrunsfeldandNathan Sobo 2b3970486c Add seed target for inserting seed data
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-08-05 14:16:40 -07:00
Max BrunsfeldandNathan Sobo f8ce1f6faf Add DB migration for chat tables
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-08-05 11:56:24 -07:00
Max BrunsfeldandNathan Sobo 5532f60e2f Add a theme picker
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-08-02 14:55:27 -07:00
Nathan SoboandMax Brunsfeld 31d248318a Replace DeterministicExecutor::reset with forbid_parking
There's really no point calling reset if we plan on parking afterwards.

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
2021-07-20 12:28:04 -06:00
Nathan Sobo e438010a18 Allow DeterministicExecutor to park until forbid_parking is called
This allows us to perform async setup such as talking to the database.
2021-07-20 12:22:02 -06:00
Max Brunsfeld fb0c70e9fe Move the fs module out of worktree 2021-07-13 15:40:11 -07:00
Max Brunsfeld 4fe5baeb12 Use FakeFs in all integration tests 2021-07-13 12:48:00 -07:00
Nathan SoboandMax Brunsfeld a67845e0fb Fix race condition in integration test
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
2021-07-13 13:24:48 -06:00
78dbafb1d0 Rename zed-rpc to zrpc
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2021-07-13 18:22:00 +02:00
Antonio Scandurra 064c4e152b WIP 2021-07-13 16:36:35 +02:00
Max BrunsfeldandNathan Sobo 4951777c64 Store an Fs on Workspace, pass it to each Worktree
Push test-only worktree behavior down into the Fs,
via a `watch` method which provides fs events.

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-07-12 17:26:14 -07:00
Nathan SoboandMax Brunsfeld 63a3574bc1 Include contents of the zed-server repo
We're going full monorepo.

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
2021-07-12 14:14:39 -06:00