Tad Hardesty
f9cb681c14
Add menu item to disable debug mode
2019-11-15 23:03:26 -08:00
Tad Hardesty
378e32eedd
Fix checkbox menu items
2019-11-15 23:03:26 -08:00
Tad Hardesty
9fc0112f8c
Add version info to editor help menu
2019-11-15 23:03:26 -08:00
Tad Hardesty
bd9a5fce3b
Resolve imgui deprecation warnings
2019-11-14 22:52:42 -08:00
Tad Hardesty
9990638c66
Fix phantom 'Debug' window
2019-11-14 22:52:42 -08:00
Tad Hardesty
ff52e34fce
Remove old dark theme code
2019-11-14 22:52:42 -08:00
Tad Hardesty
537313c0f8
Update editor's imgui, gfx, glutin dependencies
2019-11-14 22:52:42 -08:00
Tad Hardesty
214842276b
Update editor's toml dependency
2019-11-14 22:52:42 -08:00
Tad Hardesty
ed87545b97
Update editor's ndarray dependency
2019-11-14 22:52:42 -08:00
Tad Hardesty
4f90287f14
Make Constant: Eq + Hash again
2019-11-14 22:52:42 -08:00
Tad Hardesty
7124282d36
Resolve 'reundant import' lints in editor
2019-11-14 18:54:40 -08:00
Tad Hardesty
1b5a52d746
Resolve 'dyn' lints in editor
2019-11-14 18:54:29 -08:00
Tad Hardesty
6b0bd60688
Switch editor to zenity-based nfd-rs fork
2019-11-14 18:24:20 -08:00
Tad Hardesty
29989cef35
Fix duplicate proc entries for New, Del, and Topic
2019-11-12 21:46:39 -08:00
Tad Hardesty
64150e9185
Fix failing to look up file annotations in langserver
...
Store paths relative to the .dme in the context where possible, to match
that we make paths relative when looking them up.
Introduced in b1fd93f5c5 .
2019-11-12 18:44:29 -08:00
Tad Hardesty
685f087531
Remove unused #[allow(dead_code)] attributes
2019-11-11 19:58:08 -08:00
Tad Hardesty
8172d78535
Remove unused dmm_tools::utils
2019-11-11 19:53:24 -08:00
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