Commit Graph

  • 94ee0aaf16 Merge pull request #42 from thelearnerofcode/master kyren 2017-09-09 20:58:07 -04:00
  • 21bb04da36 Switched gcc::Config to gcc:Build in build.rs. thelearnerofcode 2017-09-09 15:03:35 -04:00
  • 5bf228fbd0 Fixup grammar error in doc comments. kyren 2017-08-03 17:07:54 -04:00
  • 50436d3463 autoformatting kyren 2017-08-03 02:03:28 -04:00
  • 1b082b17bc Don't refer to renamed prelude versions of types, refer to their normal name kyren 2017-08-02 18:21:47 -04:00
  • 1efef92570 I guess I need to bump the cargo version even to change the badge. kyren 2017-08-02 17:43:44 -04:00
  • fffeb9701b Badge has wrong url, I guess it doesn't expect the github portion kyren 2017-08-02 17:42:58 -04:00
  • b42d613c5b Update Cargo.toml for 0.9, add travis-ci badge kyren 2017-08-02 17:37:29 -04:00
  • d5552c494a Typo fix kyren 2017-08-02 17:25:19 -04:00
  • 93e8d7bc5c Merge pull request #37 from jonas-schievink/patch-1 kyren 2017-08-02 17:17:06 -04:00
  • bc3add1a8f Deny warnings on Travis Jonas Schievink 2017-08-02 23:13:02 +02:00
  • ffc9b032e7 Riiight, doctests don't even *show* warnings by default, this flag is important. kyren 2017-08-02 17:12:34 -04:00
  • cac4141871 Update README for 0.9 kyren 2017-08-02 17:04:44 -04:00
  • b03397137b deny(warnings) on doctests I don't think is necessary anymore? kyren 2017-08-02 16:37:55 -04:00
  • 7c32ace204 Whoops, was testing removing that and placed it back in the wrong place kyren 2017-08-02 16:37:30 -04:00
  • 2553623b65 Provide custom allocators that ensure that OOM results in an abort kyren 2017-08-02 16:33:48 -04:00
  • 16f57d18e5 Merge pull request #34 from jonas-schievink/better-error kyren 2017-08-02 16:00:08 -04:00
  • c3c7d8c093 setmetatable should return the table kyren 2017-08-02 15:56:16 -04:00
  • dd1d335cee Handle LUA_ERRERR Jonas Schievink 2017-08-02 21:41:35 +02:00
  • 9c34d4b99f Fix soundness problems with rlua kyren 2017-08-02 14:36:54 -04:00
  • 820c38e806 Rename Active / Dead to better reflect their behavior kyren 2017-08-02 13:04:53 -04:00
  • b458f91aac Merge pull request #35 from jonas-schievink/repl kyren 2017-08-02 11:21:08 -04:00
  • f9f3d05804 Fix argument bugs with pcall / xpcall, add tests for it kyren 2017-08-02 10:42:18 -04:00
  • 95698735a2 Fix multiline inputs Jonas Schievink 2017-08-02 14:36:10 +02:00
  • 3f20319a84 Use rustyline for the REPL Jonas Schievink 2017-08-02 14:32:45 +02:00
  • 70f05ac068 Remove ErrorError Jonas Schievink 2017-08-02 14:01:00 +02:00
  • a43bfd8f63 Remove expected field from FromLuaConversionError Jonas Schievink 2017-08-02 13:56:28 +02:00
  • f6cefca916 Remove stray 'for<'a>' of unused 'a lifetime kyren 2017-08-01 18:35:09 -04:00
  • a1626399c4 Fix compilation Jonas Schievink 2017-08-01 23:43:51 +02:00
  • cb61d53ba5 Fix error message and shorten code Jonas Schievink 2017-08-01 23:42:42 +02:00
  • ed6e7ed5e7 Don't dispose whole traceback when it's not utf-8 Jonas Schievink 2017-08-01 23:38:12 +02:00
  • 38a13c906e Remove "lua" prefix from error messages Jonas Schievink 2017-08-01 23:22:07 +02:00
  • bf76e41487 Merge IncompleteStatement into SyntaxError Jonas Schievink 2017-08-01 23:01:01 +02:00
  • ed0565c176 Fix handling of CallbackError Jonas Schievink 2017-08-01 19:46:05 +02:00
  • 7e250dacce Enhance error messages Jonas Schievink 2017-08-01 19:36:26 +02:00
  • 64ac8b4679 Merge pull request #32 from chucklefish/tuples kyren 2017-08-01 14:52:46 -04:00
  • f44917ff83 Replace _: () with () everywhere kyren 2017-08-01 14:09:47 -04:00
  • 8e9c93b9d1 Formatting, only implement tuple conversion up to 12 kyren 2017-08-01 13:57:51 -04:00
  • 48bf35dc5b Fix references to hlists in documentation, improve? Variadic usability kyren 2017-08-01 13:55:08 -04:00
  • c1abc18066 Merge remote-tracking branch 'origin/master' into tuples kyren 2017-08-01 13:02:58 -04:00
  • 721ffc462d Callbacks should be 'static again, fix #33 kyren 2017-08-01 12:03:05 -04:00
  • d02e32a80a Remove the rest of the uses of pack / unpack kyren 2017-07-31 01:27:35 -04:00
  • 4549abbb85 Two major API changes to start with: kyren 2017-07-31 01:21:41 -04:00
  • 8ba3886c96 Merge pull request #31 from jonas-schievink/clone-userdata kyren 2017-07-30 14:57:35 -04:00
  • acabc3ec18 Relax requirements for UserData to impl FromLua Jonas Schievink 2017-07-29 15:53:37 +02:00
  • 387e62580e Merge pull request #29 from jonas-schievink/errordocs kyren 2017-07-28 10:57:36 -04:00
  • ac37b2a0d4 Small typo fix kyren 2017-07-28 10:57:19 -04:00
  • ad6cf21921 Document Error Jonas Schievink 2017-07-28 12:50:30 +02:00
  • d415455ccb Fix several bugs with error handling in xxx_with_traceback functions kyren 2017-07-27 17:16:40 -04:00
  • a2b77f37a2 'main_state' fix kyren 2017-07-27 16:47:06 -04:00
  • 3adacd5589 Merge pull request #27 from jonas-schievink/userdata kyren 2017-07-26 12:07:17 -04:00
  • 8b6425dc39 Clean up lifetimes after LuaCallback typedef change kyren 2017-07-26 11:43:38 -04:00
  • 2b182860f7 Don't use hlist macros in userdata example Jonas Schievink 2017-07-26 17:28:47 +02:00
  • f657d301da Document Lua::create_function Jonas Schievink 2017-07-26 01:54:40 +02:00
  • bf6ef3ecad Fix wrong name of __newindex metamethod kyren 2017-07-26 10:28:00 -04:00
  • eae4c90ead Fix some compile problems when builtin-lua is disabled kyren 2017-07-26 10:27:41 -04:00
  • bb662e5a12 Document the UserData trait Jonas Schievink 2017-07-26 01:53:39 +02:00
  • a5ea303c22 Merge pull request #26 from jonas-schievink/strict-examples kyren 2017-07-25 18:42:56 -04:00
  • 4e52544bd1 Deny warnings in doc tests Jonas Schievink 2017-07-25 23:41:58 +02:00
  • df5c8fa4b0 Remove unneeded variable from example Jonas Schievink 2017-07-25 22:58:18 +02:00
  • 8515db4c82 Merge pull request #24 from jonas-schievink/examples kyren 2017-07-25 00:40:11 -04:00
  • 8194c4d411 Use stack_guard when the function doesn't return Result kyren 2017-07-25 00:37:44 -04:00
  • 3579b83888 Merge pull request #23 from jonas-schievink/string kyren 2017-07-25 00:31:56 -04:00
  • 335ecbbac6 tiny typo Jonas Schievink 2017-07-25 02:13:11 +02:00
  • 54464b0842 AnyUserData docs Jonas Schievink 2017-07-25 02:11:17 +02:00
  • 58c80c05be Replace unneeded eval by exec Jonas Schievink 2017-07-25 02:05:57 +02:00
  • 34fd4a00ce Document UserDataMethods Jonas Schievink 2017-07-25 02:00:49 +02:00
  • e2aeca58ae Table docs and examples Jonas Schievink 2017-07-25 01:40:53 +02:00
  • 09dc89895a Add an example Jonas Schievink 2017-07-25 00:42:59 +02:00
  • 1f2fc6455f Beef up the String API Jonas Schievink 2017-07-25 00:37:37 +02:00
  • 0b7b7e9d79 Add Function::call example Jonas Schievink 2017-07-25 00:16:43 +02:00
  • 59ab95f6ff Beef up Function::bind docs + example Jonas Schievink 2017-07-25 00:05:36 +02:00
  • 63e0587d26 Remove "equivalent" Lua code from Function::bind Jonas Schievink 2017-07-24 23:52:15 +02:00
  • 9b809a8197 Make examples adhere to API guidelines Jonas Schievink 2017-07-24 23:45:24 +02:00
  • 69fa01df45 auto formatting kyren 2017-07-24 10:40:00 -04:00
  • 1eaa201441 Merge pull request #17 from jonas-schievink/remove-lua-prefix kyren 2017-07-24 07:31:59 -04:00
  • b3b0f17f59 Slight changes for consistency kyren 2017-07-24 07:30:29 -04:00
  • 698785df64 Merge remote-tracking branch 'base/master' into remove-lua-prefix kyren 2017-07-24 07:21:54 -04:00
  • c7d2311c6a Do several more Lua prefix renames, add prelude module kyren 2017-07-24 07:12:52 -04:00
  • 44c99ea1b9 Remove error_guard kyren 2017-07-23 13:41:46 -04:00
  • 8f044755dc Fixes after rebase Jonas Schievink 2017-07-23 18:37:48 +02:00
  • b47f9e0d76 Continue renames in comments/strings Jonas Schievink 2017-07-23 12:29:02 +02:00
  • 8bd0c2c812 Rename LuaString to String Jonas Schievink 2017-07-20 11:33:15 +02:00
  • 9df7727eaa Remove the Lua* prefix from most types Jonas Schievink 2017-07-18 22:21:12 +02:00
  • 91dbbfe759 More aggressively remove code from error_guard kyren 2017-07-23 10:40:57 -04:00
  • d5ec09614c Merge pull request #22 from jonas-schievink/droptest kyren 2017-07-23 10:09:16 -04:00
  • 984ade66cc Make test_expired_userdata less noisy Jonas Schievink 2017-07-23 12:51:14 +02:00
  • 1c53ba3d4c Add a test ensuring that userdata is dropped Jonas Schievink 2017-07-23 12:50:42 +02:00
  • 2bd7a2ee8c Reduce error_guard code to as little as possible kyren 2017-07-23 02:08:32 -04:00
  • 36134e6373 Userdata can have __gc metamethods called multiple times kyren 2017-07-23 01:00:33 -04:00
  • 396a4b0916 Possibly this fixes rust stable? kyren 2017-07-19 21:32:54 -04:00
  • 5b723d58be Allow callback functions to have 'lua lifetime rather than 'static kyren 2017-07-19 21:28:16 -04:00
  • 6df96d8eb1 Rename LightUserData to LuaLightUserData for consistency kyren 2017-07-19 20:15:46 -04:00
  • 160c5405e1 Add back explanatory comment about trying "return <expr>" before statement kyren 2017-07-19 20:10:11 -04:00
  • 4f2d894a52 Merge pull request #16 from jonas-schievink/eval-name kyren 2017-07-19 20:07:37 -04:00
  • d9098900d1 Give Lua::eval a source name param and simplify Jonas Schievink 2017-07-16 22:53:32 +02:00
  • eafe4c7c30 cargo version bump for linking fix kyren 2017-07-09 17:20:51 -04:00
  • cc216721b8 slightly cleaner way of linking to an external liblua5.3, if the option is enabled kyren 2017-07-09 17:05:54 -04:00
  • b8fab1b3ed Make the builtin version of lua 5.3 optional kyren 2017-07-05 19:35:53 -04:00
  • 6b8a4240e2 format fix, fixes rustfmt warning kyren 2017-06-30 15:17:53 -04:00