aboutsummaryrefslogtreecommitdiff
path: root/src/script/cpp_api/s_nodemeta.cpp
AgeCommit message (Collapse)Author
2021-09-10Clean up/improve some scriptapi error handling codesfan5
2019-08-10Merge pull request #8776 from osjc/FixGetNodeJozef Behran
Finish getNode cleanup
2018-04-02Run callback in IDropAction, refactor function argumentsSmallJoker
2018-02-10Node definition manager refactor (#7016)Dániel Juhász
* Rename IWritableNodeDefManager to NodeDefManager * Make INodeDefManager functions const * Use "const *NodeDefManager" instead of "*INodeDefManager" * Remove unused INodeDefManager class * Merge NodeDefManager and CNodeDefManager * Document NodeDefManager
2017-10-07Unkown nodes: Provide position on interact (#6505)SmallJoker
* Unkown nodes: Provide position on interact
2017-08-20Modernize source code: last part (#6285)Loïc Blot
* 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
2015-08-27Push error handler afresh each time lua_pcall is usedKahrl
Fixes "double fault" / "error in error handling" messages (issue #1423) and instead shows a complete backtrace.
2015-08-05Improve Script CPP API diagnosticskwolekr
2014-10-07Fix object reference pushing functions when called from coroutinesShadowNinja
2014-04-27Only push the Lua error handler onceShadowNinja
2014-03-15Remove lua_State parameter from LuaError::LuaErrorShadowNinja
2014-03-15Revert "Make sure we get a stacktrace for as many lua errors as possible"ShadowNinja
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.
2014-03-15Make sure we get a stacktrace for as many lua errors as possibleSfan5
2013-12-18Log guilty node name when allow_metadata_inventory_move/put/take failsKahrl
2013-12-18Handle LuaErrors in Lua -> C++ calls on LuaJITShadowNinja
2013-11-15Pass a errfunc to lua_pcall to get a tracebackShadowNinja
2013-08-14Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl
2013-05-25Move scriptapi to separate folder (by sapier)sapier
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)