Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'MacFixes' | Tycho | 2014-04-02 | 1 | -0/+1 |
|\ | | | | | | | | | | | Conflicts: src/DeadlockDetect.cpp src/World.cpp | ||||
| * | More fixes to get it to compile for me on Mac 10.9. Mostly just newline additions, but some of the unused variables were causing errors, so I wrapped them in #ifndef __APPLE__ calls, since I didn't know if they were going to be used in the future. | Samuel Barney | 2014-03-25 | 1 | -0/+1 |
| | | | | | | | | Also had to undefine TOLUA_TEMPLATE_BIND a couple of times. | ||||
* | | Fixed error when the hook gets called. | STRWarrior | 2014-03-29 | 1 | -0/+12 |
|/ | |||||
* | Made pushing plain pointer to Lua a valid operation, with a warning. | madmaxoft | 2014-03-20 | 1 | -2/+3 |
| | | | | This is used for exotic explosions, and the NORETURNDEBUG macro caused MSVC warnings across the entire cLuaState class (MSVC marked ALL Push() function overloads as non-returning) | ||||
* | Errors in Lua don't include the error handler in the stack trace. | madmaxoft | 2014-03-19 | 1 | -5/+5 |
| | | | | Fixes #817. | ||||
* | Merge branch 'Werror' into warnings | Tycho | 2014-03-12 | 1 | -5/+9 |
|\ | | | | | | | | | Conflicts: src/Globals.h | ||||
| * | Fixed Lua string return values. | madmaxoft | 2014-03-12 | 1 | -4/+0 |
| | | | | | | | | Fixes #773. | ||||
| * | Moved Lua API registering into a separate function. | madmaxoft | 2014-03-12 | 1 | -1/+9 |
| | | | | | | | | This will allow us to use Lua as lite-config files as well, should we want to. | ||||
* | | Fixed a load of format string errors | Tycho | 2014-03-11 | 1 | -1/+3 |
|/ | |||||
* | Fixed warnings | Tycho | 2014-03-07 | 1 | -0/+1 |
| | |||||
* | cLuaState: Made public the GetStackValue() functions. | madmaxoft | 2014-03-04 | 1 | -6/+12 |
| | |||||
* | Manually exported g_Block tables | andrew | 2014-03-02 | 1 | -0/+2 |
| | |||||
* | Attempted fix for several GCC warnings. | madmaxoft | 2014-02-26 | 1 | -0/+7 |
| | |||||
* | Add Lua plugin path to package.path and .cpath. | madmaxoft | 2014-02-17 | 1 | -0/+26 |
| | | | | Fixes #693. | ||||
* | Added cLuaState::CheckParamFunctionOrNil(). | madmaxoft | 2014-02-11 | 1 | -2/+34 |
| | | | | Also fixed error reporting for the two function-checking functions. | ||||
* | Fixed nested plugin function calls. | madmaxoft | 2014-02-11 | 1 | -6/+9 |
| | |||||
* | cLuaState: Stack traces don't include ghost 0-th element. | madmaxoft | 2014-02-10 | 1 | -1/+1 |
| | |||||
* | cLuaState::cRef can be unbound and re-bound. | madmaxoft | 2014-02-09 | 1 | -7/+45 |
| | | | | This will allow us to store Lua references as member variables in classes and initialize those later than in the constructor. | ||||
* | Removed a useless check in cLuaState. | madmaxoft | 2014-02-04 | 1 | -3/+1 |
| | |||||
* | Fixed calling plugins with userdata params. | madmaxoft | 2014-02-04 | 1 | -0/+1 |
| | |||||
* | Removed a leftover debug message. | madmaxoft | 2014-02-04 | 1 | -1/+0 |
| | |||||
* | Fixed error handling in cPluginManager:CallPlugin() API. | madmaxoft | 2014-02-04 | 1 | -2/+5 |
| | | | | Fixed: When the called function malfunctioned, the entire plugin's call was aborted. | ||||
* | Improved error resistance in cPluginManager:CallPlugin(). | madmaxoft | 2014-02-04 | 1 | -0/+8 |
| | | | | Fixed: If the call failed, all the next plugin calls would fail as well. | ||||
* | Lua: Fixed an error in table-functions callbacks. | madmaxoft | 2014-01-29 | 1 | -1/+5 |
| | |||||
* | Implemented cPluginManager:CallPlugin() API. | madmaxoft | 2014-01-21 | 1 | -16/+183 |
| | | | | This function supersedes cPlugin:Call(), is safer to use in regards to multithreading and once again removes the need for the cPlugin class being exported at all. | ||||
* | cLuaState can now check function params. | madmaxoft | 2014-01-19 | 1 | -0/+34 |
| | |||||
* | cCreeper is no longer available in API. | madmaxoft | 2014-01-13 | 1 | -12/+0 |
| | | | | Has been replaced by cMonster. | ||||
* | Lua errors display stack trace. | madmaxoft | 2014-01-11 | 1 | -3/+25 |
| | | | | Fixes #418. | ||||
* | Removed internal methods from public cLuaState interface. | madmaxoft | 2014-01-11 | 1 | -9/+17 |
| | | | | | | | PushFunction(), CallFunction() and GetReturn() are not to be called independently, but rather only by using the Call() templated overrides. Push() needs to be left in the public part, it is used for pushing results in the ManualBindings. Preparation for #418. | ||||
* | LuaState can push strings with embedded NULs. | madmaxoft | 2014-01-07 | 1 | -1/+1 |
| | | | | This also marginally improves performance, since a strlen() isn't called (inside lua_pushstring()), the string length is stored in the AString object directly. | ||||
* | implemented the recommendations Xoft gave. | STRWarrior | 2013-12-31 | 1 | -0/+12 |
| | |||||
* | Made cmake compilation possible on Windows. | madmaxoft | 2013-12-27 | 1 | -2/+2 |
| | |||||
* | Fixed tolua++ compilation. | madmaxoft | 2013-12-08 | 1 | -1/+1 |
| | | | | Duplicate files, wrong includes, const-incorrect code... | ||||
* | Moved bindings-related to a Bindings subfolder. | madmaxoft | 2013-12-08 | 1 | -0/+1024 |
Ref.: #407 |