aboutsummaryrefslogtreecommitdiff
path: root/games/minimal/mods/default/textures/default_wood.png
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2017-12-22 10:00:57 +0000
committerparamat <mat.gregory@virginmedia.com>2017-12-26 21:55:08 +0000
commit026ad912af0ad147071da79201a335ec84bd6ce9 (patch)
tree430b97ea4eec13f9a3bc565e231bd38572fd7ebb /games/minimal/mods/default/textures/default_wood.png
parent0bcc2f33ebe382a1dafbe6edaf00f476f2584b74 (diff)
downloadminetest-026ad912af0ad147071da79201a335ec84bd6ce9.tar.gz
minetest-026ad912af0ad147071da79201a335ec84bd6ce9.tar.bz2
minetest-026ad912af0ad147071da79201a335ec84bd6ce9.zip
Fix rounding error in g/set_node caused by truncation to float
Diffstat (limited to 'games/minimal/mods/default/textures/default_wood.png')
0 files changed, 0 insertions, 0 deletions
ed against nullptr. Check lines: 3243, 3258. * Thread: fix a crash on Windows due to data race condition on ↵Loïc Blot2017-10-10 | | | | Thread::m_start_finished_mutex (#6515) * Code modernization: subfolders (#6283)Loïc Blot2017-08-19 | | | | | | | | | | | | | * Code modernization: subfolders Modernize various code on subfolders client, network, script, threading, unittests, util * empty function * default constructor/destructor * for range-based loops * use emplace_back instead of push_back * C++ STL header style * Make connection.cpp readable in a pointed place + typo * C++ modernize: Pragma once (#6264)Loïc Blot2017-08-17 | | | | * Migrate cpp headers to pragma once * Fix msvc annoyances (#5963)adrido2017-06-27 | | | | | | | | | | | | | | | | | | | | * MSVC: Fix '/std:c++11' is not a valid compiler option * MSVC/MINGW: Define 'WIN32_LEAN_AND_MEAN' for the whole project In some obscure cases 'Windows.h" got includet before that definition, which leaded to compilation warnings+errors * MSVC: '/arch:SSE' is only available for x86 * MSVC: Fix float conversation * MSVC/MINGW: use winthreads on Windows * MSVC: 'USE_CMAKE_CONFIG' might be already definied by CMake build system * MSVC: Use all available cpu cores for compiling * Add missing include ctime and use std::time_t * C++11 cleanup on constructors (#6000)Vincent Glize2017-06-19 | | | | * C++11 cleanup on constructors dir script * Remove threads.h and replace its definitions with their C++11 equivalents ↵ShadowNinja2017-06-11 | | | | | | (#5957) This also changes threadProc's signature, since C++11 supports arbitrary thread function signatures. * C++11 patchset 5: use std::threads and remove old compat layer (#5928)Loïc Blot2017-06-08 | | | | | | | * C++11 patchset 5: use std::threads and remove old compat layer * use pragma once in modified headers * use C++11 function delete for object copy * Use C++11 mutexes only (remove compat code) (#5922)Loïc Blot2017-06-06 | | | | * Fix event LINT & remove default constructor/destructors * remove compat code & modernize autolock header * C++11 patchset 3: remove Atomic/GenericAtomic and use std::atomic (#5906)Loïc Blot2017-06-06 | * Fix uninitalised variable in event.cpp (#5764)Zeno-2017-05-15 | * Pass clang-format on 14 trivial header files fixesLoic Blot2017-04-07 | | | | Also remove them from whitelist * Fix AIX threading buildShadowNinja2017-01-28 | * Fix synchronization issue at thread startShadowNinja2017-01-28 | | | | | | | | | | | | | | | | If a newly spawned thread called getThreadId or getThreadHandle before the spawning thread finished saving the thread handle, then the handle/id would be used uninitialized. This would cause the threading tests to fail since isCurrentThread would return false, and if Minetest is built with C++11 support the std::thread object pointer would be dereferenced while ininitialized, causing a segmentation fault. This fixes the issue by using a mutex to force the spawned thread to wait for the spawning thread to finish initializing the thread object. An alternative way to handle this would be to also set the thread handle/id in the started thread but this wouldn't work for C++11 builds because there's no way to get the partially constructed object. * Fix C++11 Windows build of threading codesfan52016-10-06 | | | | | | | The initial problem was that mutex_auto_lock.h tries to use std::unique_lock<std::mutex> despite mutex.h not using C++11's std::mutex on Windows. The problem here is the mismatch between C++11 usage conditions of the two headers. This commit moves the decision logic to threads.h and makes sure mutex.h, mutex_auto_lock.h and event.h all use the same features. * Fix & make linux conditionals uniform (#4278)Rogier-52016-07-04 | | | | | | | | The source used a hodge-podge of different combinations of different macros to check for linux: 'linux', '__linux', '__linux__'. As '__linux__' is standard (Posix), and the others are not, the source now uniformly uses __linux__. If either linux or __linux are defined, it is made sure that __linux__ is defined as well. * Fix Windows buildCraig Robbins2016-05-02 | | | | | Fixes the issue introduced by c1a0ebb (Fix use of uninitialised variable in class Event) causing Windows builds to fail * Fix use of uninitialised variable in class EventCraig Robbins2016-05-01 | * Fix POSIX C++11 buildShadowNinja2016-04-30 | | | | I broke this in 46fd114e9a4e05b74576dce682e24357363298e7. * Fix prepreprocessor error in thread.h (related to C++11 threads)Craig Robbins2016-04-30 | * Fix race on thread creationShadowNinja2016-04-28 | | | | This often broke the threading tests on OSX. * Fix C++11 compilabilityest312016-01-23 | | | | Previous commits broke it... :( * Fix events on WindowsBlockMen2015-12-11 | * Fix Event implementationShadowNinja2015-12-07 | | | | | | On non-windows platforms this just used a semaphore, which meant that multiple calls to signal() would result in wait() returning multiple times. * Fix misc. MinGW and Valgrind warningskwolekr2015-11-08 | * Time: use locks againest312015-11-04 | | | | | | | | | | | | | | | The Atomic implementation was only partially correct, and was very complex. Use locks for sake of simplicity, following KISS principle. Only remaining atomic operation use is time of day speed, because that really is only read + written. Also fixes a bug with m_time_conversion_skew only being decremented, never incremented (Regresion from previous commit). atomic.h changes: * Add GenericAtomic<T> class for non-integral types like floats. * Remove some last remainders from atomic.h of the volatile use. * Atomic: cleanup and add more operationsest312015-11-03 | | | | | | | | | | | | | | | | | | | | | | | | | Cleanup: * Remove volatile keyword, it is of no use at all. [1] * Remove the enable_if stuff. It had no use either. The most likely explanation why the enable_if stuff was there is that it was used as something like a STATIC_ASSERT to verify that sizeof(T) is not larger than sizeof(void *). This check however is not just misplaced in a place where we already use a lock, it isn't needed at all, as gcc will just generate a call to to the runtime if it compiles for platforms that don't support atomic instructions. The runtime will then most likely use locks. Code style fixes: * Prefix name of the mutex * Line everything up nicely, where it makes things look nice * Filling \ continuations with spaces is code style rule Added operations on the atomic var: * Compare and swap * Swap The second point of the cleanup also fixes the Android build of the next commit. [1]: http://stackoverflow.com/q/2484980