summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-06-21Add userdata exampleAlex Orlenko
2021-06-21Add limited recursion test to increase coverageAlex Orlenko
2021-06-21Fix clippy warningAlex Orlenko
2021-06-20Even better optimization after 14d5c2c887Alex Orlenko
2021-06-20Optimize non-wrapped userdata method callsAlex Orlenko
2021-06-20Lua->Rust callback performance improvementsAlex Orlenko
2021-06-19Update README (include publishing to luarocks section)Alex Orlenko
2021-06-19Update CHANGELOGAlex Orlenko
2021-06-19Update examples to include `chunk!` macroAlex Orlenko
2021-06-19More tests for arc/rc wrapped userdataAlex Orlenko
2021-06-18Update test namesAlex Orlenko
2021-06-18Fix userdata memleak in edge case.Alex Orlenko
This can happen if we unable to push metatable with `__gc` metamethod after pushing userdata. In this case Lua will never execute drop. Instead, we will push metatable first and then userdata.
2021-06-17Improve code coverageAlex Orlenko
2021-06-16Implement Hash for RegistryKey. Closes #57Alex Orlenko
2021-06-16Complitely remove the C shimAlex Orlenko
2021-06-16Revert commit ced808d5abAlex 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-06-13Check stack in entrypoint1 before pushing value to a stackAlex Orlenko
2021-06-13Fix clippy warnings && testsAlex Orlenko
2021-06-13Improve module mode:Alex Orlenko
- Don't hide module function inside `luaopen_%` function. - Raise Lua exception instead of panic if module function returns error.
2021-06-12Keep all Lua symbols in unsafe mode to load C modulesAlex Orlenko
2021-06-04v0.6.0-beta.3Alex Orlenko
2021-06-04Add `String::to_string_lossy`Alex Orlenko
2021-06-03Update examplesAlex Orlenko
2021-06-03Remove `T: Clone` requirement from `add_async_function`Alex Orlenko
2021-06-03Add `__ipairs` metamethod (again) for Lua 5.2 onlyAlex Orlenko
2021-06-03Implement `UserData` for Rc<RefCell>/Arc<Mutex>/Arc<RwLock> wrappersAlex Orlenko
2021-05-31Treat errors as `Send + Sync` to be compatible with `anyhow` crateAlex Orlenko
2021-05-18Update READMEAlex Orlenko
2021-05-18Allow multiple entrypoints in a single module share the same Lua state.Alex Orlenko
Previously it would initialize different Lua instances. Fixes #49.
2021-05-13v0.6.0-beta.2Alex Orlenko
2021-05-11Update docs & minor error handling code changesAlex Orlenko
2021-05-11Try different approach for errors handling.Alex Orlenko
Instead of convering error to CallbackError in error message handler, do it earlier at callback_error stage. Better fix for #44.
2021-05-10Prepare 0.6.0-beta.2 releaseAlex Orlenko
2021-05-10Fix spellingAlex Orlenko
2021-05-10Improve error reporting in module mode.Alex Orlenko
Attach traceback to a WrappedError. Fixes #44.
2021-05-09Re-export UserDataFields/UserDataMetatableAlex Orlenko
2021-05-06Exclude mlua_derive from coverage reportAlex Orlenko
2021-05-06Fix clippy warningsAlex Orlenko
2021-05-05Add chunk! macro supportAlex Orlenko
2021-05-05Update lua state when polling futuresAlex Orlenko
2021-05-05Add `Thread::reset()` for luajit/lua54Alex Orlenko
2021-05-04Remove deprecated `AnyUserData::has_metamethod()`Alex Orlenko
2021-05-04Update sys align codeAlex Orlenko
2021-05-04Fix clippy warningsAlex Orlenko
2021-05-04v0.6.0-beta.1Alex Orlenko
2021-05-04Update dependenciesAlex Orlenko
2021-05-03Add CHANGELOG for v0.6.0-beta.1Alex Orlenko
2021-05-03Update READMEAlex Orlenko
2021-05-03Update code docsAlex Orlenko
2021-05-03Make `SerializeOptions` non_exhaustive.Alex Orlenko
Add builder implementation similar to `LuaOptions` to set individual options.