aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api
AgeCommit message (Collapse)Author
2014-11-01Split up mapgen.cppkwolekr
2014-10-30Fix erroneous lua_pop parameterkwolekr
2014-10-30Check minetest.hud_change() parameters on conversion (Fix #1714)kwolekr
2014-10-29Refactor decoration-related codekwolekr
Split up ModApiMapgen::l_register_decoration() Define and make use of CONTAINS() and ARRLEN() macros
2014-10-28Prevent invalid memory access under failure conditionskwolekr
2014-10-26Add NodeResolver and clean up node name -> content ID resolution systemkwolekr
2014-10-07Fix object reference pushing functions when called from coroutinesShadowNinja
2014-09-21Split settings into seperate source and header filesShadowNinja
This also cleans up settings a bit
2014-09-20Add compression APIShadowNinja
2014-09-11Simplify and optimize schematic replacementsShadowNinja
2014-09-01Add LuaVoxelManip methods: get_node_at() and set_node_at()kwolekr
2014-09-01Update Mapgen VoxelManipulator on buffer invalidationkwolekr
2014-08-23Add lua exception handling test codesapier
Catch some error situations when mod used without thinking about it
2014-08-23Fix seg fault if popping from empty stack (L-system trees)Craig Robbins
See: https://github.com/minetest/minetest/issues/1525 Background Wuzzy2: If you attempt to spawn a L-system tree with minetest.spawn_tree, you can make Minetest crash if it is attempted to pop an empty stack. ShadowNinja: This shouldn't cause a segmentation fault, but it should throw a Lua error Commit Description This commit throws a Lua error instead of causing a segmentation fault. The server will still "crash" but will include a Lua backtrace. L-Systems fix randomness Unless a random seed is provided (via Lua treedef) seed the PRNG with a different seed for each tree Resolves: https://github.com/minetest/minetest/issues/1469 Fix l-system crash when treedef random_level not set by Lua
2014-08-23Add video driver selection to settings menu (based uppon idea from ↵sapier
webdesigner97)
2014-08-19Mod profiling supportsapier
Config settings: profiling = true/false (gather statistics) detailed_profiling = true/false (break mod times to callbacks) Chat commands: save_mod_profile saves current statistics in debug.txt and shows on console (on default loglevel)
2014-08-15Fix the *CDP displaySmallJoker
2014-07-29Fix issue 1527Craig Robbins
https://github.com/minetest/minetest/issues/1527
2014-06-23Clear inventory before setting listsShadowNinja
2014-06-19Remove a lot of superfluous ifndef USE_CURL checkssapier
2014-06-14Fix regression dirt texture not beeing default in non cloud menusapier
2014-05-31Small cleanup of hud add/remove codesapier
2014-05-15Make print() NUL-safeShadowNinja
2014-05-08Use "core" namespace internallyShadowNinja
2014-05-07Organize builtin into subdirectoriesShadowNinja
2014-05-07Add write_json() to the async APIShadowNinja
2014-05-07Fix heart + bubble bar size on different texture packssapier
Add DPI support for statbar Move heart+bubble bar to Lua HUD Add statbar size (based upon an idea by blue42u) Add support for customizing breath and statbar
2014-04-29Add proper lua api deprecated handlingsapier
2014-04-27Fix code style of async APIShadowNinja
2014-04-27Remove dependency on marshal and many other async changesShadowNinja
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
2014-04-27Add support for dpi based HUD scalingsapier
Add support for (configurable) multiline hotbar Improved screensize handling Add userdefined gui scale by BlockMen
2014-04-18Remove liquid_finite and weatherproller
2014-04-15Fix all warnings reported by clangSfan5
2014-04-12Use integers instead of float valuesBlockMen
2014-04-12Add player:set_eye_offset() by @MirceaKitsune and clean upBlockMen
2014-04-12Add third person viewBlockMen
2014-04-09Add support for named threads (atm linux only)sapier
2014-04-09Minor fixes for file/modlist download in mainmenusapier
2014-04-08Cleanup client init states by bumping protocol versionsapier
Don't use TOSERVER_RECEIVED_MEDIA but TOSERVER_CLIENT_READY as indicatio for client ready Handle clients with protocol version < 23 (almost) same way as before Make client tell server about it's version Add client state to not send bogus player position updates prior init complete Add access to statistics information (peer connction time,rtt,version) Fix clients standing stalled in world while preloading item visuals (new clients only) Add get_player_information to read client specific information from lua
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
2014-03-08Update set_mapgen_params and set_gen_notify Lua API to use new flag formatkwolekr
2014-02-27Remove "Server -!- " prefix from player messagesShadowNinja
2014-02-16Fix g_settings not being includedSfan5
2014-02-15Schematic: Add force_placement parameter to minetest.place_structure APIkwolekr
2014-02-15Add minetest.set_noiseparam_defaults() Lua APIkwolekr
2014-02-09Add capability to read table flag fields from Lua APIkwolekr
2014-02-08Make flag strings clear specified flag with 'no' prefixkwolekr
Remove flagmask field from set_mapgen_params table Add small bits of needed documentation
2014-02-07Fix invalid check for fread error on extracting zipsapier