ZIm/crates
Nathan Sobo 8c44f6a814
Simplify input handling (#3282)
This PR takes a different approach to input handling.

Rather than returning the optional input handler, focus handle pair from
the element trait, we instead allow you to register an input handler
imperatively on the window context with `WindowContext::handle_input`.
You pass a focus handle reference and any implementer of
`PlatformInputHandler`. There's an `ElementInputHandler<V>` that
implements `PlatformWindowHandler` so long as `V` implements
`InputHandler`.

Release Notes:

- N/A
2023-11-08 22:27:36 -07:00
..
activity_indicator Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
ai moved from Boxes to Arcs for shared access of completion providers across the assistant panel and inline assistant 2023-11-02 10:08:47 -04:00
ai2 Remove the 2s from source code 2023-11-02 10:55:02 -07:00
assistant moved from Boxes to Arcs for shared access of completion providers across the assistant panel and inline assistant 2023-11-02 10:08:47 -04:00
audio chore: remove unused features from rodio crate. (#2869) 2023-08-21 11:07:31 +02:00
audio2 Remove the 2s from source code 2023-11-02 10:55:02 -07:00
auto_update auto-update: Link to the current release's changelog, not the latest one (#3076) 2023-10-02 15:24:09 +02:00
breadcrumbs Move breadcrumb style to toolbar 2023-08-29 16:37:48 -04:00
call Merge branch 'main' into zed2 2023-10-27 10:55:15 +02:00
call2 Get workspace compiling with new event emitters 2023-11-08 19:29:00 -08:00
channel Set up UI to allow dragging a channel to the root 2023-10-25 15:39:02 +02:00
channel2 Get workspace compiling with new event emitters 2023-11-08 19:29:00 -08:00
cli Code to allow opening zed:/channel/1234 2023-10-05 14:57:45 -07:00
client Mark contact acceptance notifications as read automatically 2023-10-22 12:22:47 +02:00
client2 Get workspace compiling with new event emitters 2023-11-08 19:29:00 -08:00
clock Remove local timestamps from CRDT operations 2023-08-31 16:23:06 -07:00
collab WIP 2023-11-06 11:18:56 -08:00
collab2 Silence problem 2023-11-08 12:37:35 -07:00
collab_ui Get collab2 green 2023-11-03 18:01:06 -07:00
collections
command_palette Fix get_most_public_ancestor 2023-10-17 09:41:34 -06:00
component_test Merge branch 'main' into disclosable-component 2023-08-23 16:30:27 -07:00
context_menu Add components example 2023-08-15 03:06:43 -07:00
copilot Capture language server stderr during startup/init and log if failure 2023-10-26 12:29:22 +02:00
copilot2 Get workspace compiling with new event emitters 2023-11-08 19:29:00 -08:00
copilot_button Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
db Change from try (reserved keyword) to maybe 2023-10-25 07:10:21 -07:00
db2 Remove the 2s from source code 2023-11-02 10:55:02 -07:00
diagnostics Properly toggle diagnostics 2023-11-06 19:29:31 +02:00
drag_and_drop Fix bug in channel rendering 2023-09-20 16:40:29 -07:00
editor Fix a compilation error 2023-11-03 21:51:12 +02:00
editor2 Simplify input handling (#3282) 2023-11-08 22:27:36 -07:00
feature_flags Add feature flags handling to the client, rewrite staff mode to a trait extension style 2023-08-25 17:00:53 -07:00
feature_flags2 Remove the 2s from source code 2023-11-02 10:55:02 -07:00
feedback Add memory and cpu events 2023-10-02 19:35:31 -04:00
file_finder Omit history files with path that does not exist on disk anymore 2023-10-10 12:26:48 +03:00
fs Revert unnecessary style changes 2023-10-12 16:17:41 +03:00
fs2 port rope2 to zed2 2023-11-03 12:15:23 -04:00
fsevent
fuzzy Ignore history items' paths when matching search queries 2023-10-09 23:14:32 +03:00
fuzzy2 Remove the 2s from source code 2023-11-02 10:55:02 -07:00
git move git2 to workspace dependency globally 2023-09-19 16:13:47 -04:00
git3 git -> git3 2023-11-02 19:18:01 -06:00
go_to_line Store an AnyWindowHandle in WindowContext 2023-08-08 11:08:37 -06:00
go_to_line2 Merge branch 'main' into event-emitter 2023-11-08 20:10:38 -08:00
gpui Merge branch 'main' into zed2-project-test 2023-10-31 11:50:56 -07:00
gpui2 Simplify input handling (#3282) 2023-11-08 22:27:36 -07:00
gpui2_macros Fix double borrow in synchronous tests 2023-11-08 11:23:35 -08:00
gpui_macros Suppress unused vars warning generated by gpui macro 2023-11-04 13:54:37 +02:00
install_cli Remove potential osascript hijacking 2023-08-18 17:40:08 -07:00
install_cli2 Remove the 2s from source code 2023-11-02 10:55:02 -07:00
journal
journal2 Move journal2 to workspace2 2023-11-03 12:55:06 +02:00
language Limit language server reinstallation attempts 2023-10-26 17:14:34 +02:00
language2 Get workspace compiling with new event emitters 2023-11-08 19:29:00 -08:00
language_selector Add tooltip to language selector 2023-09-08 12:41:32 -04:00
language_tools Reduce max log lines, clean log buffers better 2023-10-17 21:47:21 +03:00
live_kit_client WIP - make livekit work in GPUI2 2023-10-31 14:04:03 -07:00
live_kit_client2 Merge branch 'main' into add-collab-tests 2023-11-08 09:41:57 -08:00
live_kit_server Fix notifications for membership changes too 2023-10-19 23:05:06 -06:00
lsp Capture language server stderr during startup/init and log if failure 2023-10-26 12:29:22 +02:00
lsp2 Remove the 2s from source code 2023-11-02 10:55:02 -07:00
media
menu Position and style the channel editor correctly 2023-08-08 14:06:29 -07:00
menu2 Make Modals dismissable in theory 2023-11-08 14:45:54 -07:00
multi_buffer Extract multi_buffer module out of editor (#3170) 2023-10-25 19:31:47 +02:00
multi_buffer2 Get workspace compiling with new event emitters 2023-11-08 19:29:00 -08:00
node_runtime Merge branch 'main' into zed2 2023-10-27 10:55:15 +02:00
notifications Load more notifications when scrolling down 2023-10-22 17:10:21 +02:00
outline feat(workspace): allow alternative actions to open files and symbols in split 2023-07-14 21:49:15 +02:00
picker Ensure the picker waits for pending updates 2023-09-20 20:44:26 -06:00
picker2 Get workspace compiling with new event emitters 2023-11-08 19:29:00 -08:00
plugin
plugin_macros
plugin_runtime
prettier Port changes to zed2 2023-11-03 11:02:50 +02:00
prettier2 Port changes to zed2 2023-11-03 11:02:50 +02:00
project Port changes to zed2 2023-11-03 11:02:50 +02:00
project2 Get workspace compiling with new event emitters 2023-11-08 19:29:00 -08:00
project_panel Change from try (reserved keyword) to maybe 2023-10-25 07:10:21 -07:00
project_symbols Add local next LSP adapter 2023-09-21 18:09:02 -07:00
quick_action_bar Hide inlay hints toggle if they are not supported by the current editor 2023-09-26 23:52:11 +02:00
recent_projects WIP 2023-08-10 10:26:48 -06:00
refineable Allow deriving Serialize and Deserialize on generated refinement (#3227) 2023-11-03 17:21:00 -04:00
rich_text Account for markdown styling in mentions offset calculation. 2023-10-23 12:50:57 +02:00
rich_text2 Convert rich_text2 2023-11-02 19:30:33 -06:00
rope Normalize indentation when refactoring 2023-08-24 12:45:21 +02:00
rope2 port rope2 to zed2 2023-11-03 12:15:23 -04:00
rpc Bump RPC version for channels + notifications changes 2023-10-25 17:37:14 +02:00
rpc2 Get collab2 green 2023-11-03 18:01:06 -07:00
search Add prettier workspace resolution test 2023-11-03 11:02:50 +02:00
semantic_index Uncomment persistence tests 2023-11-03 12:38:09 +02:00
settings Add feature flags handling to the client, rewrite staff mode to a trait extension style 2023-08-25 17:00:53 -07:00
settings2 Merge branch 'main' into add-collab-tests 2023-11-08 09:57:08 -08:00
snippet
sqlez Start removing the Send impl for App 2023-11-01 13:53:45 -06:00
sqlez_macros
storybook2 Port the picker and uniform list (#3248) 2023-11-08 17:45:23 +01:00
sum_tree Ensure collaborators cursor colors are the same in channel buffers as in projects 2023-08-24 11:31:41 -07:00
terminal Add Nushell support to venv activation 2023-10-01 23:38:30 -04:00
terminal2 Get workspace compiling with new event emitters 2023-11-08 19:29:00 -08:00
terminal_view Allow file links in markdown & filter links a bit aggressively 2023-10-12 12:11:27 -04:00
text Don't depend on gpui2 in text 2023-11-03 14:53:08 +01:00
text2 port rope2 to zed2 2023-11-03 12:15:23 -04:00
theme Set up UI to allow dragging a channel to the root 2023-10-25 15:39:02 +02:00
theme2 go to line2 (#3261) 2023-11-08 17:16:00 -07:00
theme_importer Replace GitStatusColors with StatusColors (#3268) 2023-11-08 11:32:32 -05:00
theme_selector Add feature flags handling to the client, rewrite staff mode to a trait extension style 2023-08-25 17:00:53 -07:00
ui2 go to line2 (#3261) 2023-11-08 17:16:00 -07:00
util Add prettier workspace resolution test 2023-11-03 11:02:50 +02:00
vcs_menu vcs_menu: Fix a circular view handle in modal picker. 2023-10-25 18:34:14 +02:00
vim wip 2023-11-01 13:53:45 -06:00
welcome Checkpoint 2023-10-23 11:06:58 +02:00
workspace link to channel notes (#3167) 2023-10-25 15:53:34 +02:00
workspace2 Merge branch 'main' into event-emitter 2023-11-08 20:10:38 -08:00
xtask
zed Use a fork of ctor to silence warnings generated by macro (#3275) 2023-11-08 15:05:19 -05:00
zed-actions Port journal to GPUI2 2023-10-28 11:37:25 -04:00
zed2 port rope2 to zed2 (#3224) 2023-11-08 20:19:05 -08:00
Cargo.toml port ai crate to ai2, with all tests passing 2023-10-30 14:40:31 -04:00