Commit graph

148 commits

Author SHA1 Message Date
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
Filip Tibell
b1b69c7d94
Properly handle tasks that switch context in new scheduler 2023-02-13 23:36:30 +01:00
Filip Tibell
805b9d89ad
Fully implement and document the task scheduler 2023-02-13 21:29:05 +01:00
Filip Tibell
fc5de3c8d5
Initial implementation of proper task scheduler, no async yet 2023-02-13 15:28:18 +01:00
Filip Tibell
bb182033b9
Fix task.delay keeping Lune alive even if cancelled 2023-02-12 19:07:15 +01:00
Filip Tibell
091dc17337
Implement web socket client 2023-02-11 23:29:17 +01:00
Filip Tibell
6c97003571
Implement web sockets for net serve 2023-02-11 22:40:14 +01:00
Filip Tibell
41212f4b4c
Net serve now returns a handle to stop serving requests safely 2023-02-11 14:25:53 +01:00
Filip Tibell
f18fe48008
Add support for tilde home dir substitution in process.spawn 2023-02-09 22:59:17 +01:00
Filip Tibell
7699d06647
Proper implementation of async process spawn 2023-02-09 22:23:22 +01:00
Filip Tibell
7aa8896997
Query parameters for net serve is now a table instead of a string 2023-02-07 21:54:52 -05:00
Filip Tibell
ee64d2ef9c
Implement stdio prompt function 2023-02-06 12:59:48 -05:00
Filip Tibell
bbf1c9f4f7
Migrate console global to stdio 2023-02-06 00:13:12 -05:00
Filip Tibell
2e3f95ebd6
Migrate console lib printing functions to regular globals 2023-02-05 22:25:36 -05:00
Filip Tibell
aec7f820ca
Migrate to using cargo workspaces 2023-02-05 19:13:58 -05:00