Isaac Clayton
|
a48995c782
|
Basic html highlighting + lsp support
|
2022-09-28 12:32:04 -07:00 |
|
Isaac Clayton
|
b20aefc842
|
First draft for opening Zed.log
|
2022-07-28 09:25:39 +02:00 |
|
Isaac Clayton
|
c326a20193
|
Merge pull request #1367 from zed-industries/plugin-opaque
Guide to Opaque Types and Callbacks in Plugins
|
2022-07-18 09:20:10 +02:00 |
|
Isaac Clayton
|
85cf703282
|
Fix typos, minor revisions
|
2022-07-15 13:16:01 +02:00 |
|
Isaac Clayton
|
d121226cd6
|
Write initial plan
|
2022-07-15 12:58:20 +02:00 |
|
Isaac Clayton
|
94b443a704
|
Merge pull request #1359 from zed-industries/plugin-json-enable
Plugin json enable
|
2022-07-14 16:37:53 +02:00 |
|
Isaac Clayton
|
91fefae96a
|
Add retries to failing terminal test
|
2022-07-14 16:05:10 +02:00 |
|
Isaac Clayton
|
285832e810
|
Merge pull request #1358 from zed-industries/plugin-cross-pre
Remove requirement for target triple in precompiled binary extension
|
2022-07-14 15:55:11 +02:00 |
|
Isaac Clayton
|
52e4774e8a
|
Re-enable JSON plugin
|
2022-07-14 15:13:12 +02:00 |
|
Isaac Clayton
|
b3ac63b7b5
|
Remove triple-based suffix
|
2022-07-14 15:05:54 +02:00 |
|
Isaac Clayton
|
af1ad474e3
|
Update docs
|
2022-07-14 13:46:41 +02:00 |
|
Isaac Clayton
|
80b45ef93b
|
Precompile plugins depending on target triple
|
2022-07-14 13:23:04 +02:00 |
|
Isaac Clayton
|
4a5b8fd2e6
|
Merge fuel-based metering
|
2022-07-14 08:13:47 +02:00 |
|
Isaac Clayton
|
5e7456df4e
|
Fix docs
|
2022-07-13 20:19:56 +02:00 |
|
Isaac Clayton
|
8bb8e851df
|
Remove epoch-based metering
|
2022-07-13 18:03:14 +02:00 |
|
Isaac Clayton
|
562e22814f
|
Remove .pre suffix use .epoch and .fuel instead
|
2022-07-13 17:08:43 +02:00 |
|
Isaac Clayton
|
3fb1cd0726
|
Fix issue where precompiled plugins were compiled with the wrong settings
|
2022-07-13 16:31:47 +02:00 |
|
Isaac Clayton
|
01a2d53638
|
Merge pull request #1327 from zed-industries/plugin-epoch
Configurable Plugin Yielding
|
2022-07-13 15:29:22 +02:00 |
|
Isaac Clayton
|
a6edf85078
|
Use enum to differentiate between normal and precompiled plugins
|
2022-07-13 14:26:52 +02:00 |
|
Isaac Clayton
|
daf1674ca6
|
Fix failing test
|
2022-07-13 13:27:31 +02:00 |
|
Isaac Clayton
|
c956a8866e
|
Quick documentation fix
|
2022-07-13 13:21:45 +02:00 |
|
Isaac Clayton
|
b3e1fd0740
|
Rename a few items and add documentation
|
2022-07-13 13:19:51 +02:00 |
|
Isaac Clayton
|
8b376dd613
|
Fix resulting errors and introduce functional executor callback
|
2022-07-13 13:15:12 +02:00 |
|
Isaac Clayton
|
8974b0c490
|
Work on supporting both epoch and fuel
|
2022-07-13 12:41:47 +02:00 |
|
Isaac Clayton
|
10670dba70
|
Add support for configuring plugin yield mechanism, stashing
|
2022-07-13 11:57:00 +02:00 |
|
Isaac Clayton
|
8eb8f8ec3a
|
Merge pull request #1340 from zed-industries/plugin-docs-witx
Add note about WebAssembly Interface Types.
|
2022-07-13 11:09:58 +02:00 |
|
Isaac Clayton
|
d04c3388b4
|
Switch from epoch to fuel
|
2022-07-13 11:09:06 +02:00 |
|
Isaac Clayton
|
97c163a62e
|
Add note about WebAssembly Interface Types.
|
2022-07-13 09:43:12 +02:00 |
|
Isaac Clayton
|
b49b11f5af
|
Merge pull request #1339 from zed-industries/plugin-rerun
Rerun plugin build step only on change
|
2022-07-13 09:35:05 +02:00 |
|
Isaac Clayton
|
7e319a2b9d
|
Fix #1335, rerun plugin build step only if non-volatile directories in plugin change
|
2022-07-13 09:04:48 +02:00 |
|
Isaac Clayton
|
7f11a32364
|
Implement periodic yielding using epoch_deadline_async_yield_and_update
|
2022-07-12 17:07:33 +02:00 |
|
Isaac Clayton
|
1ac8265028
|
Fix typo
|
2022-07-12 16:39:04 +02:00 |
|
Isaac Clayton
|
170d27b04c
|
Start working on plugin epoch async yield
|
2022-07-12 16:32:41 +02:00 |
|
Isaac Clayton
|
8bcfcce506
|
Merge pull request #1326 from zed-industries/plugin-docs
Write about how plugins work and how to use them
|
2022-07-12 14:09:52 +02:00 |
|
Isaac Clayton
|
6600251952
|
Fix yet another typo
|
2022-07-12 13:54:00 +02:00 |
|
Isaac Clayton
|
37310acea8
|
Fix more typos
|
2022-07-12 13:51:13 +02:00 |
|
Isaac Clayton
|
1170d73b57
|
Fix typo
|
2022-07-12 13:48:36 +02:00 |
|
Isaac Clayton
|
c188021d6c
|
Write about how plugins work and how to use them
|
2022-07-12 13:45:22 +02:00 |
|
 Isaac ClaytonandAntonio Scandurra
