Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Clean up/improve some scriptapi error handling code | sfan5 | 2021-09-10 | 1 | -9/+9 |
| | |||||
* | Merge pull request #8776 from osjc/FixGetNode | Jozef Behran | 2019-08-10 | 1 | -6/+6 |
| | | | Finish getNode cleanup | ||||
* | Run callback in IDropAction, refactor function arguments | SmallJoker | 2018-04-02 | 1 | -62/+60 |
| | |||||
* | Node definition manager refactor (#7016) | Dániel Juhász | 2018-02-10 | 1 | -6/+6 |
| | | | | | | | | | * Rename IWritableNodeDefManager to NodeDefManager * Make INodeDefManager functions const * Use "const *NodeDefManager" instead of "*INodeDefManager" * Remove unused INodeDefManager class * Merge NodeDefManager and CNodeDefManager * Document NodeDefManager | ||||
* | Unkown nodes: Provide position on interact (#6505) | SmallJoker | 2017-10-07 | 1 | -6/+6 |
| | | | | * Unkown nodes: Provide position on interact | ||||
* | Modernize source code: last part (#6285) | Loïc Blot | 2017-08-20 | 1 | -9/+0 |
| | | | | | | | | | | | * 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. | ||||
* | Improve Script CPP API diagnostics | kwolekr | 2015-08-05 | 1 | -14/+10 |
| | |||||
* | Fix object reference pushing functions when called from coroutines | ShadowNinja | 2014-10-07 | 1 | -6/+6 |
| | |||||
* | Only push the Lua error handler once | ShadowNinja | 2014-04-27 | 1 | -46/+20 |
| | |||||
* | 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 |
| | |||||
* | Log guilty node name when allow_metadata_inventory_move/put/take fails | Kahrl | 2013-12-18 | 1 | -15/+18 |
| | |||||
* | 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 | -83/+79 |
| | |||||
* | Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu | Kahrl | 2013-08-14 | 1 | -4/+2 |
| | |||||
* | Move scriptapi to separate folder (by sapier) | sapier | 2013-05-25 | 1 | -0/+261 |
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) |