Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Clean up threading | ShadowNinja | 2015-08-23 |
| | | | | | | | | | | | | | | | | | | | | * Rename everything. * Strip J prefix. * Change UpperCamelCase functions to lowerCamelCase. * Remove global (!) semaphore count mutex on OSX. * Remove semaphore count getter (unused, unsafe, depended on internal API functions on Windows, and used a hack on OSX). * Add `Atomic<type>`. * Make `Thread` handle thread names. * Add support for C++11 multi-threading. * Combine pthread and win32 sources. * Remove `ThreadStarted` (unused, unneeded). * Move some includes from the headers to the sources. * Move all of `Event` into its header (allows inlining with no new includes). * Make `Event` use `Semaphore` (except on Windows). * Move some porting functions into `Thread`. * Integrate logging with `Thread`. * Add threading test. | ||
* | tileable flags are needed also without shaders because of filters | RealBadAngel | 2015-08-20 |
| | |||
* | Remove use of engine sent texture tiling flags - theyre no longer needed | RealBadAngel | 2015-08-20 |
| | |||
* | Fix indianred and indigo of color-string | Rui | 2015-08-19 |
| | |||
* | Android: bypass broken wide_to_utf8 with wide_to_narrow (again) | est31 | 2015-08-19 |
| | | | | | | | | | This bypass had to be re-enabled as some users reported issues, even after the iconv build fix. While utf8_to_wide works well, wide_to_utf8 is quite broken on android, for some reason, and some devices (unrelated from build configuration). | ||
* | Fix inventory replace bug | est31 | 2015-08-19 |
| | |||
* | SAPI: Disable unlockable time profiling | kwolekr | 2015-08-18 |
| | |||
* | SEnv: Remove static_exists from ActiveObjects in deleted blocks | kwolekr | 2015-08-16 |
| | |||
* | Remove unused functions. | onkrot | 2015-08-16 |
| | |||
* | Defaultsettings: Increase client_mapblock_limit to 5000 | paramat | 2015-08-15 |
| | |||
* | Rollback: Fail on bad precondition instead of causing assertion error | kwolekr | 2015-08-15 |
| | |||
* | Fix sneaking (fixes #665 and #3045) | BlockMen | 2015-08-15 |
| | |||
* | Remove unused function from connection.{cpp,h} | nerzhul | 2015-08-15 |
| | |||
* | minimap: Add ability to disable from server | kwolekr | 2015-08-13 |
| | |||
* | game.cpp: Update cached settings | est31 | 2015-08-13 |
| | |||
* | Fix segfault caused by a8e238ed06ee8285ed4459e9deda3117419837f6 | Perttu Ahola | 2015-08-13 |
| | |||
* | Add count based unload limit for mapblocks | est31 | 2015-08-13 |
| | |||
* | SAPI: Track last executed mod and include in error messages | kwolekr | 2015-08-12 |
| | |||
* | Fix Lua PcgRandom | est31 | 2015-08-12 |
| | | | | | | | | | | | | | | | | 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. | ||
* | Treegen: Rename pine tree mapgen alias | paramat | 2015-08-10 |
| | |||
* | Fix intlGUIEditBox leak and uninitialized value in Mapper (reported by valgrind) | Kahrl | 2015-08-10 |
| | |||
* | Make NetworkPacket respect serialized string size limits | kwolekr | 2015-08-10 |
| | |||
* | Display Lua memory usage at the time of Out-of-Memory error | kwolekr | 2015-08-10 |
| | | | | Also misc. minor cleanups | ||
* | Fix segfaults caused by the Environment not being initialized yet | rubenwardy | 2015-08-09 |
| | |||
* | Remove unused file | Loic Blot | 2015-08-09 |
| | |||
* | Fix camera updates being toggled by N key in release mode (#2762) | Kahrl | 2015-08-07 |
| | |||
* | Fix detection of sneaking node | gregorycu | 2015-08-06 |
| | | | | This fixes bug 1551 | ||
* | Fix BufferedPacket race condition (fixes #2983) | kwolekr | 2015-08-06 |
| | | | | | This was caused by the use the non-threadsafe SharedBuffer in a threaded context. | ||
* | Fix critical vulnerabilities and bugs with NetworkPacket | kwolekr | 2015-08-06 |
| | |||
* | Initialize random for verification key generation too | est31 | 2015-08-06 |
| | |||
* | Improve Script CPP API diagnostics | kwolekr | 2015-08-05 |
| | |||
* | connection: Make assertions non-fatal for received data | kwolekr | 2015-08-05 |
| | |||
* | Fix tiling issues for PLANTLIKE and FIRELIKE with FSAA | RealBadAngel | 2015-08-05 |
| | |||
* | Cavegen V6: Make all caves consistent with 0.4.12 stable | paramat | 2015-08-03 |
| | | | | | | | 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. | ||
* | Biome API: Make fallback biome stone and water, disable filler | paramat | 2015-08-03 |
| | |||
* | src/util/numeric.{cpp,h}: Fix FacePositionCache data race | Břetislav Štec | 2015-08-02 |
| | |||
* | Fix "bouncy" blocks | Miner59 | 2015-08-02 |
| | | | | Before players "bounced" too high. Now, while still allowing to bounce, higher speed bounces are throttled. | ||
* | src/client/tile.cpp: Fix reference counting | Břetislav Štec | 2015-08-02 |
| | |||
* | Add map limit config option | rubenwardy | 2015-08-02 |
| | |||
* | Prepend "Lua: " before lua exceptions | Břetislav Štec | 2015-08-02 |
| | | | | | src/server.cpp src/emerge.cpp | ||
* | src/wieldmesh.cpp: Fix mesh extrusion memory leak | Břetislav Štec | 2015-08-02 |
| | |||
* | src/client.cpp: Fix mapper memory leak | Břetislav Štec | 2015-08-02 |
| | |||
* | Improve accuracy and safety of float serialization | kwolekr | 2015-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 tests | kwolekr | 2015-08-01 |
| | |||
* | src/environment.cpp: Fix NULL pointer dereference | Břetislav Štec | 2015-08-01 |
| | |||
* | src/network/connection.h: Fix race condition | Břetislav Štec | 2015-08-01 |
| | |||
* | Android: Add githash header to spare rebuilds after new commits | est31 | 2015-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 tests | kwolekr | 2015-07-31 |
| | |||
* | Dungeon generation: Fix code style issues in dungeongen.cpp | paramat | 2015-08-01 |
| | |||
* | Small SendableMediaAnnouncement cleanup | Loic Blot | 2015-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 |