oweals/minetest.git
9 years agoRefactor decoration-related code
kwolekr [Wed, 29 Oct 2014 05:54:11 +0000 (01:54 -0400)]
Refactor decoration-related code

Split up ModApiMapgen::l_register_decoration()
Define and make use of CONTAINS() and ARRLEN() macros

9 years agoFix various indentation issues
PenguinDad [Tue, 28 Oct 2014 19:13:14 +0000 (20:13 +0100)]
Fix various indentation issues

9 years agoFix #1733: An unhandled exception occurred: GetPeer: Peer not found (possible timeout)
Craig Robbins [Sun, 26 Oct 2014 05:32:49 +0000 (15:32 +1000)]
Fix #1733: An unhandled exception occurred: GetPeer: Peer not found (possible timeout)

9 years agoAdd notice when only minimal is installed
rubenwardy [Thu, 16 Oct 2014 18:23:02 +0000 (19:23 +0100)]
Add notice when only minimal is installed

9 years agoAdd NodeResolver documentation
kwolekr [Tue, 28 Oct 2014 06:18:48 +0000 (02:18 -0400)]
Add NodeResolver documentation

Set content to fallback on AddNode failure
Consider node list requests with no results as failed

9 years agoPrevent invalid memory access under failure conditions
kwolekr [Tue, 28 Oct 2014 04:18:53 +0000 (00:18 -0400)]
Prevent invalid memory access under failure conditions

9 years agoChange license of noise implementation to Simplified BSD
kwolekr [Tue, 28 Oct 2014 01:17:07 +0000 (21:17 -0400)]
Change license of noise implementation to Simplified BSD

9 years agoAdd support for eased 3d noise
kwolekr [Mon, 27 Oct 2014 06:02:38 +0000 (02:02 -0400)]
Add support for eased 3d noise

9 years agoAdd NodeResolver and clean up node name -> content ID resolution system
kwolekr [Wed, 8 Oct 2014 19:28:14 +0000 (15:28 -0400)]
Add NodeResolver and clean up node name -> content ID resolution system

9 years agoRemove m_ext_ptr in GUIFormSpecMenu, replaced by refcount mechanism
Kahrl [Fri, 24 Oct 2014 14:22:05 +0000 (16:22 +0200)]
Remove m_ext_ptr in GUIFormSpecMenu, replaced by refcount mechanism

9 years agoRemove remenants of mob code
Pavel Puchkin [Thu, 23 Oct 2014 19:17:47 +0000 (22:17 +0300)]
Remove remenants of mob code

Since minetest has no mobs within the core anymore, I suppose these
settings and code should go. Any mod that uses `minetest.setting_getbool`
will work with no problem since the default return value is `false`.

9 years agoFix syntax error in Japanese translation
Rui [Thu, 23 Oct 2014 11:15:26 +0000 (20:15 +0900)]
Fix syntax error in Japanese translation

9 years agoFix broken plantlike drawtype.
RealBadAngel [Tue, 21 Oct 2014 21:06:12 +0000 (23:06 +0200)]
Fix broken plantlike drawtype.

9 years agoAdd Indonesian Language
srifqi [Mon, 20 Oct 2014 10:34:21 +0000 (17:34 +0700)]
Add Indonesian Language

9 years agoTranslated using Weblate (Japanese)
Rui [Mon, 13 Oct 2014 09:03:48 +0000 (18:03 +0900)]
Translated using Weblate (Japanese)

9 years agoSearch for subgames using $MINETEST_SUBGAME_PATH.
David Thompson [Sat, 6 Sep 2014 17:21:46 +0000 (13:21 -0400)]
Search for subgames using $MINETEST_SUBGAME_PATH.

9 years agoRecalculate normals for cached meshes.
RealBadAngel [Tue, 21 Oct 2014 03:12:15 +0000 (05:12 +0200)]
Recalculate normals for cached meshes.

Check if mesh is here before adding to meshcollector.

Fix deleting the meshes.

9 years agoFix some indentation in nodedef.cpp
Kahrl [Mon, 20 Oct 2014 14:11:38 +0000 (16:11 +0200)]
Fix some indentation in nodedef.cpp

9 years agoFix memory leak caused by mesh nodes (and nodeboxes)
Kahrl [Mon, 20 Oct 2014 14:11:00 +0000 (16:11 +0200)]
Fix memory leak caused by mesh nodes (and nodeboxes)

