Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-08-12 | Update to Luau 0.590 | Alex Orlenko | |
2023-08-07 | Add new option `sort_keys` to `DeserializeOptions` (`Lua::from_value` method) | Alex Orlenko | |
Closes #303 | |||
2023-08-07 | Hide clippy warning converting i32 to i32 | Alex Orlenko | |
2023-08-06 | Cosmetic changes for the Value conversions + add tests | Alex Orlenko | |
2023-08-06 | Change `Table::raw_len()` output type to `usize`. | Alex Orlenko | |
2023-08-06 | Add helper functions to Value (#299) | Akase Cho | |
Add helper functions to `Value` | |||
2023-08-03 | Faster table ops | Alex Orlenko | |
2023-08-03 | Add table get/set benchmark | Alex Orlenko | |
2023-08-03 | Fastpath IntoLua/FromLua for StdString and &str | Alex Orlenko | |
This includes direct push to Lua stack and getting value from Lua stack. | |||
2023-08-03 | Faster `Function::call()` | Alex Orlenko | |
2023-08-03 | Optimize 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-01 | impl Drop for MultiValue | Alex Orlenko | |
This action would automatically return container to the pool on drop (instead of doing it manually) | |||
2023-07-31 | New (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-31 | Update module entrypoint function. | Alex Orlenko | |
Return c_int instead of Result (and avoid potential panic on Rust side). | |||
2023-07-31 | Minor fixes in v0.9 release notes | Alex Orlenko | |
2023-07-28 | v0.9.0-rc.3 | Alex Orlenko | |
2023-07-28 | mlua-sys: v0.3.1 | Alex Orlenko | |
2023-07-28 | Update Luau compiler options | Alex Orlenko | |
2023-07-28 | Fix warning when compiling chunk tests | Alex Orlenko | |
2023-07-28 | Bump luau-src to v0.6.0+luau588 | Alex Orlenko | |
This release has better codegen support (and breaking changed unfortunately) | |||
2023-07-28 | Fix link to v0.9 release notes in README | Alex Orlenko | |
2023-07-28 | v0.9.0-rc.2 | Alex Orlenko | |
2023-07-28 | mlua-sys: v0.3.0 | Alex Orlenko | |
2023-07-28 | mlua_derive: v0.9.0-rc.2 | Alex Orlenko | |
2023-07-28 | Update v0.9 release notes | Alex Orlenko | |
2023-07-28 | Add v0.9 release notes | Alex Orlenko | |
Prepare v0.9-rc.2 release | |||
2023-07-27 | Move `impl IntoLua for WrappedFunction` to the `function.rs` file | Alex Orlenko | |
2023-07-27 | Fix `AsChunk` trait to support capturing wrapped Lua types ↵ | Alex Orlenko | |
(`AnyUserData::wrap()` and `Function::wrap()`). This is a breaking change, the `'lua` lifetime used to in environment moved to the trait declaration. | |||
2023-07-26 | Fix lua51/52 case in userdata tests | Alex Orlenko | |
2023-07-26 | Set `__type` metatable field for Luau instead of `__name`. | Alex Orlenko | |
Other Lua versions continue to use `__name` field. Also make `MetaMethod` enum non-exhaustive (and add `Type` variant) Closes #295 | |||
2023-07-22 | Use c-unwind ABI (Rust 1.71+) | Alex Orlenko | |
2023-07-22 | Fix loading luau code starting with \t | Alex Orlenko | |
2023-07-21 | Do not rely on vendored feature when testing luajit memory limit | Alex Orlenko | |
2023-07-21 | Pin lua-src and luajit-src versions | Alex Orlenko | |
2023-07-21 | Use giraffate/clippy-action | Alex Orlenko | |
2023-07-21 | Support LUA_LIB_NAME in module mode for windows. | Alex Orlenko | |
In this mode we will link with the particular lua library. | |||
2023-07-20 | Make `module` and `vendored` features mutually exclusive | Alex Orlenko | |
2023-07-20 | Update README | Alex Orlenko | |
2023-07-20 | Drop openresty specific luajit extensions | Alex Orlenko | |
2023-07-20 | Support vendored module mode for windows (raw-dylib linking) | Alex Orlenko | |
This is requires Rust 1.71+ | |||
2023-07-16 | Add `#[derive(FromLua)]` macro to opt-in into `FromLua<T> where T: 'static + ↵ | Alex Orlenko | |
Clone` (userdata type). Future macro implementations will allow making T from Lua tables/other values. Relates to #291. | |||
2023-07-11 | v0.9.0-rc.1 | Alex Orlenko | |
2023-07-11 | Rename `UserDataRegistrar` to `LuaUserDataRegistry` | Alex Orlenko | |
2023-07-11 | Use pretty format in the repl example | Alex Orlenko | |
2023-07-11 | Use `__tostring` if `__name` is not available when pretty printing userdata ↵ | Alex Orlenko | |
values | |||
2023-07-11 | Make `Lua::push_value()` and `Lua::pop_value()` public (but hidden from the ↵ | Alex Orlenko | |
docs). Can be useful for low-level intergration with mlua values. Also closes #215. | |||
2023-07-11 | Add back `Table::raw_sequence_values()` with deprecation notice | Alex Orlenko | |
2023-07-11 | Revert `Add error-send feature` | Alex Orlenko | |
2023-07-11 | v0.9.0-rc.1 | Alex Orlenko | |
2023-07-11 | mlua-sys: v0.2.1 | Alex Orlenko | |