aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* src/util/numeric.{cpp,h}: Fix FacePositionCache data raceBřetislav Štec2015-08-02
|
* Fix "bouncy" blocksMiner592015-08-02
| | | | Before players "bounced" too high. Now, while still allowing to bounce, higher speed bounces are throttled.
* src/client/tile.cpp: Fix reference countingBřetislav Štec2015-08-02
|
* Android: fix sound issue, and gitignoreest312015-08-02
| | | | | | | | | | | | | | | 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.
* Actually document what minetest.is_protected should doest312015-08-02
|
* Add map limit config optionrubenwardy2015-08-02
|
* Prepend "Lua: " before lua exceptionsBřetislav Štec2015-08-02
| | | | | src/server.cpp src/emerge.cpp
* src/wieldmesh.cpp: Fix mesh extrusion memory leakBřetislav Štec2015-08-02
|
* src/client.cpp: Fix mapper memory leakBřetislav Štec2015-08-02
|
* Improve accuracy and safety of float serializationkwolekr2015-08-01
| | | | | | | | | 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.
* Clean up util/serialization.{cpp,h} and add unit testskwolekr2015-08-01
|
* src/environment.cpp: Fix NULL pointer dereferenceBřetislav Štec2015-08-01
|
* src/network/connection.h: Fix race conditionBřetislav Štec2015-08-01
|
* Android: Add githash header to spare rebuilds after new commitsest312015-08-01
| | | | | | | | | | 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.
* tests: Log exceptions thrown inside of unit testskwolekr2015-07-31
|
* Dungeon generation: Fix code style issues in dungeongen.cppparamat2015-08-01
|
* Android: speed up rebuild, and prevent race condition failest312015-07-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Fix 0.4.11 githash for androidest312015-07-31
| | | | | Also make only one >-redirection, sparing repetition. Also, use cut instead of awk, which is shorter and should be a bit faster.
* Small SendableMediaAnnouncement cleanupLoic Blot2015-07-31
| | | | | | -> 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
* Android: fix horrible libiconv buildest312015-07-29
| | | | | | | | | | | | | | | | | | | Before, our libiconv build was a joke. We first called configure for our own build host system, then called make, before we executed a Android.mk script we provided as patch. The first "native make" always failed, and the LIBICONV_LIB file setting in our Makefile didn't match the built one, resulting in an always-rebuild of iconv. This commit cleans up this total mess, removes the double-build, and the Android.mk, and properly calls ./configure with the according target platform, and uses a built toolchain. As we have to deal with the android bug "NDK: Support for prebuild libs with full sonames" https://code.google.com/p/android/issues/detail?id=55868 as the 2013 patch https://lists.gnu.org/archive/html/libtool-patches/2013-06/msg00002.html by Google's David Turner wasn't inside the 2011 libtool, we pass -avoid-version to libtool. Thanks to the proper build, wide_to_utf8 works for android now, removing us of the need to disable it.
* Android: Fix minor makefile bugsest312015-07-29
| | | | | Fix commenting happening thanks to missing quotes and dereference variable the right way, to get rid of a compile error.
* Precalculate mapblock relative size. This permit to remove many s16 calculs ↵nerzhul2015-07-29
| | | | on runtime
* Fixed minimap memory leakBřetislav Štec2015-07-27
|
* Extend CMake variable descriptionsSmallJoker2015-07-27
|
* Fix srp.cpp:815 leakest312015-07-27
| | | | Thanks @Zeno-
* Add AreaStore data structureest312015-07-27
|
* Fix MSVC number conversion warningSmallJoker2015-07-25
|
* Fix FSAA dropdown option reset after changing another dropdown optionjeanpatrick.guerrero@gmail.com2015-07-25
|
* Fix minetest.get_(all)_craft_recipe(s) regressionest312015-07-25
| | | | | Since 03e0dd33a847a83d975282c6caf6b926306e7b57 the calls didn't return an output count for the recipes.
* Cleanup server addparticle(spawner) by merge two identical functions.Loic Blot2015-07-25
|
* Remove drivers dropdown in the settings tabkilbith2015-07-25
|
* Fix documentation of dedicated_server_loopest312015-07-24
|
* Check output of mpz_set_str and fix leak on error conditionest312015-07-24
| | | | Also add static identifier as upstream did
* Remove some old dead code. Fix some Clang warnings in SRP (ng->N... willLoic Blot2015-07-24
| | | | always evaluate to true.
* Bump protocol to 26est312015-07-24
| | | | | | | This was needed due to the TileDef serialisation changes. Originally it has been planned to also add utf-8 based chat to 26, but chat changes aren't final yet, so they are done in one change, after the release, and not two small ones, causing us having to be compliant to three versions of the packet.
* Update my nameNovatux2015-07-24
|
* Optional reconnect functionalityest312015-07-23
| | | | | | Enable the server to request the client to reconnect. This can be done with the now extended minetest.request_shutdown([reason], [reconnect]) setting.
* Fix issues with light of attached CAOsRealBadAngel2015-07-23
|
* Add note that chat messages can be marked as handled.Robert Zenz2015-07-22
|
* Conf.example: Update mgv7 noise parametersparamat2015-07-22
|
* Mgv7: Use density noise + density gradient for mountain terrainparamat2015-07-21
| | | | Tune and optimise noise parameters
* Add wielded (and CAOs) shaderRealBadAngel2015-07-21
|
* Fix crash in mainmenu when loaded subgame does not have a "menu" directorysfan52015-07-21
|
* Clarify docs for auth.cpp methodest312015-07-21
|
* Ask auth handler to create auth when a default password is setest312015-07-21
| | | | | -> Fix server crash with protocol >=25 if a default password is set. -> Remove some useless and possibly confusion causing code for the TOCLIENT_FIRST_SRP packet handler
* Document game main menu image systemest312015-07-21
|
* Allow random menu images for subgamessfan52015-07-21
|
* Remove profiler.h include where it's not needed. Remove some unreachable and ↵Loic Blot2015-07-21
| | | | very old code
* Added get_player_velocity() method. Fixes #1176Elia Argentieri2015-07-20
|
* MoveItemSomewhere double bugfixest312015-07-19
| | | | | | -> Fix bug where MoveSomewhere from an infinite source would fill the destination inventory with copies of itself. -> Fix bug where MoveSomewhere would needlessly call callbacks. -> Remove trailing whitespaces