summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Ore: Add ore sheet column height range selectionkwolekr2015-09-13
| | | | | | | | Modders are now able to select the range of ore column height, and the midpoint at which they 'grow' starting from. This commit adds three new parameters for the 'sheet' ore type: column_height_min, column_height_max, and column_midpoint_factor. clust_size is now deprecated for this ore type.
* networkprotocol.h: remove "u16 command" from docest312015-09-10
| | | | | | | Its obvious that "u16 command" is inside every packet, therefore this commit removes all mentions of the command, if non-array like notation is used. We already didn't add "u16 command" to new packets or removed it at packet changes, so now we remove it from existing packets.
* Improve locale directory detectionest312015-09-10
| | | | | | | | | | | | | | | | | | Use in-place locale directory if that exists, and static one (RUN_IN_PLACE or CUSTOM_LOCALEDIR) doesn't exist. Report to errorstream if neither static nor in-place locale dirs exist, and report successfully found paths to infostreem. Fixes two bugs: -> Regression of commit [1] where if we use RUN_IN_PLACE=false, but don't make install, locales aren't found. One might think this is no regression, as its no bug, but all other paths (mainmenu, etc.) are detected properly. -> Regression of commit [1] where locales don't work on windows. References: [1]: Commit 645e2086734e3d2d1ec95f50faa39f0f24304761 "Use CUSTOM_LOCALEDIR if specified" by @ShadowNinja
* Change m_client_event_queue's type to std::queueLoic Blot2015-09-08
| | | | | As indicated in its name, m_client_event_queue should be a queue. Change std::list to std::queue to improve the queue's performance.
* Mgv5/mgv7 biomes: Reduce heat and humidity noise spreads to former value of 750paramat2015-09-07
|
* Use CUSTOM_LOCALEDIR if specifiedShadowNinja2015-09-06
|
* Fix building on OSX, broken since "Clean up threading"Pavel Puchkin2015-09-06
| | | | | | | | | | | | Commit e4bff8be94c0db4f94e63ad448d0eeb869ccdbbd - Clean up threading by @ShadowNinja has broken the OSX build. Including things inside a namespace isn't good. Also fixes #3124.
* Areastore: fix "attempt to index a number value"est312015-09-03
| | | | | | | Before, calling get_areas_in_area for an areastore with both include_borders and include_data would result in a lua error, if there was at least one area as result: attempt to index a number value in function 'get_areas_in_area'
* Warn when building without cURLShadowNinja2015-09-01
|
* Enable server build when no builds are enabledShadowNinja2015-09-01
|
* Hide minimap if it has been disabled by serverest312015-09-01
|
* gettext.cpp: Fix syntax error when using MSVCjh100012015-09-01
| | | | Also remove trailing whitespaces from the file
* Make ClientInterface::statenames consistent with the state enum againest312015-08-31
| | | | | Fixes minetest.get_player_information segfault due to out of bounds access problems, when compiled as debug build.
* l_mainmenu.h: remove unused l_get_dirlist functionest312015-08-30
| | | | | | | | | | | The commit 8f9af57314f71aae1cc77e13f9996e13015d776d "Add core.get_dir_list" by @ShadowNinja has removed the implementation of the l_get_dirlist function and all its usages from the l_mainmenu.cpp file, but hasn't removed it from the header file. The reason why this hasn't been detected earlier is that C++ has this interesting feature to still make it possible to create instances of classes whose never used private methods are declared but not defined.
* Ores: change ore chance in clusters to better respect clust_num_ores for ↵Gael-de-Sailly2015-08-29
| | | | dense clusters
* Dungeongen: Remove floating framesparamat2015-08-29
| | | | | | | | Preserves the rare unbroken protruding dungeons Fix random range for first room roomplace Fix checked volume for first room 'fits' bool and check for 'untouchable' flag instead of 'inside' Remove 'enable floating dungeons' setting
* Push error handler afresh each time lua_pcall is usedKahrl2015-08-27
| | | | | Fixes "double fault" / "error in error handling" messages (issue #1423) and instead shows a complete backtrace.
* Use numeric indices and raw table access with LUA_REGISTRYINDEXKahrl2015-08-27
|
* Change i++ to ++iDavid Jones2015-08-25
|
* Clean up threadingShadowNinja2015-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 filtersRealBadAngel2015-08-20
|
* Remove use of engine sent texture tiling flags - theyre no longer neededRealBadAngel2015-08-20
|
* Fix indianred and indigo of color-stringRui2015-08-19
|
* Android: bypass broken wide_to_utf8 with wide_to_narrow (again)est312015-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 bugest312015-08-19
|
* SAPI: Disable unlockable time profilingkwolekr2015-08-18
|
* SEnv: Remove static_exists from ActiveObjects in deleted blockskwolekr2015-08-16
|
* Remove unused functions.onkrot2015-08-16
|
* Defaultsettings: Increase client_mapblock_limit to 5000paramat2015-08-15
|
* Rollback: Fail on bad precondition instead of causing assertion errorkwolekr2015-08-15
|
* Fix sneaking (fixes #665 and #3045)BlockMen2015-08-15
|
* Remove unused function from connection.{cpp,h}nerzhul2015-08-15
|
* minimap: Add ability to disable from serverkwolekr2015-08-13
|
* game.cpp: Update cached settingsest312015-08-13
|
* Fix segfault caused by a8e238ed06ee8285ed4459e9deda3117419837f6Perttu Ahola2015-08-13
|
* Add count based unload limit for mapblocksest312015-08-13
|
* SAPI: Track last executed mod and include in error messageskwolekr2015-08-12
|
* Fix Lua PcgRandomest312015-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 aliasparamat2015-08-10
|
* Fix intlGUIEditBox leak and uninitialized value in Mapper (reported by valgrind)Kahrl2015-08-10
|
* Make NetworkPacket respect serialized string size limitskwolekr2015-08-10
|
* Display Lua memory usage at the time of Out-of-Memory errorkwolekr2015-08-10
| | | | Also misc. minor cleanups
* Fix segfaults caused by the Environment not being initialized yetrubenwardy2015-08-09
|
* Remove unused fileLoic Blot2015-08-09
|
* Fix camera updates being toggled by N key in release mode (#2762)Kahrl2015-08-07
|
* Fix detection of sneaking nodegregorycu2015-08-06
| | | | This fixes bug 1551
* Fix BufferedPacket race condition (fixes #2983)kwolekr2015-08-06
| | | | | This was caused by the use the non-threadsafe SharedBuffer in a threaded context.
* Fix critical vulnerabilities and bugs with NetworkPacketkwolekr2015-08-06
|
* Initialize random for verification key generation tooest312015-08-06
|
* Improve Script CPP API diagnosticskwolekr2015-08-05
|