Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-11-04 | Publish `AnyUserData::take` | Alex Orlenko | |
2021-11-04 | Add luajit52 support (LuaJIT with partial compatibility with Lua 5.2) | Alex Orlenko | |
2021-11-04 | Add async meta methods for all Lua except 51 | Alex Orlenko | |
2021-10-12 | Update documentation references | Alex Orlenko | |
Using rustdoc links (see RFC https://github.com/rust-lang/rfcs/pull/1946) | |||
2021-10-05 | Add (hidden) method `UserData::take()` to take out value from userdata | Alex Orlenko | |
2021-09-28 | Refactor UserData metatables handling | Alex Orlenko | |
2021-09-28 | Add inline attributes to few hot funcs | Alex Orlenko | |
2021-08-04 | Update documentation about `FromLua` for UserData. Closes #64 | Alex Orlenko | |
2021-07-13 | Replace custom `UserDataRef(Mut)` with standard `Ref`(Mut) | Alex Orlenko | |
2021-07-11 | UserData improvements: | Alex Orlenko | |
1) Optimize `make_userdata` call 2) Refactor `UserDataWrapped` and make it enum | |||
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-06-03 | Remove `T: Clone` requirement from `add_async_function` | Alex Orlenko | |
2021-06-03 | Add `__ipairs` metamethod (again) for Lua 5.2 only | Alex Orlenko | |
2021-06-03 | Implement `UserData` for Rc<RefCell>/Arc<Mutex>/Arc<RwLock> wrappers | Alex Orlenko | |
2021-05-10 | Fix spelling | Alex Orlenko | |
2021-05-05 | Add `Thread::reset()` for luajit/lua54 | Alex Orlenko | |
2021-05-04 | Remove deprecated `AnyUserData::has_metamethod()` | Alex Orlenko | |
2021-05-02 | Stack assertions review | Alex Orlenko | |
Other minor code and documentation updates | |||
2021-04-27 | Refactor UserDataCell | Alex Orlenko | |
2021-04-27 | More tests | Alex Orlenko | |
2021-04-27 | Add more checks for destructed userdata in AnyUserData | Alex Orlenko | |
2021-04-27 | cargo fmt and other minor fixes | 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-04-27 | Fix some clippy warnings & minor changes | Alex Orlenko | |
2021-04-27 | Make MetaMethod::name() public | Alex Orlenko | |
Tests for UserDataMetatable::pairs() | |||
2021-04-27 | Improve/fix scoped UserData drop | Alex Orlenko | |
2021-04-27 | Add `UserDataFields` API. | Alex Orlenko | |
Provide safe access to UserData metatable and allow to define custom metamethods.. | |||
2020-12-31 | Update documentation | Alex Orlenko | |
2020-12-14 | Serde support (serialize feature flag) | Alex Orlenko | |
2020-06-06 | Add `has_metamethod` to `AnyUserData` | Alex Orlenko | |
2020-05-15 | Update documentation | Alex Orlenko | |
2020-05-12 | Add MetaMethod::Close to support Lua 5.4 to-be-closed variables | Alex Orlenko | |
2020-05-11 | Add Lua 5.4 (rc2) support | Alex Orlenko | |
2020-05-11 | Hide Lua "Send" capability under the optional "send" feature flag | Alex Orlenko | |
2020-05-11 | Add Send capability to Lua | Alex Orlenko | |
2020-05-11 | Bind Futures lifetimes to 'lua rather than 'static. | Alex Orlenko | |
Fix async examples. | |||
2020-04-17 | v0.3.0-alpha.1 with async support | Alex Orlenko | |
Squashed commit of the async branch. | |||
2020-01-25 | Remove `__ipairs` metamethod deprecated in lua 5.3 and not available by default | Alex Orlenko | |
2020-01-07 | Implement PartialEq trait for Value (and subtypes) | Alex Orlenko | |
Add equals() method to compare values optionally invoking __eq. | |||
2019-11-30 | Add pair and ipair metamethods support (lua 5.2/5.3 only) | Alex Orlenko | |
2019-11-30 | Add Lua 5.2 support | Alex Orlenko | |
2019-11-04 | Move lua 5.1 support under new "lua51" feature | Alex Orlenko | |
2019-11-04 | Fix examples and docs | Alex Orlenko | |
2019-10-17 | Lua 5.1 support | Alex Orlenko | |
2019-10-01 | Rename to mlua | Alex Orlenko | |
2019-09-29 | Backport changes from rlua 0.16 (master branch) | Alex Orlenko | |
2018-10-01 | Allow non-utf8 Lua source in load / exec / eval | kyren | |
2018-09-04 | code re-org have slightly less pub(crate) items | kyren | |
2018-09-04 | Initial design for non-'static scoped userdata | kyren | |
Uses the same UserData trait, and should at least in theory support everything that 'static UserData does, except that any functions added that rely on AnyUserData are pretty much useless. Probably pretty slow and I'm not sure how to make it dramatically faster, which is a shame because generally when you need non'-static userdata you might be creating it kind of a lot (if it was long-lived, it would probably be 'static). Haven't added tests yet, will do that next. | |||
2018-08-05 | format with up-to-date rustfmt | kyren | |