Commit graph

1512 commits

Author SHA1 Message Date
Tad Hardesty
ea6966018e Add expression and statement keywords to completion list
Fixes #76.
2020-07-03 17:03:47 -07:00
Tad Hardesty
ee73b109f3 Make some functions in completion module private 2020-07-03 16:49:48 -07:00
Jordan Brown
36e69a38b8
Fix sleeping code under spawn() triggering SpacemanDMM_should_not_sleep (#177)
Fixes #175.
2020-07-03 16:24:06 -07:00
mloc
430dff1ca7
Fix precedence for bitwise operations (#197) 2020-06-29 17:48:26 -07:00
ZeWaka
3d915a367b
Add the PASS_MOUSE flag introduced in 513 (#195)
http://www.byond.com/docs/ref/#/atom/var/appearance_flags
2020-06-21 11:24:16 -07:00
Tad Hardesty
6666f117ff Skip dreamchecker lints if parser fatal errored 2020-06-07 11:20:55 -07:00
Tad Hardesty
4a6661bab2 Consider proc parameter paths to always be absolute
Fixes #190.
2020-06-05 17:14:02 -07:00
Tad Hardesty
bd1fd3b4ed Add client/var/bound_* aliases 2020-06-04 18:54:22 -07:00
Tad Hardesty
3d213ada21 Add more undocumented /image vars
Fixes #186.
2020-06-04 18:09:12 -07:00
Tad Hardesty
4c8171acec Avoid spamming errors on files outside workspace 2020-05-23 15:22:32 -07:00
Tad Hardesty
78175f891f Add 'environment' configuration key for langserver to use 2020-05-15 12:46:47 -07:00
Jordan Brown
35915f7cb9
Add /atom/var/bounds to builtins (#185)
Fixes #184.
2020-05-15 10:36:08 -07:00
Tad Hardesty
4dd04f4855 Remove dmm-tools check 2020-05-10 15:04:40 -07:00
Tad Hardesty
26884c87ab Add dreamchecker --parse-only 2020-05-10 15:03:52 -07:00
Tad Hardesty
8c6034f5fe Add more detail to langserver parse timings
Also tweak when/where other debug messages appear.
2020-05-10 12:50:12 -07:00
Tad Hardesty
3baa553c1c Fix iteration order dependence of sleep/purity checks 2020-05-10 00:26:01 -07:00
Tad Hardesty
2bdf680c5b Clean up sleep/purity code a bit 2020-05-10 00:00:15 -07:00
Tad Hardesty
2992349c24 Add 'should not sleep set here' notes to relevant errors 2020-05-09 23:13:27 -07:00
Tad Hardesty
e18092c7fd Remove petgraph dependency 2020-05-09 22:38:55 -07:00
Tad Hardesty
54f2a7bc47 Use a BTreeMap for parent->child node lookups by name 2020-05-09 22:35:13 -07:00
Tad Hardesty
ee650919cd Use self[idx] in ObjectTree 2020-05-09 22:20:39 -07:00
Tad Hardesty
9b523c7a9e Passthru docs on proc/ blocks rather than complaining 2020-05-09 13:50:22 -07:00
Tad Hardesty
f2063d66c8 Restore type specificity calculations 2020-05-09 13:32:05 -07:00
Tad Hardesty
a92421f504 Restore var/proc/tree annotations 2020-05-09 13:31:12 -07:00
Tad Hardesty
a7f36e4755 Unpublicize old ObjectTree methods 2020-05-09 11:36:07 -07:00
Tad Hardesty
3de68c8d0b Remove PathStack, improve errors 2020-05-09 11:36:07 -07:00
Tad Hardesty
9d0e4050a1 Rewrite tree_entry to track current position 2020-05-09 11:36:07 -07:00
Tad Hardesty
a5072cb6a6 Add new ObjectTree var creation helpers 2020-05-09 11:36:07 -07:00
Tad Hardesty
4f6c847d9e Lower redefined_proc to Hint by default due to its prevalence 2020-05-09 11:35:52 -07:00
Tad Hardesty
7f8dff13e4 Factor out possible_leading_slash method 2020-05-08 16:47:35 -07:00
Tad Hardesty
8c9e4f78dc Reorder object tree parsing methods 2020-05-08 16:47:35 -07:00
Tad Hardesty
ca00115be6 Factor proc_params_and_body method 2020-05-08 16:47:35 -07:00
Tad Hardesty
3f7c793162 Factor flags of VarType into VarTypeFlags bitfield 2020-05-08 16:47:35 -07:00
Tad Hardesty
4cbccb4819 Give 'approximately slash' its own method 2020-05-08 16:47:35 -07:00
Tad Hardesty
0605ea387e Split operator name handling into its own function 2020-05-08 16:47:35 -07:00
Tad Hardesty
a1f5494513 Unpublicize ObjectTree::types field 2020-05-08 16:47:35 -07:00
Tad Hardesty
62df607646 Hide petgraph inside ObjectTree 2020-05-08 16:47:35 -07:00
William Wallace
36313f0915
emit error when proc is defined multiple times (#181)
* emit error when proc is defined multiple times

* simplify

* simpler

Co-authored-by: spookydonut <github@spooksoftware.com>
2020-05-09 00:42:34 +08:00
Tad Hardesty
c63f9ac567 Return line numbers for stddef.dm procs when possible 2020-05-03 17:18:17 -07:00
Tad Hardesty
7471f362cf Supply stddef.dm source when stepped into 2020-05-03 16:46:45 -07:00
Tad Hardesty
8b38ab8031 Add DAP types for SourceRequest 2020-05-03 15:49:57 -07:00
Tad Hardesty
b45d07e658 Add Disassemble request in case VSC ever supports it 2020-05-03 15:36:37 -07:00
Tad Hardesty
a42929c12e Add DAP types for Disassemble 2020-05-03 15:32:25 -07:00
Tad Hardesty
775aa1c508 Add Globals alongside Arguments and Locals 2020-05-02 20:10:42 -07:00
Tad Hardesty
1abb3cd4b8 Format procpath variables in debugger 2020-05-02 19:51:11 -07:00
Tad Hardesty
5e514214b0 Always buffer files before lexing them 2020-05-02 15:30:41 -07:00
Tad Hardesty
c6a8af20d2 Buffer root .dme more efficiently 2020-05-02 14:24:22 -07:00
Tad Hardesty
f2eb7755ef Resolve unused parens warnings 2020-05-02 14:24:05 -07:00
Tad Hardesty
cbfa6890dc Add DAP types for Goto 2020-05-02 13:56:08 -07:00
Tad Hardesty
48728496a5 Organize Term::is_truthy further 2020-04-30 20:09:51 -07:00