Commit graph

79 commits

Author SHA1 Message Date
Filip Tibell
e041f3e2ea
Add test for instance attributes, fix binary strings 2023-03-25 11:39:32 +01:00
Filip Tibell
3a36a9dd1b
Add function for roblox auth cookie 2023-03-22 20:20:43 +01:00
Filip Tibell
bf574607fb
Make new async require work with concurrent requires 2023-03-22 18:16:45 +01:00
Filip Tibell
440d5f7ab1
Fix tests being flaky 2023-03-22 14:12:05 +01:00
Filip Tibell
b8b39eb0b8
Implement lua APIs for reading & writing roblox files 2023-03-21 21:53:10 +01:00
Filip Tibell
4aa61c7eca
Integrate roblox lib into new require mechanism 2023-03-21 19:13:41 +01:00
Filip Tibell
06ba6b867e
Implement url encoding & decoding in net 2023-03-21 17:48:07 +01:00
Filip Tibell
6a289583bf
Shuffle some code around, update changelog 2023-03-21 16:53:09 +01:00
Filip Tibell
9e6cd4b0af
Move net encode/decode into serde builtin instead 2023-03-21 16:48:28 +01:00
Filip Tibell
1f887cef07
Fix websockets memory leak 2023-03-21 15:46:14 +01:00
Filip Tibell
29a3b41e15
Implement new builtins scope for require 2023-03-21 15:06:28 +01:00
Filip Tibell
172ab16823
Finish implementing async require, add test cases 2023-03-21 11:07:42 +01:00
Filip Tibell
0975a6180b
Async require now mostly working 2023-03-20 14:51:19 +01:00
Filip Tibell
6318176516
Start work on require overhaul 2023-03-20 13:52:18 +01:00
Filip Tibell
1876a25922
Start work on improved module loader 2023-03-20 09:43:01 +01:00
Filip Tibell
a59b0190ab
Fix fs writeFile & readFile not working with invalid utf8 2023-03-11 08:16:16 +01:00
Filip Tibell
5bdc968ffe
Start work on roblox feature, implement document struct 2023-03-09 12:17:25 +01:00
Filip Tibell
99ca1fc230
Improve general error message formatting 2023-03-08 12:56:08 +01:00
Filip Tibell
cbd4ba967e
Implement passing scripts to cli through stdin, minor bug fix 2023-03-07 22:07:53 +01:00
Filip Tibell
d01d2a27f4
Improve websocket behavior, implement close code 2023-03-02 19:46:17 +01:00
Filip Tibell
88dbc368d1
Fix formatting-related panic 2023-02-26 13:59:34 +01:00
Filip Tibell
7d75d5c52f
Version 0.5.1 2023-02-25 13:41:50 +01:00
Filip Tibell
9fd6f66686
Add support for query pairs in net.request params 2023-02-23 11:31:42 +01:00
Filip Tibell
a59753569f
Implement tests for new fs move api 2023-02-23 10:20:57 +01:00
Filip Tibell
1fdc6d088c
Implement API for moving / renaming files and / or directories 2023-02-23 00:00:48 +01:00
Filip Tibell
eecffca741
De-UNC file paths on windows wherever possible 2023-02-22 23:21:37 +01:00
Filip Tibell
d6d0b74ce0
Skip test for now 2023-02-22 13:09:52 +01:00
Filip Tibell
edf225e888
Add os and arch constants to process global 2023-02-21 16:45:31 +01:00
Filip Tibell
36a3bd2113
Use more descriptive module name instead of 'utils' 2023-02-21 11:55:30 +01:00
Filip Tibell
0737c3254e
Fix internal task scheduler counter bug, do some cleanup 2023-02-21 11:45:09 +01:00
Filip Tibell
8fd39fcf9d
Improve error handling when net.serve callback errors 2023-02-21 11:32:47 +01:00
Filip Tibell
a7fab69838
More websocket generics 2023-02-21 00:06:56 +01:00
Filip Tibell
cdf7db51f6
Fix scheduler not always waking up 2023-02-20 17:27:33 +01:00
Filip Tibell
5f3169c1bb
Make websocket object generic over streams 2023-02-20 16:08:45 +01:00
Filip Tibell
c57677bdd3
Make websockets work again 2023-02-20 14:43:14 +01:00
Filip Tibell
801da61c0f
Clean up error handling & chunk loading 2023-02-20 13:02:22 +01:00
Filip Tibell
4cc983dbe6
Add coroutine test suite, implement status 2023-02-17 21:06:33 +01:00
Filip Tibell
dbe6c18d3a
Fix task.wait breaking after coroutine.resume 2023-02-17 19:47:10 +01:00
Filip Tibell
c45c78bdc2
More work on task scheduler 2023-02-17 19:20:17 +01:00
Filip Tibell
58ce046394
Implement proper async require & error handling 2023-02-17 15:03:13 +01:00
Filip Tibell
7f17ab0063
Only use threads and nothing else to simplify task scheduler 2023-02-17 00:08:24 +01:00
Filip Tibell
546ebbd349
Improve handling of async lua function creation 2023-02-16 23:23:52 +01:00
Filip Tibell
4ccaa52b87
Perform GC and cleanup in scheduler if there are only background tasks left 2023-02-16 21:45:18 +01:00
Filip Tibell
89387c51da
Use unwrap or default where possible 2023-02-16 18:17:56 +01:00
Filip Tibell
04a47babdd
Implement traceback helper to use in scheduler 2023-02-16 16:19:58 +01:00
Filip Tibell
b1e08bf813
Move scheduler fns into traits, improve error handling for scheduler not existing 2023-02-15 13:22:13 +01:00
Filip Tibell
fa14e4a02b
Refactor new task scheduler
* Use cell & refcell, we don't need mutexes

* Split out into several modules
2023-02-15 12:18:25 +01:00
Filip Tibell
8d44e1e827
Support built-in coroutine global in new task scheduler 2023-02-14 23:17:03 +01:00
Filip Tibell
3990b8e064
Properly handle blocking tasks spawned during async tasks in new scheduler 2023-02-14 21:36:04 +01:00
Filip Tibell
6f1ae83fbe
Make stdio.prompt async to let background tasks run 2023-02-14 21:14:50 +01:00