Commit graph

36 commits

Author SHA1 Message Date
Filip Tibell
138221b93e
Update websocket tests and types to use new calling convention 2024-10-16 22:00:33 +02:00
Filip Tibell
de71558c5d
Split lune into proper crates (#188) 2024-05-12 13:30:32 +02:00
66ed1a0b72
Use a more descriptive User-Agent header in net.request (#186) 2024-04-20 16:55:54 +02:00
f830ce7fad
Add support for buffers as arguments in builtin APIs (#148) 2024-04-20 16:44:19 +02:00
Snorlax
8220216893
Solve test yielding in net_serve_requests (#177) 2024-04-11 14:04:40 +02:00
Filip Tibell
cd34dcb0dd
Rewrite scheduler and make it smol (#165) 2024-03-11 19:11:14 +01:00
vocksel
3c68d8e314
Serve from other IPs (#142) 2024-01-19 20:39:57 +01:00
Filip Tibell
5040deddb6
Update tooling, fix luau analyze errors 2024-01-04 20:00:44 +01:00
SnorlaxAssist
83ac971792
Fix failing test cases on Windows (#111) 2023-09-25 14:14:29 -05:00
Filip Tibell
1f11ceb91a Finish implementation of serve 2023-08-22 20:00:58 -05:00
Filip Tibell
609eba08a8 Implement handler calling for serve again, now with extra multithreading 2023-08-22 20:00:58 -05:00
Filip Tibell
2f3fb07b7c New net.serve implementation 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
9a91bf999d
Minor test file fixes 2023-07-22 14:45:18 +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
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
42ab2da1ed
Sort requires for test files 2023-06-08 11:21:00 +02:00
Filip Tibell
65ea0edc12
Migrate away from httpbin for unit tests 2023-05-24 11:25:14 +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
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
9fd6f66686
Add support for query pairs in net.request params 2023-02-23 11:31:42 +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
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
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
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
7aa8896997
Query parameters for net serve is now a table instead of a string 2023-02-07 21:54:52 -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