zed/crates
Max Brunsfeld e4530471de
Make worktree UpdatedEntries events fully describe all changes (#2533)
This PR makes the worktree's change events more useful in a few ways:

* The changes are now described by a cheaply clone-able collection, so
that they can be used in background tasks. Right now, I'm using a simple
Arc slice.
* The `UpdatedEntries` event now captures not only changes due to FS
changes, but also newly-loaded paths that are discovered during the
initial scan.
* The `UpdatedGitRepositories` event now includes repositories whose
work-dir changed but git dir didn't change. A boolean flag is included,
to indicate whether the git content changed.
* The `UpdatedEntries` and `UpdatedGitRepositories` events are now
*used* to compute the worktree's `UpdateWorktree` messages, used to sync
changes to guests. This unifies two closely-related code paths, and
makes the host more efficient when collaborating, because the
`UpdateWorktree` message computation used to require walking the entire
`entries` tree on every FS change.
2023-05-26 15:55:14 -07:00
..
activity_indicator Enable test-support on editor in tests 2023-05-20 09:54:38 -06:00
ai Properly display labels for currently opened external files 2023-05-26 15:44:44 +03:00
assets
auto_update WIP: Stream in completions 2023-05-22 20:28:22 -06:00
breadcrumbs Define theme/ui text style settings in theme crate 2023-05-17 14:44:59 -07:00
call
cli Unit test file:row:column parsing 2023-05-16 21:07:48 +03:00
client Add architecture to clickhouse event request body 2023-05-22 21:45:58 -04:00
clock
collab Have proper undo for both client and host 2023-05-25 18:29:57 +03:00
collab_ui Merge branch 'main' into panels 2023-05-22 14:10:17 +02:00
collections
command_palette Define theme/ui text style settings in theme crate 2023-05-17 14:44:59 -07:00
context_menu Define theme/ui text style settings in theme crate 2023-05-17 14:44:59 -07:00
copilot Merge branch 'main' into panels 2023-05-22 14:10:17 +02:00
copilot_button Merge branch 'main' into panels 2023-05-22 14:10:17 +02:00
db WIP 2023-05-22 23:11:27 -06:00
diagnostics Fix tests 2023-05-25 14:29:28 -04:00
drag_and_drop
editor Clean up final remaining code paths calling old diff update method 2023-05-25 14:41:09 -04:00
feedback Merge remote-tracking branch 'origin/main' into zmd 2023-05-24 11:04:07 -06:00
file_finder Shorten full paths with ~ 2023-05-27 01:21:38 +03:00
fs Avoid removing fake fs entry when rename fails later in the process 2023-05-16 13:00:39 -04:00
fsevent
fuzzy
git Clean up final remaining code paths calling old diff update method 2023-05-25 14:41:09 -04:00
go_to_line Enable test-support on editor in tests 2023-05-20 09:54:38 -06:00
gpui Adjust diagnostic transformation test to not wait for two buffer notifications 2023-05-26 15:47:37 -07:00
gpui_macros
install_cli
journal Enable test-support on editor in tests 2023-05-20 09:54:38 -06:00
language Adjust diagnostic transformation test to not wait for two buffer notifications 2023-05-26 15:47:37 -07:00
language_selector Enable test-support on editor in tests 2023-05-20 09:54:38 -06:00
live_kit_client Merge remote-tracking branch 'origin/main' into zmd 2023-05-24 11:04:07 -06:00
live_kit_server
lsp Adjust diagnostic transformation test to not wait for two buffer notifications 2023-05-26 15:47:37 -07:00
lsp_log Enable test-support on editor in tests 2023-05-20 09:54:38 -06:00
media
menu
node_runtime
outline Enable test-support on editor in tests 2023-05-20 09:54:38 -06:00
picker Enable test-support on editor in tests 2023-05-20 09:54:38 -06:00
plugin
plugin_macros
plugin_runtime
project Make worktree UpdatedEntries events fully describe all changes (#2533) 2023-05-26 15:55:14 -07:00
project_panel Fix duplicate item creation in project panel 2023-05-26 02:07:25 +03:00
project_symbols Enable test-support on editor in tests 2023-05-20 09:54:38 -06:00
recent_projects Enable test-support on editor in tests 2023-05-20 09:54:38 -06:00
rope
rpc Use Transaction instead of ProjectTransaction 2023-05-25 16:12:14 +03:00
search Fix tests 2023-05-25 14:29:28 -04:00
settings Remove assertions about behavior on invalid settings file 2023-05-22 08:48:37 -07:00
snippet
sqlez Merge remote-tracking branch 'origin/main' into zmd 2023-05-24 11:04:07 -06:00
sqlez_macros
staff_mode
sum_tree Made the map seek target a publicly implementable interface 2023-05-12 08:37:32 -07:00
terminal Persist project and terminal panel sizes 2023-05-22 15:55:44 +02:00
terminal_view Don't show navigation controls for terminal panel 2023-05-25 15:15:20 +02:00
text Refactored apart the forward and the backwards iterator for diff hunks 2023-05-19 18:09:47 -07:00
theme Improve styling of bottom and right docks 2023-05-23 09:02:45 +02:00
theme_selector Enable test-support on editor in tests 2023-05-20 09:54:38 -06:00
theme_testbench Move font size adjustment code to the theme crate 2023-05-17 15:56:32 -07:00
util Merge remote-tracking branch 'origin/main' into zmd 2023-05-24 11:04:07 -06:00
vim WIP 2023-05-22 23:11:27 -06:00
welcome Use cmd-b/cmd-r/cmd-j to toggle left/right/bottom dock and focus when opening 2023-05-24 15:59:06 +02:00
workspace Add a test 2023-05-27 01:12:22 +03:00
zed Fix tests 2023-05-25 14:29:28 -04:00