Commit Graph

104 Commits

Author SHA1 Message Date
William 774f5b63c1
Merge pull request #7 from FelixKLG/master
fix:  Switch detour to retour (fork)
2023-04-12 18:39:19 +01:00
William 495b9c46ce
Major version bump 2023-04-12 18:38:54 +01:00
FelixKLG 626c7e9f78
fix: Switch detour to retour (fork)
Detour is no longer maintained (https://github.com/darfink/detour-rs/pull/41), the community has forked it and made it work on nightly as retour.
2023-04-12 01:40:59 +01:00
William Venner f0e1f92782 Add is_none and is_none_or_nil 2022-07-16 21:12:39 +01:00
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 15596b3dba Merge branch 'master' of https://github.com/WilliamVenner/gmod-rs 2022-02-10 20:10:34 +00:00
William Venner 76eedec62a Add alignment check for userdata 2022-02-10 20:10:21 +00:00
William Venner 56c6a70866 MacOS support 2022-02-05 19:39:07 +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 aeb8aef070 Update gmserverplugin 2022-01-27 19:04:35 +00:00
William Venner e6018a1898 Add missing advanced usage function 2022-01-27 18:47:12 +00:00
William Venner 318f0e3475 Add more coroutine bindings and utility functions 2022-01-27 18:46:58 +00:00
William Venner fbbeb80934 Lua state pointer shouldn't be Send 2022-01-26 20:33:27 +00:00
William Venner 48f51fd444 Update README 2022-01-22 19:39:32 +00:00
William Venner 3e708a0c0d Fix macros breaking auto completion in IDEs 2022-01-22 19:36:41 +00:00
William Venner 92072ef93f Merge branch 'master' of https://github.com/WilliamVenner/gmod-rs 2022-01-22 19:13:00 +00:00
William Venner db19a553c7 Add DisplayLuaError trait for specialized error messages 2022-01-22 19:12:47 +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 4cc22fcf5d
Merge pull request #5 from JoshPiper/feat/is_menu
feat: Adds LUA.is_menu()
2022-01-13 22:21:23 +00:00
Joshua Piper 2f1f979f44 feat: Adds LUA.is_menu() 2022-01-13 22:01:14 +00:00
William Venner 0a3141d6b8 Add link to Lua functions to docs 2022-01-04 22:00:43 +00:00
William Venner 4953877b4e Bump minor version 2022-01-04 21:58:06 +00:00
William Venner d37db94360 Dump the stack when the lua guard fails and return a value from it 2022-01-04 21:57:27 +00:00
William Venner 5facacaf20 Fix incorrect stack indexes 2022-01-04 21:56:40 +00:00
William Venner eed57c7663 Fix invalid pseudoindex 2022-01-04 21:56:34 +00:00
William Venner 2d8e53b0f9 Hackfix for garrysmod-issues#5134 2022-01-04 21:56:23 +00:00
William Venner 09cded3b38 Fix error not getting popped 2022-01-04 21:56:09 +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 20108136d2 Move example -> examples 2021-12-30 18:22:15 +00:00
William Venner e9ef9e0978 Merge branch 'master' of https://github.com/WilliamVenner/gmod-rs 2021-12-30 18:19:58 +00:00
William Venner 169ab1211a Fix game crashing when using overridden stdout in gmod13_close 2021-12-30 18:18:23 +00:00
William 83feb67beb
Merge pull request #3 from JoshPiper/example/console
docs: Add printing to console example.
2021-12-10 13:26:20 +00:00
Joshua Piper 9dbf2d4688 docs: Add printing to console example. 2021-12-10 13:14:40 +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 1f6e947223 Specify target stuff in example 2021-12-09 17:59:56 +00:00
William Venner a6881829e1 Bump version 2021-12-04 19:23:18 +00:00
William Venner f853b67688 Fix x86-64 check 2021-12-04 19:22:52 +00:00