est31 [Mon, 10 Aug 2015 20:24:47 +0000 (22:24 +0200)]
Add count based unload limit for mapblocks
kwolekr [Wed, 12 Aug 2015 02:27:54 +0000 (22:27 -0400)]
SAPI: Track last executed mod and include in error messages
est31 [Tue, 11 Aug 2015 17:07:56 +0000 (19:07 +0200)]
Fix Lua PcgRandom
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.
paramat [Sun, 9 Aug 2015 08:17:11 +0000 (09:17 +0100)]
Treegen: Rename pine tree mapgen alias
Kahrl [Mon, 10 Aug 2015 06:36:55 +0000 (08:36 +0200)]
Fix intlGUIEditBox leak and uninitialized value in Mapper (reported by valgrind)
kwolekr [Mon, 10 Aug 2015 06:16:55 +0000 (02:16 -0400)]
Make NetworkPacket respect serialized string size limits
kwolekr [Mon, 10 Aug 2015 05:38:09 +0000 (01:38 -0400)]
Display Lua memory usage at the time of Out-of-Memory error
Also misc. minor cleanups
rubenwardy [Sun, 9 Aug 2015 20:10:37 +0000 (21:10 +0100)]
Fix segfaults caused by the Environment not being initialized yet
sfan5 [Sun, 9 Aug 2015 19:51:21 +0000 (21:51 +0200)]
Translated using Weblate (German)
Currently translated at 100.0% (270 of 270 strings)
Diego Martinez [Sat, 31 Oct 2015 12:33:43 +0000 (09:33 -0300)]
Update Spanish translation.
Loic Blot [Wed, 5 Aug 2015 21:39:41 +0000 (23:39 +0200)]
Remove unused file
Kisbenedek Márton [Wed, 5 Aug 2015 11:29:22 +0000 (13:29 +0200)]
Translated using Weblate (Hungarian)
Currently translated at 91.1% (246 of 270 strings)
Andrey K [Thu, 30 Jul 2015 13:32:39 +0000 (15:32 +0200)]
Translated using Weblate (Russian)
Currently translated at 100.0% (270 of 270 strings)
est31 [Tue, 21 Jul 2015 14:48:09 +0000 (16:48 +0200)]
Translated using Weblate (German)
Currently translated at 100.0% (270 of 270 strings)
Jackie Coe [Mon, 20 Jul 2015 09:46:14 +0000 (11:46 +0200)]
Translated using Weblate (German)
Currently translated at 100.0% (270 of 270 strings)
Jackie Coe [Mon, 20 Jul 2015 09:44:09 +0000 (11:44 +0200)]
Translated using Weblate (German)
Currently translated at 100.0% (270 of 270 strings)
Rui [Fri, 17 Jul 2015 12:33:04 +0000 (14:33 +0200)]
Translated using Weblate (Japanese)
Currently translated at 100.0% (270 of 270 strings)
est31 [Fri, 17 Jul 2015 14:47:21 +0000 (16:47 +0200)]
Translated using Weblate (German)
Currently translated at 99.6% (269 of 270 strings)
Jean-Patrick G [Fri, 17 Jul 2015 20:49:20 +0000 (22:49 +0200)]
Translated using Weblate (French)
Currently translated at 96.2% (260 of 270 strings)
Rui [Fri, 17 Jul 2015 12:25:05 +0000 (14:25 +0200)]
Translated using Weblate (Japanese)
Currently translated at 96.2% (260 of 270 strings)
est31 [Fri, 17 Jul 2015 05:39:41 +0000 (07:39 +0200)]
Translated using Weblate (German)
Currently translated at 99.6% (269 of 270 strings)
Jean-Patrick G [Fri, 17 Jul 2015 07:55:51 +0000 (09:55 +0200)]
Translated using Weblate (French)
Currently translated at 96.2% (260 of 270 strings)
Kahrl [Fri, 7 Aug 2015 04:02:06 +0000 (06:02 +0200)]
Fix camera updates being toggled by N key in release mode (#2762)
gregorycu [Sun, 1 Feb 2015 03:40:50 +0000 (14:40 +1100)]
Fix detection of sneaking node
This fixes bug 1551
kwolekr [Thu, 6 Aug 2015 06:15:21 +0000 (02:15 -0400)]
Fix BufferedPacket race condition (fixes #2983)
This was caused by the use the non-threadsafe SharedBuffer in a
threaded context.
kwolekr [Thu, 6 Aug 2015 03:53:26 +0000 (23:53 -0400)]
Fix critical vulnerabilities and bugs with NetworkPacket
est31 [Thu, 6 Aug 2015 02:59:38 +0000 (04:59 +0200)]
Initialize random for verification key generation too
kwolekr [Wed, 5 Aug 2015 04:49:35 +0000 (00:49 -0400)]
Improve Script CPP API diagnostics
kwolekr [Wed, 5 Aug 2015 06:56:23 +0000 (02:56 -0400)]
connection: Make assertions non-fatal for received data
RealBadAngel [Wed, 5 Aug 2015 20:52:32 +0000 (22:52 +0200)]
Fix tiling issues for PLANTLIKE and FIRELIKE with FSAA
paramat [Mon, 3 Aug 2015 03:34:11 +0000 (04:34 +0100)]
Cavegen V6: Make all caves consistent with 0.4.12 stable
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.
paramat [Sun, 2 Aug 2015 00:35:05 +0000 (01:35 +0100)]
Biome API: Make fallback biome stone and water, disable filler
Břetislav Štec [Sun, 2 Aug 2015 13:08:39 +0000 (15:08 +0200)]
src/util/numeric.{cpp,h}: Fix FacePositionCache data race
Miner59 [Sun, 5 Jul 2015 12:52:55 +0000 (14:52 +0200)]
Fix "bouncy" blocks
Before players "bounced" too high. Now, while still allowing to bounce, higher speed bounces are throttled.
Břetislav Štec [Sun, 2 Aug 2015 16:42:03 +0000 (18:42 +0200)]
src/client/tile.cpp: Fix reference counting
est31 [Sun, 2 Aug 2015 08:08:44 +0000 (10:08 +0200)]
Android: fix sound issue, and gitignore
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.
est31 [Sun, 2 Aug 2015 16:23:22 +0000 (18:23 +0200)]
Actually document what minetest.is_protected should do
rubenwardy [Mon, 13 Jul 2015 15:01:31 +0000 (16:01 +0100)]
Add map limit config option
Břetislav Štec [Sat, 1 Aug 2015 20:52:28 +0000 (22:52 +0200)]
Prepend "Lua: " before lua exceptions
src/server.cpp
src/emerge.cpp
Břetislav Štec [Sat, 1 Aug 2015 22:16:31 +0000 (00:16 +0200)]
src/wieldmesh.cpp: Fix mesh extrusion memory leak
Břetislav Štec [Sat, 1 Aug 2015 23:31:57 +0000 (01:31 +0200)]
src/client.cpp: Fix mapper memory leak
kwolekr [Sat, 1 Aug 2015 05:03:51 +0000 (01:03 -0400)]
Improve accuracy and safety of float serialization
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.
kwolekr [Sat, 1 Aug 2015 04:34:09 +0000 (00:34 -0400)]
Clean up util/serialization.{cpp,h} and add unit tests
Břetislav Štec [Sat, 1 Aug 2015 12:07:12 +0000 (14:07 +0200)]
src/environment.cpp: Fix NULL pointer dereference
Břetislav Štec [Sat, 1 Aug 2015 11:53:15 +0000 (13:53 +0200)]
src/network/connection.h: Fix race condition
est31 [Fri, 31 Jul 2015 14:38:36 +0000 (16:38 +0200)]
Android: Add githash header to spare rebuilds after new commits
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.
kwolekr [Sat, 1 Aug 2015 03:29:51 +0000 (23:29 -0400)]
tests: Log exceptions thrown inside of unit tests
paramat [Fri, 31 Jul 2015 00:10:53 +0000 (01:10 +0100)]
Dungeon generation: Fix code style issues in dungeongen.cpp
est31 [Fri, 31 Jul 2015 03:52:34 +0000 (05:52 +0200)]
Android: speed up rebuild, and prevent race condition fail
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.
est31 [Fri, 31 Jul 2015 02:51:57 +0000 (04:51 +0200)]
Fix 0.4.11 githash for android
Also make only one >-redirection, sparing repetition.
Also, use cut instead of awk, which is shorter and should be a bit faster.
Loic Blot [Thu, 30 Jul 2015 21:14:05 +0000 (23:14 +0200)]
Small SendableMediaAnnouncement cleanup
-> 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
est31 [Wed, 29 Jul 2015 09:54:27 +0000 (11:54 +0200)]
Android: fix horrible libiconv build
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.
est31 [Wed, 29 Jul 2015 13:22:51 +0000 (15:22 +0200)]
Android: Fix minor makefile bugs
Fix commenting happening thanks to missing quotes and dereference variable the right way,
to get rid of a compile error.
nerzhul [Wed, 29 Jul 2015 08:49:40 +0000 (10:49 +0200)]
Precalculate mapblock relative size. This permit to remove many s16 calculs on runtime
Břetislav Štec [Sat, 18 Jul 2015 23:35:47 +0000 (01:35 +0200)]
Fixed minimap memory leak
SmallJoker [Mon, 27 Jul 2015 09:53:19 +0000 (11:53 +0200)]
Extend CMake variable descriptions
est31 [Mon, 27 Jul 2015 05:44:48 +0000 (07:44 +0200)]
Fix srp.cpp:815 leak
Thanks @Zeno-
est31 [Sat, 11 Jul 2015 00:24:00 +0000 (02:24 +0200)]
Add AreaStore data structure
SmallJoker [Wed, 22 Jul 2015 08:11:34 +0000 (10:11 +0200)]
Fix MSVC number conversion warning
jeanpatrick.guerrero@gmail.com [Sat, 25 Jul 2015 10:40:01 +0000 (12:40 +0200)]
Fix FSAA dropdown option reset after changing another dropdown option
est31 [Sat, 25 Jul 2015 05:54:56 +0000 (07:54 +0200)]
Fix minetest.get_(all)_craft_recipe(s) regression
Since
03e0dd33a847a83d975282c6caf6b926306e7b57 the calls didn't return an output count
for the recipes.
Loic Blot [Sat, 25 Jul 2015 09:56:24 +0000 (11:56 +0200)]
Cleanup server addparticle(spawner) by merge two identical functions.
kilbith [Fri, 24 Jul 2015 19:21:24 +0000 (21:21 +0200)]
Remove drivers dropdown in the settings tab
est31 [Fri, 24 Jul 2015 21:11:19 +0000 (23:11 +0200)]
Fix documentation of dedicated_server_loop
est31 [Fri, 24 Jul 2015 19:38:40 +0000 (21:38 +0200)]
Check output of mpz_set_str and fix leak on error condition
Also add static identifier as upstream did
Loic Blot [Fri, 24 Jul 2015 19:03:50 +0000 (21:03 +0200)]
Remove some old dead code. Fix some Clang warnings in SRP (ng->N... will
always evaluate to true.
est31 [Fri, 24 Jul 2015 18:28:00 +0000 (20:28 +0200)]
Bump protocol to 26
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.
Novatux [Fri, 24 Jul 2015 10:03:56 +0000 (12:03 +0200)]
Update my name
est31 [Fri, 17 Jul 2015 14:40:41 +0000 (16:40 +0200)]
Optional reconnect functionality
Enable the server to request the client to reconnect.
This can be done with the now extended minetest.request_shutdown([reason], [reconnect]) setting.
RealBadAngel [Thu, 23 Jul 2015 02:35:13 +0000 (04:35 +0200)]
Fix issues with light of attached CAOs
Robert Zenz [Tue, 21 Jul 2015 19:43:01 +0000 (21:43 +0200)]
Add note that chat messages can be marked as handled.
paramat [Wed, 22 Jul 2015 01:20:05 +0000 (02:20 +0100)]
Conf.example: Update mgv7 noise parameters
paramat [Wed, 15 Jul 2015 01:31:14 +0000 (02:31 +0100)]
Mgv7: Use density noise + density gradient for mountain terrain
Tune and optimise noise parameters
RealBadAngel [Tue, 21 Jul 2015 21:56:41 +0000 (23:56 +0200)]
Add wielded (and CAOs) shader
sfan5 [Tue, 21 Jul 2015 19:55:58 +0000 (21:55 +0200)]
Fix crash in mainmenu when loaded subgame does not have a "menu" directory
est31 [Tue, 21 Jul 2015 16:03:59 +0000 (18:03 +0200)]
Clarify docs for auth.cpp method
est31 [Tue, 21 Jul 2015 15:57:57 +0000 (17:57 +0200)]
Ask auth handler to create auth when a default password is set
-> 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
est31 [Tue, 21 Jul 2015 15:17:46 +0000 (17:17 +0200)]
Document game main menu image system
sfan5 [Sat, 18 Jul 2015 12:31:34 +0000 (14:31 +0200)]
Allow random menu images for subgames
Loic Blot [Mon, 20 Jul 2015 21:30:43 +0000 (23:30 +0200)]
Remove profiler.h include where it's not needed. Remove some unreachable and very old code
Elia Argentieri [Thu, 25 Jun 2015 12:57:10 +0000 (14:57 +0200)]
Added get_player_velocity() method. Fixes #1176
est31 [Sun, 19 Jul 2015 00:27:12 +0000 (02:27 +0200)]
MoveItemSomewhere double bugfix
-> 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
paramat [Sat, 18 Jul 2015 19:37:04 +0000 (20:37 +0100)]
Cavegen: Mgv6: No small caves entirely above ground
Mgv5/mgv7: Remove 'should make cave hole' feature
Remove ravine code
TeTpaAka [Sat, 18 Jul 2015 09:52:39 +0000 (11:52 +0200)]
Refactor particle code to remove the while loops
Replaces while loops with proper getfield calls
Rui [Sat, 11 Jul 2015 06:58:13 +0000 (15:58 +0900)]
Update toolchain_mingw64.cmake
Mark Schreiber [Sun, 28 Jun 2015 08:25:38 +0000 (01:25 -0700)]
Add antialiasing UI setting
The Irrlicht engine supports antialiasing, and Minetest already supports
saving an antialiasing setting in its configuration file. However,
Minetest lacked UI elements to set this setting, and previously the only
way to enable the feature was by hand-editing the configuration file.
Add a drop-down menu that can enable antialiasing.
Marcin [Thu, 25 Jun 2015 16:14:01 +0000 (18:14 +0200)]
Add ability to specify coordinates for /spawnentity
TeTpaAka [Mon, 22 Jun 2015 21:21:14 +0000 (23:21 +0200)]
Make acc and vel deprecated in add_particle and search for acceleration and velocity instead
The doc and the actual behaviour differed.
D Laboratory [Thu, 16 Jul 2015 07:15:29 +0000 (15:15 +0800)]
Fix a typo in comment of CMakeLists.txt
ExcaliburZero [Wed, 15 Jul 2015 17:21:27 +0000 (13:21 -0400)]
Change texture pack description file name
Change the name for texture pack description files from "info.txt" to "description.txt" in order to keep the naming consistent between description files for both mods and texture packs.
Also add backwards compatibility for texture packs that use "info.txt", and note in the log that "info.txt" is depreciated.
TeTpaAka [Fri, 3 Jul 2015 10:31:34 +0000 (12:31 +0200)]
Fix invisible player when the attached entity is removed
Kahrl [Fri, 17 Jul 2015 06:51:07 +0000 (08:51 +0200)]
Display an access denied message when client detects a server timeout
est31 [Fri, 17 Jul 2015 05:24:10 +0000 (07:24 +0200)]
Run updatepo.sh
Michal Čihař [Tue, 14 Jul 2015 14:48:28 +0000 (16:48 +0200)]
Translated using Weblate (Turkish)
Currently translated at 100.0% (269 of 269 strings)
Rui [Sat, 11 Jul 2015 11:46:56 +0000 (13:46 +0200)]
Translated using Weblate (Japanese)
Currently translated at 100.0% (264 of 264 strings)
sfan5 [Thu, 9 Jul 2015 13:56:35 +0000 (15:56 +0200)]
Translated using Weblate (Japanese)
Currently translated at 100.0% (264 of 264 strings)
Tae Lim Kook [Wed, 8 Jul 2015 21:31:00 +0000 (23:31 +0200)]
Translated using Weblate (Korean)
Currently translated at 1.7% (4 of 235 strings)
Tae Lim Kook [Wed, 8 Jul 2015 21:33:04 +0000 (23:33 +0200)]
Translated using Weblate (Japanese)
Currently translated at 100.0% (264 of 264 strings)
Jean-Patrick G [Wed, 8 Jul 2015 09:41:31 +0000 (11:41 +0200)]
Translated using Weblate (French)
Currently translated at 99.1% (233 of 235 strings)
Michal Čihař [Tue, 7 Jul 2015 12:43:59 +0000 (14:43 +0200)]
Translated using Weblate (Italian)
Currently translated at 82.5% (194 of 235 strings)