Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-07-11 | Add back `Table::raw_sequence_values()` with deprecation notice | Alex Orlenko | |
2023-07-10 | Add `Error::runtime()` helper | Alex Orlenko | |
2023-07-09 | Take &str as function name in `TableExt` and `AnyUserDataExt` traits | Alex Orlenko | |
2023-07-08 | Change Lua ref types Debug print from `Ref{index}` to `Ref{pointer}` | Alex Orlenko | |
The index is always uniq per instance, but pointer can exactly tell when several values reference to the same Lua internal value. | |||
2023-06-26 | Add `Table:is_empty()` function | Alex Orlenko | |
2023-06-26 | Don't use any metamethods in `Table::sequence_values()` iterator. | Alex Orlenko | |
This is matches with `Table::pair()` iterator. Remove `Table::raw_sequence_values()` iterator. | |||
2023-06-21 | Refactor `call_async()` functions to use static dispatch outside of traits | Alex Orlenko | |
2023-06-20 | Add a dedicated type for Luau vector. | Alex Orlenko | |
Refactor existing implementation and add 4-dimensional vectors support. | |||
2023-06-19 | Implement `PartialEq<[T]>` for tables | Alex Orlenko | |
2023-05-29 | Use futures-core and futures-tasks via futures-util. | Alex Orlenko | |
Just to reduce number of dependencies. | |||
2023-05-27 | clippy | Alex Orlenko | |
2023-04-26 | Various improvements for owned types, including: | Alex Orlenko | |
- tests - shortcuts for `OwnedFunction` and `OwnedAnyUserData` | |||
2023-04-14 | Fix feature flags for owned types | Alex Orlenko | |
2023-04-14 | Remove usage of crate::ffi (clippy) | Alex Orlenko | |
2023-04-11 | Add pretty-print to the Debug formatting to Value to Table. | Alex Orlenko | |
This would allow dumping any Lua variable in human readable form. | |||
2023-03-30 | Revert "Rename `Owned*::to_ref()` to `as_ref()`" | Alex Orlenko | |
This reverts commit 5394faca161c969208defbd953a2bfb7690cac7c. | |||
2023-03-19 | Seal LuaSerdeExt/TableExt/AnyUserDataExt | Alex Orlenko | |
2023-03-02 | Rename `Owned*::to_ref()` to `as_ref()` | Alex Orlenko | |
2023-01-02 | Add `Table::clear()` method | Alex Orlenko | |
2022-12-19 | Rename ToLua/ToLuaMulti -> IntoLua/IntoLuaMulti | Alex Orlenko | |
2022-12-19 | Add "unstable" feature flag. | Alex Orlenko | |
Hide owned types under the new feature flag. Drop OwnedString/OwnedThread types (unlikely they are useful). | |||
2022-12-19 | Refactor LuaInner state | Alex Orlenko | |
Add static_assertions to check for auto traits impl on compilation stage Bump MSRV to 1.63 (required for `Ref::filter_map`) | |||
2022-12-18 | Initial implementation of owned Lua types | Alex Orlenko | |
2022-10-30 | Better checks and tests when trying to modify a Luau readonly table | Alex Orlenko | |
2022-10-29 | Fix `Table::raw_push` for luau when readonly | Alex Orlenko | |
2022-10-23 | Add push/pop methods to Table | Alex Orlenko | |
2022-10-22 | Optimize tables: | Alex Orlenko | |
- Use reference thread directly for simple cases - Fix issue when calling raw_set on readonly table (Luau) - Add fasttrack methods for get/set/len when metatable is not set | |||
2022-10-22 | Replace Lua::ref_thread_exec | Alex Orlenko | |
2022-06-27 | Add `Table::to_pointer()` and `String::to_pointer()` functions | Alex Orlenko | |
2022-05-30 | Experimental optimization to skip oom check | Alex Orlenko | |
2022-04-08 | Fix Luau documentation in docs.rs | Alex Orlenko | |
Enable `Lua::gc_inc` for Luau Mark `debug` module as safe for Luau | |||
2022-03-28 | Sandboxing support | Alex Orlenko | |
2022-03-25 | Update docs | Alex Orlenko | |
2022-03-22 | Support `readonly` table attribute (luau) | Alex Orlenko | |
2022-01-29 | Optimize async calls: | Alex Orlenko | |
Rewrite "unpack" function using C api rather than high level abstraction. | |||
2021-11-25 | Update docs | Alex Orlenko | |
2021-11-21 | Add `call()` function to `TableExt` to call tables with `__call` metamethod ↵ | Alex Orlenko | |
as functions | |||
2021-11-07 | Switch Table::serialize to FxHashSet | Alex Orlenko | |
2021-11-06 | Fix recursive tables serialization when using `serde::ser::Serialize` | Alex Orlenko | |
implementation for Table. Fixes #98. | |||
2021-10-12 | Update documentation references | Alex Orlenko | |
Using rustdoc links (see RFC https://github.com/rust-lang/rfcs/pull/1946) | |||
2021-09-28 | Change syntax of `protect_lua` macro | Alex Orlenko | |
2021-09-28 | Update check_stack requirements | Alex Orlenko | |
2021-09-28 | Make `protect_lua` as a smart macro to choose from C/closure | 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-02 | Stack assertions review | Alex Orlenko | |
Other minor code and documentation updates | |||
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-16 | Hide raw_sequence_values_by_len under async/serialize feature flags | Alex Orlenko | |