summaryrefslogtreecommitdiff
path: root/src/script/lua_api
Commit message (Collapse)AuthorAge
* Fix erroneous lua_pop parameterkwolekr2014-10-30
|
* Check minetest.hud_change() parameters on conversion (Fix #1714)kwolekr2014-10-30
|
* Refactor decoration-related codekwolekr2014-10-29
| | | | | Split up ModApiMapgen::l_register_decoration() Define and make use of CONTAINS() and ARRLEN() macros
* Prevent invalid memory access under failure conditionskwolekr2014-10-28
|
* Add NodeResolver and clean up node name -> content ID resolution systemkwolekr2014-10-26
|
* Fix object reference pushing functions when called from coroutinesShadowNinja2014-10-07
|
* Split settings into seperate source and header filesShadowNinja2014-09-21
| | | | This also cleans up settings a bit
* Add compression APIShadowNinja2014-09-20
|
* Simplify and optimize schematic replacementsShadowNinja2014-09-11
|
* Add LuaVoxelManip methods: get_node_at() and set_node_at()kwolekr2014-09-01
|
* Update Mapgen VoxelManipulator on buffer invalidationkwolekr2014-09-01
|
* Add lua exception handling test codesapier2014-08-23
| | | | Catch some error situations when mod used without thinking about it
* Fix seg fault if popping from empty stack (L-system trees)Craig Robbins2014-08-23
| | | | | | | | | | | | | | | | | | 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
* Add video driver selection to settings menu (based uppon idea from ↵sapier2014-08-23
| | | | webdesigner97)
* Mod profiling supportsapier2014-08-19
| | | | | | | | | 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)
* Fix the *CDP displaySmallJoker2014-08-15
|
* Fix issue 1527Craig Robbins2014-07-29
| | | | https://github.com/minetest/minetest/issues/1527
* Clear inventory before setting listsShadowNinja2014-06-23
|
* Remove a lot of superfluous ifndef USE_CURL checkssapier2014-06-19
|
* Fix regression dirt texture not beeing default in non cloud menusapier2014-06-14
|
* Small cleanup of hud add/remove codesapier2014-05-31
|
* Make print() NUL-safeShadowNinja2014-05-15
|
* Use "core" namespace internallyShadowNinja2014-05-08
|
* Organize builtin into subdirectoriesShadowNinja2014-05-07
|
* Add write_json() to the async APIShadowNinja2014-05-07
|
* Fix heart + bubble bar size on different texture packssapier2014-05-07
| | | | | | | 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
* Add proper lua api deprecated handlingsapier2014-04-29
|
* Fix code style of async APIShadowNinja2014-04-27
|
* Remove dependency on marshal and many other async changesShadowNinja2014-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
* Add support for dpi based HUD scalingsapier2014-04-27
| | | | | | Add support for (configurable) multiline hotbar Improved screensize handling Add userdefined gui scale by BlockMen
* Remove liquid_finite and weatherproller2014-04-18
|
* Fix all warnings reported by clangSfan52014-04-15
|
* Use integers instead of float valuesBlockMen2014-04-12
|
* Add player:set_eye_offset() by @MirceaKitsune and clean upBlockMen2014-04-12
|
* Add third person viewBlockMen2014-04-12
|
* Add support for named threads (atm linux only)sapier2014-04-09
|
* Minor fixes for file/modlist download in mainmenusapier2014-04-09
|
* Cleanup client init states by bumping protocol versionsapier2014-04-08
| | | | | | | | | | 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
* Remove lua_State parameter from LuaError::LuaErrorShadowNinja2014-03-15
|
* Revert "Make sure we get a stacktrace for as many lua errors as possible"ShadowNinja2014-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 possibleSfan52014-03-15
|
* Update set_mapgen_params and set_gen_notify Lua API to use new flag formatkwolekr2014-03-08
|
* Remove "Server -!- " prefix from player messagesShadowNinja2014-02-27
|
* Fix g_settings not being includedSfan52014-02-16
|
* Schematic: Add force_placement parameter to minetest.place_structure APIkwolekr2014-02-15
|
* Add minetest.set_noiseparam_defaults() Lua APIkwolekr2014-02-15
|
* Add capability to read table flag fields from Lua APIkwolekr2014-02-09
|
* Make flag strings clear specified flag with 'no' prefixkwolekr2014-02-08
| | | | | Remove flagmask field from set_mapgen_params table Add small bits of needed documentation
* Fix invalid check for fread error on extracting zipsapier2014-02-07
|
* Huge overhaul of the entire MapgenParams systemkwolekr2014-02-03
| | | | | | MapgenParams is no longer a polymorphic class, eliminating the need for messy and bug-prone reallocations. Separation between the common and mapgen-specific parameters is now strongly defined. Mapgen parameters objects are now properly encapsulated within the proper subsystems.