|
815de6da61
|
Rewrite test_managing_language_servers to add languages after buffers are open
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
|
2022-07-12 10:25:11 +02:00 |
|
Isaac Clayton
|
d8b22a200e
|
Rename LspAdapterTrait to LspAdapter and LspAdapter to CachedLspAdapter
|
2022-07-12 09:29:38 +02:00 |
|
Isaac Clayton
|
aeb1b89c25
|
Make plugin build profile contingent on host build profile
|
2022-07-11 21:13:52 +02:00 |
|
Isaac Clayton
|
031162b473
|
Remove spurious warnings
|
2022-07-11 18:36:33 +02:00 |
|
Isaac Clayton
|
41918101ed
|
Add wasm32-wasi to CI workflow
|
2022-07-11 18:29:27 +02:00 |
|
Isaac Clayton
|
38f8191ce8
|
Add comment linking engine creating code together
|
2022-07-11 18:20:50 +02:00 |
|
Isaac Clayton
|
19d19271f6
|
Remove stale label_for_completion impl from JSON plugin
|
2022-07-11 18:01:12 +02:00 |
|
Isaac Clayton
|
1dd92c3c28
|
Remove plugin build script in favor of build.rs plugin builder
|
2022-07-11 16:59:59 +02:00 |
|
Isaac Clayton
|
0bdbbdd9b6
|
Convert rust lsp tests from sync #[test] to async #[gpui::test]
|
2022-07-11 16:55:08 +02:00 |
|
Isaac Clayton
|
836719526c
|
Remove stale commented code
|
2022-07-11 16:50:49 +02:00 |
|
Isaac Clayton
|
c4bf71d222
|
Convert go lsp tests from sync #[test] to async #[gpui::test]
|
2022-07-11 16:47:21 +02:00 |
|
Isaac Clayton
|
638f881fe4
|
Remove json host-side implementation, rely on plugin implementation
|
2022-07-11 16:41:30 +02:00 |
|
Isaac Clayton
|
be41ad44a7
|
Fix minor issues in plugin and project raised during review
|
2022-07-11 16:40:12 +02:00 |
|
Isaac Clayton
|
bc94d0d1a9
|
Restore main version of Project::symbols and convert to async
|
2022-07-11 16:22:58 +02:00 |
|
Isaac Clayton
|
0600157c38
|
Restore main version of Project::completions and convert to async
|
2022-07-11 15:55:07 +02:00 |
|
Isaac Clayton
|
ec327a30c3
|
Fix minor issues pointed out in the review
|
2022-07-11 15:54:03 +02:00 |
|
Isaac Clayton
|
3ad8d5363c
|
Remove the blocking call and inline on_lsp_diagnostics_published
|
2022-07-11 12:11:00 +02:00 |
|
Isaac Clayton
|
14bccb4a90
|
More cleanup during review
|
2022-07-11 10:56:21 +02:00 |
|
Isaac Clayton
|
5ec828a3e2
|
Remove unused struct fields
|
2022-07-11 10:39:14 +02:00 |
|
Isaac Clayton
|
8c91c5c575
|
Minor fixes found during review
|
2022-07-11 10:37:51 +02:00 |
|
Isaac Clayton
|
8931218dc6
|
Remove debug statements
|
2022-07-08 21:28:35 +02:00 |
|
Isaac Clayton
|
3e8b230567
|
Highlight languages as languages load
|
2022-07-08 21:19:07 +02:00 |
|
Isaac Clayton
|
988f388165
|
Added theme to language
|
2022-07-08 18:11:28 +02:00 |
|
Isaac Clayton
|
6f99d59d38
|
Require theme directly when creating language
|
2022-07-08 16:08:40 +02:00 |
|
Isaac Clayton
|
73620dad06
|
Add channel to notify project when languages are added
|
2022-07-08 14:37:27 +02:00 |
|
Isaac Clayton
|
5cb59dfdab
|
Fix errors resulting from rebase
|
2022-07-07 18:14:16 +02:00 |
|
Isaac Clayton
|
a16fc2ba0c
|
Add basic support for precompiling plugins
|
2022-07-07 16:21:27 +02:00 |
|
Isaac Clayton
|
895747476f
|
Done! Finish transition to async, very close to merging
|
2022-07-07 16:21:20 +02:00 |
|
Isaac Clayton
|
39fdbc593b
|
Fix most warnings
|
2022-07-07 16:19:49 +02:00 |
|
Isaac Clayton
|
d009e10a46
|
Fix all residual errors, need to polish off warnings and TODOS
|
2022-07-07 16:17:03 +02:00 |
|
Isaac Clayton
|
6585daccf9
|
Further unpropogate async
|
2022-07-07 16:16:58 +02:00 |
|
Isaac Clayton
|
4f016d5fc4
|
Switch LspAdapter to struct and revert some async/await
|
2022-07-07 16:12:10 +02:00 |
|
Isaac Clayton
|
0872e9b1a7
|
use join_all to build partial symbols and completions asynchronously
|
2022-07-07 15:44:21 +02:00 |
|
Isaac Clayton
|
602fe14aa4
|
Going to move LspAdapter from trait to struct
|
2022-07-07 15:44:21 +02:00 |
|
Isaac Clayton
|
e4a680f47b
|
Uncommented previously commented sections
|
2022-07-07 15:44:18 +02:00 |
|
Isaac Clayton
|
2b0b341415
|
Move await outside of a closure, remove future_wrap dependency
|
2022-07-07 15:42:53 +02:00 |
|
Isaac Clayton
|
172e276411
|
Fix warnings and propogate async further
|
2022-07-07 15:42:48 +02:00 |
|
Isaac Clayton
|
ce90dbd06a
|
Temporarily comment out closure errors to address other errors in project
|
2022-07-07 15:41:34 +02:00 |
|
Isaac Clayton
|
2ff67ef9f6
|
Factor out await in doubly-nested for loop
|
2022-07-07 15:40:39 +02:00 |
|
Isaac Clayton
|
db7b863d8c
|
Fix on_settings_changed, need to review that impl is correct
|
2022-07-07 15:40:01 +02:00 |
|
Isaac Clayton
|
4dad2eb7d7
|
Refactor closure to extract async
|
2022-07-07 15:40:01 +02:00 |
|
Isaac Clayton
|
7d128e81aa
|
Add lsp_settings_changed: Task to Project, need to resolve cx in Project::on_settings_changed
|
2022-07-07 15:39:59 +02:00 |
|
Isaac Clayton
|
f4b4212932
|
More work on transitioning to async, need to figure out when to stop
|
2022-07-07 15:38:28 +02:00 |
|
Isaac Clayton
|
feb6cf6789
|
Allow async to infect some more functions
|
2022-07-07 15:34:27 +02:00 |
|
Isaac Clayton
|
61f5326033
|
Add timing instrumentation
|
2022-07-07 15:32:43 +02:00 |
|
Isaac Clayton
|
2c637b83bf
|
Work on updating code to be async
|
2022-07-07 15:32:41 +02:00 |
|
Isaac Clayton
|
841a9bd2a7
|
Make into async trait, will refactor everything Monday
|
2022-07-07 15:25:49 +02:00 |
|
Isaac Clayton
|
568017da85
|
Annotate that the bug is due to a deadlock, fixing now
|
2022-07-07 15:23:27 +02:00 |
|
Isaac Clayton
|
37e04320aa
|
Checkpoint
|
2022-07-07 15:23:27 +02:00 |
|
Isaac Clayton
|
92c4552146
|
Isolate smol::Command hang as a test, does not hang
|
2022-07-07 15:23:27 +02:00 |
|
Isaac Clayton
|
e5481e2e65
|
Switch from std::process::Command to smol::process::Command
|
2022-07-07 15:22:17 +02:00 |
|
Isaac Clayton
|
42fc278913
|
Comment out label_for_completion for now
|
2022-07-07 15:22:17 +02:00 |
|
Isaac Clayton
|
f61ef446d3
|
Documentation pass
|
2022-07-07 15:22:17 +02:00 |
|
Isaac Clayton
|
4565f1a976
|
Add async host functions
|
2022-07-07 15:22:17 +02:00 |
|
Isaac Clayton
|
a5a0abb895
|
Update usage of WasiPlugin -> Plugin
|
2022-07-07 15:22:17 +02:00 |
|
Isaac Clayton
|
018fd46901
|
Rename WasiPlugin -> Plugin, etc.
|
2022-07-07 15:22:17 +02:00 |
|
Isaac Clayton
|
31e3a4d208
|
WIP: wrap async closures host-side
|
2022-07-07 15:22:17 +02:00 |
|
Isaac Clayton
|
f110945fd6
|
Add functions with multiple arguments to import macro, add test cases
|
2022-07-07 15:22:17 +02:00 |
|
Isaac Clayton
|
28f071e50d
|
Split out lifecycle of serialization, buffer is freed now
|
2022-07-07 15:22:17 +02:00 |
|
Isaac Clayton
|
8aef8ab259
|
Add build.rs to rebuild plugins, and a test plugin
|
2022-07-07 15:22:17 +02:00 |
|
Isaac Clayton
|
5b40734f80
|
Change ABI from pair of u32s to single u64
|
2022-07-07 15:22:17 +02:00 |
|
Isaac Clayton
|
7edcf7c423
|
Factor out serialization code
|
2022-07-07 15:22:17 +02:00 |
|