Commit Graph

  • d9478d6cd7 Comments should be wrapped at 100 lines, according to standard kyren 2017-06-27 14:05:49 -04:00
  • 6f0caa4a6d Update README, small example changes. kyren 2017-06-25 22:25:28 -04:00
  • 8156b7e529 Small README typo fix kyren 2017-06-25 18:33:02 -04:00
  • cd4343c83e Bump cargo version (again! I'm sorry!), and update README kyren 2017-06-25 18:27:10 -04:00
  • d3b311fe49 Another major API change, out of stack space is not an Err kyren 2017-06-25 16:52:32 -04:00
  • bf9bf849c2 Simplification of error types kyren 2017-06-25 04:25:48 -04:00
  • 8548fbd263 Bump cargo version to 0.7.0 kyren 2017-06-25 02:41:02 -04:00
  • 7dba280a4b Tests for LuaError conversion, Important pcall / xpcall bugfixes. kyren 2017-06-25 02:40:09 -04:00
  • cbae1a805a This is a SLIGHTLY better implementation I think. kyren 2017-06-25 02:04:14 -04:00
  • 2c439f8097 Not sure I like everything about this approach yet kyren 2017-06-25 01:47:55 -04:00
  • a609f709ee A lot of corner case bugfixes kyren 2017-06-25 01:10:26 -04:00
  • b59b8cc23b Different strategy.. kyren 2017-06-24 22:26:35 -04:00
  • 1fda34225e Small improvements to WrappedError kyren 2017-06-24 21:44:27 -04:00
  • 3deb6df525 Lots of LuaError changes kyren 2017-06-24 20:57:04 -04:00
  • 47db72cac4 Big API incompatible error change, remove dependency on error_chain kyren 2017-06-24 18:11:56 -04:00
  • 802d5467c1 Change LuaError ToLua approach kyren 2017-06-23 19:41:08 -04:00
  • 8e3a9f0e84 Add ToString metamethod, make LuaError implement LuaUserData kyren 2017-06-23 15:24:03 -04:00
  • 7b7f7f36fc Bump cargo version, bugfix for numeric conversions. kyren 2017-06-23 03:28:43 -04:00
  • 3ab3970c01 ACTUALLY correctly limit numeric conversions kyren 2017-06-23 00:51:16 -04:00
  • 918edad1b2 Merge pull request #13 from jonas-schievink/example kyren 2017-06-22 14:09:36 -05:00
  • 979e1d1675 Add example to LuaString::to_str Jonas Schievink 2017-06-22 10:49:18 +02:00
  • 9dc0a3e098 Simplify load / exec / eval kyren 2017-06-21 19:38:58 -05:00
  • efd77fb862 Merge pull request #12 from jonas-schievink/load kyren 2017-06-21 19:23:22 -05:00
  • f75385305c Add an example to LuaFunction::bind Jonas Schievink 2017-06-22 00:38:08 +02:00
  • 2e87556a1b Add example to LuaThread::resume Jonas Schievink 2017-06-22 00:27:26 +02:00
  • 14c168f118 Add Lua::load for precompiling chunks Jonas Schievink 2017-06-22 00:13:49 +02:00
  • 06cd2c8e68 Add numeric conversion test kyren 2017-06-21 16:53:52 -05:00
  • f92e21d5cb Bump cargo version to 0.6.0 kyren 2017-06-20 18:13:40 -05:00
  • f0c2f9a870 Method renames, remove ToLua / FromLua impls for Sets kyren 2017-06-20 18:04:25 -05:00
  • 7924a910e1 typo fixes kyren 2017-06-19 02:08:50 -05:00
  • a0e83b3d1b Big API change for tables kyren 2017-06-19 01:57:03 -05:00
  • f1dee39416 update reference to raw_length method kyren 2017-06-18 17:11:55 -05:00
  • 5b148536d6 Merge pull request #10 from jonas-schievink/api-revamp kyren 2017-06-18 17:02:18 -05:00
  • 16ae4720d6 Rename LuaString::get to to_str Jonas Schievink 2017-06-18 14:48:45 +02:00
  • a47a6e32ef Rename LuaTable::has to contains_key Jonas Schievink 2017-06-18 14:39:18 +02:00
  • ed210e88b5 Rename LuaTable::(raw_)length to (raw_)len Jonas Schievink 2017-06-18 14:36:30 +02:00
  • de0f3dc3c0 Rename Lua::load to Lua::exec Jonas Schievink 2017-06-18 14:31:38 +02:00
  • ba9f7a2ee7 Add mostly untested missing metamethods, improve documentation about them kyren 2017-06-18 00:28:46 -04:00
  • 56a30fba2e Slightly more palatable coroutine API kyren 2017-06-17 23:50:40 -04:00
  • 4d34ccdba1 Merge pull request #9 from jonas-schievink/docs kyren 2017-06-17 23:28:13 -04:00
  • 64d1eae55c New 0.5.x cargo update with important coroutine bugfix, build changes kyren 2017-06-17 23:23:17 -04:00
  • edc5fc8ce3 ACTUALLY check the status of lua threads before calling resume kyren 2017-06-17 22:40:09 -04:00
  • 0e14d787b7 Documentation Jonas Schievink 2017-06-18 03:23:17 +02:00
  • 7b00ff02f2 enable more lua platform defines in build.rs kyren 2017-06-17 16:56:36 -04:00
  • 75b7024a93 Merge pull request #7 from jonas-schievink/popen kyren 2017-06-17 16:31:09 -04:00
  • 4a980de0ed Allow multiline input in the REPL example Jonas Schievink 2017-06-17 14:43:05 +02:00
  • 2cddfecfb2 Enable io.popen on Linux Jonas Schievink 2017-06-17 01:53:51 +02:00
  • 4f05516783 Add a simple repl example Jonas Schievink 2017-06-17 01:19:21 +02:00
  • b02dda3431 that example hardly shows ALL the features kyren 2017-06-15 16:30:16 -04:00
  • 44370dd64e bump cargo version, nice addition of Result conversion kyren 2017-06-15 16:28:12 -04:00
  • 32c83d77b7 small warning / clippy fixes, doc comments kyren 2017-06-15 16:27:39 -04:00
  • 484479477b Merge pull request #4 from jonas-schievink/result-to-lua-dejavu kyren 2017-06-15 15:59:20 -04:00
  • 0d652a3c94 Merge pull request #5 from jonas-schievink/who-needs-macros kyren 2017-06-15 15:55:54 -04:00
  • fc9164ab9f Merge pull request #6 from jonas-schievink/cfg_attr kyren 2017-06-15 15:55:06 -04:00
  • 0022057058 rustfmt changes kyren 2017-06-15 10:26:39 -04:00
  • 6b651820b6 Utilize cfg_attr instead of duplicating code Jonas Schievink 2017-06-14 01:30:33 +02:00
  • 5019396bd7 Remove src/macros.rs Jonas Schievink 2017-06-14 01:24:38 +02:00
  • 80be9e8091 Allow passing Result<T, E> to Lua Jonas Schievink 2017-06-14 01:17:41 +02:00
  • 8440298e71 Go ahead and release 0.5.0 kyren 2017-06-11 01:33:08 -04:00
  • 5c8aa19b8d Two major API changes: kyren 2017-06-11 01:12:25 -04:00
  • 8203414b76 Use LUA_RIDX_MAINTHREAD instead of weird bespoke method kyren 2017-06-05 05:03:18 -04:00
  • 7436e84e93 make sure other table methods do not trigger metamethods and errors kyren 2017-06-05 04:10:54 -04:00
  • cb7c55f742 Don't need pub on internal function kyren 2017-06-05 01:51:48 -04:00
  • 1c0b1014ee Improve performance of create_table / create_array_table kyren 2017-06-05 01:46:45 -04:00
  • 9aed99e3e3 atpanic function was not a good idea, it's not sound kyren 2017-06-05 01:05:41 -04:00
  • b3218137e1 Somewhat smarter strategy for error_guard calls, less ungodly slow. kyren 2017-06-05 00:41:48 -04:00
  • e4052bb4d4 Bump cargo.toml version number kyren 2017-06-05 00:06:15 -04:00
  • 47d4ea62ff Handle unprotected lua errors SOMEWHAT more elegantly kyren 2017-06-05 00:03:39 -04:00
  • bd7ee783e3 fix links, again kyren 2017-05-29 16:34:39 -04:00
  • ab3f75a90d bump cargo version kyren 2017-05-29 16:33:54 -04:00
  • dbc7144ba9 remove stray lib.rs file kyren 2017-05-29 16:33:14 -04:00
  • 87e3e56ae3 Fix link kyren 2017-05-29 16:30:43 -04:00
  • 4deb90c1ef Update README / Cargo.toml to point to docs.rs API docs kyren 2017-05-29 16:28:29 -04:00
  • 9c4029c04c bump cargo version kyren 2017-05-26 23:49:49 -04:00
  • e265633fb3 Callback versions of table functions kyren 2017-05-26 23:49:12 -04:00
  • 53b001cfce doc update again to test submodules kyren 2017-05-25 12:12:12 -04:00
  • c88762e90f Small doc update (secretly this is just to test submodules) kyren 2017-05-25 12:01:12 -04:00
  • e73346bc0f version bump kyren 2017-05-25 00:58:28 -04:00
  • 9fef45272f update README kyren 2017-05-25 00:56:23 -04:00
  • acd0611692 Make Lua::to / Lua::from operate the correct way around kyren 2017-05-25 00:47:48 -04:00
  • 87a395206d Correct checking of LuaRef origin, support lightuserdata kyren 2017-05-25 00:43:35 -04:00
  • 0111625d17 Basic coroutine support, currently very slightly broken kyren 2017-05-24 23:13:58 -04:00
  • f2b6de8e62 show build status in readme kyren 2017-05-22 23:24:30 -04:00
  • 151d830bf4 Add travis-ci script kyren 2017-05-22 23:00:32 -04:00
  • 7dc7d8edbe Update README kyren 2017-05-22 16:40:43 -04:00
  • 5c0f183a52 Improved error handling and formatting kyren 2017-05-22 14:24:19 -04:00
  • c0ecc39fc7 grammar fix for README kyren 2017-05-22 11:46:48 -04:00
  • b15ee9053e Update to use hlist_macro for hlist macros. kyren 2017-05-22 03:09:59 -04:00
  • 9bed8f499f Merge pull request #1 from jhasse/patch-1 kyren 2017-05-22 10:59:14 -04:00
  • 7282a3f640 Remove 2 spaces from Markdown lists Jan Niklas Hasse 2017-05-22 16:52:32 +02:00
  • ccc83767ec Updates to Cargo.toml metadata kyren 2017-05-22 03:06:33 -04:00
  • 29b0f02472 fix typo kyren 2017-05-21 23:34:47 -04:00
  • f401a7043d More sensible license, show that copyright is to Chucklefish LTD kyren 2017-05-21 22:58:47 -04:00
  • edb86bdeb7 Doc updates, remove unused functions kyren 2017-05-21 22:32:16 -04:00
  • c8e83ac347 README edits kyren 2017-05-21 22:06:23 -04:00
  • 1d31a38d0c talk a bit about safety kyren 2017-05-21 22:04:32 -04:00
  • e35cdbfe88 show variadics in examples kyren 2017-05-21 21:57:15 -04:00
  • 895dcc8c66 more readme stuff kyren 2017-05-21 21:52:14 -04:00
  • a027ad43a5 extremely bad at it kyren 2017-05-21 21:51:25 -04:00
  • 5356dfc87c I'm bad at md formatting kyren 2017-05-21 21:49:15 -04:00