Commit Graph

  • 8366960368 Update to failure 0.1.2, rename deprecated methods kyren 2018-08-05 11:48:25 -04:00
  • 2e1bdb64c0 format with up-to-date rustfmt kyren 2018-08-05 09:51:39 -04:00
  • e6688e1db2 very small doc fixes kyren 2018-08-05 09:51:32 -04:00
  • 73306d2286 Upgrade embedded Lua to 5.3.5 kyren 2018-07-18 05:29:27 -04:00
  • 2d4f4b95c8 (cargo-release) start next development iteration 0.14.1-alpha.0 kyren 2018-06-29 01:28:28 -04:00
  • 0cab2e25de (cargo-release) version 0.14.0 kyren 2018-06-29 01:25:15 -04:00
  • 02bc8da203 Prepare for 0.14.0 release kyren 2018-06-29 01:24:28 -04:00
  • 66e49518d3 find system lua with pkg-config Tony Crisci 2018-05-14 08:51:51 -04:00
  • 31fa9173ae Fix #78 kyren 2018-05-02 20:05:43 -04:00
  • 71f3dd50a1 New approach for ref types, use an auxillary thread stack kyren 2018-03-28 01:09:51 -04:00
  • 60bfe1fb07 Nope, require failure 1.0 because otherwise it depends on backtrace automatically kyren 2018-03-20 16:23:23 -04:00
  • a22c23ae26 rely on failure 0.1.2 from git to get backtrace disabled by default kyren 2018-03-20 15:17:27 -04:00
  • 5aa22de68e Use git dependency on failure 1.0 for right now kyren 2018-03-20 14:07:32 -04:00
  • 8b9ab3d031 Small renames and comments to better communicate the intention of stack checking functions kyren 2018-03-19 15:26:21 -04:00
  • a05f0d5cd0 Where possible, don't call to_lua / from_lua / to_lua_multi / from_lua_multi callbacks during Lua stack manipulation kyren 2018-03-19 15:16:40 -04:00
  • 0d5e45e800 Always ensure LUA_MINSTACK available stack spaces on callback kyren 2018-03-19 14:36:01 -04:00
  • 4b6809c766 Clean up some lifetime specification kyren 2018-03-19 14:35:46 -04:00
  • 985636267c Fix some bad potential unsafety on inner callback calls. kyren 2018-03-12 22:25:45 -04:00
  • c1e1ac432c changelog fixes kyren 2018-03-12 21:06:31 -04:00
  • 1019ab8a3f Use rlua_ asserts instead of unreachable!, changelog updates for 0.14 kyren 2018-03-12 20:33:55 -04:00
  • c252668ba6 Fix README mention of "registry handles" kyren 2018-03-12 18:13:22 -04:00
  • c6c90f201c Documentation updates for new handle behavior, and some minor cleanup kyren 2018-03-12 17:50:48 -04:00
  • 4358034bbf Do not crash in release when accessing an AnyUserData kyren 2018-03-12 17:48:05 -04:00
  • f0775f4a1a Move several asserts to only be active with debug, bump alpha version number kyren 2018-03-12 16:14:52 -04:00
  • f79d771f1a Documentation improvements, split scope into its own module, improved tests kyren 2018-03-12 16:00:11 -04:00
  • ee23f199f0 Remove stack_guard function and instead just use StackGuard directly kyren 2018-03-12 13:13:44 -04:00
  • 7b2f7a2932 Add a simple userdata benchmark kyren 2018-03-12 12:48:20 -04:00
  • 95633ce915 Merge branch 'bench' kyren 2018-03-12 12:29:27 -04:00
  • 601e9f4cac A lot of performance changes. kyren 2018-03-11 23:20:10 -04:00
  • 84ee394b1d Additional benchmarks kyren 2018-03-11 17:50:17 -04:00
  • a5377b959f Add some more benchmarks kyren 2018-03-11 14:26:26 -04:00
  • 964666e11b Use criterion for benchmarking, add some simple benchmarks kyren 2018-03-10 10:31:57 -05:00
  • 6470b6eefc Improve documentation about __index vs regular methods kyren 2018-03-10 10:30:17 -05:00
  • 431f84012a Enable stack leak panic universally kyren 2018-03-08 12:36:03 -05:00
  • d06890afc6 Simplify stack_guard / stack_err_guard kyren 2018-03-08 11:40:24 -05:00
  • 10802bf70f Whoops, fix an assert that was improperly changed to an internal error kyren 2018-03-08 11:14:02 -05:00
  • adfeaeab49 Change strategies for handling the Lua stack during panics kyren 2018-03-08 10:59:50 -05:00
  • 6a0264169a README updates kyren 2018-03-06 07:04:50 -05:00
  • 6ab7f99315 Revert "Temporary fix for #71. Remove when rust #48251 is fixed in stable." kyren 2018-03-06 07:03:58 -05:00
  • 1e76de1d08 Update docs to include warning about RegistryKey in callbacks kyren 2018-03-06 06:23:04 -05:00
  • eb154e4a9e Further safety updates of protect_lua_call kyren 2018-03-06 06:22:05 -05:00
  • 37feaebdce Also describe how protect_lua_call functions should not hold types that Drop kyren 2018-03-01 17:56:19 -05:00
  • 8ac78c4585 Make some changes whose necessity became recently apparent while reading rustc 1.24.1 change notes. kyren 2018-03-01 17:14:07 -05:00
  • 0e9a70e688 (cargo-release) start next development iteration 0.13.1-alpha.0 kyren 2018-02-28 14:51:50 -05:00
  • e98d4d1827 Update changelog / cargo.toml in prep for 0.13 kyren 2018-02-28 14:44:16 -05:00
  • 5d96ddc52a Temporary fix for #71. Remove when rust #48251 is fixed in stable. kyren 2018-02-28 14:43:15 -05:00
  • d7995137d7 Add debug API to ffi (not used yet, was using experimentally) kyren 2018-02-28 14:42:05 -05:00
  • 8824a236b2 Remove slightly triggering, and now misleading, language from README kyren 2018-02-19 18:16:43 -05:00
  • a49ea51b79 Remove terrible awful no-good evil hack kyren 2018-02-19 18:05:55 -05:00
  • e19a5b6481 Cleanup max upvalues constant a bit, add some luaconf.h assumptions kyren 2018-02-19 18:02:04 -05:00
  • d78420b51c Communicate a little bit better about the checkstack constant kyren 2018-02-19 17:54:44 -05:00
  • ace5cb44f0 Letting scope handles escape the scope was unsafe kyren 2018-02-19 17:40:48 -05:00
  • 0450c9b597 Make error_traceback never trigger a Lua error kyren 2018-02-18 21:13:35 -05:00
  • b07557c1c7 more hard to trigger bugs that I noticed doing conversion kyren 2018-02-18 06:09:15 -05:00
  • bb2a9c5b5d Fix several bugs found while doing C conversion kyren 2018-02-18 05:26:14 -05:00
  • 52eedfd378 I'm not going to release this as is, but I need to weigh my options kyren 2018-02-16 23:43:30 -05:00
  • dec360f78f Can.. can I do this? Is this a thing that actually works? kyren 2018-02-16 22:00:58 -05:00
  • 73de52dcce Remove debugging println!s kyren 2018-02-16 21:09:49 -05:00
  • f0186d1799 Provisional "fix" for #71. Requires nightly :( kyren 2018-02-15 21:39:35 -05:00
  • 6b46e8abe9 prepare for 0.12.2 kyren 2018-02-14 00:56:20 -05:00
  • fc058eba60 comment fixes kyren 2018-02-12 13:56:23 -05:00
  • c22aae461b Some changes for panic correctness, stack usage correctness, and speed kyren 2018-02-12 13:42:13 -05:00
  • c4b3170e2b More documentation fixes kyren 2018-02-11 18:17:15 -05:00
  • 9a45ef45e4 clarify the situation with the debug library a bit better kyren 2018-02-11 18:12:20 -05:00
  • 9388a72d61 Update Cargo.toml for 0.12.1 kyren 2018-02-11 17:55:40 -05:00
  • 5f596d9117 Update changelog for 0.12.1, and add missing entry for 0.12.0 kyren 2018-02-11 17:54:27 -05:00
  • bfe44089ef Documentation fixes / additions kyren 2018-02-11 17:54:17 -05:00
  • ea834635c1 Add UserDataMethods:: add_function_mut and add_meta_function_mut kyren 2018-02-11 17:53:25 -05:00
  • 7231e95195 It's far too easy to write 'stack_guard' as opposed to 'stack_err_guard'! kyren 2018-02-11 16:47:39 -05:00
  • ce7e8e61fd shave this yak some more, make Callback type alias have two lifetimes kyren 2018-02-11 08:51:17 -05:00
  • da1e1625b3 Specify the types exactly in the scary transmute kyren 2018-02-11 08:30:03 -05:00
  • a91e3ed411 clarify the scary transmute kyren 2018-02-11 08:22:15 -05:00
  • fd0e31c6ea Add some extra warnings about the reference cycle dangers of RegistryKey kyren 2018-02-11 06:37:51 -05:00
  • b123eb087d Clarify some things in the README kyren 2018-02-11 06:23:52 -05:00
  • ca631e470a changelog spelling fix kyren 2018-02-11 06:14:52 -05:00
  • 9483b5054e Change changelog to be less confusing kyren 2018-02-11 06:12:52 -05:00
  • f94037856a Small README clarification kyren 2018-02-10 19:13:56 -05:00
  • 61236e685f Change changelog, readme, examples, Cargo.toml for 0.12 release kyren 2018-02-10 19:04:18 -05:00
  • 1b92d3319c consistent capitalization kyren 2018-02-10 18:00:53 -05:00
  • 0b7f07aa5d clarify that the Lua *C* API is the one that longjmps kyren 2018-02-10 17:59:20 -05:00
  • c3242add40 Update README for readability kyren 2018-02-10 17:55:20 -05:00
  • 20480ec88d fix unused process import warnings kyren 2018-02-10 17:55:08 -05:00
  • c5a5c51e9f A lot of README updates for the next version kyren 2018-02-10 17:50:04 -05:00
  • 9e3374ff9e lua_abort / lua_internal_abort macros kyren 2018-02-10 17:49:54 -05:00
  • 1426bdbc16 fix duplicated matrix entry for .travis.yml kyren 2018-02-10 00:35:12 -05:00
  • d4c80d44c8 Attempt to enable compiletest_rs on nightly on travis kyren 2018-02-10 00:26:48 -05:00
  • f785a3abe4 Don't bother with a feature, just disable LUA_USE_APICHECK in release kyren 2018-02-09 23:59:11 -05:00
  • 60743d45cd Move all tests into a tests/ subfolder kyren 2018-02-09 23:52:05 -05:00
  • d331e4b97c Error correctly on too many arguments / returns / binds / recursions kyren 2018-02-09 23:35:29 -05:00
  • fe6e4bdf35 Explicit error type for destructed callbacks kyren 2018-02-09 21:21:29 -05:00
  • 514abd5b82 Actually unref scope created types from the registry AS WELL AS destructing them kyren 2018-02-09 07:27:12 -05:00
  • 84b009da03 A few small performance improvements kyren 2018-02-09 01:20:44 -05:00
  • de4d21f8ea Fix some strange lifetime usage on Lua::create_function kyren 2018-02-08 18:50:57 -05:00
  • b6bc8d0bed Make the Scope lifetimes more sensible kyren 2018-02-08 18:42:50 -05:00
  • 7701aeef85 TERRIBLE HACK FIX I DO NOT UNDERSTAND kyren 2018-02-08 05:00:11 -05:00
  • f05716deb8 This SHOULD fix the lifetime problem with scope... but it doesn't! kyren 2018-02-08 04:55:26 -05:00
  • 7a0c066593 export accidentally hidden Scope type kyren 2018-02-08 01:54:30 -05:00
  • 728e8ea714 Merge pull request #68 from chucklefish/scope kyren 2018-02-07 17:07:13 -05:00
  • 164250b352 Don't panic with "rlua internal error" message on panics that are not internal kyren 2018-02-07 17:05:00 -05:00
  • b9d9bea28a slightly faster, less obnoxious scope drop kyren 2018-02-07 16:51:24 -05:00