- Oct 28, 2015
-
-
kwolekr authored
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.
-
- Oct 27, 2015
-
-
est31 authored
-> 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
-
PilzAdam authored
-
kwolekr authored
-
- Oct 26, 2015
-
-
BlockMen authored
-
BlockMen authored
-
kwolekr authored
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 authored
-
est31 authored
abort() doesn't benefit from the high level abstractions from FATAL_ERROR.
-
kwolekr authored
-
kwolekr authored
-
est31 authored
Remove outdated loglevel list from a l_util.cpp comment, and rather point to the updated code.
-
- Oct 25, 2015
-
-
BlockMen authored
- Disabled by default (except players) - Fixes #2984
-
PilzAdam authored
-
est31 authored
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.
-
- Oct 24, 2015
-
-
paramat authored
Complete set of parameters for each of mandelbrot and julia sets The julia set structure often needs different iterations and scale
-
est31 authored
-> 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
-
PilzAdam authored
* Add key settings to setting table and ignore them later This way they are added to the auto-generated minetest.conf.example * Add flags type * Add input validation for int, float and flags * Break in-game graphic settings into multiple sections * Parse settingtpes.txt in mods and games * Improve description for a lot of settings * Fix typos and wording in settingtypes.txt * Convert language setting to an enum
-
kwolekr authored
Thanks to SmallJoker for pointing this out.
-
BlockMen authored
fixes https://github.com/minetest/minetest_game/issues/537
-
cheapie authored
Index more columns in the action table of the rollback DB to improve the performance of /rollback_check
-
est31 authored
Flushes the buffer of rollback actions that wait to get saved in two more situations: 1. Flushes in the destructor of the rollback. This makes the server not forget the last < 500 rollback entries when it shuts down. 2. Flushes the rollback when /rollback_check is invoked. This is neccessary as otherwise it leads to confusion if users want to test the rollback functionality by placing a node and then executing the check on it, or if the actions were very recent out of other reasons.
-
kwolekr authored
- Fix thread name reset on start() - Fully reset thread state on kill() - Add unittests to check for correct object states under various circumstances
-
- Oct 23, 2015
-
-
paramat authored
Add findLiquidSurface() function to mapgen.cpp Update lua_api.txt
-
- Oct 19, 2015
-
-
Jun Zhang authored
Fixes #3262.
-
- Oct 18, 2015
-
-
paramat authored
Default is true for backwards compatibility Update lua_api.txt
-
Kahrl authored
-
Kahrl authored
-
est31 authored
Everywhere where wstrgettext was used, its output was converted back to utf8. As wstrgettext internally converts the return value from utf8 to wstring, it has been a waste. Remove the function, and use strgettext instead.
-
- Oct 17, 2015
-
-
Kahrl authored
- setOpenedTrees(): this internal function was calling setSelected() to update m_selected. Since setSelected() calls autoScroll(), this caused the scrollbar to scroll back to the selected row in some cases when that shouldn't be done. For example, clicking the "+" to open a tree caused autoscroll. Fix this by making setOpenedTrees() modify m_selected directly. - setDynamicData(): set scrollbar position after calling setSelected(), not before. This avoids setSelected()'s autoscroll messing up the scrollbar position again. - setSelected(): If an invisible row is selected, open all parents of the selected row in order to make the selected row visible. This fixes the issue where all the trees are closed again whenever you return from the setting edit dialog to the settings tab.
-
PilzAdam authored
Settings are automatically parsed from builtin/settingtypes.txt The edit dialog automatically adjust based on the type of setting
-
Rui authored
-
kwolekr authored
-
kwolekr authored
- Fix some incompatibilities with obscure platforms (AIX and WinCE) - Clean up Thread class interface - Add m_ prefix to private member variables - Simplify platform-dependent logic, reducing preprocessor conditional clauses and improving readibility - Add Thread class documentation
-
kwolekr authored
- Add "thr_" prefix to thread utility functions - Compare threadid_ts in a portable manner, where possible
-
est31 authored
The invsize formspec element is outdated. Even though, it is still supported, only a deprecation warning is shown, introduced by commit [1]. The lua context passed to the log_deprecated method added by commit [1] is NULL for the invsize deprecation warning, as its run on the client and not the server. Commit [1] has removed checks for NULL inside the log_deprecated method, resulting in a crash when a formspec with an invsize element is parsed. This commit puts the check back. Fixes #3260. Referenced commits: [1]: b5acec0a "Add proper lua api deprecated handling" [2]: 7b8d3729 "Use warningstream for deprecated field messages and refactor log_deprecated"
-
- Oct 15, 2015
-
-
est31 authored
Commit d2ca6625 "Enforce hiding nametag" didn't fix the issue for "client" instances, where the nametag update was received before the object was added to the scene. This resulted in the grey shadow on the nametag that commit tried to fix. Thanks to @neoascetic for pointing out that there still is a shadow.
-
kwolekr authored
-
ShadowNinja authored
-
ShadowNinja authored
-