Commit Graph

46 Commits

Author SHA1 Message Date
William Venner 9b3c37369b Allow returning Result<(), E> where E: DisplayLuaError 2022-07-16 19:26:00 +01:00
William Venner 85c1d6a82a New apis and clippy fixes 2022-07-07 19:00:34 +01:00
William Venner 64ade67496 Add `push_closure` 2022-07-07 18:18:50 +01:00
William Venner cf37264d9a New gmod update has some binaries in server root 2022-06-09 14:53:07 +01:00
William Venner f541b9bd4c Bump version 2022-02-10 20:11:10 +00:00
William Venner 87d25a2205 Bind lua_equal 2022-01-28 16:08:52 +00:00
William Venner f8554b3402 Remove annoying circular dependency 2022-01-27 19:42:50 +00:00
William Venner 06a9058442 Fix macro related build errors 2022-01-27 19:41:24 +00:00
William Venner 39ca92216b Fix bug in release builds 2022-01-27 19:07:22 +00:00
William Venner fbbeb80934 Lua state pointer shouldn't be Send 2022-01-26 20:33:27 +00:00
William Venner 3e708a0c0d Fix macros breaking auto completion in IDEs 2022-01-22 19:36:41 +00:00
William Venner 9b79d402e9 Lua functions can now return Result, Option<NonZeroI32>, () or i32 2022-01-22 18:59:12 +00:00
William Venner 47492748f2 Add more bindings, add push to Lua trait 2022-01-22 17:30:04 +00:00
William Venner 3ae39ac3b3 Fix `return` in `gmod13_close` 2022-01-04 21:56:01 +00:00
William Venner 81369ac975 Fix loading Lua state on Linux 32-bit client 2022-01-03 19:03:28 +00:00
William Venner e20834fbeb Make error handling for loading shared libraries not silently discard errors 2022-01-03 01:10:35 +00:00
William Venner 169ab1211a Fix game crashing when using overridden stdout in gmod13_close 2021-12-30 18:18:23 +00:00
William Venner d87cf56251 Add `is_client` and `is_server` 2021-12-09 19:50:46 +00:00
William Venner 1f358a0b0f Bump version 2021-12-09 19:33:18 +00:00
William Venner b2861e3e4d Add method of overriding stdout to client console for gmcl modules 2021-12-09 19:32:56 +00:00
William Venner a1f4f9cbac Potentially fix some macro hygiene 2021-12-09 18:23:19 +00:00
William Venner a6881829e1 Bump version 2021-12-04 19:23:18 +00:00
William Venner efeb394826 More reliable method of detecting x86-64 2021-12-04 18:07:57 +00:00
William Venner 44852b8fad Update cfg_table 2021-11-26 18:51:58 +00:00
William Venner 007d5e813d Add an example 2021-11-23 18:45:02 +00:00
William Venner 2b3de9234c re-export gmserverplugin with new feature flag 2021-10-27 20:46:13 +01:00
William Venner 7df4513690 Feature gate advanced stuff 2021-10-27 17:17:24 +01:00
William Venner 6ef267d2ed Update skidscan again 2021-10-25 17:11:55 +01:00
William Venner ca674512f7 Update skidscan 2021-10-25 17:02:30 +01:00
William Venner 00cb274bf3 Add new_metatable check_function check_table push_registry 2021-10-23 20:40:31 +01:00
William Venner 05d845d9d1 Bump version 2021-10-21 15:17:06 +01:00
William Venner 8d0bacec52 Replace lazy_static Lua Shared struct with a much faster single-threaded abstraction 2021-10-21 15:16:40 +01:00
William Venner d411658966 Clean up the debug related functions 2021-10-10 20:04:12 +01:00
William Venner eea1e4b15d Export LuaDebug 2021-10-09 01:09:10 +01:00
William Venner 4acec5adf2 Add `lua_stack_guard` macro 2021-10-06 18:24:12 +01:00
William Venner 9d9d3953ff fn_abi v0.1.2 -> v2.0.0 2021-09-27 01:43:20 +01:00
William Venner 0b29590eba Re-export `fn_has_this` and update dependencies 2021-09-26 18:15:19 +01:00
William Venner 3d824932dd Reexport utility macros, remove unclear and annoying macros 2021-09-24 00:38:14 +01:00
William Venner 0148e6df88 Fix open_library macros on linux32 2021-09-22 04:18:34 +01:00
William Venner be444b8d52 bump version 2021-09-22 01:14:57 +01:00
William Venner 3b74aa03e8 Fix mutability of userdata void* pointer 2021-09-18 19:18:19 +01:00
William Venner 761b2b050a Fix `is_x86_64` on Linux 32-bit x86-64 server 2021-09-18 13:41:58 +01:00
William Venner c7f08b5c7a Fix @EXPORT symbol macro 2021-09-17 18:22:10 +01:00
William Venner 0bfbaed1dd cargo update 2021-09-17 18:16:17 +01:00
William Venner 36dc7fe6ea Add some utility stuff 2021-09-11 02:07:38 +01:00
William Venner 6a3f374c96 Initial commit 2021-09-09 21:50:58 +01:00