aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add missing item alias metatables to async environment (#12458)sfan52022-07-046-10/+35
|
* Fixed spelling inconsistency (#12504)Riley2022-07-031-1/+1
| | | coloured -> colored
* FormSpec: 9-slice images, animated_images, and fgimg_middle (#12453)Vincent Robinson2022-07-0315-204/+222
| | | | | | | | | | | * FormSpec: 9-slice images and animated_images * Add fgimg_middle; clean up code * Address issues, add tests * Fix stupid error; bump formspec version * Re-add image[] elements without a size
* Serialization spec: Fix number fuzzing (#12496)Lars Müller2022-07-021-2/+4
|
* Optimize strict.lua (#12495)Lars Müller2022-07-021-13/+13
| | | Co-authored-by: sfan5 <sfan5@live.de>
* DevTest: Add item meta editor (#12307)Wuzzy2022-07-023-30/+103
|
* Allow to set maximum star opacity at daytime (#11663)Wuzzy2022-07-029-4/+24
|
* Fix error when `item` isn't provided to core.hud_replace_builtin (#12484)rubenwardy2022-07-021-1/+4
|
* Reorganise settingtypes.txt (#12490)rubenwardy2022-06-302-1035/+1096
| | | | | This organises the settingstype.txt file to use a logical/user-friendly structure. Advanced settings are also demoted to an advanced section at the end. At most 3 levels of hierarchy are used, as that's the most allowed by the settings redesign
* Add many limits to settingtypes (#11463)Wuzzy2022-06-301-126/+128
|
* Lua API: Refer to the update_translations tool (#12419)SmallJoker2022-06-291-0/+3
| | | Lost the link too often. This is much needed.
* Improve warnings when no games or only devtest is installed (#11955)ROllerozxa2022-06-291-10/+19
|
* Remove an unused method and header includessfan52022-06-282-7/+0
|
* Remove tile_images and special_materials obsolete code (#12455)Zughy2022-06-283-23/+2
| | | Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
* Increase max FPS on Android to 60 (#12373)ROllerozxa2022-06-261-1/+0
|
* Fix two memleak reports from Coverity (#12466)JosiahWI2022-06-262-2/+3
|
* Docs: remove background9 incorrect example (#12464)Zughy2022-06-261-2/+0
|
* Re-order sound-related code (#12382)SmallJoker2022-06-2020-188/+140
| | | | | | | | 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.
* Annotate light spread functions with commentssfan52022-06-202-8/+42
|
* Fix CAO light calculation issuesfan52022-06-191-1/+1
|
* Fix updating glow on entitiessfan52022-06-172-5/+3
| | | | was broken in #10021 more than 2 years ago(!)
* Fix zlib (de)compressor memory leakssavilli2022-06-161-5/+16
|
* Update my nameNathanaël Courant2022-06-1610-10/+10
|
* Add description of privileges (#12021)x20482022-06-151-0/+85
| | | | | | | | | | | | | | | | | * Add description of privileges * Restructure Privileges section based on feedback * Suggestion by sfan5 Co-authored-by: sfan5 <sfan5@live.de> * Suggestion by sfan5 Co-authored-by: sfan5 <sfan5@live.de> * Incorporate comments by sfan5 Co-authored-by: sfan5 <sfan5@live.de>
* Add unittests for entity lifecycle and callbackssfan52022-06-152-3/+136
|
* Fix entity related bugssfan52022-06-152-3/+6
| | | | | * Make minetest.add_entity() binary-safe * Fix on_death pushing dummy ObjectRef instead of nil
* Fix Android input box crashROllerozxa2022-06-141-5/+0
|
* lua_api.txt: add missing backticksZughy2022-06-131-3/+3
|
* Improve lua_api.txt a bunchsfan52022-06-131-205/+215
|
* Fix permissions on workflow-generated macOS builds (#12422)Shane Liesegang2022-06-131-1/+8
|
* Inline triLinearInterpolationNoEase and triLinearInterpolation (#12421)paradust72022-06-111-61/+28
| | | Performance profiling on Linux AMD64 showed this to be a significant bottleneck. The non-inlined functions are expensive due to XMM registers spilling onto the stack.
* on_deactivate: distinguish removal and unloading (#11931)Lars Müller2022-06-116-12/+18
| | | 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-119-11/+23
|
* Builtin: Redo serialize.lua (#11427)Lars Müller2022-06-113-206/+342
| | | | | | | | | Features: * Support for arbitrary references, including self-referencing * Short output, references "long" strings as a bonus * Around the same speed, potentially slower if long, short keys are present * Properly works with NaN and inf
* Fix LBM docsJude Melton-Houghton2022-06-111-3/+3
|
* Fix Gitlab-CI pipelinessfan52022-06-071-3/+4
|
* Sanitize player position and speed server-side (#12396)sfan52022-06-074-6/+25
|
* Mapblock Mesh BspTree: Increase the depth of block-level splitsx20482022-06-071-3/+8
| | | | ... before going node-level triangle search. Fixes transparent grass on transparent land
* core.formspec_escape: Restore backwards compatLars Müller2022-06-061-1/+1
| | | Support numbers as arguments by using `string.gsub(text, ...)` instead of `text:gsub(...)` which will coerce `text` to a string
* Remove invalid fps_max on Macparadust72022-06-061-1/+0
|
* Bug report template: ask contributors to provide a code snippet (#12405)Zughy2022-06-051-3/+3
|
* Fix crash in commit a69b7abe00fb818fd88f3cd04e7f9997ffd21072sfan52022-06-051-1/+2
|
* Android: Add support for sharing debug.txt (#12370)rubenwardy2022-06-059-2/+81
|
* Improve LBMManager::applyLBMs() codesfan52022-06-051-6/+5
| | | | Fixes a possible bug for lbms on content ID zero and removes unsafe casts.
* Add register dialog to separate login/register (#12185)rubenwardy2022-06-0518-402/+232
| | | | | | | | | | 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
* Hide "Autosave Screen Size" on AndroidROllerozxa2022-06-051-7/+9
|
* Fix BSD iconv declarationsavilli2022-06-051-14/+0
|
* Document itemstrings with metadataLars Mueller2022-06-051-3/+29
|
* fix integer overflow in mapgen (#11641)JosiahWI2022-06-033-2/+58
| | | | | | | | | | | | | | | | | | | | * fix integer overflow in mapgen Some calculations involving the magic seed had overflow because the result of an intermediate arithmetic step could not fit in an s32. By making the magic seed unsigned, the other operand in the equation will be cast to unsigned, and possibly other operands or intermediate operands. This will result in unexpected behavior if an operand is negative, which is technically possible, but logically should not happen. * comment noise2d bitshift While working through the code I was momentarily concerned that the right bitshift in noise2d could fill ones in some cases. It turns out that with signed integers, this is indeed true, but this one is shifting an unsigned integer, so the behavior is as expected. I put a comment here to clarify this, in case someone else wonders the same thing down the line. * noise2d and noise3d unittests I have added 3 tests each for noise2d and noise3d, testing all zero inputs, a very large seed (case which caused UB in the old implementation) and some fun primes I picked for no particular reason. This should be sufficient to demonstrate that the behavior of the new implementation has not changed. I used uniform initialization because it is a good feature of C++11. Please do not explode. * uncomment the noise2d bitshift This reverts commit 583b77ee9f1ad6bb77340ebb5ba51eb9a88ff51c. It's a well-defined language semantic; it doesn't need to be commented. * code cleanliness
* Properly keep noclip state in Game and ClientMapsfan52022-06-033-17/+23
|