60 Commits
Author SHA1 Message Date
proller 942c8d6c74 wip 2025-09-24 17:40:48 +02:00
proller 5ab5402e5a Merge tag '5.13.0' into wip5.13.0
5.13.0
2025-08-19 18:06:57 +02:00
goodusername123 c9230c5c09 Improve interop with LuaJIT: Disable 5.0 compatibility defines in Lua config 2025-07-22 16:39:34 +02:00
Lucas OH ce2380b58e Include header files in CMake sources (#16297) 2025-07-12 13:23:35 +02:00
Lars Müller 61551cfc3a Remove irr namespace (#16309) 2025-07-09 10:35:52 +02:00
Lars Müller fde6384a09 Fix and clean up skeletal animation (#15722)
* Fix attachments lagging behind their parents (#14818)
* Fix animation blending (#14817)
* Bring back cool guy as another .x smoke test
* Add .x mesh loader unittest
* Do bounding box & matrix calculation at proper point in time
* Remove obsolete `SAnimatedMesh`
2025-06-01 23:21:35 +02:00
proller 069677c93d Merge tag '5.11.0' into wip5.11.0
5.11.0
2025-03-23 17:12:49 +01:00
sfan5 b5e084c9a5 Update github URL references (#15705) 2025-01-24 16:50:39 +01:00
proller d9ea32ba49 Merge tag '5.10.0' into wip5.10.0
5.10.0
2024-11-11 14:12:17 +01:00
proller fa5ae213fc fix merge 2024-11-11 04:41:40 +01:00
proller 60bda83c1b Merge tag '5.10.0-rc1' into wip5.10.0 2024-11-10 16:41:17 +01:00
proller 1316346fce Merge 5.9.0 2024-11-03 17:00:40 +01:00
SmallJoker c884e7181f JsonCPP: restore '1.0.0+' compatibility (#15368)
Previously, compiling on Ubuntu 20.04 would fail with the system-provided JsonCPP
version (1.7.4). Which would satisfy the documented requirement of "1.0.0+".
2024-11-03 15:10:39 +01:00
sfan5 dbbe0ca065 Update jsoncpp copy to 1.9.6
note: the version number is different due to https://github.com/open-source-parsers/jsoncpp/issues/1571
2024-10-13 10:57:25 +02:00
Lars Mueller 224066c1d3 Implement glTF texture wrapping support 2024-10-10 21:02:05 +02:00
Lars Mueller 521e678d39 Add binary glTF (.glb) support 2024-10-10 21:02:05 +02:00
ac11a14509 Add static glTF support (#14557)
Co-authored-by: Lars Mueller <appgurulars@gmx.de>
Co-authored-by: jordan4ibanez <jordan4ibanez@users.noreply.github.com>
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2024-09-02 14:50:30 +02:00
red-001 43363ee066 Disable CRT security warnings in MSVC (#15077)
MSVC by default warns if Annex-K style secure functions with additional parameter validation are not used. For better or worse, afaik other major compilers don't implement it, so it's not a very useful warning for a cross-platform project.
2024-08-31 20:47:29 +02:00
cx384 03e600a721 Fix whitespaces 2024-08-17 21:02:54 +02:00
sfan5 868b548dd0 lua: add short readme 2024-06-30 20:38:22 +02:00
sfan5 837aab0e98 lua: apply patch for "read overflow in 'l_strcmp'"
<https://lua.org/bugs.html#5.4.6-1> (minimal port of changes)
2024-06-30 20:38:22 +02:00
sfan5 77ac20a66b lua: apply patch for "Parameter 'what' of 'debug.getinfo' cannot start with '>'"
<https://lua.org/bugs.html#5.4.2-2>
2024-06-30 20:38:22 +02:00
sfan5 7362ecb3b4 lua: apply patch for "Compiler can optimize away overflow check in table.unpack"
<https://lua.org/bugs.html#5.2.3-1>
2024-06-30 20:38:22 +02:00
sfan5 88ffe75b58 lua: apply patch for "Chunk with too many lines may crash Lua"
<https://lua.org/bugs.html#5.2.3-3>
2024-06-30 20:38:22 +02:00
sfan5 c1520c9e11 lua: apply patch for "Stack overflow in vararg functions with many fixed parameters called with few arguments"
known as CVE-2014-5461
<https://sources.debian.org/src/lua5.1/5.1.5-9/debian/patches/0004-Fix-stack-overflow-in-vararg-functions.patch/>
2024-06-30 20:38:22 +02:00
Lars Mueller ae4cd1ebf1 Corresponding code changes 2024-06-10 21:15:30 +02:00
minetest 781c7a800f Replace Catch2 with v3 amalgamation 2024-06-10 21:15:30 +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
JosiahWIandLars Müller 1298374818 Upgrade client active object mgr tests to Catch2 (#14565)
* Upgrade client active object mgr tests to Catch2

In addition to invoking Catch2's test runner after Minetest's homemade
runner, this refactors the tests to follow the DRY principle, and gives
them expressive names and clear assertions. Catch2 is already bundled
with Minetest, so there are no added dependencies.

* Increment failed modules count for Catch2 tests

* Respect --test-module option for Catch2 tests

* Improve Catch2 --test-module behavior

This switches infostream to rawstream so that test runner output is
displayed, and returns the correct boolean depending on the results. The
tests are now found by setting the configuration instead of invoking the
command line parser.

* Test uniqueness of all IDS instead of just one

Co-Authored-By: Lars Müller <appgurulars@gmx.de>

* Include Catch2 test run in timing and logging

* Flush std::cout after printing Catch results

* Increment total tests run instead of hardcoding to 1

* Flush stderr before printing to stdout

It's necessary to flush stderr before printing to stdout in adition to
flushing stdout before printing to stderr, to make sure all output is
ordered correctly.

* Make Catch write to rawstream

---------

Co-authored-by: Lars Müller <appgurulars@gmx.de>
2024-05-22 18:39:53 +02:00
goodusername123 fa072c1d2c Update Lua BitOp's stdint.h check for MSVC
based on https://github.com/LuaJIT/LuaJIT/commit/3ece3a3e3a448ecc54e317fd5743d1f4c19db28b
2024-03-19 19:54:57 +01:00
sfan5 2bcebc4e4e Update mini-gmp to 6.3.0 2024-01-17 20:06:26 +01:00
sfan5 cd55a533e8 Update catch2 copy to 2.13.10 2024-01-17 20:06:26 +01:00
sfan5 021eddac73 Update jsoncpp copy to 1.9.5 2024-01-17 20:06:26 +01:00
proller 21f540a376 Merge tag '5.8.0' into wip5.8.0
5.8.0
2023-12-09 05:04:50 +01:00
proller ae375f4209 Farmesh temporary fix 2023-12-06 02:14:24 +01:00
Thresher 180ec92ef9 Remove trailing whitespace (#13505) 2023-05-18 20:34:18 +02:00
proller ccb9ab5952 Merge commit 'b8aaad4f1' into wip5.7.0 2023-03-25 17:56:12 +03:00
proller af67ed73fa Clean not all objects when more than max_objects_per_block 2023-03-20 16:12:43 +03:00
proller 2b03f35578 Merge fixes 2022-11-20 06:08:19 +03:00
proller 1d576ce888 Merge tag '5.6.1'
5.6.1
2022-11-20 00:16:06 +03:00
sfan5 f680d10259 Other minor CMake improvements 2022-10-13 23:02:11 +02:00
Jude Melton-Houghton 03428d9825 Modify PUC Lua to wrap C++ exceptions (#12445) 2022-09-26 07:23:48 -04:00
Jude Melton-Houghton b89608c624 Compile bitop library as C++ 2022-09-18 17:39:09 +02:00
paradust7 e1f707d7e1 Patch built-in Lua to fix miscompile on Android (#12347) 2022-05-21 17:46:50 +02:00
paradust7andsfan5 87472150bc Add benchmarks for json string serialize/deserialize (#12258)
Co-authored-by: sfan5 <sfan5@live.de>
2022-05-06 21:17:16 +01:00
sfan5 8735a85a30 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.
2022-05-06 15:16:04 +02:00
Jude Melton-Houghtonandsfan5 21f17e871e Compile Lua as C++ (#11683)
Co-authored-by: sfan5 <sfan5@live.de>
2022-04-07 15:54:17 +01:00
Lejo b9051386ae Add Lua bitop library (#9847) 2021-11-26 19:31:05 +01:00
sfan5 74762470b2 Fix some minor code issues all over the place 2020-12-24 13:44:54 +01:00