Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Fix code style of async API | ShadowNinja | 2014-04-27 |
| | |||
* | Remove dependency on marshal and many other async changes | ShadowNinja | 2014-04-27 |
| | | | | | | | | | | | | This makes a number of changes: * Remove the dependency on marshal by using string.dump and loadstring. * Use lua_tolstring rather than having Lua functions pass string lengths to C++. * Move lua_api/l_async_events.* to cpp_api/s_async.*, where it belongs. * Make AsyncWorkerThread a child of ScriptApiBase, this removes some duplicate functionality. * Don't wait for async threads to shut down. (Is this safe? Might result in corruption if the thread is writing to a file.) * Pop more unused items from the stack * Code style fixes * Other misc changes | ||
* | Only push the Lua error handler once | ShadowNinja | 2014-04-27 |
| | |||
* | Fix all warnings reported by clang | Sfan5 | 2014-04-15 |
| | |||
* | Add more informative error messages for inventory and item method errors | ShadowNinja | 2014-03-15 |
| | |||
* | Remove lua_State parameter from LuaError::LuaError | ShadowNinja | 2014-03-15 |
| | |||
* | Revert "Make sure we get a stacktrace for as many lua errors as possible" | ShadowNinja | 2014-03-15 |
| | | | | | | | | 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 |
| | |||
* | Pass arguments by reference | Selat | 2014-03-12 |
| | |||
* | Correct misleading detached inventory error message | Ciaran Gultnieks | 2014-03-09 |
| | | | | Looks like a bit of hasty copying and pasting from s_item.cpp. | ||
* | Make flag strings clear specified flag with 'no' prefix | kwolekr | 2014-02-08 |
| | | | | | Remove flagmask field from set_mapgen_params table Add small bits of needed documentation | ||
* | Fix crash when a error occurs in a globalstep callback | ShadowNinja | 2014-02-03 |
| | |||
* | Pass pointed_thing to on_punch and minetest.register_on_punchnode callbacks | ShadowNinja | 2014-01-23 |
| | |||
* | Log guilty node name when allow_metadata_inventory_move/put/take fails | Kahrl | 2013-12-18 |
| | |||
* | Handle LuaErrors in Lua -> C++ calls on LuaJIT | ShadowNinja | 2013-12-18 |
| | |||
* | Add 'on_prejoinplayer' callback | kaeza | 2013-12-12 |
| | |||
* | Cleanup jthread and fix win32 build | sapier | 2013-12-01 |
| | |||
* | Pass a errfunc to lua_pcall to get a traceback | ShadowNinja | 2013-11-15 |
| | |||
* | Add a callback: minetest.register_on_craft(itemstack, player, | Novatux | 2013-11-01 |
| | | | | | | old_craft_grid, craft_inv) and minetest.register_craft_predict(itemstack, player, old_craft_grid, craft_inv) | ||
* | Always use builtin JThread library | kwolekr | 2013-09-15 |
| | |||
* | Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu | Kahrl | 2013-08-14 |
| | |||
* | Allow mods to listen to cheat detections using minetest.register_on_cheat() | Perttu Ahola | 2013-08-04 |
| | |||
* | Weather support | proller | 2013-07-27 |
| | |||
* | Add an option to disable object <-> object collision for Lua entities | PilzAdam | 2013-07-20 |
| | |||
* | Leveled nodebox | proller | 2013-07-13 |
| | |||
* | Add Lua on_mapgen_init callback, and minetest.set_mapgen_params API | kwolekr | 2013-06-27 |
| | |||
* | Add LuaVoxelManip | kwolekr | 2013-06-27 |
| | |||
* | Fix class/struct forward declaration inconsistencies (good on ya, MSVC) | Kahrl | 2013-06-06 |
| | |||
* | 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) |