21 Commits

Author SHA1 Message Date
ROllerozxa
dd0070a6b8 Expose client version information in non-debug builds (#15708)
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
Co-authored-by: Lars Mueller <appgurulars@gmx.de>
Co-authored-by: sfan5 <sfan5@live.de>
2025-02-09 18:09:07 +01:00
Lars Müller
7f1316236b Silence failing raycast unit test (#15644)
The cause for the test failure is an edge case bug
in the raycast implementation (perfectly diagonal raycasts).

This is fixed by switching to a continuous random distribution
which makes it extremely unlikely that the buggy edge case occurs.

Additionally, devtest unit test failures now print their random seed
to be easier to reproduce in the future.
2025-01-08 10:56:05 +01:00
Lars Müller
88c7a54e08 Rename minetest.* to core.* in devtest 2024-10-28 15:57:54 +01:00
Gregor Parzefall
f9c0354af1 Add colorspec_to_table to the Lua API 2024-09-14 12:13:11 +02:00
cx384
7a64527db5 Fix connected_players on_shutdown (#14739) 2024-06-15 16:00:33 +02:00
Lars Mueller
bd4572cfd1 Fix broken CI 2024-05-21 18:10:09 +02:00
Lars Mueller
567f85752d Fix broken unit test
Also makes devtest unit test results a bit more prominent
2024-05-21 16:31:05 +02:00
OgelGames
05d5dc4cec Fix InvRef bugs and add unit tests (#14591) 2024-04-28 00:13:44 +02:00
sfan5
91ea47fddf Fix node callbacks unit test 2024-03-03 20:16:32 +01:00
grorp
e40417f687 Allow giving "pointabilities" to Lua raycasts (#14390) 2024-03-01 17:12:13 +01:00
Buckaroo Banzai
65692ad1b5 Add min/max protocol version to minetest.get_version() (#13482) 2023-05-06 16:16:21 +01:00
Jude Melton-Houghton
c78d565e01 Fix use of unassigned global "check" 2022-10-21 17:12:21 +02:00
fluxionary
440d966b93 add an 'equals' method to ItemStack and compatibility w/ lua '==' (#12771)
Co-authored-by: rubenwardy <rw@rubenwardy.com>
Co-authored-by: sfan5 <sfan5@live.de>
2022-10-09 08:06:09 -04:00
Jude Melton-Houghton
f4a01f3a5d Avoid duplication of mod metadata in memory (#12562)
Co-authored-by: sfan5 <sfan5@live.de>
2022-09-26 17:03:43 -04:00
Jude Melton-Houghton
310b12b5ed Content ID caching in Lua (#12444)
* Cache content IDs in Lua

Co-authored-by: sfan5 <sfan5@live.de>
2022-09-18 17:46:48 +02:00
sfan5
fc3460470a Add missing item alias metatables to async environment (#12458) 2022-07-04 01:06:42 +02:00
sfan5
46e7b51352 Add unittests for entity lifecycle and callbacks 2022-06-15 17:20:07 +02:00
sfan5
e7659883cc Async environment for mods to do concurrent tasks (#11131) 2022-05-02 20:56:06 +02:00
sfan5
8472141b79 Restructure devtest's unittests and run them in CI (#11859) 2021-12-18 20:36:43 +01:00
DS
f3ae45b2b2 Add a short_description to be used by mods (#8980) 2020-10-09 19:11:21 +01:00
Wuzzy
083b285f43 Rename “Minimal development test” to “Development Test” (#9928) 2020-05-26 00:17:52 +02:00