9 years agoCustom collision boxes node property.
RealBadAngel [Sat, 18 Oct 2014 16:46:16 +0000 (18:46 +0200)]
Custom collision boxes node property.

9 years agoUpdate the cURL the buildbot uses to 7.38.0
sfan5 [Mon, 6 Oct 2014 11:39:03 +0000 (13:39 +0200)]
Update the cURL the buildbot uses to 7.38.0

9 years agoVarious uninitialised variable fixes
Craig Robbins [Tue, 7 Oct 2014 07:01:07 +0000 (17:01 +1000)]
Various uninitialised variable fixes

sky.cpp: m_bgcolor.getAlpha() was being used before initialised

mesh related: m_highlight_mesh_color was being used uninitialised

9 years agoMove buttons upwards to accommodate for new configure keys button in the
Craig Robbins [Thu, 16 Oct 2014 07:47:54 +0000 (17:47 +1000)]
Move buttons upwards to accommodate for new configure keys button in the
pause menu

9 years agoAdd meshnode drawtype.
RealBadAngel [Wed, 15 Oct 2014 02:13:53 +0000 (04:13 +0200)]
Add meshnode drawtype.

9 years agoMake sure PRECISION_SECONDS corresponds to the integer 0
Kahrl [Thu, 9 Oct 2014 09:40:33 +0000 (11:40 +0200)]
Make sure PRECISION_SECONDS corresponds to the integer 0

9 years agoFix unit reported by TimeTaker (was always ms)
Kahrl [Thu, 9 Oct 2014 09:15:03 +0000 (11:15 +0200)]
Fix unit reported by TimeTaker (was always ms)

9 years agoChange topleft text when switching subgames, fixes #1728
Kahrl [Thu, 9 Oct 2014 06:58:47 +0000 (08:58 +0200)]
Change topleft text when switching subgames, fixes #1728

9 years agoFix use of unitialized variables in mouse button handling
Craig Robbins [Wed, 8 Oct 2014 02:40:14 +0000 (12:40 +1000)]
Fix use of unitialized variables in mouse button handling

9 years agoAdd in-game key change menu
Mushiden [Sun, 21 Sep 2014 03:21:11 +0000 (00:21 -0300)]
Add in-game key change menu

9 years agoAdd a better error message when trying to teleport another player without bring privi...
LeMagnesium [Sun, 5 Oct 2014 15:35:10 +0000 (17:35 +0200)]
Add a better error message when trying to teleport another player without bring privileges

9 years agoFix object reference pushing functions when called from coroutines
ShadowNinja [Thu, 2 Oct 2014 19:58:13 +0000 (15:58 -0400)]
Fix object reference pushing functions when called from coroutines

