Commit graph

62 commits

Author SHA1 Message Date
Alex Orlenko 1c79f646de Update README 2021-01-16 13:31:34 +00:00
Alex Orlenko 618874ef3c v0.5.0 2020-12-31 13:39:42 +00:00
Alex Orlenko bedd430eb5 Re-export mlua_derive 2020-12-29 22:26:15 +00:00
Alex Orlenko afc41ab23c Add serialization example & update others 2020-12-29 21:39:34 +00:00
Alex Orlenko 4865089a78 Update README 2020-06-07 20:38:19 +01:00
Alex Orlenko f6da437d8b Update docs 2020-06-06 16:07:16 +01:00
Alex Orlenko 60c659ecff Add async http server example 2020-05-15 01:48:57 +01:00
Alex Orlenko 0efa0fcb6a Update documentation 2020-04-20 01:52:01 +01:00
Alex Orlenko f7dc9da107 Update README
Cargo fmt and minor changes
2020-04-17 22:52:34 +01:00
Alex Orlenko 47e8a80c1c v0.3.0-alpha.1 with async support
Squashed commit of the async branch.
2020-04-17 22:39:50 +01:00
Alex Orlenko ea6e6e00b2 Update README.md 2020-02-09 21:48:50 +00:00
Alex Orlenko bf36eb72f8 Move from circele-ci to github actions 2020-01-25 22:35:47 +00:00
Alex Orlenko c9c8f983e0 0.2.0 release 2019-11-30 01:33:41 +00:00
Alex Orlenko fd17a01456 Add Lua 5.2 support 2019-11-30 00:58:41 +00:00
Alex Orlenko 7063c80510 Update README 2019-11-05 15:00:22 +00:00
Alex Orlenko 6b9323516f Update README 2019-11-05 11:51:21 +00:00
Alex Orlenko aa3002b7d9 Update README and description 2019-11-04 22:34:31 +00:00
kyren d8a43f79b0 Update changelog for 0.15, fix readme for earlier tuple size increase 2018-09-30 16:31:05 -04:00
kyren e6688e1db2 very small doc fixes 2018-08-05 09:51:32 -04:00
kyren 02bc8da203 Prepare for 0.14.0 release 2018-06-29 01:24:28 -04:00
kyren 71f3dd50a1 New approach for ref types, use an auxillary thread stack
Vastly simpler and less magical than using a fixed size magical section of the
active stack, and seems to be no slower.  The only real downside is that
it *seems* extremely extremely hacky (and to be fair, it is).
2018-03-28 01:09:51 -04:00
kyren 985636267c Fix some bad potential unsafety on inner callback calls.
Since we now optionally use stack spaces for handle values, we have to be
mindful of whether our stack handle points to the stack in an outer level of
Lua "stack protection".  We now keep track of the "recursion level" of Lua
instances, and do not allow ref manipulation on "outer" Lua instances until the
inner callback has returned.  Also, update the documentation to reflect the
additional panic behavior.
2018-03-12 22:36:52 -04:00
kyren c252668ba6 Fix README mention of "registry handles" 2018-03-12 18:13:22 -04:00
kyren c6c90f201c Documentation updates for new handle behavior, and some minor cleanup 2018-03-12 17:50:48 -04:00
kyren adfeaeab49 Change strategies for handling the Lua stack during panics
Previously, on an internal panic, the Lua stack would be reset before panicking
in an attempt to make sure that such panics would not cause stack leaks or leave
the stack in an unknown state.  Now, such panic handling is done in stack_guard
and stack_err_guard instead, and this is for a few reasons:

1) The previous approach did NOT handle user triggered panics that were outside
   of `rlua`, such as a panic in a ToLua / FromLua implementation.  This is
   especially bad since most other panics would be indicative of an internal bug
   anyway, so the utility of keeping `rlua` types usable after such panics was
   questionable.  It is much more sensible to ensure that `rlua` types are
   usable after *user generated* panics.
2) Every entry point into `rlua` should be guarded by a stack_guard or
   stack_err_guard anyway, so this should restore the Lua stack on exiting back
   to user code in all cases.
3) The method of stack restoration no longer *clears* the stack, only resets it
   to what it previously was.  This allows us, potentially, to keep values at
   the beginning of the Lua stack long term and know that panics will not
   clobber them.  There may be a way of dramatically speeding up ref types by
   using a small static area at the beginning of the stack instead of only the
   registry, so this may be important.
2018-03-08 10:59:50 -05:00
kyren 6a0264169a README updates 2018-03-06 07:04:50 -05:00
kyren 8824a236b2 Remove slightly triggering, and now misleading, language from README 2018-02-19 18:16:43 -05:00
kyren 9a45ef45e4 clarify the situation with the debug library a bit better 2018-02-11 18:12:20 -05:00
kyren b123eb087d Clarify some things in the README 2018-02-11 06:23:52 -05:00
kyren f94037856a Small README clarification 2018-02-10 19:13:56 -05:00
kyren 61236e685f Change changelog, readme, examples, Cargo.toml for 0.12 release 2018-02-10 19:04:18 -05:00
kyren 1b92d3319c consistent capitalization 2018-02-10 18:00:53 -05:00
kyren 0b7f07aa5d clarify that the Lua *C* API is the one that longjmps 2018-02-10 17:59:20 -05:00
kyren c3242add40 Update README for readability 2018-02-10 17:55:20 -05:00
kyren c5a5c51e9f A lot of README updates for the next version 2018-02-10 17:50:04 -05:00
kyren 3db880af04 Update README for clarity, typofixes 2018-01-26 21:37:17 -05:00
kyren 443054f753 Update README, CHANGELOG, and Cargo.toml for 0.10.2 2017-12-17 01:14:11 -05:00
kyren e6d84a4bb3 Change API names, add unset function 2017-12-16 18:05:53 -05:00
kyren 80a98ef29c Couple of changes:
- Update readme, changelog, cargo version number in preparation for release
- Remove panicking behavior on recursive callback calls, add additional error
  variant for recursive callback errors.
2017-12-04 01:47:04 -05:00
kyren 8a2cfeb00d Update readme regarding plans for panic / abort safety and other clarifications 2017-10-14 18:53:05 -04:00
kyren 1b082b17bc Don't refer to renamed prelude versions of types, refer to their normal name 2017-08-02 18:21:47 -04:00
kyren d5552c494a Typo fix 2017-08-02 17:26:25 -04:00
kyren cac4141871 Update README for 0.9 2017-08-02 17:04:44 -04:00
kyren 6f0caa4a6d Update README, small example changes. 2017-06-25 22:25:28 -04:00
kyren 8156b7e529 Small README typo fix 2017-06-25 18:33:02 -04:00
kyren cd4343c83e Bump cargo version (again! I'm sorry!), and update README 2017-06-25 18:27:52 -04:00
kyren 87e3e56ae3 Fix link 2017-05-29 16:30:43 -04:00
kyren 4deb90c1ef Update README / Cargo.toml to point to docs.rs API docs 2017-05-29 16:28:29 -04:00
kyren 9fef45272f update README 2017-05-25 00:56:23 -04:00
kyren f2b6de8e62 show build status in readme 2017-05-22 23:24:30 -04:00