Commit graph

1070 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
b1fd93f5c5 Fix #include path resolution
It's pointless to search the current working directory because it's
either the same as the .dme directory and thus shouldn't supersede the
current file, or it isn't and nothing useful is likely to be found
there.

Fixes #111.
2019-11-09 21:34:19 -08:00
Tad Hardesty
e6c132d12b Bump versions for suite 1.1 2019-11-08 20:37:06 -08:00
Tad Hardesty
4fe214025f Run cargo update 2019-11-08 20:35:53 -08:00
Tad Hardesty
0fa7e557da Rename dmdoc -o argument to --output 2019-11-08 19:39:30 -08:00
Tad Hardesty
7fc9ae2412 Handle TRUE and FALSE constants in should_call_parent
Broken during the change of TRUE and FALSE from macros to const vars, so
the preprocessor doesn't transform them anymore and this argument isn't
currently const-evalauted.

Solved for now by handling the "TRUE" and "FALSE" idents specially.

Fixes #106.
2019-11-07 18:55:38 -08:00
Tad Hardesty
4742ca1c95 Strip leading '!' from module block comments
Fixes #90.
2019-11-07 18:46:43 -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
1a4946e480 Extend token-paste '##' to work with integer RHSs
Fixes #109.
2019-11-06 20:29:26 -08:00
Tad Hardesty
ccd81ada75 Skip constant evaluation on fatal parser error
Replaces the previous "sloppy" system which would still generate up to
one 'undefined var' error for variable assignments whose declarations
were lost, and did not protect against variable references in values.

Fixes #110.
2019-11-06 20:23:38 -08:00
Tad Hardesty
424731084e Update dependency versions 2019-11-06 18:48:34 -08:00
Tad Hardesty
715cd2ad1d Run cargo update 2019-11-06 18:36:38 -08:00
Tad Hardesty
babe8beb89 Fix proc hover printing the name twice
Introduced in b868daaa4c.
2019-11-05 19:00:55 -08:00
Tad Hardesty
bd255d1ca7 Drop proc bodies after find-usages finishes 2019-11-02 18:05:44 -07:00
Tad Hardesty
3bc83b11d1 Attempt UTF-8 decoding before falling back to Latin-1 2019-11-02 13:11:27 -07:00
Tad Hardesty
50e8d95961 Update Cargo.lock 2019-10-21 19:49:10 -07:00
Tad Hardesty
44c6f818fb Add command-line arguments to dreamchecker 2019-09-29 13:00:50 -07:00
Tad Hardesty
668bb4787a Add command-line arguments to dmdoc 2019-09-29 12:57:07 -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
b008910075 Put Toggle All behind an em dash 2019-08-18 16:19:48 -07:00
Pieter-Jan Briers
89eafa9e14 Very basic dark theme
Dark theme uses prefers-color-scheme media query.
2019-08-18 16:15:45 -07:00
Tad Hardesty
2644479a93 Fix deprecation warnings in Rust 1.37 2019-08-17 12:54:07 -07:00
Tad Hardesty
574f1f780e Allow #including .dme files 2019-07-15 18:09:10 -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
Ilya
c0963bb31a Add built in values for most of the atom vars (#89)
It seems legit, that vars with default values will have those values.
I also use them in my editor, so it's time to move them from my local
copy to original repo.

Values themself are taken from official BYOND ref.
2019-07-12 13:07:49 -07:00
Tad Hardesty
d304549816 Add release preparation script 2019-07-04 12:02:32 -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
64f8a75bf3 Add DreamChecker to root readme 2019-07-03 13:37:49 -07:00
Tad Hardesty
dd5f05fe3b Add 'Running' section to dmdoc readme 2019-07-03 12:35:58 -07:00