oweals/minetest.git
10 years agoFix Settings locking
ShadowNinja [Thu, 11 Sep 2014 18:23:04 +0000 (14:23 -0400)]
Fix Settings locking

10 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.

10 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.

10 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

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

10 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)

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

10 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.

10 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"

10 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)

10 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)

10 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>
10 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

10 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.

10 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

10 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.

10 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

10 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.

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

10 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

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

10 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

10 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

10 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

10 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

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

10 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)

10 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()

10 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

10 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)

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