forked from zed-industries/zed
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* WIP Co-Authored-By: Piotr Osiewicz <[email protected]> Co-Authored-By: Anthony Eid <[email protected]> * Tear stuff out and make the world burn Co-authored-by: Remco Smits <[email protected]> Co-authored-by: Piotr <[email protected]> * Fix compile errors * Remove dap_store from module list and fix some warnings Module list now uses Entity<DebugSession> to get active modules and handle remote/local state so dap_store is no longer needed * Add Cacheable Command trait This gets rid of ClientRequest or whatever the name was; we don't need to enumerate every possible request and repeat ourselves, instead letting you mark any request as cached with no extra boilerplate. * Add Eq requirement for RequestSlot * Implement DapCommand for Arc<DapCommand> That way we can use a single allocated block for each dap command to store it as both the cache key and the command itself. * Clone Arc on demand * Add request helper * Start work on setting up a new dap_command_handler * Make clippy pass * Add loaded sources dap command * Set up module list test to see if Modules request is called * Fix compile warnings * Add basic local module_list test * Add module list event testing to test_module_list * Bring back as_any_arc * Only reset module list's list state when modules_len changes --------- Co-authored-by: Piotr Osiewicz <[email protected]> Co-authored-by: Anthony Eid <[email protected]> Co-authored-by: Anthony Eid <[email protected]> Co-authored-by: Piotr <[email protected]>
- Loading branch information
1 parent
16eff80
commit af77b2f
Showing
21 changed files
with
969 additions
and
328 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.