Commit Graph

298 Commits

Author SHA1 Message Date
YoshiRulz a7ffdd948e
Add DelegatingLuaLibrary and set up ApiHawk instantiation 2019-11-16 17:19:04 +10:00
YoshiRulz 27b2d1b6ad
Mirror cleanup from cf4dd6770 onto the Lua APIs 2019-11-16 16:52:32 +10:00
YoshiRulz 8c059aa43c
Replace helper methods with readonly bool IsUnixHost and cleanup 2019-11-04 14:30:05 +10:00
J.D. Purcell fec63fb66a Spaces -> tabs, fix mixed newlines. 2019-11-03 20:58:36 -05:00
adelikat 942d9fc75e Simplify OS checks with some helpful methods 2019-11-03 16:04:42 -06:00
adelikat d6972d1252 Lua Console - use InputRolle, fix all kinds of bugs with using Separators 2019-10-19 09:50:21 -05:00
James Groom 90b0574bc3
Remove unnecessary calls to ToList (e.g. in foreach)
squashed PR #1591
2019-10-13 15:50:57 +00:00
adelikat 41d9d2da4d fix a warning, and fix the name of a variable nearby 2019-06-28 14:34:18 -05:00
Brian Armstrong 2c6ecb68bd Merge branch 'master' into brian/mem_callback_addr_value 2019-06-06 02:11:04 -07:00
Brian Armstrong d41bd867b8 flags 2019-06-06 02:04:47 -07:00
YoshiRulz 35056ae2d9
Remove #if WINDOWS, using runtime check where applicable 2019-05-18 20:17:02 +10:00
James Groom 779975f689
Use nameof 2019-03-28 14:17:14 +11:00
YoshiRulz 9d0ee22885
Use string interpolation 2019-03-20 15:01:12 +10:00
Brian Armstrong a8f293eec8 Call mem callbacks with addr, value 2019-01-24 03:23:21 -08:00
feos ce3e3d2ed3 lua docs: couple hints 2019-01-23 15:42:02 +03:00
upthorn efc6f73169 Merge branch 'PluginDev' 2018-12-22 10:43:12 -08:00
Asnivor eee1cb481c
Fix Lua documentation - #1389 2018-12-08 08:47:17 +00:00
upthorn cdb205e696 Initial API Work 2018-08-31 21:21:34 -07:00
feos 03b3ea0b2f triple cast, but we don't have to cast to string to fetch ARGB 2018-06-22 23:15:35 +03:00
feos 8a2ee98bea fix #1221
can this also close #1222 I wonder?
2018-06-22 20:27:28 +03:00
adelikat e650f14d24 Lua functions docs to wiki - escape braces on optional params 2018-05-19 16:28:20 -05:00
nattthebear e8145af463 i hope this breaks something 2018-05-12 12:55:42 -04:00
zeromus 0a18040aff remove pointless redundant function name from LuaMethodExampleAttributes 2018-03-13 21:05:30 -04:00
zeromus 205714df95 cleanup #1122 -related lua examples documentation stuff 2018-03-13 21:04:34 -04:00
zeromus 96a13e64f7 why in the world would you use negative values for example bitshift RHS operands? 2018-03-13 20:57:54 -04:00
zeromus 2203270868 Merge remote-tracking branch 'remotes/origin/pr/1131'' 2018-03-13 20:37:48 -04:00
Azreal 6032063518 Now looks good :) 2018-03-10 03:00:44 -08:00
Azreal c4b2aba6bd Fixed some bad cases! 2018-03-10 02:43:58 -08:00
feos 900a9e5322 lua: let user know which lua core is in use 2018-03-08 23:44:42 +03:00
Xadrophonix d91bd35a95 Second pool of examples. 2018-03-04 14:07:06 -08:00
Xadrophonix 07c07fd72a First pool of examples. 2018-03-04 09:48:38 -08:00
Udo Held 036a3d321a Fix for #1094 lua mainmemory.readbyterange() issue 2018-01-14 11:18:07 +11:00
adelikat ebcd237858 Merge branch 'master' into domainedmemoryhooks 2017-10-29 12:38:29 -05:00
Tastyfish fef2c131f8 Adds memory.hash_region to aid in detecting RAM changes 2017-10-25 21:12:31 -04:00
adelikat 04ce66c397 phase 1 of changing memory callback api to specify domain - require cores to specify which domains are available and have the domain passed in when creating callbacks. Still todo - cores need to pass in domain name on CallReads/Writes/Executes methods 2017-08-01 22:05:17 -05:00
zeromus d5770fb8a3 re-apply "keepalive" GC fixes to luainterface mode in emuhawk; maybe it will actually work now and not result in crashes. at least we should check it. 2017-07-22 23:41:30 -05:00
nattthebear abc894da93 meh 2017-07-16 07:38:52 -04:00
zeromus afda5dbb62 set a value in the switchable lua library to indicate whether it's NLua or LuaInterface; effectively undo 8bc067cbbe for LuaInterface 2017-07-15 16:36:18 -05:00
adelikat 875597ec24 remove movie.rerecordcount that has been deprecated for a long time now 2017-07-11 08:01:41 -05:00
adelikat 597708765a Lua canvas - use LuaMethodAttribute (if available) when registering canvas methods, also fix casing of a few methods for consistency, fixes #908 2017-07-10 14:59:05 -05:00
adelikat 9581ce6a93 rename LuaMethodAttributes to LuaMethodAttribute so as not to be a bad person 2017-07-10 14:02:08 -05:00
zeromus 3417453b43 use NLua+KopiLua instead of LuaInterface 2017-07-09 23:51:02 -05:00
adelikat e604406f41 fix description of the SQL lua library 2017-06-27 20:26:16 -05:00
wert23239 6cc06fc898 Small spelling mistake 2017-06-26 19:53:53 -04:00
wert23239 d85ef21899 "Added SQLite Calls to Lua 2017-06-26 19:48:42 -04:00
zeromus eec9c54236 comment out all dynarec related things 2017-06-11 17:24:32 -05:00
adelikat 43cb50d5c3 Misc cleanups in Client.Common 2017-05-19 13:17:07 -05:00
adelikat 7f269d25df Make lua library dependent services private 2017-05-19 08:58:23 -05:00
adelikat 75affd8940 Lua console code cleanup 2017-05-18 14:53:03 -05:00
adelikat 4c48542b98 fix null reference exception when LuaSandbox attempts to use the Logger 2017-05-18 14:27:22 -05:00