]>
git.lizzy.rs Git - dragonfireclient.git/log
Elias Fleckenstein [Wed, 18 May 2022 15:44:02 +0000 (17:44 +0200)]
Install lua_async dependency
Elias Fleckenstein [Wed, 18 May 2022 14:57:14 +0000 (16:57 +0200)]
Don't include client/game.h on server build
Elias Fleckenstein [Wed, 18 May 2022 14:00:53 +0000 (16:00 +0200)]
Merge branch 'master' of https://github.com/minetest/minetest
Elias Fleckenstein [Wed, 18 May 2022 13:57:17 +0000 (15:57 +0200)]
Ship dragonfireclient with selected high-quality mods
paradust7 [Wed, 18 May 2022 10:31:49 +0000 (03:31 -0700)]
Use std::map instead of core::map (#12301)
Elias Fleckenstein [Tue, 17 May 2022 20:13:17 +0000 (22:13 +0200)]
Fix build instructions
Elias Fleckenstein [Tue, 17 May 2022 20:12:00 +0000 (22:12 +0200)]
Merge branch 'master' of https://github.com/minetest/minetest
savilli [Tue, 17 May 2022 18:11:08 +0000 (21:11 +0300)]
Remove confusing message in keybindings menu
JakobDev [Tue, 17 May 2022 18:08:32 +0000 (20:08 +0200)]
Add vcs-browser and contribute URLs to Appdata
Wuzzy [Tue, 17 May 2022 18:06:15 +0000 (18:06 +0000)]
DevTest: Fix broken PNG textures
Elias Fleckenstein [Tue, 17 May 2022 18:05:52 +0000 (20:05 +0200)]
Add spider
Dmitry Kostenko [Sun, 15 May 2022 19:44:55 +0000 (21:44 +0200)]
Initialize wield mesh color when wield_image is set
#12245
sfan5 [Mon, 9 May 2022 16:20:10 +0000 (18:20 +0200)]
Use native packer to transfer globals into async env(s)
Jude Melton-Houghton [Tue, 10 May 2022 20:37:33 +0000 (16:37 -0400)]
Support packing arbitrary graphs (#12289)
Jude Melton-Houghton [Mon, 9 May 2022 22:21:08 +0000 (18:21 -0400)]
Fix cooking and fuel crafts with aliases
Zughy [Tue, 10 May 2022 20:36:50 +0000 (22:36 +0200)]
Add doc to list breaking changes for the next major release
Octavian [Tue, 10 May 2022 10:34:59 +0000 (13:34 +0300)]
Fix possible unreliable behavior due to uninitialized variables
sfan5 [Mon, 9 May 2022 19:20:58 +0000 (21:20 +0200)]
Add more Prometheus metrics (#12274)
Lars Müller [Mon, 9 May 2022 18:43:47 +0000 (20:43 +0200)]
HUD: Update selection mesh every frame (#12270)
Fixes outdated selection boxes after entity property changes.
Lars Müller [Mon, 9 May 2022 18:42:43 +0000 (20:42 +0200)]
Fix Minetest blaming the wrong mod for errors (#12241)
Covers the case where mods insert their callbacks manually into "minetest.registered_<callbacks>" (often to achieve a particular order of execution).
Lars Müller [Mon, 9 May 2022 18:41:47 +0000 (20:41 +0200)]
Docs: Recommend `self.name` (#12239)
sfan5 [Fri, 6 May 2022 07:54:04 +0000 (09:54 +0200)]
Consolidate some data structures in MapBlockMesh
sfan5 [Thu, 5 May 2022 20:03:49 +0000 (22:03 +0200)]
Cache serialized mapblocks during sending
This reduces the
(absolute) time spent in Server::SendBlocks() from 700ms to 300ms
(relative) share of MapBlock::serialize() from 80% to 60%
in a test setup with 10 players and many block changes
sfan5 [Thu, 5 May 2022 18:49:57 +0000 (20:49 +0200)]
item_entity: Cache collisionbox for use in on_step
I don't have absolute numbers but if calls to get_properties() take up
30%+ of on_step() execution time that's bound to matter.
ROllerozxa [Sat, 7 May 2022 17:41:11 +0000 (19:41 +0200)]
Fix mapblock geometry optimisation not working
Caused by the depth sorting PR marking not only transparent nodes to be ignored but also opaque ones with the TILE_MATERIAL_BASIC material type
Zughy [Sun, 8 May 2022 17:11:15 +0000 (19:11 +0200)]
Remove unused variable WARN_INIT
Jude Melton-Houghton [Sun, 8 May 2022 15:21:59 +0000 (11:21 -0400)]
Enable dependencies when enabling modpacks (#12202)
Jude Melton-Houghton [Sun, 8 May 2022 13:14:14 +0000 (09:14 -0400)]
Fix enabling of dependencies with identical names (#12253)
rubenwardy [Sun, 8 May 2022 13:01:32 +0000 (14:01 +0100)]
Fix mods not being recursively enabled
Fixes #12290
rubenwardy [Sat, 7 May 2022 22:05:24 +0000 (23:05 +0100)]
Fix texture packs showing as "Nil (enabled)" in Content tab
Fixes #12285
paradust7 [Fri, 6 May 2022 20:17:16 +0000 (13:17 -0700)]
Add benchmarks for json string serialize/deserialize (#12258)
Co-authored-by: sfan5 <sfan5@live.de>
Froggo [Fri, 6 May 2022 20:15:16 +0000 (15:15 -0500)]
Enable chat clickable weblinks by default (#12115)
Co-authored-by: rubenwardy <rw@rubenwardy.com>
sfan5 [Fri, 6 May 2022 12:45:59 +0000 (14:45 +0200)]
Bump IrrlichtMt to 1.9.0mt5 in CI
sfan5 [Fri, 6 May 2022 12:42:56 +0000 (14:42 +0200)]
Declare all bundled libs as static
Otherwise it can happen that these are built as shared depending on the
options passed to CMake, which obviously isn't intended.
sfan5 [Sun, 1 May 2022 12:44:48 +0000 (14:44 +0200)]
Sort out some issues with our CI setup
* add missing apt-get update where needed
* move some jobs to run on ubuntu-20.04
* update actions plugins to latest
* speed up the job that runs multiplayer tests
LoneWolfHT [Wed, 4 May 2022 21:55:02 +0000 (14:55 -0700)]
Fix Windows Visual Studio actions (#11176)
Co-authored-by: rubenwardy <rw@rubenwardy.com>
x2048 [Wed, 4 May 2022 21:44:55 +0000 (23:44 +0200)]
Avoid rendering invisible faces of simple nodeboxes (#12262)
* Skip rendering faces adjacent to opaque nodes
* Cancel out opposite faces of adjacent nodebox nodes of the same type
Fixes #6409
Lars Müller [Wed, 4 May 2022 18:55:20 +0000 (20:55 +0200)]
hud_get: Return precision field for waypoints (#12215)
SmallJoker [Wed, 4 May 2022 18:55:13 +0000 (20:55 +0200)]
guiScalingFilter: Fix most memory leaks (#12256)
Calls to the cache function ended up creating a new texture regardless whether
the texture is already cached.
paradust7 [Wed, 4 May 2022 18:55:01 +0000 (11:55 -0700)]
Make logging cost free when there is no output target (#12247)
The logging streams now do almost no work when there is no output target for them.
For example, if LL_VERBOSE has no output targets, then `verbosestream << x` will return a StreamProxy with a null target. Any further `<<` operations applied to it will do nothing.
Lars Müller [Wed, 4 May 2022 11:44:14 +0000 (13:44 +0200)]
Add vector.combine (#11920)
rubenwardy [Mon, 25 Apr 2022 19:43:09 +0000 (20:43 +0100)]
ContentDB: Fix ungraceful crash on aliases when list download fails
Fixes #12267 and fixes #12154
sfan5 [Tue, 3 May 2022 18:14:34 +0000 (20:14 +0200)]
Fix broken FPS/dtime counters in debug info
was broken by
a89afe1229e327da3c397a3912b2d43d2196ea2b
sfan5 [Mon, 2 May 2022 18:55:04 +0000 (20:55 +0200)]
Async environment for mods to do concurrent tasks (#11131)
sfan5 [Sat, 30 Apr 2022 14:04:19 +0000 (16:04 +0200)]
Fix synchronization issue at thread start
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
sfan5 [Sat, 9 Apr 2022 12:47:59 +0000 (14:47 +0200)]
Refactor some Lua API functions in preparation for async env
sfan5 [Sat, 9 Apr 2022 11:53:32 +0000 (13:53 +0200)]
Reorganize some builtin functions in preparation for async env
sfan5 [Fri, 8 Apr 2022 13:52:22 +0000 (15:52 +0200)]
Remove some unused variable from Lua class wrappers
JakobDev [Mon, 2 May 2022 16:22:23 +0000 (18:22 +0200)]
Add German translation to AppData file (#12161)
x2048 [Sun, 1 May 2022 15:21:00 +0000 (17:21 +0200)]
Initialize wield mesh colors when changing item. (#12254)
Fixes #12245
sfan5 [Thu, 28 Apr 2022 18:53:15 +0000 (20:53 +0200)]
Deal with compiler warnings
sfan5 [Thu, 28 Apr 2022 18:26:54 +0000 (20:26 +0200)]
Enable additional warning flags
also make them work with the RelWithDebInfo build type
x2048 [Sat, 30 Apr 2022 13:54:07 +0000 (15:54 +0200)]
Run automated tests when lua files change (#12184)
* 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>
qwerty123a2 [Fri, 29 Apr 2022 16:15:19 +0000 (02:15 +1000)]
Update mods_here.txt to mention installing mods via CDB (#11876)
Co-authored-by: rubenwardy <rw@rubenwardy.com>
sfan5 [Wed, 27 Apr 2022 17:55:13 +0000 (19:55 +0200)]
Clean up some auth packet handling related code
sfan5 [Wed, 27 Apr 2022 17:32:51 +0000 (19:32 +0200)]
Fix password changing getting stuck if wrong password is entered once
sfan5 [Wed, 27 Apr 2022 17:10:03 +0000 (19:10 +0200)]
Apply disallow_empty_password to password changes too
sfan5 [Wed, 27 Apr 2022 17:00:49 +0000 (19:00 +0200)]
Fix race condition in registration leading to duplicate create_auth calls
Oblomov [Thu, 28 Apr 2022 16:53:33 +0000 (18:53 +0200)]
Refactor local time getter functions (#12221)
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.)
paradust7 [Thu, 28 Apr 2022 16:52:19 +0000 (09:52 -0700)]
Remove HW_buffer_counter after IrrlichtMt fix to remove HWBufferMap (#12232)
Keep code and use version check instead, for backwards compatibility
Wuzzy [Thu, 28 Apr 2022 16:51:46 +0000 (16:51 +0000)]
Show unknown node in debug screen (#12230)
Wuzzy [Thu, 28 Apr 2022 16:51:16 +0000 (16:51 +0000)]
DevTest: Fix armorball sprite (#12228)
Lars Müller [Wed, 27 Apr 2022 21:00:02 +0000 (23:00 +0200)]
Support CSS Color Module Level 4 (#12204)
rubenwardy [Sun, 24 Apr 2022 21:59:19 +0000 (22:59 +0100)]
Fix texture packs not showing as enabled in mainmenu
Fixes #12219
Alex [Sun, 24 Apr 2022 21:49:07 +0000 (14:49 -0700)]
Fix invalid queued package element and path (#12218)
Wuzzy [Sun, 24 Apr 2022 21:48:50 +0000 (21:48 +0000)]
DevTest: Add more test weapons and armorball modes (#11870)
Co-authored-by: sfan5 <sfan5@live.de>
Giuseppe Bilotta [Sun, 24 Apr 2022 10:26:06 +0000 (12:26 +0200)]
Fix worldaligned textures
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.
Giuseppe Bilotta [Sat, 23 Apr 2022 16:04:38 +0000 (18:04 +0200)]
Fix some textures not being sent correctly to older clients
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.)
Lars Müller [Sun, 24 Apr 2022 19:10:03 +0000 (21:10 +0200)]
Fix typo: vector.check() ought to be vector.check(v)
olive [Sun, 24 Apr 2022 19:09:11 +0000 (20:09 +0100)]
Use mod names/titles instead of technical names (#12192)
SmallJoker [Sun, 24 Apr 2022 19:08:33 +0000 (21:08 +0200)]
Builtin: Allow to revoke unknown privileges
Lars Müller [Thu, 21 Apr 2022 19:45:47 +0000 (21:45 +0200)]
Fix some debug info showing despite being disabled in the UI (#12205)
Lars Müller [Thu, 21 Apr 2022 10:39:39 +0000 (12:39 +0200)]
Update docs to reference CSS Color Module Level 3
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
paradust7 [Sat, 16 Apr 2022 16:50:59 +0000 (09:50 -0700)]
Fix '[combine' when EVDF_TEXTURE_NPOT is disabled. (#12187)
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.
olive [Sat, 16 Apr 2022 16:50:36 +0000 (17:50 +0100)]
Send chat error when attemping to /set a secure setting (#12193)
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.
SmallJoker [Fri, 15 Apr 2022 16:55:08 +0000 (18:55 +0200)]
upright_sprite: Fix walk animation in first person (#12194)
x2048 [Thu, 14 Apr 2022 20:49:30 +0000 (22:49 +0200)]
Implement shadow offsets for the new SM distortion function (#12191)
* 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
Lars Mueller [Mon, 4 Apr 2022 13:19:04 +0000 (15:19 +0200)]
Fix item entity Z-fighting
Lars Müller [Sun, 10 Apr 2022 21:20:51 +0000 (23:20 +0200)]
Remove unneeded ObjectRef setter return values (#12179)
ShadowNinja [Fri, 8 Apr 2022 01:54:33 +0000 (21:54 -0400)]
Don't test overflow behavior for VoxelArea extents
ShadowNinja [Sun, 3 Apr 2022 16:52:23 +0000 (12:52 -0400)]
Remove generate-texture-normals.sh
Minetest does not use normal maps any more.
ShadowNinja [Tue, 1 Feb 2022 01:01:20 +0000 (20:01 -0500)]
Fix typo and update settings files
ShadowNinja [Tue, 1 Feb 2022 01:00:14 +0000 (20:00 -0500)]
Fix spaces generated by settings file generator
ShadowNinja [Tue, 1 Feb 2022 00:42:24 +0000 (19:42 -0500)]
Use CMake's -B, --build, and --install options
ShadowNinja [Sun, 30 Jan 2022 03:50:43 +0000 (22:50 -0500)]
Fix OOB read in trim("")
ShadowNinja [Sun, 30 Jan 2022 03:49:11 +0000 (22:49 -0500)]
Remove duplicate test for trim
ShadowNinja [Tue, 1 Feb 2022 02:11:51 +0000 (21:11 -0500)]
Update directory name sanitization
Only ASCII spaces have to be handles specially, and leading spaces are
also disallowed.
ShadowNinja [Sun, 30 Jan 2022 03:48:41 +0000 (22:48 -0500)]
Add tests for sanitizeDirName
ShadowNinja [Sun, 30 Jan 2022 03:47:17 +0000 (22:47 -0500)]
Add additional reserved directory names
ShadowNinja [Thu, 23 Dec 2021 03:18:27 +0000 (22:18 -0500)]
Auto-detect level of parallelism
ShadowNinja [Thu, 23 Dec 2021 03:16:46 +0000 (22:16 -0500)]
Remove duplication in config.h
ShadowNinja [Wed, 1 Dec 2021 23:54:12 +0000 (18:54 -0500)]
Spacing fixes
ShadowNinja [Wed, 1 Dec 2021 23:33:55 +0000 (18:33 -0500)]
Treat empty XDG_CACHE_HOME same as unset
This matches the XDG base directory spec.
ShadowNinja [Wed, 1 Dec 2021 23:32:41 +0000 (18:32 -0500)]
Use build directory for builds
ShadowNinja [Wed, 1 Dec 2021 23:30:40 +0000 (18:30 -0500)]
Fix compiler warnings
Dmitry Kostenko [Thu, 7 Apr 2022 21:13:09 +0000 (23:13 +0200)]
Remove reference to a removed file in devtest (followup to #12157)
Dmitry Kostenko [Thu, 7 Apr 2022 20:38:01 +0000 (22:38 +0200)]
Remove obsolete commented code (follow up to #12166)
x2048 [Thu, 7 Apr 2022 20:13:50 +0000 (22:13 +0200)]
Adjust shadowmap distortion to use entire SM texture (#12166)
Jude Melton-Houghton [Thu, 7 Apr 2022 19:58:04 +0000 (15:58 -0400)]
Disentangle map implementations (#12148)
Fixes violation of Liskov substitution principle
Fixes #12144
x2048 [Thu, 7 Apr 2022 19:55:19 +0000 (21:55 +0200)]
Enable shadows by default in devtest (#12157)
* Move all shadow control to util_commands
* Shadows are now controlled with /set_shadow
Co-authored-by: sfan5 <sfan5@live.de>