summaryrefslogtreecommitdiff
path: root/src/lua.rs
AgeCommit message (Expand)Author
2021-09-28Refactor UserData metatables handlingAlex Orlenko
2021-09-28Minor refacor of wrapped failures cacheAlex Orlenko
2021-09-28Make `protect_lua` as a smart macro to choose from C/closureAlex Orlenko
2021-09-28Perf optimization: refactor metatable cacheAlex Orlenko
2021-09-15Add `DeserializeOptions` struct to control deserializer behavior.Alex Orlenko
2021-08-21Wrap `ExtraData` to `Arc<UnsafeCell>>` instead of raw pointer and attach fina...Alex Orlenko
2021-08-19Change `ExtraData::mem_info` to `Box<MemoryInfo>`Alex Orlenko
2021-08-18Simplify interface of `hook::HookTriggers`Alex Orlenko
2021-08-17Clarify about calling `Lua::init_from_ptr()` multiple timesAlex Orlenko
2021-07-13Shrink unsafe block in `Lua::load_from_function` and update docAlex Orlenko
2021-07-11UserData improvements:Alex Orlenko
2021-07-09Forgotten optimization for `box_method_mut`Alex Orlenko
2021-07-09Combine WrappedError and WrappedPanic structs to WrappedFailure enumAlex Orlenko
2021-07-08Rename init_gc_metatable_for and get_gc_metatable_forAlex Orlenko
2021-07-08Minor fixes/compilation after revertAlex Orlenko
2021-07-08Revert "Make `protect_lua` as a smart macro to choose from C/closure"Alex Orlenko
2021-07-08Revert "Move away from metatable hashmap cache to direct keys"Alex Orlenko
2021-07-08Don't wrap ExtraData to Arc<Mutex> and use raw pointer instead.Alex Orlenko
2021-07-08Move away from metatable hashmap cache to direct keysAlex Orlenko
2021-07-07Make `protect_lua` as a smart macro to choose from C/closureAlex Orlenko
2021-07-05Add new functions: `lua.load_from_function()` and `lua.create_c_function()`Alex Orlenko
2021-06-30Optimize callback creationAlex Orlenko
2021-06-21Update `AsChunk::env` function prototypeAlex 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-18Fix userdata memleak in edge case.Alex Orlenko
2021-06-17Improve code coverageAlex Orlenko
2021-06-16Revert commit ced808d5abAlex Orlenko
2021-06-13Check stack in entrypoint1 before pushing value to a stackAlex Orlenko
2021-06-13Improve module mode:Alex Orlenko
2021-06-12Keep all Lua symbols in unsafe mode to load C modulesAlex Orlenko
2021-06-03Remove `T: Clone` requirement from `add_async_function`Alex Orlenko
2021-06-03Implement `UserData` for Rc<RefCell>/Arc<Mutex>/Arc<RwLock> wrappersAlex Orlenko
2021-05-18Allow multiple entrypoints in a single module share the same Lua state.Alex Orlenko
2021-05-10Fix spellingAlex Orlenko
2021-05-05Add chunk! macro supportAlex Orlenko
2021-05-05Update lua state when polling futuresAlex Orlenko
2021-05-03Update code docsAlex Orlenko
2021-05-03Add `LuaOptions` to customize Lua/Rust behaviour.Alex Orlenko
2021-05-03Implement/Derive `Debug` for Lua and few other structsAlex Orlenko
2021-05-03Store `safe` property in Extra state to inherit into Lua structs made from po...Alex Orlenko
2021-05-02Improve growing the auxiliary stack of the ref thread:Alex Orlenko
2021-05-02Allocate Waker slot in Registry in re-use it (instead of creating new userdat...Alex Orlenko
2021-05-02Make AsyncPollPending internal value as LightUserDataAlex Orlenko
2021-05-02Stack assertions reviewAlex Orlenko
2021-04-27Refactor UserDataCellAlex Orlenko
2021-04-27Add more checks for destructed userdata in AnyUserDataAlex Orlenko
2021-04-27Don't trigger longjmp in rust.Alex Orlenko
2021-04-27Fix some clippy warnings & minor changesAlex Orlenko