Commit Graph
31406 Commits
Author SHA1 Message Date
Isaac Clayton 420ceb4004 Remove dependency on self in call-related functions 2022-07-07 15:22:17 +02:00
Isaac Clayton 4765bed11d Fix issue with host function binding 2022-07-07 15:22:17 +02:00
Isaac Clayton efe725c503 Work on plugin builder 2022-07-07 15:22:17 +02:00
Isaac Clayton 27390f20e9 Start working on host-side functions 2022-07-07 15:22:17 +02:00
Isaac Clayton 56a6a81a24 Add JSON LSP plugin 2022-07-07 15:22:16 +02:00
Isaac Clayton 57e6e969ba First pass of plugin side of things complete 2022-07-07 15:20:27 +02:00
Isaac Clayton f4f7babc62 Async runtime working but is blocking 2022-07-07 15:20:27 +02:00
Isaac Clayton 122157162a Move Wasi to async, validate timeslicing, using async in traits still WIP 2022-07-07 15:20:27 +02:00
Isaac Clayton a816d4916b Factor out buffer code 2022-07-07 15:20:27 +02:00
Isaac Clayton cb296f7cc6 Get JSON LSP running, still work to be done 2022-07-07 15:20:27 +02:00
Isaac Clayton e08b18f3d6 Remove non-WASI code 2022-07-07 15:20:25 +02:00
Isaac Clayton cd30ad2c40 Add support for variadic functions 2022-07-07 15:19:03 +02:00
Isaac Clayton 76c34281cc Get Wasi working 2022-07-07 15:19:02 +02:00
Isaac Clayton ceaf4ed997 Start moving code from Zed to plugin 2022-07-07 15:17:02 +02:00
Isaac Clayton f3b8e93a8a Start switching JSON LSP adapter to plugin (take 2) 2022-07-07 15:16:59 +02:00
Isaac Clayton bd698da43c Update plugin dependencies 2022-07-07 15:11:51 +02:00
Isaac Clayton cf2d233a46 Clean up impl a bit 2022-07-07 15:11:51 +02:00
Isaac Clayton 1e08efb730 Work on macro binding generation, some cleanup needed, rename runner to plugin 2022-07-07 15:11:51 +02:00
Isaac Clayton b34462e45e Quick documentation pass 2022-07-07 15:11:51 +02:00
Isaac Clayton cbc8faf09d Get basic Wasm runtime running 2022-07-07 15:11:51 +02:00
Isaac Clayton 495f8d418e Add wasmtime and fix zstd version conflict 2022-07-07 15:01:15 +02:00
Isaac Clayton 3baa96a259 Documented code, got basic example working 2022-07-07 15:01:09 +02:00
Isaac Clayton 599cad4948 Get Runtime working... 2022-07-07 14:55:46 +02:00
Isaac Clayton c3ace2966d Clean up interface a bit 2022-07-07 14:55:46 +02:00
Isaac Clayton 1640ad12b3 Start sketching out runner runtime 2022-07-07 14:55:46 +02:00
Antonio Scandurra a1fadb916f Add integration test to exercise formatting via external command 2022-07-07 11:53:32 +02:00
Antonio Scandurra 13f036a864 Respond with a debug version of the error in rpc Client 2022-07-07 11:52:56 +02:00
Antonio Scandurra 3b345cba67 Allow providing an external format in format_on_save setting 2022-07-07 11:04:03 +02:00
Mikayla Maki 3dfa2a0962 added inline hint 2022-07-06 17:57:32 -07:00
Mikayla Maki 7ea0d2c443 GPUI change proposals 2022-07-06 17:52:20 -07:00
Mikayla Maki febfb55e9e Added basic selections 2022-07-06 17:37:12 -07:00
Keith Simmons 15d2f61f5f combine branches of events in from_native 2022-07-06 16:59:58 -07:00
Keith Simmons 76b68da22e Combine platform mouse events to use common MouseEvent struct and remove MouseDragged event in favor of MouseMoved 2022-07-06 16:37:56 -07:00
Max Brunsfeld 2fb2545b48 Give nav buttons a background on hover 2022-07-06 16:33:44 -07:00
Max Brunsfeld 4259f51c73 Add test for pane nav history covering notification of pane's toolbar 2022-07-06 16:29:11 -07:00
Max Brunsfeld 4adcffcc9f Enable and disable nav buttons based on pane's navigation stack
Also, make the `NavHistory` type private to the `workspace` crate.
Expose only the `ItemNavHistory` type, via a method on Pane called
`nav_history_for_item`.
2022-07-06 15:46:43 -07:00
Keith Simmons 7df2f1aa6a pull event data out into individual Event structs 2022-07-06 15:36:42 -07:00
Max Brunsfeld 53833d2e12 Add forward and backward navigation buttons to toolbar 2022-07-06 14:05:24 -07:00
Mikayla Maki 215d2d06f7 Began working on selections, refactored colors 2022-07-06 13:44:30 -07:00
Keith Simmons 8997283bfd add terminal modal which can be displayed and dismissed while preserving the terminal state 2022-07-06 13:20:54 -07:00
Max Brunsfeld 61be6bb235 0.45 2022-07-06 11:32:21 -07:00
Max Brunsfeld db9354e8a8 Treat window deactivation as a focus change for the purpose of autosave 2022-07-06 11:20:29 -07:00
Max Brunsfeld d64433e78f Merge pull request #1291 from zed-industries/fix-autosave-on-close
Fix autosave when closing a tab
2022-07-06 10:54:44 -07:00
Antonio ScandurraandMax Brunsfeld 6d573a2822 Normalize line endings when parsing completions
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2022-07-06 19:32:45 +02:00
Antonio Scandurra f94bfeb1cc Fix panic on paste when editing with auto-indent
Instead of accepting text as it's input by the user, we will read it
out of the edit operation after it gets sanitized by the buffer.
2022-07-06 19:00:11 +02:00
Antonio Scandurra 8ba44e5f47 Prevent autosave for deleted files 2022-07-06 17:25:33 +02:00
Antonio Scandurra 79f438ed97 Save item when closing it if autosave on focus change is enabled 2022-07-06 17:04:41 +02:00
Antonio Scandurra 6ff2f165a7 Move autosave tests down into Workspace 2022-07-06 16:55:05 +02:00
Antonio Scandurra f879f75a45 Move autosave logic up into Workspace and Pane 2022-07-06 16:33:22 +02:00
Antonio Scandurra dba2c284f6 Report whether a view was focused or blurred when observing focus 2022-07-06 15:53:40 +02:00