oweals/minetest.git
10 years agoAllow use all 6 faces for special tiles.
RealBadAngel [Fri, 25 Jul 2014 05:35:55 +0000 (07:35 +0200)]
Allow use all 6 faces for special tiles.
Protocol version bump.

10 years agoFix retval of entity.get_staticdata beeing lost while profiling is enabled
sapier [Sat, 23 Aug 2014 23:56:27 +0000 (01:56 +0200)]
Fix retval of entity.get_staticdata beeing lost while profiling is enabled

10 years agoAdd lua exception handling test code 1579/head
sapier [Sat, 23 Aug 2014 11:24:37 +0000 (13:24 +0200)]
Add lua exception handling test code
Catch some error situations when mod used without thinking about it

10 years agoFix LuaJIT exception wrapper
Kahrl [Sat, 23 Aug 2014 12:30:51 +0000 (14:30 +0200)]
Fix LuaJIT exception wrapper

10 years agoFix seg fault if popping from empty stack (L-system trees)
Craig Robbins [Thu, 7 Aug 2014 05:39:12 +0000 (15:39 +1000)]
Fix seg fault if popping from empty stack (L-system trees)

See: https://github.com/minetest/minetest/issues/1525

Background
Wuzzy2: If you attempt to spawn a L-system tree with minetest.spawn_tree, you can make Minetest crash if it is attempted to pop an empty stack.

ShadowNinja: This shouldn't cause a segmentation fault, but it should throw a Lua error

Commit Description
This commit throws a Lua error instead of causing a segmentation fault. The server will still "crash" but will include a Lua backtrace.

L-Systems fix randomness
Unless a random seed is provided (via Lua treedef) seed the PRNG with a different seed for each tree
Resolves: https://github.com/minetest/minetest/issues/1469

Fix l-system crash when treedef random_level not set by Lua

10 years agoAdd video driver selection to settings menu (based uppon idea from webdesigner97) 1495/head
sapier [Wed, 16 Jul 2014 12:04:50 +0000 (14:04 +0200)]
Add video driver selection to settings menu (based uppon idea from webdesigner97)

10 years agoMinimal game: add /dummyball <count> command
Kahrl [Fri, 22 Aug 2014 22:52:57 +0000 (00:52 +0200)]
Minimal game: add /dummyball <count> command

10 years agoFix chat messages capturing mouse interactions for menu/formspecs 1574/head
sapier [Fri, 22 Aug 2014 15:40:11 +0000 (17:40 +0200)]
Fix chat messages capturing mouse interactions for menu/formspecs

10 years agoUse pause_fps_max also on multiplayer
SmallJoker [Mon, 14 Jul 2014 16:48:36 +0000 (18:48 +0200)]
Use pause_fps_max also on multiplayer