9 years agoAdd [colorize modifier 1711/head
BlockMen [Fri, 3 Oct 2014 04:11:21 +0000 (06:11 +0200)]
Add [colorize modifier

9 years agoFix special tile backspace culling
kwolekr [Fri, 3 Oct 2014 15:20:29 +0000 (11:20 -0400)]
Fix special tile backspace culling

9 years agoBugfix: dont highlight (0,0,0) when theres no node pointed.
RealBadAngel [Fri, 3 Oct 2014 14:03:14 +0000 (16:03 +0200)]
Bugfix: dont highlight (0,0,0) when theres no node pointed.

9 years agoFix broken plantlike drawtype.
RealBadAngel [Fri, 3 Oct 2014 13:33:32 +0000 (15:33 +0200)]
Fix broken plantlike drawtype.

9 years agoFix misc. style issues
kwolekr [Fri, 3 Oct 2014 07:49:06 +0000 (03:49 -0400)]
Fix misc. style issues

9 years agoClean up nodedef.cpp
kwolekr [Fri, 3 Oct 2014 07:16:43 +0000 (03:16 -0400)]
Clean up nodedef.cpp

9 years agoAdd better documentation for alternate drop definition to lua_api.txt.
Diego Martínez [Thu, 2 Oct 2014 16:30:32 +0000 (13:30 -0300)]
Add better documentation for alternate drop definition to lua_api.txt.

9 years agoAdd optional framed glasslike drawtype 1694/head
BlockMen [Sat, 27 Sep 2014 16:16:26 +0000 (18:16 +0200)]
Add optional framed glasslike drawtype

9 years agoMake players check inventory modification properly 1535/head
ShadowNinja [Tue, 2 Sep 2014 16:53:20 +0000 (12:53 -0400)]
Make players check inventory modification properly

9 years agoOnly set player dirty flag if values change
ShadowNinja [Fri, 29 Aug 2014 00:22:19 +0000 (20:22 -0400)]
Only set player dirty flag if values change

9 years agoSimplify player modification checks
ShadowNinja [Sun, 3 Aug 2014 20:19:07 +0000 (16:19 -0400)]
Simplify player modification checks

9 years agoFix android build using hardcoded path for data instead of using the one fetched...
sapier [Wed, 1 Oct 2014 20:18:29 +0000 (22:18 +0200)]
Fix android build using hardcoded path for data instead of using the one fetched by android api on init.
Fix android missing version information

9 years agoupdatepo.sh: Find all files
Diego Martínez [Tue, 30 Sep 2014 13:57:28 +0000 (10:57 -0300)]
updatepo.sh: Find all files

9 years agoUse round if falling node is misplaced
SmallJoker [Thu, 24 Jul 2014 09:51:07 +0000 (11:51 +0200)]
Use round if falling node is misplaced

Fixes: http://i.imgur.com/arAWw1i.png (middle-right)

9 years agoStandardize tooltip row detection
BlockMen [Sun, 28 Sep 2014 08:10:43 +0000 (10:10 +0200)]
Standardize tooltip row detection

9 years agoFix multilined description in tooltips (fixes #1688)
BlockMen [Sun, 28 Sep 2014 06:44:05 +0000 (08:44 +0200)]
Fix multilined description in tooltips (fixes #1688)

9 years agoFix totally messed up 3d modes interlaced/topbottom/sidebyside
sapier [Thu, 25 Sep 2014 18:33:17 +0000 (20:33 +0200)]
Fix totally messed up 3d modes interlaced/topbottom/sidebyside

9 years agoFix chat lines not word wrapped correct
sapier [Thu, 25 Sep 2014 17:54:02 +0000 (19:54 +0200)]
Fix chat lines not word wrapped correct

9 years agoFix command line parsing
Kahrl [Mon, 22 Sep 2014 09:02:26 +0000 (11:02 +0200)]
Fix command line parsing

Broken by 6bc4cad0eddd7a7cf593ca1471599e2d75727379, e.g.
  minetest --worldname world
would be parsed as
  minetest --worldname --worldname

9 years agoFix build with redis
ShadowNinja [Mon, 22 Sep 2014 01:00:20 +0000 (21:00 -0400)]
Fix build with redis

Broken by 6bc4cad0eddd7a7cf593ca1471599e2d75727379 because database-redis.h
depended on settings.h to include filesys.h.

9 years agoAdd firelike drawtype
TriBlade9 [Fri, 19 Sep 2014 23:37:40 +0000 (07:37 +0800)]
Add firelike drawtype

9 years agoUpdate default of preload_item_visuals in minetest.conf.example
ShadowNinja [Sun, 21 Sep 2014 19:49:33 +0000 (15:49 -0400)]
Update default of preload_item_visuals in minetest.conf.example

9 years agoMake dump's output prettier 1503/head
ShadowNinja [Sun, 20 Jul 2014 03:39:23 +0000 (23:39 -0400)]
Make dump's output prettier

Changes:
  * Indentation with tabs by default.
  * Array keys dumped without "[i] = " prefix.
  * String keys that are valid identifiers aren't enclosed in '[""]'.
  * Basic support for multiple references (as specified in the comment).

9 years agoFix GCC reorder warning
ShadowNinja [Sun, 21 Sep 2014 19:18:43 +0000 (15:18 -0400)]
Fix GCC reorder warning

Caused by a020d1b653f94fbcaac06c15f9dbab4521fda355.

9 years agoAdd inventory right click drag and drop
sruz25 [Fri, 19 Sep 2014 13:27:48 +0000 (15:27 +0200)]
Add inventory right click drag and drop

9 years agoUpdate ja/minetest.po
Rui914 [Sun, 21 Sep 2014 04:56:18 +0000 (13:56 +0900)]
Update ja/minetest.po

9 years agoRevert the icon name in minetest.desktop
ShadowNinja [Sun, 21 Sep 2014 18:37:19 +0000 (14:37 -0400)]
Revert the icon name in minetest.desktop

This reverts commit 7993696fc4b59354974059e1f8d6b3063d316411, which broke the
icon on most distributions.

9 years agoFix locking bugs and make inventory deserialization errors more specific
ShadowNinja [Fri, 12 Sep 2014 00:12:52 +0000 (20:12 -0400)]
Fix locking bugs and make inventory deserialization errors more specific

9 years agoSplit settings into seperate source and header files
ShadowNinja [Thu, 11 Sep 2014 22:22:05 +0000 (18:22 -0400)]
Split settings into seperate source and header files

This also cleans up settings a bit

9 years agoFix Settings locking
ShadowNinja [Thu, 11 Sep 2014 18:23:04 +0000 (14:23 -0400)]
Fix Settings locking

9 years agoUse const references for Settings methods
ShadowNinja [Thu, 11 Sep 2014 17:42:21 +0000 (13:42 -0400)]
Use const references for Settings methods

Also check for (this == &other) before locking mutexes.

9 years agoMake getters of the Settings class const
Craig Robbins [Thu, 11 Sep 2014 12:49:25 +0000 (22:49 +1000)]
Make getters of the Settings class const

Also removed 2 unused functions.

9 years agoAllow taking screenshots of formspecs and move message to chat 1672/head
BlockMen [Sun, 21 Sep 2014 00:23:55 +0000 (02:23 +0200)]
Allow taking screenshots of formspecs and move message to chat

9 years agoUpdate .mailmap
sfan5 [Sun, 21 Sep 2014 17:01:43 +0000 (19:01 +0200)]
Update .mailmap

9 years agoFix wrong video_driver setting when changing in mainmenu
SmallJoker [Thu, 4 Sep 2014 18:34:36 +0000 (20:34 +0200)]
Fix wrong video_driver setting when changing in mainmenu

Fixes issue with direct3d(8|9)

9 years agoAdd compression API 1633/head
ShadowNinja [Sun, 14 Sep 2014 21:42:08 +0000 (17:42 -0400)]
Add compression API

9 years ago.travis.yml: fix possible issues
Mikaela Suomalainen [Fri, 19 Sep 2014 22:05:14 +0000 (01:05 +0300)]
.travis.yml: fix possible issues

* use `pool.sks-keyservers.net` as keyserver as it's often more reliable
than `keyserver.ubuntu.com` as you can see with Google.
* put script to multiple lines
    * build out-of-source
    * use two CPUs
        * make seems to fail if $(nproc) is used unlike WeeChat. ZNC has
          same issue.
* mark build as failed if one job fails immediately without waiting for
all builds to finish.
    * this doesn't stop jobs that didn't finish before build was marked
    failed.

9 years agoRevert "Small changes to French translation (Petites modifications mineures)"
Kahrl [Sat, 20 Sep 2014 12:02:00 +0000 (14:02 +0200)]
Revert "Small changes to French translation (Petites modifications mineures)"

This reverts commit 4432e982616cd871cf1ae5c5706da09e98077433.

Exception: "Nom / Mot de Passe" --> "Nom / Mot de passe"

9 years agoFixed french vocabulary/grammar errors
kilbith [Fri, 19 Sep 2014 11:45:47 +0000 (13:45 +0200)]
Fixed french vocabulary/grammar errors

Notes (in french) :

72 msgstr "Ok" : OK est un acronyme, pas un nom, donc majuscules.
193 msgstr "Feuilles transparentes" : quel type de feuilles ? Trop vague.
213 msgstr "Filtrage anisotropique" : oxymore.
229 msgstr "Précharger les visuels d'objets" : doit être écourté (dépasse trop la bordure grisée)

9 years agoSmall changes to French translation (Petites modifications mineures)
mimilus [Sat, 5 Apr 2014 23:29:45 +0000 (01:29 +0200)]
Small changes to French translation (Petites modifications mineures)

9 years agoAdd a .mailmap file
Stefan Beller [Wed, 17 Sep 2014 11:46:37 +0000 (13:46 +0200)]
Add a .mailmap file

So I was checking out minetest and wondered how many developers there are
and how they development community is setup and such, so I decided to have
a look at the git shortlog. There were lot of double entries for some
persons, so it was harder to estimate the number of people involved.

By adding a .mailmap file, the overview of the authors is much improved
For details on the .mailmap file, see
https://www.kernel.org/pub/software/scm/git/docs/git-shortlog.html

Signed-off-by: Stefan Beller <stefanbeller@gmail.com>
9 years agoMake config compatible with C++11
donat_b [Sat, 20 Sep 2014 09:06:09 +0000 (13:06 +0400)]
Make config compatible with C++11

9 years agoChange default halo.png for better visibility.
RealBadAngel [Fri, 19 Sep 2014 15:46:59 +0000 (17:46 +0200)]
Change default halo.png for better visibility.

9 years agoUse configured bind_address for HTTPFetch 1634/head
ShadowNinja [Mon, 15 Sep 2014 00:58:21 +0000 (20:58 -0400)]
Use configured bind_address for HTTPFetch

9 years agoReduce indentation of HTTPFetchOngoing
ShadowNinja [Mon, 15 Sep 2014 00:46:45 +0000 (20:46 -0400)]
Reduce indentation of HTTPFetchOngoing

Also clean up some related things.

9 years agoAdded configurable selectionbox width. Min width = 1, Max = 5
TriBlade9 [Wed, 17 Sep 2014 10:02:40 +0000 (18:02 +0800)]
Added configurable selectionbox width. Min width = 1, Max = 5

9 years agoBugfix: don't highlight air nodes.
RealBadAngel [Thu, 18 Sep 2014 07:56:27 +0000 (09:56 +0200)]
Bugfix: don't highlight air nodes.

9 years agoNode highlighting.
RealBadAngel [Tue, 16 Sep 2014 10:38:37 +0000 (12:38 +0200)]
Node highlighting.

9 years agoFix typo in comment in chat.cpp
Kahrl [Sun, 14 Sep 2014 13:37:27 +0000 (15:37 +0200)]
Fix typo in comment in chat.cpp

9 years agoSimplify and optimize schematic replacements
ShadowNinja [Fri, 12 Sep 2014 02:25:06 +0000 (22:25 -0400)]
Simplify and optimize schematic replacements

9 years agoFix another typo in example configuration
ShadowNinja [Fri, 12 Sep 2014 00:21:03 +0000 (20:21 -0400)]
Fix another typo in example configuration

9 years agoFix typo in default configuration file
William Teder [Thu, 11 Sep 2014 23:28:48 +0000 (18:28 -0500)]
Fix typo in default configuration file

9 years agoLog unhandled exceptions in connectionthreads to errorstream
sapier [Sat, 6 Sep 2014 16:22:27 +0000 (18:22 +0200)]
Log unhandled exceptions in connectionthreads to errorstream

9 years agoFix access to invalid data on reception of packet with size 0
sapier [Sat, 6 Sep 2014 15:41:40 +0000 (17:41 +0200)]
Fix access to invalid data on reception of packet with size 0

9 years agoChange screenshot colorformat properly
BlockMen [Wed, 3 Sep 2014 17:20:06 +0000 (19:20 +0200)]
Change screenshot colorformat properly

9 years agoDon't save alpha channel in screenshots (fixes #1451)
BlockMen [Wed, 3 Sep 2014 01:51:49 +0000 (03:51 +0200)]
Don't save alpha channel in screenshots (fixes #1451)

9 years agoAdd LuaVoxelManip methods: get_node_at() and set_node_at()
kwolekr [Mon, 1 Sep 2014 21:33:21 +0000 (17:33 -0400)]
Add LuaVoxelManip methods: get_node_at() and set_node_at()

9 years agoUpdate Mapgen VoxelManipulator on buffer invalidation
kwolekr [Mon, 1 Sep 2014 18:20:31 +0000 (14:20 -0400)]
Update Mapgen VoxelManipulator on buffer invalidation

9 years agoSave previously generated blocks on Mapgen blitback
kwolekr [Mon, 1 Sep 2014 18:58:05 +0000 (14:58 -0400)]
Save previously generated blocks on Mapgen blitback

10 years agoFix only one texture being updated on window resize breaking sidebyside and topbottom...
sapier [Thu, 28 Aug 2014 23:35:35 +0000 (01:35 +0200)]
Fix only one texture being updated on window resize breaking sidebyside and topbottom 3d modes

10 years agoFix interlaced 3d mode second image being flipped on compiling against irrlicht ...
sapier [Thu, 28 Aug 2014 22:54:46 +0000 (00:54 +0200)]
Fix interlaced 3d mode second image being flipped on compiling against irrlicht >= 1.8

10 years agoRemove invalid doc about minetest.get_time_us()
sapier [Mon, 25 Aug 2014 19:52:52 +0000 (21:52 +0200)]
Remove invalid doc about minetest.get_time_us()

10 years agoAdd missing doc for minetest.get_us_time()
sapier [Mon, 25 Aug 2014 19:16:32 +0000 (21:16 +0200)]
Add missing doc for minetest.get_us_time()

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)