Commit graph

77 commits

Author SHA1 Message Date
Filip Tibell
fb1dc1ade2
Remove debug print 2023-01-24 20:31:13 -05:00
Filip Tibell
915dbf7bd9
Fix scripts that terminate instantly hanging forever 2023-01-24 20:30:47 -05:00
Filip Tibell
d3046194bc
Potential fix for process.spawn yield issue 2023-01-24 15:36:09 -05:00
Filip Tibell
7eff6e4555
Improve file paths in error stack traces 2023-01-24 15:27:38 -05:00
Filip Tibell
4f26b02de8
Improve tests for downloading definition files 2023-01-24 14:05:19 -05:00
Filip Tibell
5c6fdb4a6e
Make CLI tests less flaky 2023-01-24 13:48:37 -05:00
Filip Tibell
3c0e270279
Share more code in task lib test files 2023-01-24 12:52:41 -05:00
Filip Tibell
4609092ec4
Fix task.defer timing 2023-01-24 12:51:12 -05:00
Filip Tibell
113f290c59
Implement argument passing for task lib 2023-01-24 12:24:57 -05:00
Filip Tibell
371892fc7d
Properly remove task-spawned threads from registry after use 2023-01-24 12:10:43 -05:00
Filip Tibell
cb9aa1fc1b
Fix cli type definition download commands 2023-01-24 11:57:02 -05:00
Filip Tibell
709c307374
Add tests to prevent regressions in downloading type definitions 2023-01-24 11:53:06 -05:00
Filip Tibell
751adc04c3
Remove usage of block_on inside of async function 2023-01-24 11:31:27 -05:00
Filip Tibell
0d0bb3f178
Implement relative path requires, proper exit codes 2023-01-24 02:05:54 -05:00
Filip Tibell
bfe852f034
Uncomment task lib argument stuff to prepare for implementation 2023-01-23 20:59:57 -05:00
Filip Tibell
8020d93144
Add missing minimum task wait/delay 2023-01-23 19:59:35 -05:00
Filip Tibell
1011db6372
Silence task.wait error in canceled tasks 2023-01-23 19:54:16 -05:00
Filip Tibell
fcf59455db
Improve task.cancel unit test 2023-01-23 19:21:53 -05:00
Filip Tibell
af8eb08433
Update unit tests & typedefs 2023-01-23 19:13:18 -05:00
Filip Tibell
d4ad835fd8
Lune library internal util improvements, type definition improvements 2023-01-23 18:52:31 -05:00
Filip Tibell
2eb12c9aed
Fix task.spawn not running instantly 2023-01-23 17:50:11 -05:00
Filip Tibell
8fca650f46
Fix coroutine.resume 2023-01-23 17:39:16 -05:00
Filip Tibell
b1e7b2dd77
Use static coroutine close function instead of always fetching global 2023-01-23 17:34:43 -05:00
Filip Tibell
dc8206d9fd
Remove another old TODO 2023-01-23 16:20:07 -05:00
Filip Tibell
f549b98925
Remove old TODO 2023-01-23 16:19:40 -05:00
Filip Tibell
eea1e65c07
Clean up boilerplate in task lib implementation 2023-01-23 16:18:20 -05:00
Filip Tibell
f2c9213e3e
Fix task cancel test being flaky due to task spawn scheduling 2023-01-23 14:09:10 -05:00
Filip Tibell
547d8f25f3
Fix task lib sending too many messages 2023-01-23 13:54:34 -05:00
Filip Tibell
fd8a41759c
Improve process error code handling 2023-01-23 13:51:32 -05:00
Filip Tibell
c2ee188ad5
Fix process.spawn yielding issue 2023-01-23 13:18:48 -05:00
Filip Tibell
5839a7b021
Minor runner improvements 2023-01-23 02:47:06 -05:00
Filip Tibell
19829d7cf4
Re-implement task library, take two 2023-01-23 02:38:32 -05:00
Filip Tibell
54846648fd
Re-implement task library 2023-01-22 23:00:09 -05:00
Filip Tibell
746990938c
Version 0.0.5 2023-01-22 21:46:30 -05:00
Filip Tibell
d531cf3813
Use mlua prelude instead of manual imports 2023-01-22 21:31:55 -05:00
Filip Tibell
09a7619995
Clean up err returns 2023-01-22 21:21:11 -05:00
Filip Tibell
06339a2699
Migrate away from tokio & reqwest, use smol & ureq 2023-01-22 21:14:13 -05:00
Filip Tibell
e5e96dfd54
Use table builder wherever possible instead of manual table creation 2023-01-22 20:18:09 -05:00
Filip Tibell
4ed69994a2
Improve test output 2023-01-22 19:25:36 -05:00
Filip Tibell
276200225b
Ensure threads get returned from task lib in unit tests 2023-01-22 17:06:35 -05:00
Filip Tibell
f22ef577cf
More work on task lib 2023-01-22 17:05:01 -05:00
Filip Tibell
02fd4e8733
Cleanup 2023-01-22 16:36:34 -05:00
Filip Tibell
706368a462
Implement functional but blocking task lib in rust 2023-01-22 16:26:45 -05:00
Filip Tibell
6b14bc3dc0
Pass ownership to global constructors to avoid lifetime issues 2023-01-22 15:23:56 -05:00
Filip Tibell
6d432171e5
Refactor task wait test 2023-01-22 14:44:23 -05:00
Filip Tibell
af0c6d882e
Make wait async again 2023-01-22 14:39:57 -05:00
Filip Tibell
f8a2eb79d4
Implement task library & test suite, mostly 2023-01-21 20:11:17 -05:00
Filip Tibell
8ab5855ccc
Add missing task.cancel API 2023-01-21 17:23:39 -05:00
Filip Tibell
3689eb17d2
More output formatting improvements 2023-01-21 17:02:49 -05:00
Filip Tibell
7814282d3d
Prepare for task scheduler, improve error formatting 2023-01-21 16:40:57 -05:00