Permalink
Commits on Nov 1, 2015
  1. Include backtrace in error message when LuaErrors occur

    Tested in both Lua and LuaJIT by passing (NaN,NaN,NaN) to ObjectRef::setvelocity().
    committed Nov 1, 2015
Commits on Oct 31, 2015
  1. Fix server crashing on Lua errors

    Previously, the server called FATAL_ERROR when a Lua error occured.
    This caused a (mostly useless) core dump.
    The server now simply throws an exception, which is caught and printed before
    exiting with a non-zero return value.
    This also fixes a number of instances where errors were logged multiple times.
    ShadowNinja committed Oct 29, 2015
  2. Fix clang warning

    ShadowNinja committed Oct 30, 2015
  3. Fix C++11 compatibility

    kwolekr committed Oct 31, 2015
  4. minetest. to core.

    Rui914 committed with est31 Oct 30, 2015
Commits on Oct 29, 2015
  1. WoW-style Autorun

    This allows the player to toggle continuous forward with a key (F by default),
    so we don't have to hold down the forward key endlessly.
    duane-r committed with sfan5 Sep 28, 2015
  2. findSpawnPos: Add setting for max height above water level

    Increase default from 6 to 16 to help with mgv7 and mgfractal
    Large-scale or alternative mapgens can result in a lowland spawn point not
    being found, causing a spawn at (0, 0, 0) possibly buried underground
    The max height is now settable to allow correct player spawn
    in any mapgen or when using custom noise parameters
    paramat committed Oct 29, 2015
Commits on Oct 28, 2015
  1. Add DISABLE_CLASS_COPY macro (and use it)

    Use this macro to disallow copying of an object using the assignment
    operator or copy constructor.  This catches otherwise silent-but-deadly
    mistakes such as "ServerMap map = env->getMap();" at compile time.
    
    If so desired, it is still possible to copy a class, but it now requires
    an explicit call to memcpy or std::copy.
    kwolekr committed Oct 27, 2015
Commits on Oct 27, 2015
  1. Environment: Time of day fixes and add serverside getter

    -> Put access to time variables under the time lock.
    -> Merge both time locks, there is no point to have two locks.
    -> Fix the lock being released too early in Environment::setTimeOfDay
    -> Add serverside getter so that you don't have to get
    	the environment if you only have the server
    est31 committed Oct 27, 2015
  2. Fix missing #include

    PilzAdam committed Oct 27, 2015
Commits on Oct 26, 2015
  1. Fix typo

    BlockMen committed Oct 26, 2015
  2. SAPI: Fix seed parameter truncation for LuaPseudoRandom constructor

    Also fix a potential seed truncation issue on platforms where the
    range of ptrdiff_t (the underlying type of lua_Integer) is too small.
    kwolekr committed Oct 26, 2015
  3. Remove some abort() calls

    abort() doesn't benefit from the high level abstractions from FATAL_ERROR.
    est31 committed Oct 26, 2015
Commits on Oct 25, 2015
  1. Correct comment in l_util.cpp

    Remove outdated loglevel list from a l_util.cpp comment,
    and rather point to the updated code.
    est31 committed Oct 25, 2015
  2. Credits: Remove my name

    Rui committed with est31 Oct 24, 2015
  3. Add option to disable backface culling for models

    - Disabled by default (except players)
    - Fixes #2984
    BlockMen committed Sep 28, 2015
Commits on Oct 24, 2015
  1. Fix out of bounds vector write in Logger::addOutput(ILogOutput *out)

    Previously, the invocation of Logger::addOutput(ILogOutput *out) led to
    an out of bounds write of the m_outputs vector, resulting in the
    m_silenced_levels array being modified.
    
    Fortunately, the only caller of that method was android system logging,
    and only since a few commits ago.
    est31 committed Oct 24, 2015
  2. Fix setting comments

    PilzAdam committed Oct 24, 2015
  3. Mgfractal: Independent iterations and scale parameters

    Complete set of parameters for each of mandelbrot and julia sets
    The julia set structure often needs different iterations and scale
    paramat committed Oct 23, 2015
  4. Android: statically load iconv library

    Fixes #3291
    
    Thanks to @arpruss for reporting the bug, and suggesting the fix.
    
    Also, remove trailing whitespaces.
    est31 committed Oct 24, 2015
  5. Run updatepo.sh

    est31 committed Oct 24, 2015
  6. Better gettext support for protocol version mismatch messages

    Previously, xgettext failed to resolve the dynamic call.
    Thanks to @JakubVanek for pointing this out.
    est31 committed Oct 4, 2015
  7. Small logging refactor and additional options

    -> Get rid of Logger::logToSystem and use normal downstream output system for android instead
    
    -> Give the downstream output system more information: enrich the log function of ILogOutput
    	with information and add ICombinedLogOutput for easier use.
    
    -> Make Logger::getLevelLabel() static and public so that it can be used by downstream log output.
    
    -> Add g_ and m_ prefixes where required
    est31 committed Oct 24, 2015