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
|
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
|
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
|
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
|
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
|
b2861e3e4d
|
Add method of overriding stdout to client console for gmcl modules
|
2021-12-09 19:32:56 +00:00 |
William Venner
|
f853b67688
|
Fix x86-64 check
|
2021-12-04 19:22:52 +00:00 |
William Venner
|
efeb394826
|
More reliable method of detecting x86-64
|
2021-12-04 18:07:57 +00:00 |
William Venner
|
3ad2750c09
|
Add `pcall_ignore`
|
2021-11-02 15:13:08 +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
|
3ec09cd995
|
Fix borked lua state import
|
2021-10-25 17:15:54 +01:00 |
William Venner
|
923ac7a190
|
Remove unused feature
|
2021-10-24 20:30:03 +01:00 |
William Venner
|
00cb274bf3
|
Add new_metatable check_function check_table push_registry
|
2021-10-23 20:40:31 +01:00 |
William Venner
|
10efbfdd16
|
Add support for full userdata with proper dropping support
|
2021-10-23 20:05:52 +01:00 |
William Venner
|
419980b6ff
|
include_str doesnt really work here
|
2021-10-21 15:16:44 +01:00 |
William Venner
|
76362dccc8
|
`#[inline]` -> `#[inline(always)]`
|
2021-10-21 15:16:44 +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
|
50f1bcb851
|
Improve README
|
2021-10-20 22:44:59 +01:00 |
William Venner
|
d411658966
|
Clean up the debug related functions
|
2021-10-10 20:04:12 +01:00 |
William Venner
|
8c554cfad9
|
Remove std::fmt::Debug from LuaDebug as it crashes a lot, make i_ci pub
|
2021-10-10 20:03:43 +01:00 |
William Venner
|
d1413ea013
|
Add `lua_topointer`
|
2021-10-10 19:59:54 +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
|
6ebb763f14
|
Add some networking helpers
|
2021-10-06 18:23:09 +01:00 |
William Venner
|
2b94d70a38
|
Fix more macro hygiene
|
2021-10-06 18:22:55 +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 |
Srlion
|
50a07d1b5d
|
Add luaL_newstate
|
2021-09-21 19:35:28 +02:00 |
William Venner
|
460cb0920f
|
dump_stack can now read boolean and number types
|
2021-09-21 18:18:43 +01:00 |
William Venner
|
d47174601a
|
add some lua bindings
|
2021-09-21 18:13:19 +01:00 |
William Venner
|
59e396858c
|
Allow specifying visiblity and function name for __callingconv_func
|
2021-09-21 18:12:52 +01:00 |
William Venner
|
db54af6c41
|
make fields pub
|
2021-09-20 22:13:21 +01:00 |