aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-08-12SAPI: Track last executed mod and include in error messageskwolekr
2015-08-12Fix Lua PcgRandomest31
Before, this lua code led to a crash: local pcg = PcgRandom(42) local value = pcg:next() This was because if you called s32 PcgRandom::range(min, max) with the minimum and maximum possible values for s32 integers (which the lua binding code did), u32 PcgRandom::range(bound) got called with 0 as the bound. The bound however is one above the maximum value, so 0 is a "special" value to pass to this function. This commit fixes the lua crash by assigning the RNG's full range to the bound 0, which is also fits to the "maximum is bound - 1" principle, as (u32)-1 is the maximum value in the u32 range.
2015-08-10Treegen: Rename pine tree mapgen aliasparamat
2015-08-10Fix intlGUIEditBox leak and uninitialized value in Mapper (reported by valgrind)Kahrl
2015-08-10Make NetworkPacket respect serialized string size limitskwolekr
2015-08-10Display Lua memory usage at the time of Out-of-Memory errorkwolekr
Also misc. minor cleanups
2015-08-09Fix segfaults caused by the Environment not being initialized yetrubenwardy
2015-08-09Translated using Weblate (German)sfan5
Currently translated at 100.0% (270 of 270 strings)
2015-08-09Update Spanish translation.Diego Martinez
2015-08-09Remove unused fileLoic Blot
2015-08-09Translated using Weblate (Hungarian)Kisbenedek Márton
Currently translated at 91.1% (246 of 270 strings)
2015-08-09Translated using Weblate (Russian)Andrey K
Currently translated at 100.0% (270 of 270 strings)
2015-08-09Translated using Weblate (German)est31
Currently translated at 100.0% (270 of 270 strings)
2015-08-09Translated using Weblate (German)Jackie Coe
Currently translated at 100.0% (270 of 270 strings)
2015-08-09Translated using Weblate (German)Jackie Coe
Currently translated at 100.0% (270 of 270 strings)
2015-08-09Translated using Weblate (Japanese)Rui
Currently translated at 100.0% (270 of 270 strings)
2015-08-09Translated using Weblate (German)est31
Currently translated at 99.6% (269 of 270 strings)
2015-08-09Translated using Weblate (French)Jean-Patrick G
Currently translated at 96.2% (260 of 270 strings)
2015-08-09Translated using Weblate (Japanese)Rui
Currently translated at 96.2% (260 of 270 strings)
2015-08-09Translated using Weblate (German)est31
Currently translated at 99.6% (269 of 270 strings)
2015-08-09Translated using Weblate (French)Jean-Patrick G
Currently translated at 96.2% (260 of 270 strings)
2015-08-07Fix camera updates being toggled by N key in release mode (#2762)Kahrl
2015-08-06Fix detection of sneaking nodegregorycu
This fixes bug 1551
2015-08-06Fix BufferedPacket race condition (fixes #2983)kwolekr
This was caused by the use the non-threadsafe SharedBuffer in a threaded context.
2015-08-06Fix critical vulnerabilities and bugs with NetworkPacketkwolekr
2015-08-06Initialize random for verification key generation tooest31
2015-08-05Improve Script CPP API diagnosticskwolekr
2015-08-05connection: Make assertions non-fatal for received datakwolekr
2015-08-05Fix tiling issues for PLANTLIKE and FIRELIKE with FSAARealBadAngel
2015-08-03Cavegen V6: Make all caves consistent with 0.4.12 stableparamat
When tunnels entirely above ground were avoided, the missing pseudorandom calls changed the allowed caves. Now, above ground tunnels are not placed while still running all previous pseudorandom calls.
2015-08-03Biome API: Make fallback biome stone and water, disable fillerparamat
2015-08-02src/util/numeric.{cpp,h}: Fix FacePositionCache data raceBřetislav Štec
2015-08-02Fix "bouncy" blocksMiner59
Before players "bounced" too high. Now, while still allowing to bounce, higher speed bounces are throttled.
2015-08-02src/client/tile.cpp: Fix reference countingBřetislav Štec
2015-08-02Android: fix sound issue, and gitignoreest31
Previously, sound failed due to errors with hardfp abi build instructions. As the problem couldn't be found, the softfp compatible abi was chosen instead. This move will cause a small performance overhead, but due to the abi being armeabi-v7a, the internal calculations will still be done using the FPU. We also fix some issues with ABI information passing. However, the fixes aren't sufficient to get sound working. The patch also fixes an issue with the gitignore file.
2015-08-02Actually document what minetest.is_protected should doest31
2015-08-02Add map limit config optionrubenwardy
2015-08-02Prepend "Lua: " before lua exceptionsBřetislav Štec
src/server.cpp src/emerge.cpp
2015-08-02src/wieldmesh.cpp: Fix mesh extrusion memory leakBřetislav Štec
2015-08-02src/client.cpp: Fix mapper memory leakBřetislav Štec
2015-08-01Improve accuracy and safety of float serializationkwolekr
Multiplying by a factor of 1/1000.f (rather than dividing by 1000.f) directly introduces an error of 1 ULP. With this patch, an exact comparison of a floating point literal with the deserialized F1000 form representing it is now guaranteed to be successful. In addition, the maxmium and minimum safely representible floating point numbers are now well-defined as constants.
2015-08-01Clean up util/serialization.{cpp,h} and add unit testskwolekr
2015-08-01src/environment.cpp: Fix NULL pointer dereferenceBřetislav Štec
2015-08-01src/network/connection.h: Fix race conditionBřetislav Štec
2015-08-01Android: Add githash header to spare rebuilds after new commitsest31
Before, android_version.h got changed at every new commit. Now, we only change it with new minetest releases. Analogous to how cmake does it, we add an android_version_githash.h file that communicates the git hash to C++ code. Also, unify VERS_MAJOR, VERS_MINOR and VERS_PATCH variable calculation inside the whole makefile.
2015-07-31tests: Log exceptions thrown inside of unit testskwolekr
2015-08-01Dungeon generation: Fix code style issues in dungeongen.cppparamat
2015-07-31Android: speed up rebuild, and prevent race condition failest31
Speeding up rebuild: Before, we've written the android_version.h file at every rebuild. As it thought the file's content has changed, make has rebuilt files in the source tree that depended on that header file during rebuild, causing lots of files being rebuilt without there being a reason. The reasoning of make can be observed by passing -d and V=1 params to the ndk-build command. You then got logging entries like: Prerequisite `jni/src/android_version.h' is newer than target `obj/local/armeabi-v7a-hard/objs-debug/minetest/jni/src/areastore.o'. Preventing race condition build fail: Before, there was a race condition, where, if the prep_srcdir target was executed in parallel with the $(ROOT)/jni/src/android_version.h one, it could happen that the jni/src directory was nonexistent, and we were trying to write into a file inside. This resulted in a build failue: /bin/sh: 1: cannot create [...]/jni/src/android_version.h: Directory nonexistent Additionally, we now don't remove the link to src/ needlessly anymore. Keeping this wouldn't have affected the rebuild, but this way its more proper.
2015-07-31Fix 0.4.11 githash for androidest31
Also make only one >-redirection, sparing repetition. Also, use cut instead of awk, which is shorter and should be a bit faster.
2015-07-31Small SendableMediaAnnouncement cleanupLoic Blot
-> Remove the SendableMediaAnnouncement struct -> Forge the packet directly in the m_media loop, spare one loop and the construction of a vector -> Use preincrement to spare iterator copies