summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2022-02-15Update `create_registry_value` docAlex Orlenko
2022-02-14Optimize `Lua::create_registry_value` by reusing previously expired registry ↵Alex Orlenko
keys.
2022-02-14Add Lua::replace_registry_valueAlex Orlenko
2022-02-12Recognize LuaJIT TCDATA type to generate correct panic message.Alex Orlenko
Relates to #127 Should be fixed in a next major release by adding support of TCDATA type.
2022-02-12Grow/check Lua stack in unpackAlex Orlenko
2022-01-29Optimize async calls:Alex Orlenko
Rewrite "unpack" function using C api rather than high level abstraction.
2022-01-19v0.7.3Alex Orlenko
2022-01-17v0.7.2Alex Orlenko
2022-01-16Always restore original Lua state after creating Future in async call.Alex Orlenko
Fixes #121
2022-01-08Pass Box wrapped pointer to allocator fn instead of referenceAlex Orlenko
2021-12-28Fix clippy warningsAlex Orlenko
2021-12-23v0.7.1Alex Orlenko
2021-12-23Generate traceback from level 0 (instead of 1)Alex Orlenko
Fixes #112
2021-12-01Hide (doc) into_static/from_static methodsAlex Orlenko
2021-11-30Update lifetimes for few functions in LuaAlex Orlenko
2021-11-25v0.7.0Alex Orlenko
2021-11-25Update docsAlex Orlenko
2021-11-25More performance optimizationsAlex Orlenko
2021-11-23Update `Lua::unload` doc & fix clippy warningsAlex Orlenko
2021-11-23Add unload() to remove moduleAlexander Polakov
2021-11-21Add `call()` function to `TableExt` to call tables with `__call` metamethod ↵Alex Orlenko
as functions
2021-11-21Add `get_named_user_value` and `set_named_user_value` to `AnyUserData`Alex Orlenko
2021-11-16Move hook_proc under `Lua::set_hook` to use callback_error_extAlex Orlenko
2021-11-16Add set_warning_function/remove_warning_function/warning functions to Lua ↵Alex Orlenko
for 5.4 This utilizes Lua 5.4 warnings system (https://www.lua.org/manual/5.4/manual.html#pdf-warn)
2021-11-16Update callback_error_ext (+ fix callback multi states handling)Alex Orlenko
2021-11-14Update commentsAlex Orlenko
2021-11-14Add 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-14Include `StdLib` to preludeAlex Orlenko
2021-11-14Rename wrapped_failures pool to cacheAlex Orlenko
2021-11-12Performance optimization: cache and reuse `MultiValue` containersAlex Orlenko
2021-11-12Update callback_error(_ext)Alex Orlenko
2021-11-12Optimize MultiValue allocations (recycle old container)Alex Orlenko
2021-11-09Update `hook::Debug` structAlex Orlenko
2021-11-09Add `Lua::inspect_stack` to get information about the interpreter runtime stack.Alex Orlenko
This functionality is provided by `lua_getstack`.
2021-11-08Add `set_nth_user_value` and `get_nth_user_value` to `AnyUserData`Alex Orlenko
with `n` up to 65535 for all Lua versions.
2021-11-07Refactor `Error::CallbackError` reporting and include source toAlex Orlenko
fmt::Display implementation. This fixes #71.
2021-11-07Add optional Send to Lua::app_dataAlex Orlenko
2021-11-07Switch Table::serialize to FxHashSetAlex Orlenko
2021-11-07Merge branch 'dev'Alex Orlenko
2021-11-06Fix recursive tables serialization when using `serde::ser::Serialize`Alex Orlenko
implementation for Table. Fixes #98.
2021-11-04Refactor a bit conversion int->numberAlex Orlenko
2021-11-04Publish `AnyUserData::take`Alex Orlenko
2021-11-04Add luajit52 support (LuaJIT with partial compatibility with Lua 5.2)Alex Orlenko
2021-11-04Make (De)SerializeOptions as constAlex Orlenko
2021-11-04Replace macro-based implementation `ToLua` for arrays to const genericsAlex Orlenko
2021-11-04Add async meta methods for all Lua except 51Alex Orlenko
2021-10-19Add new "application data" apiAlex Orlenko
2021-10-19Switch to FxHashAlex Orlenko
2021-10-19Change definition of `lua_State` to opaque structAlex Orlenko
2021-10-12v0.6.6Alex Orlenko