Commit graph

164 commits

Author SHA1 Message Date
Filip Tibell
2f3fb07b7c New net.serve implementation 2023-08-22 20:00:58 -05:00
Filip Tibell
dbf5c989c2 Make task.wait test a bit more lenient 2023-08-22 20:00:58 -05:00
Filip Tibell
49864eb162 More accurate task.wait benchmarks in test 2023-08-22 20:00:58 -05:00
Filip Tibell
e3449e7fd9 Run process.spawn on separate thread, if possible 2023-08-22 20:00:58 -05:00
Filip Tibell
02c9bce645 Add test to ensure warn global exists and is a function 2023-08-22 20:00:58 -05:00
Filip Tibell
3b0f6ebab2 Add fixme note to process spawn test 2023-08-22 20:00:58 -05:00
Filip Tibell
59aef5c170 Split scheduler futures into lua & background, improve async tests 2023-08-22 20:00:58 -05:00
Filip Tibell
9bb3854554 Net serve test improvements, add some impl notes to scheduler 2023-08-22 20:00:58 -05:00
Filip Tibell
f0099ac5e8 Figure out whats causing sigsegv 2023-08-22 20:00:58 -05:00
Filip Tibell
577f8d7928 Remove usage of unstable mlua feature 2023-08-22 20:00:58 -05:00
Filip Tibell
57677278c4 Fix pcall test, improve scheduler panic message 2023-08-22 20:00:58 -05:00
Filip Tibell
3cd7a8945c Fix wait_for_thread and remove debugging for it 2023-08-22 20:00:58 -05:00
Filip Tibell
7e7cfd7cd0 Add some different debugging 2023-08-22 20:00:58 -05:00
Filip Tibell
ee21921601 Add some debugging for require 2023-08-22 20:00:58 -05:00
Filip Tibell
d40a7b6b4f Add back roblox builtin 2023-08-22 20:00:58 -05:00
Filip Tibell
24b6498774 Rename version global test 2023-08-22 20:00:58 -05:00
Filip Tibell
6757e1a1a8 Initial barebones scheduler implementation and interface 2023-08-22 20:00:58 -05:00
David C
72adb2172f
Pass arguments to coroutine in coroutine.resume (#86) 2023-08-14 15:52:53 -05:00
David C
c86190def1
Implement variadic versions of CFrame methods (#85) 2023-08-14 15:43:01 -05:00
Filip Tibell
375f1b9334
Make luau compile options more strict to avoid panics 2023-08-11 19:17:48 -05:00
AsynchronousMatrix
0a8773dc04
Implement new luau built-in library. (#82) 2023-08-10 14:38:25 -05:00
Filip Tibell
9ff142e6e2
Fix require on files with multiple extensions 2023-08-04 16:58:18 -05:00
Filip Tibell
9a91bf999d
Minor test file fixes 2023-07-22 14:45:18 +02:00
Filip Tibell
f4609ffba6
Make fs metadata test less flaky 2023-07-21 12:13:16 +02:00
Filip Tibell
8853aad620
Implement reflection database accessible from lua in roblox builtin 2023-07-21 12:10:56 +02:00
Filip Tibell
49ae85af03
Clean up fs tests 2023-07-20 20:06:42 +02:00
Filip Tibell
b0f23a406b
Implement copying api for fs builtin 2023-07-20 19:29:21 +02:00
Filip Tibell
bca3de9454
Implement metadata api for fs builtin 2023-07-20 12:25:36 +02:00
Filip Tibell
fccfe8b5b0
Rename directories test 2023-07-20 08:38:19 +02:00
AsynchronousMatrix
9e28822e8f
Fix not being able to read & write to WebSocket objects at the same time (#68) 2023-07-19 19:30:27 +02:00
Filip Tibell
1dc0ea67e3
Add support for CFrame and Font in instance attributes 2023-07-07 09:02:02 +02:00
Filip Tibell
65f2319a64
Add support for init files 2023-06-28 10:58:02 +02:00
Filip Tibell
594e773236
Dont output anything from wss test unless its an error 2023-06-28 10:38:46 +02:00
reggie
aaa0977d54
Add TLS support for net.socket(), fix WebSocket.closeCode behavior (#57) 2023-06-15 22:36:05 +02:00
Filip Tibell
3bc0e129b3
Add test for automatic decompression in net builtin 2023-06-12 10:00:00 +02:00
Filip Tibell
bcdc5f14a5
Finish up serde compression, implement tests 2023-06-12 08:51:14 +02:00
Filip Tibell
42ab2da1ed
Sort requires for test files 2023-06-08 11:21:00 +02:00
Filip Tibell
155ae550db
Update roblox test files 2023-06-08 11:16:47 +02:00
Filip Tibell
151d8cc945
typeof now returns roblox type names 2023-05-26 09:38:11 +02:00
Filip Tibell
65ea0edc12
Migrate away from httpbin for unit tests 2023-05-24 11:25:14 +02:00
Filip Tibell
73efb5fc99
More typedef improvements for roblox builtin 2023-05-20 19:49:37 +02:00
Filip Tibell
2297350c6e
Migrate roblox builtin functions for place & model files to more flexible APIs 2023-05-20 14:23:51 +02:00
Filip Tibell
ad59ae01d4
Implement recursive arg for instance find methods, remove FindFirstDescendant 2023-05-20 10:02:06 +02:00
Filip Tibell
e0ba2579d9
Replace CollectionService implementation with native instance tag APIs 2023-05-20 09:49:55 +02:00
Filip Tibell
80e47baded
Migrate tests to using new require builtins syntax and typedefs 2023-05-14 22:16:58 +02:00
Filip Tibell
a6ed00ad33
Fix _G 2023-04-29 11:02:46 +02:00
Filip Tibell
0d06e096c5
Make _VERSION global consistently formatted and add runtime version to it 2023-04-20 08:52:54 +02:00
Filip Tibell
a21cfc5297
Improve cframe datatype unit test 2023-03-27 20:01:11 +02:00
Filip Tibell
03680eccc6
Fix access of special instance link properties on some classes 2023-03-27 15:59:06 +02:00
Filip Tibell
a82624023f
Fix CFrame math 2023-03-27 12:48:51 +02:00
Filip Tibell
5cc8ba9d8e
Fix setting attributes on empty instances 2023-03-26 12:07:55 +02:00
Filip Tibell
7cbc75f8e9
Add cloning to attribute test 2023-03-26 11:58:30 +02:00
Filip Tibell
309958deed
Fix instance reference property crash 2023-03-26 11:52:38 +02:00
Filip Tibell
8799c26191
Add tests for datamodel & collectionservice 2023-03-26 09:38:59 +02:00
Filip Tibell
dcec0e6ad3
Finish up roblox instance method test suite 2023-03-25 18:04:19 +01:00
Filip Tibell
191bbf15bb
Implement more tests for instance methods 2023-03-25 17:26:16 +01:00
Filip Tibell
c43d164c6a
Implement more instance method tests 2023-03-25 17:07:08 +01:00
Filip Tibell
6895b66550
Fix unnecessary error message printing for destroyed instances 2023-03-25 16:46:46 +01:00
Filip Tibell
580ed6414c
Implement proper cloning of instance reference properties for instance cloning 2023-03-25 16:13:26 +01:00
Filip Tibell
e041f3e2ea
Add test for instance attributes, fix binary strings 2023-03-25 11:39:32 +01:00
Filip Tibell
8b0edc8dae
Fix access of roblox instance reference properties when they are not set 2023-03-25 11:12:09 +01:00
Filip Tibell
124c0d06b5
Fix roblox builtin writing mysterious root instances 2023-03-23 09:42:24 +01:00
Filip Tibell
bf574607fb
Make new async require work with concurrent requires 2023-03-22 18:16:45 +01:00
Filip Tibell
94c1f42dbe
Implement proper access of default properties for roblox instances 2023-03-22 13:51:18 +01:00
Filip Tibell
201f38d44e
Implement tests for getting & setting roblox instance properties
Also fix some related bugs
2023-03-22 13:29:39 +01:00
Filip Tibell
afdde26a18
Add tests for reading & writing roblox place & model files 2023-03-22 13:02:05 +01:00
Filip Tibell
7553e91dc6
Simplify handling of internal weak dom, start adding instance tests 2023-03-22 09:39:26 +01:00
Filip Tibell
531c579f2d
Add roblox test files submodule 2023-03-21 19:29:23 +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
9e6cd4b0af
Move net encode/decode into serde builtin instead 2023-03-21 16:48:28 +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
5098b28ada
Add unit test for Font roblox datatype 2023-03-18 09:15:33 +01:00
Filip Tibell
e57316341b
Implement PhysicalProperties roblox datatype 2023-03-17 13:23:52 +01:00
Filip Tibell
6d76df7524
Implement Ray roblox datatype 2023-03-17 10:18:05 +01:00
Filip Tibell
f0aadc6dfe
Implement Region3 roblox datatypes 2023-03-17 09:50:30 +01:00
Filip Tibell
e3bcf79f09
Implement number range/sequence roblox datatypes 2023-03-17 08:54:57 +01:00
Filip Tibell
da8e86d743
Add methods to UDim2 test 2023-03-16 21:40:39 +01:00
Filip Tibell
94e84d6054
Implement CFrame roblox datatype 2023-03-16 21:33:47 +01:00
Filip Tibell
72f3e2157b
Implement Rect roblox datatype 2023-03-16 09:56:37 +01:00
Filip Tibell
75188d3e35
Implement Faces roblox datatype 2023-03-16 09:24:56 +01:00
Filip Tibell
cfc9299165
Implement Axes roblox datatype 2023-03-15 22:06:53 +01:00
Filip Tibell
de656fa26b
Implement tests for color sequences 2023-03-15 21:11:41 +01:00
Filip Tibell
b662b86922
Add tests for enum datatypes 2023-03-15 20:58:52 +01:00
Filip Tibell
83284be303
Add tests for color datatypes 2023-03-15 20:47:15 +01:00
Filip Tibell
ba52396bec
Implement udim roblox datatypes, minor vector fixes 2023-03-11 17:42:16 +01:00
Filip Tibell
4afb51830c
Implement test suite for roblox datatypes 2023-03-11 11:21:34 +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
4cc983dbe6
Add coroutine test suite, implement status 2023-02-17 21:06:33 +01:00
Filip Tibell
c45c78bdc2
More work on task scheduler 2023-02-17 19:20:17 +01:00
Filip Tibell
744b73db3d
Improve net tests 2023-02-17 15:09:30 +01:00
Filip Tibell
58ce046394
Implement proper async require & error handling 2023-02-17 15:03:13 +01:00
Filip Tibell
04a47babdd
Implement traceback helper to use in scheduler 2023-02-16 16:19:58 +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
6f1ae83fbe
Make stdio.prompt async to let background tasks run 2023-02-14 21:14:50 +01:00
Filip Tibell
b5f6e6da98
Implement async background tasks for scheduler 2023-02-14 15:27:10 +01:00
Filip Tibell
d2ff0783a5
Implement bulk of async APIs 2023-02-14 13:17:07 +01:00