Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-09-28 | Make `protect_lua` as a smart macro to choose from C/closure | Alex Orlenko | |
2021-09-15 | Add `DeserializeOptions` struct to control deserializer behavior. | Alex Orlenko | |
This solves #74 and provides a way to deserialize a Lua globals table. | |||
2021-08-18 | Simplify interface of `hook::HookTriggers` | Alex Orlenko | |
2021-07-08 | Revert "Make `protect_lua` as a smart macro to choose from C/closure" | Alex Orlenko | |
This reverts commit 84fe5f7f761e5a9669ae00df3f6e48ef2814272c. | |||
2021-07-07 | Make `protect_lua` as a smart macro to choose from C/closure | Alex Orlenko | |
2021-06-16 | Revert commit ced808d5ab | Alex Orlenko | |
I think this experiment is unsuccessful and does not work well in a module mode with dynamic symbols resolution and mixing between different mlua instances. Overall the Rust bug has been fixed and we can wait for the "C-unwind" feature become stable. | |||
2021-05-10 | Fix spelling | Alex Orlenko | |
2021-05-03 | Make `SerializeOptions` non_exhaustive. | Alex Orlenko | |
Add builder implementation similar to `LuaOptions` to set individual options. | |||
2021-05-03 | Implement/Derive `Debug` for Lua and few other structs | Alex Orlenko | |
2021-05-02 | Stack assertions review | Alex Orlenko | |
Other minor code and documentation updates | |||
2021-04-27 | Hide Deserializer inner fields | Alex Orlenko | |
Improve documentation | |||
2021-04-27 | Remove Result from lua.null() and lua.array_metatable(). They never fail. | Alex Orlenko | |
2021-04-27 | Add SerializeOptions to to change default Lua serializer behaviour | Alex Orlenko | |
2021-04-27 | Don't trigger longjmp in rust. | Alex Orlenko | |
Motivation behind this change is upcoming breaking change in Rust compiler v1.52.0 to prevent unwinding across FFI boundaries. https://github.com/rust-lang/rust/pull/76570 The new functionality requires nightly compiler to declare FFI functions as "C-unwind". The fundamental solution is to use C shim to wrap "e" and "m" Lua functions in pcall. Additionally define Rust calling convention to trigger lua_error on Rust behalf. | |||
2021-02-27 | Fix/whitelist some clippy warnings | Alex Orlenko | |
2021-01-20 | Fix numeric types conversion for 32bit lua. Fix #27 | Alex Orlenko | |
2020-12-31 | Update documentation | Alex Orlenko | |
2020-12-29 | Add serialization example & update others | Alex Orlenko | |
2020-12-14 | Serde support (serialize feature flag) | Alex Orlenko | |