Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Fix Lua scripting synchronization | kwolekr | 2015-11-01 |
| | | | | | | | For several years now, the lua script lock has been completely broken. This commit fixes the main issue (creation of a temporary rather than scoped object), and fixes a subsequent deadlock issue caused by nested script API calls by adding support for recursive mutexes. | ||
* | Fix server crashing on Lua errors | ShadowNinja | 2015-10-31 |
| | | | | | | | | Previously, the server called FATAL_ERROR when a Lua error occured. This caused a (mostly useless) core dump. The server now simply throws an exception, which is caught and printed before exiting with a non-zero return value. This also fixes a number of instances where errors were logged multiple times. | ||
* | Push error handler afresh each time lua_pcall is used | Kahrl | 2015-08-27 |
| | | | | | Fixes "double fault" / "error in error handling" messages (issue #1423) and instead shows a complete backtrace. | ||
* | Use numeric indices and raw table access with LUA_REGISTRYINDEX | Kahrl | 2015-08-27 |
| | |||
* | SAPI: Track last executed mod and include in error messages | kwolekr | 2015-08-12 |
| | |||
* | Improve Script CPP API diagnostics | kwolekr | 2015-08-05 |
| | |||
* | Fix code style from recent commits and add misc. optimizations | kwolekr | 2015-07-02 |
| | |||
* | Add Lua errors to error dialog | rubenwardy | 2015-06-29 |
| | |||
* | Fix uninitialized variable error | est31 | 2015-06-02 |
| | | | | | If you run minetest with valgrind, you'll quickly notice uninitialized jump depend error messages that point to s_base.cpp:131. This commit fixes those. | ||
* | Add mod security | ShadowNinja | 2015-05-16 |
| | | | | Due to compatibility concerns, this is temporarily disabled. | ||
* | For usages of assert() that are meant to persist in Release builds (when ↵ | Craig Robbins | 2015-03-07 |
| | | | | NDEBUG is defined), replace those usages with persistent alternatives | ||
* | Simplify loading of Android version of menu | ShadowNinja | 2014-11-20 |
| | |||
* | Fix object reference pushing functions when called from coroutines | ShadowNinja | 2014-10-07 |
| | |||
* | Use "core" namespace internally | ShadowNinja | 2014-05-08 |
| | |||
* | Organize builtin into subdirectories | ShadowNinja | 2014-05-07 |
| | |||
* | Only push the Lua error handler once | ShadowNinja | 2014-04-27 |
| | |||
* | Remove lua_State parameter from LuaError::LuaError | ShadowNinja | 2014-03-15 |
| | |||
* | Pass arguments by reference | Selat | 2014-03-12 |
| | |||
* | Handle LuaErrors in Lua -> C++ calls on LuaJIT | ShadowNinja | 2013-12-18 |
| | |||
* | Cleanup jthread and fix win32 build | sapier | 2013-12-01 |
| | |||
* | Pass a errfunc to lua_pcall to get a traceback | ShadowNinja | 2013-11-15 |
| | |||
* | Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu | Kahrl | 2013-08-14 |
| | |||
* | Move scriptapi to separate folder (by sapier) | sapier | 2013-05-25 |
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) |