Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Run callback in IDropAction, refactor function arguments | SmallJoker | 2018-04-02 | 1 | -67/+47 |
| | |||||
* | Modernize source code: last part (#6285) | Loïc Blot | 2017-08-20 | 1 | -13/+9 |
| | | | | | | | | | | | * Modernize source code: last par * Use empty when needed * Use emplace_back instead of push_back when needed * For range-based loops * Initializers fixes * constructors, destructors default * c++ C stl includes | ||||
* | Push error handler afresh each time lua_pcall is used | Kahrl | 2015-08-27 | 1 | -9/+24 |
| | | | | | Fixes "double fault" / "error in error handling" messages (issue #1423) and instead shows a complete backtrace. | ||||
* | SAPI: Track last executed mod and include in error messages | kwolekr | 2015-08-12 | 1 | -0/+3 |
| | |||||
* | Improve Script CPP API diagnostics | kwolekr | 2015-08-05 | 1 | -12/+6 |
| | |||||
* | Fix object reference pushing functions when called from coroutines | ShadowNinja | 2014-10-07 | 1 | -6/+6 |
| | |||||
* | Use "core" namespace internally | ShadowNinja | 2014-05-08 | 1 | -2/+2 |
| | |||||
* | Only push the Lua error handler once | ShadowNinja | 2014-04-27 | 1 | -38/+17 |
| | |||||
* | Add more informative error messages for inventory and item method errors | ShadowNinja | 2014-03-15 | 1 | -3/+3 |
| | |||||
* | Remove lua_State parameter from LuaError::LuaError | ShadowNinja | 2014-03-15 | 1 | -3/+3 |
| | |||||
* | Revert "Make sure we get a stacktrace for as many lua errors as possible" | ShadowNinja | 2014-03-15 | 1 | -3/+3 |
| | | | | | | | | This reverts commit 362ef5f6ced862daa4733034810d0b07e2ad5d89. Stack tracebacks couldn't be generated in LuaError::LuaError anyway and this caused a second, empty traceback in most cases. In cases where there wasn't annother traceback the stack had already unwound and the traceback was empty. | ||||
* | Make sure we get a stacktrace for as many lua errors as possible | Sfan5 | 2014-03-15 | 1 | -3/+3 |
| | |||||
* | Correct misleading detached inventory error message | Ciaran Gultnieks | 2014-03-09 | 1 | -1/+1 |
| | | | | Looks like a bit of hasty copying and pasting from s_item.cpp. | ||||
* | Handle LuaErrors in Lua -> C++ calls on LuaJIT | ShadowNinja | 2013-12-18 | 1 | -3/+3 |
| | |||||
* | Pass a errfunc to lua_pcall to get a traceback | ShadowNinja | 2013-11-15 | 1 | -75/+72 |
| | |||||
* | Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu | Kahrl | 2013-08-14 | 1 | -0/+1 |
| | |||||
* | Move scriptapi to separate folder (by sapier) | sapier | 2013-05-25 | 1 | -0/+260 |
On the lua side, notably minetest.env:<function>(<args>) should now be replaced by minetest.<function>(<args>). The old way is and will stay supported for a long time. Also: Update and clean up lua_api.txt (by celeron55) Move EnvRef to lua and remove add_rat and add_firefly (by kahrl) Add separate src/util/CMakeLists.txt, other minor fixes (by kahrl) |