aboutsummaryrefslogtreecommitdiff
path: root/src/script
Commit message (Collapse)AuthorAge
* Fix potential use-after-free with item metadata (#12729)Jude Melton-Houghton2022-09-14
| | | This fixes a use-after-free bug in the case where itemstack metadata is accessed after the itemstack has been garbage-collected.
* Check hp_max > 0 for entities (#12667)Lars Müller2022-09-14
|
* Fix crash when stars are resetZughy2022-09-14
|
* Run Minetest update checker on startup (#7629)SmallJoker2022-08-02
| | | | | | | This feature is enabled by default for non-Android release builds. Package maintainers may use -DENABLE_UPDATE_CHECKER=0 to disable it. Co-authored-by: rubenwardy <rw@rubenwardy.com> Co-authored-by: sfan5 <sfan5@live.de>
* Add `minetest.settings` to CSM API and allow CSMs to provide ↵AFCMS2022-08-02
| | | | | | `settingtypes.txt` (#12131) Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
* Fix some warnings (#12615)rubenwardy2022-07-30
|
* Let core.get_mod_storage be called multiple times (#12572)Jude Melton-Houghton2022-07-23
|
* Add check_mod_configuration to main menurubenwardy2022-07-14
|
* Reduce code duplication between c_converter.cpp and helper.cppsfan52022-07-14
|
* Remove unnecessary float limits from script APIsfan52022-07-14
| | | | Leaves a check for NaN and inf.
* Animated particlespawners and more (#11545)Lexi Hale2022-07-13
| | | | | Co-authored-by: Lars Mueller <appgurulars@gmx.de> Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: Dmitry Kostenko <codeforsmile@gmail.com>
* Sounds: Various little improvements (#12486)SmallJoker2022-07-09
| | | | | Use SimpleSoundSpec where reasonable (OpenAL) Ensure the sound IDs do not underflow or get overwritten -> loop in u16 Proper use of an enum.
* Allow to set maximum star opacity at daytime (#11663)Wuzzy2022-07-02
|
* Remove tile_images and special_materials obsolete code (#12455)Zughy2022-06-28
| | | Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
* Fix two memleak reports from Coverity (#12466)JosiahWI2022-06-26
|
* Re-order sound-related code (#12382)SmallJoker2022-06-20
| | | | | | | | Dropped ServerSoundParams -> moved to ServerPlayingSound. This gets rid of the duplicated 'fade' and 'pitch' values on server-side where only one was used anyway. SimpleSoundSpec is the basic sound without positional information, hence 'loop' is included. Recursively added PROTOCOL_VERSION to most functions to reduce the versioning mess in the future. Per-type version numbers are kept for now as a safety rope in a special case.
* Fix entity related bugssfan52022-06-15
| | | | | * Make minetest.add_entity() binary-safe * Fix on_death pushing dummy ObjectRef instead of nil
* on_deactivate: distinguish removal and unloading (#11931)Lars Müller2022-06-11
| | | Sometimes you need to be able to do removal-related cleanup, such as removing files from disk, or entries from a database. staticdata obviously isn't suitable for large data. The data shouldn't be removed if the entity is unloaded, only if it is removed.
* No damage effects on hp_max change (#11846)Lars Müller2022-06-11
|
* Android: Add support for sharing debug.txt (#12370)rubenwardy2022-06-05
|
* Add register dialog to separate login/register (#12185)rubenwardy2022-06-05
| | | | | | | | | | New users find Minetest's account system confusing. This change moves username/password to a new dialog, with login and register buttons added to the Join Game tab. The old registration confirmation dialog is removed in favour of the new dialog. Fixes #8138
* Add helper functions to make tool usable n times (#12047)Wuzzy2022-06-03
|
* Fix use-after-free in node meta cleanupsfan52022-05-29
| | | | bug introduced in 8908a9101608d3343023b470743ef63f1c44b0b7
* Reject registering node with empty namesfan52022-05-29
| | | | fixes #10769
* Remove debug.get/setmetatable from security whiteliststefan2022-05-29
| | | | fixes #12216
* Get rid of node metadata when it becomes emptysfan52022-05-29
| | | | fixes #8943
* Add API function to invoke player respawnsfan52022-05-29
| | | | closes #12272
* Protect a few more settings from being set from modssfan52022-05-29
| | | | Of those settings main_menu_script has concrete security impact, the rest are added out of abundance of caution.
* Reduce size of ContentFeatures structuresfan52022-05-26
| | | | | | On my system this is a reduction from 4664 to 3704 bytes. This is not for the sake of saving RAM but ensuring commonly used structures fit into caches better.
* Deprecate game.conf name, use title instead (#12030)rubenwardy2022-05-21
|
* Use native packer to transfer globals into async env(s)sfan52022-05-10
|
* Support packing arbitrary graphs (#12289)Jude Melton-Houghton2022-05-10
|
* hud_get: Return precision field for waypoints (#12215)Lars Müller2022-05-04
|
* Async environment for mods to do concurrent tasks (#11131)sfan52022-05-02
|
* Refactor some Lua API functions in preparation for async envsfan52022-05-02
|
* Remove some unused variable from Lua class wrapperssfan52022-05-02
|
* Clean up some auth packet handling related codesfan52022-04-28
|
* Remove unneeded ObjectRef setter return values (#12179)Lars Müller2022-04-10
|
* Spacing fixesShadowNinja2022-04-08
|
* Disentangle map implementations (#12148)Jude Melton-Houghton2022-04-07
| | | | Fixes violation of Liskov substitution principle Fixes #12144
* Store vector metatable in registryJude Melton-Houghton2022-03-29
|
* Fix the documentation of InvRef:get_lists() and clean up code (#12150)DS2022-03-29
|
* Add API to control shadow intensity from the game/mod (#11944)x20482022-03-26
| | | * Also Disable shadows when sun/moon is hidden. Fixes #11972.
* Readd basic_debug as a HUD flag (#12020)Lars Müller2022-03-05
|
* Allow get_sky to return a table (#11963)Zughy2022-03-05
|
* Lua API documentation: Various fixes (#12059)SmallJoker2022-02-23
| | | | | Change 1: Clarify when on_step collision information is provided Change 2: Document PostgreSQL and Redis settings Change 3: Overall AreaStore documentation improvements including consistent parameter naming based on community suggestions
* Remove awful Mingw32 workaroundssfan52022-02-08
| | | | | Instead a warning is triggered if an affected compiler is detected. closes #12022
* Fix broken server startup if curl is disabled (#12046)sfan52022-02-04
|
* Fix types of get_mapgen_setting_noiseparams (#12025)Lars Müller2022-02-04
|
* Use virtual paths to specify exact mod to enable (#11784)rubenwardy2022-01-30
|