summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-11-16Support binary modules for Luau on cfg(unix)Alex Orlenko
2023-11-16Rewrite Luau `require` function to support module loaders.Alex Orlenko
Also add `package` library with `path`/`loaded`/`loaders`.
2023-11-16Support LuaJIT cdata type (produced by ffi module)Alex Orlenko
2023-11-16Support Luau buffer type and and library.Alex Orlenko
Buffer is an object that represents a fixed-size mutable block of memory and added to Luau 0.601. See https://luau-lang.org/library#buffer-library for more details.
2023-10-24Add lua_newuserdata_t helper to mlua-sys/luauAlex Orlenko
2023-10-24Remove MemoryState from ExtraData and retrieve using lua_getallocf (recently ↵Alex Orlenko
added to Luau)
2023-10-12Fix typo in `table_traversal_sequence` becnhmarkAlex Orlenko
2023-10-12Optimize Table serialization (faster traversal)Alex Orlenko
2023-10-12Optimize iterating over array part of tableAlex Orlenko
2023-10-12Add "table traversal sequence" benchmarkAlex Orlenko
2023-10-10Add `Table::for_each` method for fast (faster than `pairs()`) table pairs ↵Alex Orlenko
traversal.
2023-10-10Optimize table traversal (`pairs` iterator).Alex Orlenko
2023-10-10Add table traversal benchmarkAlex Orlenko
2023-10-10Add serde benchmarkAlex Orlenko
2023-09-29Update luajit (vendored) to 210.5.0Alex Orlenko
This includes switch from openresty's to vanilla luajit
2023-09-13Update github CI actions/checkout to v4Alex Orlenko
2023-08-27rustfmt 1.72+Alex Orlenko
2023-08-27Fix setting userdata (static) fields when it has __index metamethod/function.Alex Orlenko
Closes #312
2023-08-24v0.9.1Alex Orlenko
2023-08-24Fix an edge case when using invalidated (relative) userdata index after ↵Alex Orlenko
processing varargs. This causes Lua API correctness check assertion in debug mode. Fixes #311.
2023-08-21Update READMEAlex Orlenko
2023-08-20impl IntoLuaMulti for StdResult<(), E>Alex Orlenko
2023-08-20impl Default for LuaAlex Orlenko
2023-08-17v0.9.0Alex Orlenko
2023-08-16mlua-sys: v0.3.2Alex Orlenko
2023-08-16mlua_derive: v0.9.0Alex Orlenko
2023-08-15Update non-static (scoped) userdata:Alex Orlenko
- Use the new stack api - Support static fields constructor - Better error messages (on bad arguments)
2023-08-14Add `Scope::create_any_userdata()`Alex Orlenko
2023-08-12Add `Lua::set_vector_metatable()` method (unstable)Alex Orlenko
2023-08-12Add `OwnedThread` type (unstable)Alex Orlenko
2023-08-12Update mutable_globals pointer type to const (luau 0.590)Alex Orlenko
2023-08-12Update doc for `deny_unsupported_types` optionAlex Orlenko
2023-08-12Support options for `Value::serialize()` implementationAlex Orlenko
To match `lua.from_value_with()` functionality.
2023-08-12Update to Luau 0.590Alex Orlenko
2023-08-07Add new option `sort_keys` to `DeserializeOptions` (`Lua::from_value` method)Alex Orlenko
Closes #303
2023-08-07Hide clippy warning converting i32 to i32Alex Orlenko
2023-08-06Cosmetic changes for the Value conversions + add testsAlex Orlenko
2023-08-06Change `Table::raw_len()` output type to `usize`.Alex Orlenko
2023-08-06Add helper functions to Value (#299)Akase Cho
Add helper functions to `Value`
2023-08-03Faster table opsAlex Orlenko
2023-08-03Add table get/set benchmarkAlex Orlenko
2023-08-03Fastpath IntoLua/FromLua for StdString and &strAlex Orlenko
This includes direct push to Lua stack and getting value from Lua stack.
2023-08-03Faster `Function::call()`Alex Orlenko
2023-08-03Optimize async functionality:Alex Orlenko
Rewrite using the new `push_into_stack()`/`from_stack()` methods. Also store thread state (pointer) in `Thread` struct to avoid getting it every time. Async userdata methods still need to have arguments stored in ref thread as stack is empty on every poll().
2023-08-01impl Drop for MultiValueAlex Orlenko
This action would automatically return container to the pool on drop (instead of doing it manually)
2023-07-31New (unsafe and private) methods for IntoLua/FromLua traits: ↵Alex Orlenko
push_into_stack/from_stack. They allow to push Value directly to Lua stack or get Value from Lua stack without creating MultiValue container. This approach is a big optimization opportunity and already demonstrated great results. For instance, obtaining `&T` for userdata methods are now work directly from stack value without copying to auxiliary stack.
2023-07-31Update module entrypoint function.Alex Orlenko
Return c_int instead of Result (and avoid potential panic on Rust side).
2023-07-31Minor fixes in v0.9 release notesAlex Orlenko
2023-07-28v0.9.0-rc.3Alex Orlenko
2023-07-28mlua-sys: v0.3.1Alex Orlenko