Lars Müller
f4285a59ac
Purge some dead code (mostly Irrlicht) ( #16111 )
...
* Remove obsolete Irrlicht attributes system
* Remove dead GUI element types
* Remove some obsolete Irrlicht headers
* Fix some oopsies from d96f5e1
2025-05-04 16:31:44 +02:00
Lars Müller
d96f5e1c76
MetaDataRef: Make set_float
preserve numbers exactly ( #16090 )
2025-05-02 21:27:00 +02:00
sfan5
7c619bdc9a
Improve usability of Prometheus metrics backend ( #16060 )
2025-04-23 09:30:04 +02:00
Lars Müller
a3648b0b16
Add spatial index for objects ( #14631 )
2025-04-08 08:44:53 +02:00
sfan5
1281173e50
Use secure randomness to seed internal RNG
2025-03-30 18:17:19 +02:00
sfan5
ae0f955a0e
Add nodiscard attribute to helper functions where it makes sense
2025-03-30 18:17:19 +02:00
sfan5
dea95c7339
Reduce transitive includes by moving a class
2025-03-30 18:17:19 +02:00
sfan5
b146673c3d
Remove old mystrtok_r for MinGW
2025-03-30 18:17:19 +02:00
sfan5
e73eed247e
Apply some refactoring/cleanup to mainly util functions
2025-03-30 18:17:19 +02:00
sfan5
7b746d21f9
Make sure generated blocks have their timestamp set
...
behavior change: newly generated blocks are no longer momentarily activated.
this shouldn't matter for anyone and did not consistently apply to all blocks anyway
addresses issue from #15902 for new maps(!)
2025-03-26 20:49:43 +01:00
sfan5
afb15978d9
Clean up and compress some pre-join packets ( #15881 )
2025-03-11 20:00:07 +01:00
sfan5
7892541383
Various random code cleanups
2025-03-04 19:53:01 +01:00
sfan5
ee9258cefd
Clean up some packet-related code
2025-02-26 12:21:57 +01:00
sfan5
ba62808fe8
Basic camera control API ( #15796 )
2025-02-19 18:45:45 +01:00
cx384
e9826f7819
Move EnumString to separate file and add enum_to_string ( #15714 )
2025-01-26 19:17:14 +01:00
SFENCE
af3f696423
Code style fixes.
2025-01-21 16:29:12 +01:00
cosin15
7053348e31
Fix buggy memcpy call in a template ( #15672 )
2025-01-14 20:26:29 +01:00
sfan5
612d4f9656
Improve quicktune feature a bit
2024-12-24 15:27:08 +01:00
DS
bcbee873e8
Use openssl's sha1 and sha256, optionally ( #15472 )
2024-12-10 22:00:43 +01:00
AFCMS
e545e96d2b
Make string to v3f parsing consistent, replace core.setting_get_pos()
by core.settings:get_pos()
( #15438 )
...
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com>
2024-12-04 18:19:46 +01:00
sfence
d849d51c2d
Replace licensing text in headers (LGPLv2.1) ( #15321 )
2024-10-28 15:57:39 +01:00
sfan5
b61c83a19d
Move some more sources to shared target
2024-10-16 19:39:59 +02:00
sfan5
37095f3e49
Change the preprocessor macro that differs server/client builds
2024-10-16 19:39:59 +02:00
y5nw
e3aa79cffb
Gettext and plural support for client-side translations ( #14726 )
...
---------
Co-authored-by: Ekdohibs <nathanael.courant@laposte.net>
Co-authored-by: y5nw <y5nw@protonmail.com>
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2024-10-13 11:29:08 +02:00
sfan5
99b6315c1a
Make logging respect stream flushes
...
also add override keyword and fix overflow() behavior
2024-10-12 22:37:17 +02:00
paradust7
3a7c8279bf
Split log.h to speed up compilation ( #15258 )
2024-10-09 16:24:44 +02:00
sfan5
c1ea49940b
Add questionable workaround for env lock contention
2024-09-26 17:31:49 +02:00
sfan5
7ae51382c8
Refactor ABM/LBM related code
2024-09-20 15:05:26 +02:00
DS
4aec4fbe6f
Add support for Tracy profiler ( #15113 )
2024-09-15 13:47:45 +02:00
red-001
1527cdf6a4
SRP remove custom memory allocator
2024-09-06 11:30:35 +02:00
red-001
197d09cc53
SRP switch to porting randomness source
2024-09-06 11:30:35 +02:00
sfence
4fd744cdf6
Generate Minetest.app on macOS 12, so at least macOS 12 will be supported
2024-09-06 11:30:27 +02:00
sfan5
3fb4049612
Prevent accidentally copy/move of refcounted objects
2024-09-02 21:50:13 +02:00
sfan5
b8b99d5cf1
Use std::string_view in logging code
2024-09-02 16:09:14 +02:00
sfan5
19a58745c9
Avoid copies when working with EnrichedString
2024-08-28 15:38:02 +02:00
Desour
04f0a4a1c6
Fix MeshGrid::isMeshPos()
...
`(1 + 1 + 0) % 2 = 0`, for example, so it had false positives.
Only minimap generation uses this function. It did useless work.
2024-08-28 15:37:54 +02:00
sfan5
c6ef5ab259
Sanitize formspec fields server-side ( #14878 )
2024-08-21 21:34:46 +02:00
sfan5
85e717fcd1
Rework object attachment handling to fix bugs ( #14825 )
2024-08-12 15:32:18 +02:00
sfan5
b7e886a740
Rename sha256 header
...
fixes #14710
2024-06-10 18:49:43 +02:00
Desour
cdbbac5b6d
Move sha256.c to lib/
...
Precompiled headers don't work if we're not a pure C++ project.
2024-05-27 17:12:39 +02:00
sfan5
59bf1d8cd9
Fix curl compatibility issues with colorize_url ( #14615 )
...
Also move the escape code safety check to guiOpenURL.
2024-05-09 11:31:10 +02:00
sfan5
9c3c286aab
Optimize code patterns around raycasting
2024-05-03 16:28:29 +02:00
sfan5
fc0ac64277
Fix build errors with curl disabled
2024-04-28 12:31:15 +02:00
JosiahWI
de8d80dee0
Fix MSVC warning C4172 in ModifySafeMap::get ( #14576 )
2024-04-23 19:04:26 +02:00
SmallJoker
c8a41409d9
HUD: Text element color support ( #14558 )
2024-04-20 20:36:44 +02:00
sfan5
d8190e1c5f
Some globals (un-)init fixes
2024-04-20 13:03:42 +02:00
sfan5
2af5191070
Optimize MapNode::serializeBulk
...
before
serializeBulk [us] __________________________ 9047x 9.363
after
serializeBulk [us] __________________________ 8458x 1.214
2024-04-20 13:03:42 +02:00
sfan5
72eeb9fecb
Refactor profiler and related classes
2024-04-20 13:03:42 +02:00
sfan5
5df60d85f7
Cache iconv context per-thread
2024-03-30 11:07:02 +01:00
sfan5
008d6be900
Rework iconv encoding detection
...
WCHAR_T doesn't seem as portable as we thought, so it's just easier
to detect the right encoding using macros at this point.
2024-03-30 11:07:02 +01:00