aboutsummaryrefslogtreecommitdiff
path: root/src/gettext.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-04-29Update mods_here.txt to mention installing mods via CDB (#11876)qwerty123a21-1/+7
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2022-04-28Clean up some auth packet handling related codesfan59-98/+52
2022-04-28Fix password changing getting stuck if wrong password is entered oncesfan53-0/+13
2022-04-28Apply disallow_empty_password to password changes toosfan52-4/+14
2022-04-28Fix race condition in registration leading to duplicate create_auth callssfan51-1/+12
2022-04-28Refactor local time getter functions (#12221)Oblomov2-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.)
2022-04-28Remove HW_buffer_counter after IrrlichtMt fix to remove HWBufferMap (#12232)paradust72-0/+7
Keep code and use version check instead, for backwards compatibility
2022-04-28Show unknown node in debug screen (#12230)Wuzzy1-3/+7
2022-04-28DevTest: Fix armorball sprite (#12228)Wuzzy2-1/+1
2022-04-27Support CSS Color Module Level 4 (#12204)Lars Müller2-1/+2
2022-04-24Fix texture packs not showing as enabled in mainmenurubenwardy1-1/+1
Fixes #12219
2022-04-24Fix invalid queued package element and path (#12218)Alex1-2/+1
2022-04-24DevTest: Add more test weapons and armorball modes (#11870)Wuzzy15-34/+129
Co-authored-by: sfan5 <sfan5@live.de>
2022-04-24Fix worldaligned texturesGiuseppe Bilotta1-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.
2022-04-24Fix some textures not being sent correctly to older clientsGiuseppe Bilotta1-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.)
2022-04-24Fix typo: vector.check() ought to be vector.check(v)Lars Müller1-1/+1
2022-04-24Use mod names/titles instead of technical names (#12192)olive5-16/+42
2022-04-24Builtin: Allow to revoke unknown privilegesSmallJoker1-12/+13
2022-04-21Fix some debug info showing despite being disabled in the UI (#12205)Lars Müller1-1/+2
2022-04-21Update docs to reference CSS Color Module Level 3Lars Müller1-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
2022-04-16Fix '[combine' when EVDF_TEXTURE_NPOT is disabled. (#12187)paradust71-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.
2022-04-16Send chat error when attemping to /set a secure setting (#12193)olive1-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.
2022-04-15upright_sprite: Fix walk animation in first person (#12194)SmallJoker1-10/+7
2022-04-14Implement shadow offsets for the new SM distortion function (#12191)x20489-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
2022-04-10Fix item entity Z-fightingLars Mueller1-1/+2
2022-04-10Remove unneeded ObjectRef setter return values (#12179)Lars Müller2-31/+17
2022-04-08Don't test overflow behavior for VoxelArea extentsShadowNinja1-2/+2
2022-04-08Remove generate-texture-normals.shShadowNinja1-255/+0
Minetest does not use normal maps any more.
2022-04-08Fix typo and update settings filesShadowNinja3-4/+75
2022-04-08Fix spaces generated by settings file generatorShadowNinja1-4/+11
2022-04-08Use CMake's -B, --build, and --install optionsShadowNinja6-33/+22
2022-04-08Fix OOB read in trim("")ShadowNinja1-2/+2
2022-04-08Remove duplicate test for trimShadowNinja1-11/+2
2022-04-08Update directory name sanitizationShadowNinja3-30/+23
Only ASCII spaces have to be handles specially, and leading spaces are also disallowed.
2022-04-08Add tests for sanitizeDirNameShadowNinja1-0/+11
2022-04-08Add additional reserved directory namesShadowNinja1-2/+29
2022-04-08Auto-detect level of parallelismShadowNinja3-7/+3
2022-04-08Remove duplication in config.hShadowNinja1-10/+6
2022-04-08Spacing fixesShadowNinja31-83/+82
2022-04-08Treat empty XDG_CACHE_HOME same as unsetShadowNinja1-1/+1
This matches the XDG base directory spec.
2022-04-08Use build directory for buildsShadowNinja5-11/+11
2022-04-08Fix compiler warningsShadowNinja9-51/+44
2022-04-07Remove reference to a removed file in devtest (followup to #12157)Dmitry Kostenko1-1/+0
2022-04-07Remove obsolete commented code (follow up to #12166)Dmitry Kostenko1-9/+0
2022-04-07Adjust shadowmap distortion to use entire SM texture (#12166)x204812-112/+156
2022-04-07Disentangle map implementations (#12148)Jude Melton-Houghton6-57/+57
Fixes violation of Liskov substitution principle Fixes #12144
2022-04-07Enable shadows by default in devtest (#12157)x20482-8/+14
* Move all shadow control to util_commands * Shadows are now controlled with /set_shadow Co-authored-by: sfan5 <sfan5@live.de>
2022-04-07Compile Lua as C++ (#11683)Jude Melton-Houghton5-34/+103
Co-authored-by: sfan5 <sfan5@live.de>
2022-04-03Fix -mwindows flag not being applied anymoresfan51-1/+4
closes #12165
2022-04-02Add depth sorting for node faces (#11696)x20488-93/+629
Use BSP tree to order transparent triangles https://en.wikipedia.org/wiki/Binary_space_partitioning