Alex Orlenko
9da98d42c7
Move ref_stack_pop into ExtraData method.
2025-06-16 22:25:26 +01:00
Alex Orlenko
edd508ed1f
Make StateGuard automatically enabled inside callback_error_ext.
...
Remove manual usage of `StateGuard` in other places.
Closes #567
2025-04-27 23:09:20 +01:00
Alex Orlenko
560a30ca02
Support new Luau require system
...
This commit introduces the `Require` trait that be used to change `require` behaviour.
By default mlua implements behaviour same as `ReplRequirer` in the original Luau.
Unfortunately binary Luau modules are no longer supported by the new system.
2025-04-25 14:19:41 +01:00
Alex Orlenko
1f970824b4
Support user thread creation callback (Luau)
2025-03-28 11:51:35 +00:00
Alex Orlenko
e706ae4fcb
Remove Roblox from references to Luau
...
Closes #537
2025-02-24 19:03:36 +00:00
Joel Natividad
20f7ce097d
Fix typos ( #522 )
...
* fix various typos in the codebase
* fix typos in CHANGELOG.md
2025-02-05 16:16:20 +00:00
Alex Orlenko
91e069a77e
Optimize (and simplify) protected mode for Rust function calls
2024-12-07 00:04:12 +00:00
Alex Orlenko
08545224f4
clippy
2024-10-19 11:49:40 +01:00
Alex Orlenko
c6ef393ce9
Turn Lua::entrypoint() to constructor (don't require initializing Lua first)
2024-09-02 23:43:52 +01:00
Alex Orlenko
aa47324ee9
Use pool for MultiValue container
2024-08-05 22:07:19 +01:00
Alex Orlenko
d5173380e3
Split util module
...
Refactor internal userdata types to switch to the new `TypeKey` trait
2024-07-31 13:42:38 +01:00
Alex Orlenko
b4892c228c
Add rustfmt.toml
2024-07-31 13:42:37 +01:00
Alex Orlenko
cd6d86a5ce
Split single lua module to multiple submodules under state
2024-07-31 13:42:37 +01:00