10 years agoAdd ^[mask texture modifier
sfan5 [Fri, 25 Jul 2014 11:26:03 +0000 (13:26 +0200)]
Add ^[mask texture modifier

10 years agoReduce time of red screen when damaged
SmallJoker [Thu, 21 Aug 2014 18:01:03 +0000 (20:01 +0200)]
Reduce time of red screen when damaged

10 seconds in PvP is very long and annoying.

10 years agoban.cpp refactoring
Selat [Sat, 29 Mar 2014 07:40:33 +0000 (10:40 +0300)]
ban.cpp refactoring

10 years agoFix to to too two times
sapier [Fri, 22 Aug 2014 19:51:20 +0000 (21:51 +0200)]
Fix to to too two times

10 years agoAdd player name length checks 1572/head
sapier [Fri, 22 Aug 2014 12:03:04 +0000 (14:03 +0200)]
Add player name length checks

10 years agoFix "ghost" blocks if block update is "on wire" while player digs nodes 1475/head
sapier [Sat, 12 Jul 2014 18:20:11 +0000 (20:20 +0200)]
Fix "ghost" blocks if block update is "on wire" while player digs nodes

10 years agoImprove timeout calculation
sapier [Sat, 12 Jul 2014 13:58:08 +0000 (15:58 +0200)]
Improve timeout calculation

gf

10 years agoCorrect spelling mistakes in documentation
rubenwardy [Fri, 22 Aug 2014 17:34:16 +0000 (18:34 +0100)]
Correct spelling mistakes in documentation

10 years agoFix wrong Icon name in minetest.desktop
sapier [Fri, 22 Aug 2014 12:09:39 +0000 (14:09 +0200)]
Fix wrong Icon name in minetest.desktop

10 years agoRemove buildable_to nodes without dropping item when replaced by a falling node
Casimir [Sat, 17 Aug 2013 23:15:38 +0000 (01:15 +0200)]
Remove buildable_to nodes without dropping item when replaced by a falling node

10 years agoPass light sources in blue channel of vertex color instead of decoded light for all...
RealBadAngel [Thu, 21 Aug 2014 21:28:01 +0000 (23:28 +0200)]
Pass light sources in blue channel of vertex color instead of decoded light for all special drawtypes.
Plus some style fixes and optimizations.

10 years agoDon't call a player event without having player to do a event for
sapier [Thu, 21 Aug 2014 15:27:52 +0000 (17:27 +0200)]
Don't call a player event without having player to do a event for

10 years agoFix caption of config mods button (simple menu)
sapier [Tue, 19 Aug 2014 20:34:25 +0000 (22:34 +0200)]
Fix caption of config mods button (simple menu)

10 years agoMod profiling support
sapier [Tue, 12 Aug 2014 21:07:27 +0000 (23:07 +0200)]
Mod profiling support

Config settings:
profiling = true/false (gather statistics)
detailed_profiling = true/false (break mod times to callbacks)

Chat commands:
save_mod_profile saves current statistics in debug.txt and shows on console (on default loglevel)

10 years agoMake scrollbar scale according to DPI and scaling factor 1491/head
sapier [Wed, 16 Jul 2014 08:11:05 +0000 (10:11 +0200)]
Make scrollbar scale according to DPI and scaling factor

10 years agoLet lighting be done only CPU side. Remove finalColorBlend implementation from shaders.
RealBadAngel [Sat, 16 Aug 2014 12:02:50 +0000 (14:02 +0200)]
Let lighting be done only CPU side. Remove finalColorBlend implementation from shaders.

10 years agoRevert "Fix inventory items blinking on item preloading"
sapier [Sat, 16 Aug 2014 12:18:33 +0000 (14:18 +0200)]
Revert "Fix inventory items blinking on item preloading"

The fix didn't work on some systems sadly this wasn't detected prior merge,
as preload is disabled by default now there's not gonna be a fix for it.

10 years agoFix inventory items blinking on item preloading 1304/head 1553/head
sapier [Thu, 15 May 2014 20:16:38 +0000 (22:16 +0200)]
Fix inventory items blinking on item preloading

10 years agoRemove temporary file at safeWriteToFile()
selat [Sun, 13 Jul 2014 20:35:29 +0000 (23:35 +0300)]
Remove temporary file at safeWriteToFile()

10 years agoMakefile support for build without leveldb 1457/head
sapier [Mon, 7 Jul 2014 21:10:26 +0000 (23:10 +0200)]
Makefile support for build without leveldb

10 years agoAdd sqlite3 backend hack for android
sapier [Mon, 7 Jul 2014 20:57:11 +0000 (22:57 +0200)]
Add sqlite3 backend hack for android

10 years agoFix the *CDP display
SmallJoker [Mon, 14 Jul 2014 14:54:18 +0000 (16:54 +0200)]
Fix the *CDP display

10 years agoFix mainmenu game initialisation
BlockMen [Thu, 14 Aug 2014 05:18:32 +0000 (07:18 +0200)]
Fix mainmenu game initialisation

10 years agoMake faces shading correct for all possible modes.
RealBadAngel [Sun, 10 Aug 2014 21:43:26 +0000 (23:43 +0200)]
Make faces shading correct for all possible modes.
Skip shading for lightsources and top of the nodes.
Fixes liquid sources and flowing surfaces having different brightness.

10 years agoMove #includes from version.h to version.cpp
Kahrl [Sat, 9 Aug 2014 20:05:09 +0000 (22:05 +0200)]
Move #includes from version.h to version.cpp

10 years agoFormspec escape fixed seen in world creation menu
ShadowNinja [Tue, 5 Aug 2014 19:37:53 +0000 (15:37 -0400)]
Formspec escape fixed seen in world creation menu

10 years agoDisable preload_item_visuals by default 1536/head
ShadowNinja [Mon, 4 Aug 2014 20:54:11 +0000 (16:54 -0400)]
Disable preload_item_visuals by default

This can delay connections by several minutes.

10 years agoFix issue 1527
Craig Robbins [Wed, 30 Jul 2014 01:39:24 +0000 (11:39 +1000)]
Fix issue 1527
https://github.com/minetest/minetest/issues/1527

10 years agoAdd ZLIBWAPI_DLL and LEVELDB_DLL CMake options Remove legacy MINGWM10_DLL CMake optio...
sfan5 [Tue, 29 Jul 2014 08:47:38 +0000 (10:47 +0200)]
Add ZLIBWAPI_DLL and LEVELDB_DLL CMake options Remove legacy MINGWM10_DLL CMake option Update 32-bit buildbot (OpenAL updated, zlib updated) Change build directory for buildbots to '_build' to prevent removal of Android build files Use -win64 suffix for 64-bit Windows builds Fixes #1476

10 years agoRework texture generating code, add texture grouping via ( ... )
sfan5 [Thu, 24 Jul 2014 19:55:09 +0000 (21:55 +0200)]
Rework texture generating code, add texture grouping via ( ... )

10 years agoDon't include cmake_config_githash.h into files that don't need it
sfan5 [Thu, 24 Jul 2014 11:04:35 +0000 (13:04 +0200)]
Don't include cmake_config_githash.h into files that don't need it

10 years agoDont display interior of glasslike_framed node when its not defined.
RealBadAngel [Thu, 24 Jul 2014 18:58:08 +0000 (20:58 +0200)]
Dont display interior of glasslike_framed node when its not defined.
Fixes https://github.com/minetest/minetest/issues/1514

10 years agoAllow full circle rotation with 2degs step for plantlike drawtype.
RealBadAngel [Thu, 24 Jul 2014 18:02:20 +0000 (20:02 +0200)]
Allow full circle rotation with 2degs step for plantlike drawtype.

10 years agoAdd rotation for plantlike drawtype.
RealBadAngel [Mon, 21 Jul 2014 22:32:03 +0000 (00:32 +0200)]
Add rotation for plantlike drawtype.

10 years agoBugfix in makeCuboid - apply rotations to all faces when 1 tile is given.
RealBadAngel [Sun, 20 Jul 2014 14:22:48 +0000 (16:22 +0200)]
Bugfix in makeCuboid - apply rotations to all faces when 1 tile is given.

10 years agoRemove vector assertions
ShadowNinja [Wed, 9 Jul 2014 00:44:47 +0000 (20:44 -0400)]
Remove vector assertions

These were initially added to get tracebacks for invalid vector errors, but it
didn't work and tracebacks have since been properly fixed in the core.

10 years agoSpeedup mapblock_mesh
RealBadAngel [Tue, 15 Jul 2014 07:07:52 +0000 (09:07 +0200)]
Speedup mapblock_mesh

10 years agoFix texture glitches for plants with visual scale > 1.0 (jungle grass).
RealBadAngel [Thu, 17 Jul 2014 12:10:23 +0000 (14:10 +0200)]
Fix texture glitches for plants with visual scale > 1.0 (jungle grass).

10 years agoFix texture hack in fences.
RealBadAngel [Thu, 17 Jul 2014 11:37:18 +0000 (13:37 +0200)]
Fix texture hack in fences.

10 years agoFix error handling on inconsistent client ready message
sapier [Wed, 16 Jul 2014 18:01:00 +0000 (20:01 +0200)]
Fix error handling on inconsistent client ready message
Fix android makefile to provide a correct dummy githash if detection fails

10 years agoMake tooltip_show_delay=0 work
Zefram [Wed, 2 Jul 2014 13:32:54 +0000 (14:32 +0100)]
Make tooltip_show_delay=0 work

10 years agoPermit non-integer sizes for item_image[]
Zefram [Wed, 2 Jul 2014 14:03:27 +0000 (15:03 +0100)]
Permit non-integer sizes for item_image[]

10 years agoFix indexing error in timer processing
Zefram [Wed, 16 Jul 2014 15:24:39 +0000 (17:24 +0200)]
Fix indexing error in timer processing

10 years agoFix flipped textures for drawtype "glasslike"
sapier [Wed, 16 Jul 2014 14:37:41 +0000 (16:37 +0200)]
Fix flipped textures for drawtype "glasslike"

10 years agoAdd srollbar formspec element 1391/head
sapier [Thu, 19 Jun 2014 16:17:35 +0000 (18:17 +0200)]
Add srollbar formspec element

10 years agoFix android build after removal of indev and math mapgen
sapier [Wed, 16 Jul 2014 11:40:30 +0000 (13:40 +0200)]
Fix android build after removal of indev and math mapgen

10 years agoFix crash reported here: https://forum.minetest.net/viewtopic.php?f=6&t=9726
Novatux [Sat, 12 Jul 2014 08:51:09 +0000 (10:51 +0200)]
Fix crash reported here: https://forum.minetest.net/viewtopic.php?f=6&t=9726

10 years agoMove MapBlock (de)serializing code out of Database class
sfan5 [Tue, 8 Jul 2014 18:04:37 +0000 (20:04 +0200)]
Move MapBlock (de)serializing code out of Database class

10 years agoRemove proller from credits
proller [Sat, 12 Jul 2014 14:28:17 +0000 (18:28 +0400)]
Remove proller from credits

10 years agoRemove indev mapgen
proller [Sat, 12 Jul 2014 14:21:54 +0000 (18:21 +0400)]
Remove indev mapgen

10 years agoRemove math mapgen
proller [Sat, 12 Jul 2014 14:15:55 +0000 (18:15 +0400)]
Remove math mapgen

10 years agoUpdate default control documentation
BlockMen [Mon, 7 Jul 2014 17:12:38 +0000 (19:12 +0200)]
Update default control documentation

10 years agoSwitch back repository to dev-mode after 0.4.10 release.
sapier [Mon, 7 Jul 2014 17:08:41 +0000 (19:08 +0200)]
Switch back repository to dev-mode after 0.4.10 release.

10 years agoFaces shading fixes
RealBadAngel [Mon, 7 Jul 2014 14:17:51 +0000 (16:17 +0200)]
Faces shading fixes

10 years agoDon't copy back already generated blocks on map generation
kwolekr [Mon, 7 Jul 2014 05:51:04 +0000 (01:51 -0400)]
Don't copy back already generated blocks on map generation

10 years agoDon't unload blocks if save failed
kwolekr [Mon, 7 Jul 2014 05:20:25 +0000 (01:20 -0400)]
Don't unload blocks if save failed

Improve error handling in saveBlock()

10 years agoFix regression in leveldb backend 0.4.10
sapier [Sun, 6 Jul 2014 22:06:06 +0000 (00:06 +0200)]
Fix regression in leveldb backend

10 years agoUpdate version numbers for 0.4.10
sapier [Sun, 6 Jul 2014 20:39:47 +0000 (22:39 +0200)]
Update version numbers for 0.4.10

10 years agoFix client crash on deletion of an object the clients localplayer is attached to
sapier [Sun, 6 Jul 2014 20:11:21 +0000 (22:11 +0200)]
Fix client crash on deletion of an object the clients localplayer is attached to

10 years agoSwitch android to leveldb as sqlite3 is broken and fails to save any mapblock there
sapier [Sun, 6 Jul 2014 19:24:31 +0000 (21:24 +0200)]
Switch android to leveldb as sqlite3 is broken and fails to save any mapblock there

10 years agoImprove error reporting in leveldb backend
sfan5 [Wed, 25 Jun 2014 05:25:33 +0000 (07:25 +0200)]
Improve error reporting in leveldb backend

10 years agoFix non-smooth non-shader node shading (Fixes #1436, regression by commit a0f78659f31abd)
Perttu Ahola [Sun, 6 Jul 2014 18:57:12 +0000 (21:57 +0300)]
Fix non-smooth non-shader node shading (Fixes #1436, regression by commit a0f78659f31abd)

10 years agoFix errors/warnings reported by valgrind
sfan5 [Sun, 6 Jul 2014 14:17:46 +0000 (16:17 +0200)]
Fix errors/warnings reported by valgrind

10 years agoFix memory leak in EmergeManager
PilzAdam [Sun, 6 Jul 2014 13:41:56 +0000 (15:41 +0200)]
Fix memory leak in EmergeManager

10 years agoFix warnings reported by clang
sfan5 [Sun, 6 Jul 2014 11:07:23 +0000 (13:07 +0200)]
Fix warnings reported by clang

10 years agoFix typos in doc/lua-api.txt
sfan5 [Sat, 5 Jul 2014 10:19:55 +0000 (12:19 +0200)]
Fix typos in doc/lua-api.txt

10 years agoRemove FPS from being next to the version string
Perttu Ahola [Sat, 5 Jul 2014 08:54:09 +0000 (11:54 +0300)]
Remove FPS from being next to the version string

10 years agoFix typo in doc/lua_api.txt
Kahrl [Fri, 4 Jul 2014 23:09:53 +0000 (01:09 +0200)]
Fix typo in doc/lua_api.txt

10 years agoFix memory leaks in GenericCAO, ShaderSource and Player classes
sapier [Wed, 2 Jul 2014 21:33:18 +0000 (23:33 +0200)]
Fix memory leaks in GenericCAO, ShaderSource and Player classes

10 years agoFix inversion of full_punch_interval
Novatux [Wed, 2 Jul 2014 14:48:11 +0000 (16:48 +0200)]
Fix inversion of full_punch_interval

10 years agoMove master server to seperate repository
ShadowNinja [Mon, 30 Jun 2014 21:08:22 +0000 (17:08 -0400)]
Move master server to seperate repository

10 years agoFix regression in light calculation
sapier [Mon, 30 Jun 2014 20:56:08 +0000 (22:56 +0200)]
Fix regression in light calculation

10 years agoFix serverlist code style, const-correctness, and types
ShadowNinja [Fri, 20 Jun 2014 04:59:39 +0000 (00:59 -0400)]
Fix serverlist code style, const-correctness, and types

10 years agoFix server list boolean typing and alignment
ShadowNinja [Fri, 20 Jun 2014 00:21:02 +0000 (20:21 -0400)]
Fix server list boolean typing and alignment

10 years agoAdd support for multipart/form-data to HTTPFetch for server announcing
ShadowNinja [Thu, 19 Jun 2014 20:00:22 +0000 (16:00 -0400)]
Add support for multipart/form-data to HTTPFetch for server announcing

10 years agoMasterserver: Fix compiling servers.jst
proller [Mon, 30 Jun 2014 16:47:50 +0000 (20:47 +0400)]
Masterserver: Fix compiling servers.jst

10 years agoAdd redis options to documentation
sfan5 [Sun, 29 Jun 2014 19:34:49 +0000 (21:34 +0200)]
Add redis options to documentation

10 years agoCopy zlib and freetype dll to windows package too
sapier [Sun, 29 Jun 2014 17:36:51 +0000 (19:36 +0200)]
Copy zlib and freetype dll to windows package too

10 years agoAdd support for Android 2.3+ 1408/head
sapier [Mon, 21 Apr 2014 12:10:59 +0000 (14:10 +0200)]
Add support for Android 2.3+

There have been plenty of ppl involved in creating this version.
I don't wanna mention names as I'm sure I'd forget someone so I
just tell where help has been done:
- The partial android versions done by various ppl
- Testing on different android devices
- reviewing code (especially the in core changes)
- testing controls
- reviewing texts

A big thank you to everyone helping this to be completed!

10 years agoDon't spam server console on player/playersao error but just drop the affected client
sapier [Sun, 29 Jun 2014 15:55:21 +0000 (17:55 +0200)]
Don't spam server console on player/playersao error but just drop the affected client

10 years agoGlasslike_framed drawtype rework.
RealBadAngel [Sun, 29 Jun 2014 08:41:49 +0000 (10:41 +0200)]
Glasslike_framed drawtype rework.

10 years agoOS X compatibility fixes
Martin Doege [Thu, 26 Jun 2014 18:30:22 +0000 (20:30 +0200)]
OS X compatibility fixes

10 years agoFix msvc2012 build
sapier [Sun, 29 Jun 2014 14:57:50 +0000 (16:57 +0200)]
Fix msvc2012 build

10 years agoAdd formspec api versioning 1417/head
sapier [Wed, 25 Jun 2014 17:04:47 +0000 (19:04 +0200)]
Add formspec api versioning

10 years agoMake sure none of the irrlicht member objects of GenericCAO are deleted prior deletio...
sapier [Sun, 29 Jun 2014 09:57:01 +0000 (11:57 +0200)]
Make sure none of the irrlicht member objects of GenericCAO are deleted prior deletion of GenericCAO

10 years agoMake player files saving again
SmallJoker [Sat, 28 Jun 2014 15:01:15 +0000 (17:01 +0200)]
Make player files saving again

10 years agoMasterserver: Fix undefined players
proller [Sat, 28 Jun 2014 18:10:55 +0000 (22:10 +0400)]
Masterserver: Fix undefined players

10 years agoAdd prefixes to enum values and fix style issues
kwolekr [Sat, 28 Jun 2014 06:02:38 +0000 (02:02 -0400)]
Add prefixes to enum values and fix style issues

10 years agoMake GUITable mouse wheel scrolling faster
Kahrl [Fri, 27 Jun 2014 21:55:01 +0000 (23:55 +0200)]
Make GUITable mouse wheel scrolling faster

10 years agoFix GenericCAO fails to grabing member animated mesh node to prevent it do be deleted...
sapier [Fri, 27 Jun 2014 18:42:20 +0000 (20:42 +0200)]
Fix GenericCAO fails to grabing member animated mesh node to prevent it do be deleted to early

10 years agoFix wrong status text rectangle. Fix for #1412
RealBadAngel [Fri, 27 Jun 2014 18:16:37 +0000 (20:16 +0200)]
Fix wrong status text rectangle. Fix for #1412