Commit graph

1597 commits

Author SHA1 Message Date
pali
650daa0eb0
added warning for return x in spawn context (#228) 2020-11-24 23:08:38 +08:00
Tad Hardesty
13fd304f04 Box parts of Statement::Switch and ForLoop
Statement: 112 to 104
2020-11-23 20:11:47 -08:00
Tad Hardesty
2dcd579fa8 Change ast::Block from Vec to boxed slice
Statement: 120 to 112
2020-11-23 19:54:50 -08:00
Tad Hardesty
767f944c4a Box VarStatement in Statement::Var
Statement: 128 to 120
2020-11-23 19:54:56 -08:00
Tad Hardesty
e1ff16ef78 Box Term in Expression to save memory
Expression: 152 to 64
Statement: 216 to 128
2020-11-23 19:54:50 -08:00
Tad Hardesty
a28255e972 Box Prefab in Term to save memory
Term: 128 to 88
Expression: 192 to 152
Statement: 256 to 216
2020-11-23 19:54:50 -08:00
Tad Hardesty
e33ebabd3f Box the largest Statement variants to save memory
Statement: 664 to 256
2020-11-23 19:54:50 -08:00
Tad Hardesty
c939a1f65f Replace String with Ident in some data definitions 2020-11-22 16:51:41 -08:00
Tad Hardesty
0eecb87f54 Reduce code size of builtins::default_defines 2020-11-22 16:34:26 -08:00
Tad Hardesty
66d4b82972 Add 'repeat' from ripple filter to animate() parameter list 2020-11-22 13:02:50 -08:00
spookydonut
0af799c76e Add /sound/var/offset 2020-10-30 11:31:12 +08:00
spookydonut
66c3c90384
Fix "should not sleep" to catch world.Export and world.Import (#216)
Fixes #208.
2020-10-10 14:28:00 -07:00
Tad Hardesty
f2dc9a4567 Bump versions for suite 1.6 2020-10-08 19:03:17 -07:00
Tad Hardesty
4fa0aa1c99 Run cargo update 2020-10-08 18:45:46 -07:00
Tad Hardesty
093675cf28 Fix kirbyplant/random rendering 2020-10-08 18:25:22 -07:00
Tad Hardesty
3463cda922 Implement bitmask smoothing 2020-10-08 18:24:33 -07:00
Tad Hardesty
1d3f2a2a36 Rename constants according to bitmask smoothing refactor 2020-10-08 17:52:39 -07:00
Tad Hardesty
7973937362 Add another sleep-override unit test for parent_type situations 2020-10-08 17:15:07 -07:00
spookydonut
ed0b94d4a3
Fix sleep and purity lints not counting proc overrides (#214)
Fixes #203.
2020-10-08 17:14:38 -07:00
Leshana
21c4192395
Populate errortype on more errors (#201)
- Added unreachable_code, proc_has_no_parent, and 
  loop_condition_determinate error types.
- Added one use of control_condition_static where it was missing.
- Added unit tests covering some of the error conditions I looked at 
  while adding these.
2020-10-06 22:35:45 -07:00
Tad Hardesty
ff60f2cf1a Exit dmdoc --dry-run with an error count 2020-10-06 22:13:45 -07:00
Tad Hardesty
6a4d76600e Warn on .dm, .txt, .md crosslinks which do not exist or are undocumented 2020-10-06 22:08:01 -07:00
ZeWaka
c52536bbe1
Implement multiple suggested clippy lints (#213)
* match_like_matches_macro
* mem_replace_with_default
* match_ref_pats
* single_char_push_str
* len_zero
* should_implement_trait
* mem_discriminant_non_enum
* needless_return
2020-10-04 11:56:59 -07:00
Tad Hardesty
2488a6ecb9 Distinguish as() from its absence 2020-10-03 13:48:22 -07:00
Tad Hardesty
c7829529fb Add back "relatively pathed type" warnings
Missing since 9d0e4050a1.
2020-09-27 15:03:41 -07:00
Tad Hardesty
b9d8c0868b Add preserveFocusHint to thread StoppedEvents 2020-09-25 16:29:02 -07:00
Tad Hardesty
1fc5056b40 Show sleeping proc queue as threads in VSC 2020-09-24 19:39:13 -07:00
Tad Hardesty
1da4eb3246 Add scaffolding for multiple threads 2020-09-23 20:07:24 -07:00
Tad Hardesty
cd99c8b665 Add dmdoc --dry-run which skips outputting HTML 2020-09-23 17:33:30 -07:00
Tad Hardesty
abd490789a Let extools handle line-stepping instead of looping w/ timeout 2020-09-22 20:36:12 -07:00
Tad Hardesty
b4594c2f4b Distinguish between Pause and Step Into 2020-09-22 19:59:45 -07:00
ZeWaka
cef54e1c32
Document dmdoc crosslinks and titles (#212)
Documented the usage of crosslinks and titles on the dmdoc README.md.
Also mentioned that .txt files also get rendered and added to the 
modules tree.
2020-09-21 22:26:54 -07:00
Tad Hardesty
b47b7772cc Return an error code from dmdoc if no .dme exists 2020-09-21 22:19:50 -07:00
Tad Hardesty
a1628f286c Sloppily resolve code/foo/bar.dm crosslinks 2020-09-21 22:17:49 -07:00
Tad Hardesty
3442bafb1a Correct [gvar] to [/var/gvar] 2020-09-21 21:45:35 -07:00
Tad Hardesty
40aacd9a87 Distinguish nonexistent and undocumented crosslinks 2020-09-21 21:17:18 -07:00
Tad Hardesty
e4decd00a4 Add crosslink warning for undocumented macros 2020-09-21 20:54:37 -07:00
Tad Hardesty
07de276349 Attempt to correct /ty/procname to /ty/proc/procname in crosslinks 2020-09-21 18:12:36 -07:00
Tad Hardesty
7581ba704e Show on which docs a bad crosslink occurs 2020-09-21 17:44:01 -07:00
Tad Hardesty
cd9dccad8d Implement StepOut 2020-09-20 22:12:55 -07:00
Tad Hardesty
027089c130 Remove AST-walking local var name detection 2020-09-20 12:59:31 -07:00
Tad Hardesty
f91358cc64 Use extools-provided local and param names 2020-09-20 12:54:01 -07:00
Tad Hardesty
e064dff029 Include :1 column only on the top of the stack trace 2020-09-20 12:53:07 -07:00
Tad Hardesty
e4c0d84c6f Format proc offsets in disassembly as hex 2020-09-20 11:50:15 -07:00
Tad Hardesty
f1def794d0 Add document links for 'resource' expressions 2020-09-19 18:12:28 -07:00
Tad Hardesty
3a17944a66 Add document links for #include lines 2020-09-19 17:59:33 -07:00
Tad Hardesty
3930cfcffe Update lsp-types dependency to v0.80.0 2020-09-16 20:18:58 -07:00
Tad Hardesty
3d76bc5ed2 Run cargo update 2020-09-16 20:09:54 -07:00
Tad Hardesty
6a3c6860c7 Add debug disassembly output if a breakpoint fails to set 2020-09-16 20:02:13 -07:00
Tad Hardesty
3c9be17701 Fix errors if /client/parent_type is left at the default 2020-09-15 19:51:19 -07:00