Commit graph

1530 commits

Author SHA1 Message Date
Tad Hardesty
d6cb8ee219 Add lint for attempting to iterate over /datum/foo 2020-09-05 14:16:26 -07:00
Tad Hardesty
95aba44287 Represent that list() returns /list instances 2020-09-05 14:12:20 -07:00
Tad Hardesty
745846e642 Derive a static type for 'list - value' expressions 2020-09-05 14:11:54 -07:00
Tad Hardesty
6a79662184 Show readmes at the level of their parent in the tree 2020-08-30 20:47:56 -07:00
Tad Hardesty
a2437fc98c Strip \proper and \improper prefixes from names 2020-08-29 22:43:54 -07:00
Tad Hardesty
ab35bd188d Replace dmdoc --modules with autodetection and --index
Instead of supporting only one .md search directory, and always taking
that directory's README.md as the index if it exists, now any top-level
directory (_maps, code, interface, &c.) which has any files included in
the .dme is searched and the --index argument can be used to manually
specify which .md file will be used as the index.
2020-08-29 22:33:26 -07:00
Tad Hardesty
93f5d3bbd9 Add helper for treating .txt files like Markdown 2020-08-29 22:22:10 -07:00
Tad Hardesty
42e912e7d6 Include .txt files within code directory as docs 2020-08-29 21:47:48 -07:00
Neerti
235ae7165a
Add missing filter flags for the outline filter (#206)
Fixes #205.

Tried to fix the issue I found last night in the same way that #165 
added other filter flags, but that PR seemed to have forgotten to add 
the two outline flags.

I tested this locally and the error doesn't come up now so it does work.
2020-08-14 20:00:58 -07:00
Tad Hardesty
ac037752c9 Bump versions for suite 1.5 2020-07-11 14:06:42 -07:00
Tad Hardesty
47f087473c Bump claimed DM version to 513.1527 2020-07-11 14:04:08 -07:00
Tad Hardesty
af3ea8539c Fix false positive diagnostic on PureProc().Foo() calls
Fixes #188.
2020-07-11 13:32:43 -07:00
Tad Hardesty
2ee51dc0c3 Upgrade to lsp-types v0.75.0 2020-07-11 13:01:03 -07:00
Tad Hardesty
7f34f0c965 Upgrade to ordered-float v2.0.0 2020-07-11 12:51:17 -07:00
Tad Hardesty
ced3f42620 Upgrade to lodepng v3.0 2020-07-11 12:49:53 -07:00
Tad Hardesty
ccd6f9cae2 Run cargo update 2020-07-11 12:24:54 -07:00
Tad Hardesty
00c82e6346 Add the word 'on' to var/proc completion details 2020-07-03 17:38:09 -07:00
Tad Hardesty
b3f77df6f6 Show full #define body in completion details 2020-07-03 17:24:54 -07:00
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