aboutsummaryrefslogtreecommitdiff
path: root/src/script
Commit message (Collapse)AuthorAge
* 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
|
* Define control(bits) as "unset" for entities (#11995)Lars Müller2022-01-27
|
* Allow resetting celestial vault elements by leaving its arguments empty (#11922)Zughy2022-01-22
|
* Minor improvements to Lua sandboxsfan52022-01-15
|
* Mainmenu game-related changes (#11887)sfan52022-01-09
| | | | | | | fixes: * Switching between games does not immediately hide creative mode / damage buttons if so specified * World creation menu has a game selection list even though the menu already provides a gamebar * Showing gameid in world list is unnecessary * Choice of mapgen parameters in menu persists between games (and was half-broken)
* Restore pass-through of direction keys (#11924)sfan52022-01-09
| | | This moves relevant code into the PlayerControl class and gets rid of separate keyPressed variable.
* Use a database for mod storage (#11763)Jude Melton-Houghton2022-01-07
|
* Fix damage wraparound if very high damage (#11872)Wuzzy2022-01-06
|
* Refactor trusted mod checking codesfan52021-12-18
|
* Remove setlocal and setupvalue from `debug` table whitelistsfan52021-12-18
| | | | | It's likely that these could be used trick mods into revealing the insecure environment even if they do everything right (which is already hard enough).
* Don't let HTTP API pass through untrusted functionsfan52021-12-18
| | | | This has been a problem since the first day, oops.
* Restructure devtest's unittests and run them in CI (#11859)sfan52021-12-18
|
* Implemented disconnect_player (#10492)Corey Powell2021-11-26
| | | Co-authored-by: rubenwardy <rw@rubenwardy.com>
* Fix find_nodes_in_area misbehaving with out-of-map coordinates (#11770)sfan52021-11-26
| | | This ensures that no overflows (side-effects) happen within the find_nodes_in_area function by limiting coordinates like done in the map generation code.
* Add Lua bitop library (#9847)Lejo2021-11-26
|
* Lua API: Add `rmdir`, `cpdir` and `mvdir` (#9638)Elijah Duffy2021-11-10
| | | | Co-authored-by: rubenwardy <rw@rubenwardy.com>
* Fix number of tool uses being off by 1..32767 (#11110)Wuzzy2021-10-31
|
* Fix item duplication if player dies during interact callback (alternative) ↵sfan52021-10-25
| | | | (#11662)