Commit graph

188 commits

Author SHA1 Message Date
Tad Hardesty
a9c366d759 Disable dead code warnings in the debugger 2019-11-11 19:50:31 -08:00
Tad Hardesty
ca76e7f67e Add --version flag to langserver 2019-11-11 19:40:50 -08:00
Tad Hardesty
a2eece17a8 Codify launched subprocess state machine 2019-11-11 19:14:53 -08:00
Tad Hardesty
93cde34a78 Add back Launched type to handle child process 2019-11-11 17:38:31 -08:00
Tad Hardesty
9b5ac2fb1b Place the sequence number inside an Arc 2019-11-10 22:01:15 -08:00
Tad Hardesty
64e54a943d Inline Debuggee into Debugger 2019-11-10 21:58:11 -08:00
Tad Hardesty
446981cef7 Add method for issuing events to the client 2019-11-10 21:37:19 -08:00
Tad Hardesty
8e331dd6e6 Add supportTerminateDebuggee capability 2019-11-10 21:25:02 -08:00
Tad Hardesty
867804623c Exit quietly on stdin EOF 2019-11-10 20:36:06 -08:00
Tad Hardesty
5c7277a28d Spawn DreamSeeker on launch request 2019-11-10 20:35:45 -08:00
Tad Hardesty
6a465c44a5 Rearrange ClientCaps initialization 2019-11-10 20:17:23 -08:00
Tad Hardesty
03ee398d74 Avoid using libstd Error::description 2019-11-10 20:12:26 -08:00
Tad Hardesty
97b928598a Add types for 'launch' and 'disconnect' requests 2019-11-10 20:09:04 -08:00
Tad Hardesty
4fb0ac4447 Store debug client capabilities 2019-11-10 19:52:29 -08:00
Tad Hardesty
c793b79123 Add infrastructure for handling DAP requests 2019-11-10 19:43:42 -08:00
Tad Hardesty
ddbb3e9b39 Add initial structure and types for debugger 2019-11-10 18:38:53 -08:00
Tad Hardesty
174e7c0c50 Remove wasm target from langserver 2019-11-10 17:47:00 -08:00
Tad Hardesty
e6c132d12b Bump versions for suite 1.1 2019-11-08 20:37:06 -08:00
Tad Hardesty
ac971ee8f5 Set the 'source' field for general langserver diagnostics 2019-11-06 22:01:09 -08:00
Tad Hardesty
316ddb286a Fix builtins incorrectly inheriting from /datum
The /list, /savefile, /world, and /client types now only declare the
subset of vars and procs they share with /datum. The /list, /savefile,
and /world types reject attempts to modify their parent_type.

Fixes #98.
2019-11-06 21:53:13 -08:00
Tad Hardesty
424731084e Update dependency versions 2019-11-06 18:48:34 -08:00
Tad Hardesty
bd255d1ca7 Drop proc bodies after find-usages finishes 2019-11-02 18:05:44 -07:00
Tad Hardesty
f24e8d25a2 Fix crash when commenting on the global level 2019-09-28 18:31:14 -07:00
Tad Hardesty
d1e2a61ceb Hide NYI logs for $/cancelRequest 2019-08-30 18:32:49 -07:00
Tad Hardesty
2d30eb2cb1 Remove debug logging from Workspace Symbol Search 2019-08-30 18:30:35 -07:00
Tad Hardesty
2644479a93 Fix deprecation warnings in Rust 1.37 2019-08-17 12:54:07 -07:00
Tad Hardesty
a0cdb4fe44 Return documentation with completion results 2019-07-14 20:18:33 -07:00
Tad Hardesty
1fb53dc003 Add TypeProc::main_value method 2019-07-14 20:18:21 -07:00
Tad Hardesty
ff0a740d5b Remove some unused mut annotations 2019-07-04 11:12:38 -07:00
Tad Hardesty
fb133cb7c5 Bump command-line tools to 1.0.0 2019-07-03 13:45:34 -07:00
Tad Hardesty
2f4ed73d94 Add a readme for the dreammaker crate 2019-07-02 20:35:20 -07:00
Tad Hardesty
f9f830ea92 Update dependency versions
Updates git2, rand, jsonrpc-core, lsp-types, pulldown-cmark.
2019-07-02 00:26:02 -07:00
Tad Hardesty
fc40d8092c Update copyright years in dmm-tools and dm-langserver 2019-06-30 14:57:20 -07:00
Tad Hardesty
079a4af9fb Add Sublime extension link 2019-06-24 13:22:28 -07:00
Tad Hardesty
defadb8e7d Update feature list in langserver README 2019-06-24 13:09:07 -07:00
Tad Hardesty
9353f820ad Support GotoDefinition on proc names in proc headers 2019-06-24 11:46:52 -07:00
Tad Hardesty
df6b02b4a0 Erase old diagnostics for now-clean files on reparse 2019-06-23 20:51:43 -07:00
Tad Hardesty
51a0fd2631 Add a reparse notification for faster diagnostic pumps 2019-06-23 20:47:57 -07:00
Tad Hardesty
df654bda95 Sort results of Find References 2019-06-23 19:04:02 -07:00
Tad Hardesty
8cc091e6c0 Improve document open/close diagnostics 2019-06-22 18:55:22 -07:00
Tad Hardesty
2294d29b95 Handle Exit notifications without decoding them
Sublime likes to send exit with a {} payload rather than a null
playload.
2019-06-22 18:51:49 -07:00
Tad Hardesty
e7dfb74add Run dreamchecker in langserver single-file mode 2019-05-06 00:09:31 -07:00
Tad Hardesty
974eb7e34e Store the object tree in single-file mode 2019-04-03 01:08:07 -07:00
Tad Hardesty
70f8dd5a96 Use the global context to allow file_url to work 2019-04-02 23:42:53 -07:00
Tad Hardesty
12185035d0 Handle rootless environment in get_annotations 2019-04-02 23:19:56 -07:00
Tad Hardesty
58e3905cb6 Set InitStatus earlier in Initialize handler 2019-04-02 21:09:29 -07:00
Tad Hardesty
83ca8323af Replace PathBuf with Url where possible in the langserver 2019-04-02 21:07:44 -07:00
Tad Hardesty
372e61d114 Add JS import which simulates infinite loop (to keep stderr open) 2019-04-02 19:39:53 -07:00
Tad Hardesty
d79d42e10a Further restructure langserver::io for WebAssembly 2019-04-02 18:29:18 -07:00
Tad Hardesty
28de01e74d Add first-pass WebAssembly support for the langserver 2019-04-02 18:05:07 -07:00