Commit graph

849 commits

Author SHA1 Message Date
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
0d302cf0c1
Fix itertools dependency being marked optional even though it is mandatory (#176) 2024-04-11 13:42:21 +02:00
PhantomShift
1e3a604d0f
Fix case-sensitivity issue in requires with aliases (#173) 2024-04-07 14:44:17 +02:00
Kenneth Loeffler
a65ef2ae1b
Fix require caching by using correct tuple ordering in resolve_paths (#171) 2024-04-07 14:41:32 +02:00
Filip Tibell
94ba331ed0
Version 0.8.2 2024-03-12 23:32:29 +01:00
Filip Tibell
59aa780654
Unbreak accidental breaking change in net.serve 2024-03-12 23:29:19 +01:00
Filip Tibell
0116d405b2
Fix globals being injected multiple times in repl 2024-03-12 23:19:21 +01:00
Filip Tibell
9f58414e99
Make parsing of _VERSION global more robust 2024-03-12 23:12:05 +01:00
Filip Tibell
a52dfc1483
Version 0.8.1 2024-03-11 19:27:40 +01:00
Filip Tibell
65413e1c94
Mention performance improvements in changelog, too 2024-03-11 19:26:58 +01:00
Filip Tibell
edeb4003fd
Update changelog 2024-03-11 19:24:38 +01:00
Filip Tibell
4844fa1ead
Update dependencies 2024-03-11 19:17:23 +01:00
Filip Tibell
cd34dcb0dd
Rewrite scheduler and make it smol (#165) 2024-03-11 19:11:14 +01:00