Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-01-06 | Run tests for wasm32-unknown-emscripten | 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-07-10 | Add `Error::runtime()` helper | Alex Orlenko | |
2023-07-10 | Drop futures-timer dev-dependency | Alex Orlenko | |
2023-07-09 | Take &str as function name in `TableExt` and `AnyUserDataExt` traits | Alex Orlenko | |
2023-06-15 | Update `UserDataMethods::add_async_method()` functions to take `&T` as ↵ | Alex Orlenko | |
second argument instead of cloning `T`. New functions: `UserDataMethods::add_async_method_mut()`, `UserDataMethods::add_async_meta_method_mut()`. | |||
2023-06-04 | Don't keep poll function in environment globals when polling async functions. | Alex Orlenko | |
This is redundant after deprecating scoped async. Closes #281 | |||
2023-04-26 | Various improvements for owned types, including: | Alex Orlenko | |
- tests - shortcuts for `OwnedFunction` and `OwnedAnyUserData` | |||
2023-04-23 | Check for reference leak detection only in mlua integratin tests. | Alex Orlenko | |
This is not necessary an error and should not be enforced by default. Fixes #268. | |||
2023-04-14 | Remove unstable feature flag from Function::wrap/wrap_mut/wrap_async | Alex Orlenko | |
2023-02-18 | Add `AnyUserDataExt` trait with auxiliary functions for `AnyUserData` | Alex Orlenko | |
2023-02-12 | Drop `Lua::async_scope` as it's unsound | Alex Orlenko | |
2022-12-30 | Rename wrapped_failure/thread cache to pool | Alex Orlenko | |
2022-12-22 | Add `Function::wrap`/`Function::wrap_mut`/`Function::wrap_async` to wrap ↵ | Alex Orlenko | |
functions into a type that implements `IntoLua` trait. This is useful to avoid calling `lua.create_function*` every time when `Function` handle is needed. | |||
2022-12-19 | Refactor `AsChunk` trait | Alex Orlenko | |
2022-08-01 | Fix Lua assertion when inspecting another thread stack. | Alex Orlenko | |
The thread can be dead and it's not safe to call __tostring metamethod (if present) on error object. Fixes #195 | |||
2022-07-31 | Close to-be-closed variables for Lua 5.4 when using call_async functions | Alex Orlenko | |
Fixes #192 | |||
2022-05-15 | Refactor `Function::bind` implementation. | Alex Orlenko | |
Make it possible to bind async function arguments. Fixes #161 | |||
2022-03-21 | Fix __index and __newindex wrappers for Luau | Alex Orlenko | |
2022-03-20 | Initial Luau support | Alex Orlenko | |
2022-03-20 | Refactor ffi module | Alex Orlenko | |
Initial Luau support work | |||
2022-03-20 | Fix async userdata __index, __newindex metamethods | Tarik02 | |
2021-11-14 | Add thread (coroutine) cache to reset and later reuse to execute async ↵ | Alex Orlenko | |
functions. It works on Lua 5.4 and LuaJIT (vendored) with `lua_resetthread` function. | |||
2021-11-04 | Add async meta methods for all Lua except 51 | Alex Orlenko | |
2021-04-16 | Drop 'feature(link_args)' (removed from nightly). Don't run tests for LuaJIT ↵ | Alex Orlenko | |
2.0.5 | |||
2021-03-03 | Fix bug in returning nil-prefixed multi values from async function | Alex Orlenko | |
2021-02-21 | Fix scoped async destruction of partially polled futures | Alex Orlenko | |
2020-06-06 | Add LuaJIT 2.0.5 stable support | Alex Orlenko | |
2020-05-11 | Scope support (including async) | Alex Orlenko | |
2020-05-11 | Add Send capability to Lua | Alex Orlenko | |
2020-04-20 | Update tests (async and table) | Alex Orlenko | |
2020-04-18 | Add family of `call_async` function | Alex Orlenko | |
Update documentation Move async tests to a separate file |