Commit graph

861 commits

Author SHA1 Message Date
03fd042aa9
Merge branch 'main' into feature/sched-return 2024-05-12 20:14:12 +05:30
02f6713f19
merge: refactor/split-into-crates -> feature/sched-return 2024-05-12 20:11:12 +05:30
962a2e50be
refactor: migrate to new project structure (see de71558c5d) 2024-05-12 19:59:24 +05:30
Filip Tibell
5b5c46f802
Add another missing tokio feature to lune-std-process 2024-05-12 16:22:37 +02:00
Filip Tibell
489c8a6609
Add missing tokio features to lune-std-process crate 2024-05-12 16:08:02 +02:00
Filip Tibell
a13b17fee6
Add missing mlua feature to lune-std-serde crate 2024-05-12 15:20:25 +02:00
Filip Tibell
e0b9ceb86d
Add missing repository and description fields to all manifests 2024-05-12 14:32:39 +02:00
Filip Tibell
6bc1fa2343
Fix release workflow version read 2024-05-12 14:10:50 +02:00
Filip Tibell
763b3ff6a7
Version 0.8.4 2024-05-12 14:08:12 +02:00
Filip Tibell
816b6654da
Update changelog 2024-05-12 14:07:30 +02:00
Filip Tibell
efcc3c6028
Update dependencies 2024-05-12 13:52:02 +02:00
Filip Tibell
de71558c5d
Split lune into proper crates (#188) 2024-05-12 13:30:32 +02:00
fe2a2993db
Merge branch 'main' into feature/sched-return 2024-04-22 12:11:32 +05:30
Filip Tibell
3f53fc983c
Update changelog 2024-04-21 00:03:23 +02:00
Filip Tibell
089ecb3a4c
Update dependencies 2024-04-20 23:54:34 +02:00
Filip Tibell
7a46f12c02
Fix type metamethod and test case for regex 2024-04-20 23:38:06 +02:00
Filip Tibell
96eed54a65
Port test suite for regex from fork 2024-04-20 23:30:08 +02:00
Filip Tibell
abe7217a58
Add full type definitions for new regex builtin 2024-04-20 23:19:21 +02:00
Filip Tibell
54081c1b0f
Add docs on public functions, fix captures being returned even if not found 2024-04-20 22:54:12 +02:00
Filip Tibell
12f5824da9
Port over regex implementation from fork, do some cleanup 2024-04-20 22:47:27 +02:00
Filip Tibell
e11302766b
Add scaffolding for new regex builtin 2024-04-20 22:09:48 +02:00
Filip Tibell
70f0c55d35
Do a pass over all doc comments in new build modules 2024-04-20 22:08:18 +02:00
Filip Tibell
476125cc74
Fix clippy lint in net builtin 2024-04-20 21:59:57 +02:00
Filip Tibell
b8196d6284
Organize everything neatly into files 2024-04-20 21:59:25 +02:00
Filip Tibell
a11c1558ed
Implement strict target enum for standalone builds, improve paths logic 2024-04-20 21:59:25 +02:00
Filip Tibell
cec77a9bd9
Move standalone build into its own module 2024-04-20 21:59:25 +02:00
Filip Tibell
0685e62a8f
Refactor downloading lune binary to cache, some fixes + formatting 2024-04-20 21:59:25 +02:00
Filip Tibell
53463641b8
Fix clippy lints in serde builtin 2024-04-20 21:59:25 +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
7fb48dfa1f
Implement cross-compilation of standalone binaries (#162) 2024-04-20 16:30:47 +02:00
Filip Tibell
fa7f6c6f51
Fix doc example for new stdio API 2024-04-18 22:14:54 +02:00
Filip Tibell
753897222a
Implement stdio.readToEnd API 2024-04-18 22:10:08 +02:00
Filip Tibell
4a28499aaa
Fix net.serve no longer accepting ipv6 2024-04-18 20:56:40 +02:00
Filip Tibell
03c773fd79
Fix headers in net.serve being raw bytes instead of strings 2024-04-18 20:54:21 +02:00
62df0d0ee0
Merge branch 'main' into feature/sched-return 2024-04-18 21:11:27 +05:30
fe55442dac
Fix Stack Overflow while Formatting Tables with Circular Keys (#183) 2024-04-18 12:29:23 +02:00
Filip Tibell
34fc23d024
Add native CI target for M1 macs 2024-04-15 23:40:58 +02:00
Filip Tibell
fcfb5ed3a8
Version 0.8.3 2024-04-15 23:34:51 +02:00
Filip Tibell
f36ec1483a
Update changelog 2024-04-15 23:31:16 +02:00
Filip Tibell
aa04fb345c
Update dependencies 2024-04-15 23:28:51 +02:00
Someon1e
3f79756f70
Fix require not throwing syntax error (#168) 2024-04-15 23:21:25 +02:00
8c16abd6b1
refactor: fix clippy warns
I know this is out of the scope of this current PRs, but these minor clippy warnings have been a bit annoying to look at lately, so I've gone ahead and fixed them! :)
2024-04-13 18:19:36 +05:30
e7cbd93b40
fix(Runtime): lune exit codes are u8
See 82c8b902e0.
2024-04-12 21:47:47 +05:30
13198e1851
feat(Runtime): return raw exit code as i32 instead of ExitCode 2024-04-12 16:05:24 +05:30
902c89acab
feat(Runtime): handle updated i32 returns for Scheduler::get_exit_code 2024-04-12 15:37:16 +05:30
dcf560b4cf
Merge branch 'lune-org:main' into feature/sched-return 2024-04-11 18:19:09 +05:30
9cb1ba43d0
fix(Runtime): remove unwraps and handle None case
This commit removes the chained unwraps introduced previously with a match statement which handles the case when a lua thread may return no values.
2024-04-11 18:18:10 +05:30
390937d918
feat(Runtime): make Runtime::run return lua return values
`Runtime::run` now returns a tuple of both the `ExitCode` (denoting whether the lua thread generally succeeded or not) and also the values returned by it.
2024-04-11 18:11:52 +05:30
Snorlax
8220216893
Solve test yielding in net_serve_requests (#177) 2024-04-11 14:04:40 +02:00