aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Async environment for mods to do concurrent tasks (#11131)sfan52022-05-0238-48/+1646
|
* Fix synchronization issue at thread startsfan52022-05-021-3/+3
| | | | | | | | | | If a newly started thread immediately exits then m_running would immediately be set to false again and the caller would be stuck waiting for m_running to become true forever. Since a mutex for synchronizing startup already exists we can simply move the while loop into it. see also: #5134 which introduced m_start_finished_mutex
* Refactor some Lua API functions in preparation for async envsfan52022-05-028-45/+37
|
* Reorganize some builtin functions in preparation for async envsfan52022-05-025-233/+251
|
* Remove some unused variable from Lua class wrapperssfan52022-05-024-23/+20
|
* Add German translation to AppData file (#12161)JakobDev2022-05-021-0/+18
|
* Initialize wield mesh colors when changing item. (#12254)x20482022-05-011-0/+8
| | | Fixes #12245
* Deal with compiler warningssfan52022-04-3012-30/+30
|
* Enable additional warning flagssfan52022-04-301-7/+7
| | | | also make them work with the RelWithDebInfo build type
* Run automated tests when lua files change (#12184)x20482022-04-303-32/+103
| | | | | | | | | | | * Run automated tests when lua files change * skip busted on devtest * use newer build env * Add .luacheckrc for games/devetest Co-authored-by: sfan5 <sfan5@live.de>
* Update mods_here.txt to mention installing mods via CDB (#11876)qwerty123a22022-04-291-1/+7
| | | Co-authored-by: rubenwardy <rw@rubenwardy.com>
* Clean up some auth packet handling related codesfan52022-04-289-98/+52
|
* Fix password changing getting stuck if wrong password is entered oncesfan52022-04-283-0/+13
|
* Apply disallow_empty_password to password changes toosfan52022-04-282-4/+14
|
* Fix race condition in registration leading to duplicate create_auth callssfan52022-04-281-1/+12
|
* Refactor local time getter functions (#12221)Oblomov2022-04-282-8/+29
| | | | | | | | | | | | | | | | | This commit introduces mt_localtime() in src/gettime.h, a wrapper around the OS-specific thread-safe versions of localtime() (resp. localtime_s on Windows and localtime_r in other systems). Per the Open Group recommendation, «portable applications should call tzset() explicitly before using ctime_r() or localtime_r() because setting timezone information is optional for those functions», so we also do a one-shot call of tzset() (_tzset() on Windows to avoid warning C4996). The function is used to replace the localtime() calls in getTimestamp() and makeScreenshot(). (The only reminaing call to localtime() in the tree now is the one in the local copy of the Lua source code.)
* Remove HW_buffer_counter after IrrlichtMt fix to remove HWBufferMap (#12232)paradust72022-04-282-0/+7
| | | Keep code and use version check instead, for backwards compatibility
* Show unknown node in debug screen (#12230)Wuzzy2022-04-281-3/+7
|
* DevTest: Fix armorball sprite (#12228)Wuzzy2022-04-282-1/+1
|
* Support CSS Color Module Level 4 (#12204)Lars Müller2022-04-272-1/+2
|
* Fix texture packs not showing as enabled in mainmenurubenwardy2022-04-241-1/+1
| | | | Fixes #12219
* Fix invalid queued package element and path (#12218)Alex2022-04-241-2/+1
|
* DevTest: Add more test weapons and armorball modes (#11870)Wuzzy2022-04-2415-34/+129
| | | Co-authored-by: sfan5 <sfan5@live.de>
* Fix worldaligned texturesGiuseppe Bilotta2022-04-241-2/+5
| | | | | | | | | | | | As reported in #12197, b0b9732359d43325c8bd820abeb8417353365a0c introduces a regression in worldalign textures. The specific change that seems to be responsible for this issue is the change in order between the computation of the cuboid texture coordinates and the box edge correction. Fix #12197 by moving the box edge correction back to before the cuboid texture coordinates, as it used to be.
* Fix some textures not being sent correctly to older clientsGiuseppe Bilotta2022-04-241-3/+15
| | | | | | | | | | | | | Since b2eb44afc50976dc0954c868977b5829f3ff8a19, a texture defined as `[combine:16x512:0,0=some_file.png;etc` will not be sent correctly from a 5.5 server to a 5.4 client due to the overeager detection of unsupported base modifier `[` introducing a spurious `blank.png^` before the modifier. Fix this by whitelisting which base modifiers can be passed through unchanged to the client, and prefix `blank.png` for the others (which at the moment is just [png:, but the list may grow larger as new base modifiers are added.)
* Fix typo: vector.check() ought to be vector.check(v)Lars Müller2022-04-241-1/+1
|
* Use mod names/titles instead of technical names (#12192)olive2022-04-245-16/+42
|
* Builtin: Allow to revoke unknown privilegesSmallJoker2022-04-241-12/+13
|
* Fix some debug info showing despite being disabled in the UI (#12205)Lars Müller2022-04-211-1/+2
|
* Update docs to reference CSS Color Module Level 3Lars Müller2022-04-211-1/+1
| | | as the named color "rebeccapurple" is unavailable, Level 4 clearly isn't supported; the link should not point to a dev version of the spec either
* Fix '[combine' when EVDF_TEXTURE_NPOT is disabled. (#12187)paradust72022-04-161-3/+0
| | | | | | | Stop scaling images to POT immediately when loaded. The 'combine' modifier hardcodes X and Y coordinates, and so behaves incorrectly if applied to a scaled image. Images emitted by generateImage() are already scaled to POT before being used as a texture, so nothing should break.
* Send chat error when attemping to /set a secure setting (#12193)olive2022-04-161-0/+4
| | | | | Attempting to /set a secure setting will now say that is disallowed. Previously this would shut down the server. Reading secure settings via /set is still allowed.
* upright_sprite: Fix walk animation in first person (#12194)SmallJoker2022-04-151-10/+7
|
* Implement shadow offsets for the new SM distortion function (#12191)x20482022-04-149-121/+183
| | | | | | | | * Move shadow position calculation to vertex shaders * Animate entire scene before rendering shadows to prevent lagging of shadows * Remove unnecessary use of PolygonOffsetFactor * Apply normal offset to both nodes and objects * Rename getPerspectiveFactor -> applyPerspectiveDistortion * Remove perspective distortion from fragment shaders
* Fix item entity Z-fightingLars Mueller2022-04-101-1/+2
|
* Remove unneeded ObjectRef setter return values (#12179)Lars Müller2022-04-102-31/+17
|
* Don't test overflow behavior for VoxelArea extentsShadowNinja2022-04-081-2/+2
|
* Remove generate-texture-normals.shShadowNinja2022-04-081-255/+0
| | | | Minetest does not use normal maps any more.
* Fix typo and update settings filesShadowNinja2022-04-083-4/+75
|
* Fix spaces generated by settings file generatorShadowNinja2022-04-081-4/+11
|
* Use CMake's -B, --build, and --install optionsShadowNinja2022-04-086-33/+22
|
* Fix OOB read in trim("")ShadowNinja2022-04-081-2/+2
|
* Remove duplicate test for trimShadowNinja2022-04-081-11/+2
|
* Update directory name sanitizationShadowNinja2022-04-083-30/+23
| | | | | Only ASCII spaces have to be handles specially, and leading spaces are also disallowed.
* Add tests for sanitizeDirNameShadowNinja2022-04-081-0/+11
|
* Add additional reserved directory namesShadowNinja2022-04-081-2/+29
|
* Auto-detect level of parallelismShadowNinja2022-04-083-7/+3
|
* Remove duplication in config.hShadowNinja2022-04-081-10/+6
|
* Spacing fixesShadowNinja2022-04-0831-83/+82
|
* Treat empty XDG_CACHE_HOME same as unsetShadowNinja2022-04-081-1/+1
| | | | This matches the XDG base directory spec.