ShadowNinja
43d1f375d1
Use a settings object for the main settings
...
This unifies the settings APIs.
This also unifies the sync and async registration APIs, since the async
registration API did not support adding non-functions to the API table.
2017-05-06 15:33:19 -04:00
Loïc Blot
41c5483024
Replace luaL_reg with luaL_Reg as recent LuaJIT dropped the Lua 5.0 compat ( #5541 )
...
We are bundling Lua5.1 which has same macro
2017-04-08 09:28:37 +02:00
sfan5
cc7c31a5bc
Fix warning reported by clang (possible bug in Settings lua api)
2016-12-21 10:20:06 +01:00
ShadowNinja
59f84ca0a0
Mod security: Allow read-only access to all mod paths
2016-12-20 06:34:04 +00:00
ShadowNinja
3a8c788880
Add mod security
...
Due to compatibility concerns, this is temporarily disabled.
2015-05-16 18:32:31 -04:00
kwolekr
d3dc88fe6b
Settings: Fail on invalid sequence and throw exception for LuaSettings
2014-12-12 00:44:17 -05:00
kwolekr
88c28414f4
Settings: Sanitize setting name everywhere, not just LuaSettings
2014-12-09 23:52:13 -05:00
kwolekr
360660947b
LuaSettings: Sanitize setting name strings
2014-11-30 19:01:54 -05:00
PilzAdam
d820a6bfd8
Add Settings interface for Lua
2013-09-10 18:31:38 +02:00