oweals/minetest.git
4 years agobuiltin: Move common/async_event.lua to mainmenu/async_event.lua
sfan5 [Fri, 15 May 2020 14:38:19 +0000 (16:38 +0200)]
builtin: Move common/async_event.lua to mainmenu/async_event.lua

It only works in the context of the mainmenu.

4 years agocontent_mapblock: Move static initialization out of functions
sfan5 [Fri, 15 May 2020 13:42:33 +0000 (15:42 +0200)]
content_mapblock: Move static initialization out of functions

4 years agoClient: Add sum and average to packetcounter
sfan5 [Fri, 15 May 2020 13:12:37 +0000 (15:12 +0200)]
Client: Add sum and average to packetcounter

4 years agoAdd core.open_url() to main menu API (#8592)
rubenwardy [Sun, 17 May 2020 18:09:10 +0000 (19:09 +0100)]
Add core.open_url() to main menu API (#8592)

4 years agoMake automatic_rotate relative, allow setting rotation (#8468)
ANAND [Sat, 16 May 2020 19:42:31 +0000 (01:12 +0530)]
Make automatic_rotate relative, allow setting rotation (#8468)

automatic_rotate does not make sense if it is absolute. Make it relative.

To avoid bouncing, set_rotation did not update the client when automatic_rotate was set. That's no longer necessary because the new spinning method applies the rotation on top of the current one, and the updates are necessary for set_rotation to actually transform the object.

Co-authored-by: ANAND <ClobberXD@gmail.com>
Co-authored-by: Pedro Gimeno <pgimeno@users.noreply.notabug.org>
4 years agoError msg if trying to teleport attached player (#9824)
Wuzzy [Sat, 16 May 2020 19:41:41 +0000 (21:41 +0200)]
Error msg if trying to teleport attached player (#9824)

4 years agoLog protocol ver on mismatched client connect too
sfan5 [Sat, 16 May 2020 10:03:36 +0000 (12:03 +0200)]
Log protocol ver on mismatched client connect too

4 years agoAdd new Mapgen V7 floatland implementation (#9296)
Paramat [Thu, 14 May 2020 21:27:54 +0000 (22:27 +0100)]
Add new Mapgen V7 floatland implementation (#9296)

Floatland structure is vertically-compressed 3D noise.
Uses a lacunarity of 1.618 (the golden ratio) for high quality
noise.
Floatlands appear between user-settable Y limits, with smooth
tapering at each limit.
Simple user-settable density adjustment.
Shadow propagation is disabled in and just below floatlands, no
shadows are cast on the world surface.
Can be reconfigured to create a solid upper world layer between
the Y limits, lakes/seas can be optionally added to this.

4 years agonetwork: Replace a fatal_error with just error logging
sfan5 [Thu, 14 May 2020 19:18:26 +0000 (21:18 +0200)]
network: Replace a fatal_error with just error logging

4 years agoCSM: Bugfixes to camera:get_pos() and camera:get_fov()
sfan5 [Thu, 14 May 2020 19:16:45 +0000 (21:16 +0200)]
CSM: Bugfixes to camera:get_pos() and camera:get_fov()

closes #9857

4 years agoCollision detection - #9343 follow-up (#9764)
TheTermos [Thu, 14 May 2020 17:28:27 +0000 (19:28 +0200)]
Collision detection - #9343 follow-up (#9764)

* truncate speed to prevent inf result

* code styling

* change truncate() input parameters

4 years agoAdd chat_log_level setting (#9223)
SmallJoker [Thu, 14 May 2020 17:26:15 +0000 (19:26 +0200)]
Add chat_log_level setting (#9223)

Log all higher levels in LogOutputBuffer
Move StreamLogOutput::logRaw to source file like LogOutputBuffer::logRaw for compiling speed

4 years agoItem Entity: Add message to moveresult assertion (#9797)
rubenwardy [Thu, 14 May 2020 15:54:17 +0000 (16:54 +0100)]
Item Entity: Add message to moveresult assertion (#9797)

4 years agoAllow placing auto-rotating nodes on other nodes in on_rightclick (#9859)
Yaman Qalieh [Wed, 13 May 2020 11:57:05 +0000 (07:57 -0400)]
Allow placing auto-rotating nodes on other nodes in on_rightclick (#9859)

4 years agoDocument inf value in rollback commands (#9789)
Zughy [Wed, 13 May 2020 11:56:26 +0000 (11:56 +0000)]
Document inf value in rollback commands (#9789)

4 years agoAdd mapgen settings to world creation dialog (#9254)
Wuzzy [Tue, 12 May 2020 01:52:52 +0000 (03:52 +0200)]
Add mapgen settings to world creation dialog (#9254)

4 years agoDamage texture modifier (#9833)
Lars Müller [Mon, 11 May 2020 19:41:36 +0000 (21:41 +0200)]
Damage texture modifier (#9833)

Adds a new object property "damage_texture_modifier"

4 years agoAdd support for statbar “off state” icons (#9462)
Wuzzy [Mon, 11 May 2020 19:40:45 +0000 (21:40 +0200)]
Add support for statbar “off state” icons (#9462)

This adds support for optional “off state” icons for statbars. “off state icons” can be used to denote the lack of something, like missing hearts or bubbles.

Add "off state" textures to the builtin statbars.

Co-authored-by: SmallJoker <mk939@ymail.com>
4 years agoRequest the dedicated GPU when starting Minetest from the `.desktop` file (#9827)
Hugo Locurcio [Sun, 10 May 2020 11:37:30 +0000 (13:37 +0200)]
Request the dedicated GPU when starting Minetest from the `.desktop` file (#9827)

See <https://www.hadess.net/2020/05/dual-gpu-support-launch-on-discrete-gpu.html>
for more information about this newly added `.desktop` entry property.

4 years agoColor gradient for default and 'regular' type sky (#9502)
TheTermos [Sat, 9 May 2020 15:14:56 +0000 (17:14 +0200)]
Color gradient for default and 'regular' type sky (#9502)

* add regular sky gradient

* add regular sky gradient

* Update sky.cpp

* change default day sky colors

4 years agoAlways use same default tabheader height (#9319)
Paul Ouellette [Sat, 9 May 2020 15:14:29 +0000 (11:14 -0400)]
Always use same default tabheader height (#9319)

Previously the default tabheader height was different when using
real coordinates. This resulted in the height of tabs changing when
switching tabs in sfinv if some tabs used real coordinates.

4 years agoServer class code cleanups (#9769)
Loïc Blot [Thu, 7 May 2020 20:38:41 +0000 (22:38 +0200)]
Server class code cleanups (#9769)

* Server::overrideDayNightRatio doesn't require to return bool
There is no sense to sending null player, the caller should send a valid object

* Server::init: make private & cleanup
This function is always called before start() and loads some variables which can be loaded in constructor directly.
Make it private and call it directly in start

* Split Server inventory responsibility to a dedicated object

This splits permit to found various historical issues:
* duplicate lookups on player connection
* sending inventory to non related player when a player connects
* non friendly lookups on detached inventories ownership

This reduce the detached inventory complexity and also increased the
lookup performance in a quite interesting way for servers with thousands
of inventories.

4 years agoFix Server triggering wrong errors if environment init fails
sfan5 [Thu, 7 May 2020 19:39:04 +0000 (21:39 +0200)]
Fix Server triggering wrong errors if environment init fails

4 years agoGet rid of non-ascii characters in the debug display code (#8821)
Jozef Behran [Wed, 6 May 2020 19:35:18 +0000 (21:35 +0200)]
Get rid of non-ascii characters in the debug display code (#8821)

4 years agoFormSpec: Add universal style selector `*` (#9718)
v-rob [Wed, 6 May 2020 17:36:02 +0000 (10:36 -0700)]
FormSpec: Add universal style selector `*` (#9718)

4 years agoAndroid: porting_android.cpp refactoring (#9687)
Maksim [Wed, 6 May 2020 12:25:57 +0000 (14:25 +0200)]
Android: porting_android.cpp refactoring (#9687)

* Android: porting_android.cpp refactoring

* Replace assert to FATAL_ERROR_IF

4 years agoEnable collide_with_objects for falling entities
sfan5 [Fri, 1 May 2020 12:56:56 +0000 (14:56 +0200)]
Enable collide_with_objects for falling entities

falling nodes intentionally still fall through players
fixes #5313

4 years agoRewrite falling entity to make use of collision info
sfan5 [Mon, 27 Apr 2020 15:53:20 +0000 (17:53 +0200)]
Rewrite falling entity to make use of collision info

fixes #4781, fixes #9293

4 years agoExpose collided objects in moveresult
sfan5 [Sun, 26 Apr 2020 20:52:00 +0000 (22:52 +0200)]
Expose collided objects in moveresult

closes #9787

4 years agoFix crash when exiting server during running mapgen
sfan5 [Tue, 5 May 2020 18:19:47 +0000 (20:19 +0200)]
Fix crash when exiting server during running mapgen

easily reproducible with a high num_emerge_threads and /emergeblocks

4 years agoFix thread safety of PcgRandom use in BiomeGen
sfan5 [Sun, 26 Apr 2020 16:33:50 +0000 (18:33 +0200)]
Fix thread safety of PcgRandom use in BiomeGen

4 years agoUpdate num_emerge_threads description
sfan5 [Sat, 11 Apr 2020 21:38:54 +0000 (23:38 +0200)]
Update num_emerge_threads description

4 years agoFix remaining issues with mapgen scriptapi
sfan5 [Fri, 10 Apr 2020 00:43:49 +0000 (02:43 +0200)]
Fix remaining issues with mapgen scriptapi

4 years agoGive the Mapgen on each EmergeThread its own Biome/Ore/Deco/SchemManager copy
sfan5 [Fri, 10 Apr 2020 00:05:20 +0000 (02:05 +0200)]
Give the Mapgen on each EmergeThread its own Biome/Ore/Deco/SchemManager copy

4 years agoAllow ObjDefManager instances to be cloned
sfan5 [Thu, 9 Apr 2020 21:40:12 +0000 (23:40 +0200)]
Allow ObjDefManager instances to be cloned

4 years agoServer: Improve some log messages (#9820)
sfan5 [Tue, 5 May 2020 15:05:11 +0000 (17:05 +0200)]
Server: Improve some log messages (#9820)

4 years agoAdd MSVC build (#9740)
adrido [Tue, 5 May 2020 06:42:55 +0000 (08:42 +0200)]
Add MSVC build (#9740)

* Add MSVC build

4 years agoFix broken client if openal cannot be opened (#9804)
Loïc Blot [Tue, 5 May 2020 06:38:18 +0000 (08:38 +0200)]
Fix broken client if openal cannot be opened (#9804)

4 years agoSky API: Rename *_tint to fog_*_tint for consistency
SmallJoker [Mon, 4 May 2020 18:19:12 +0000 (20:19 +0200)]
Sky API: Rename *_tint to fog_*_tint for consistency

4 years agoRename moveresult speed to velocity
SmallJoker [Mon, 4 May 2020 18:02:33 +0000 (20:02 +0200)]
Rename moveresult speed to velocity

4 years agoFix small typo (#9813)
oilboi [Tue, 5 May 2020 06:35:55 +0000 (02:35 -0400)]
Fix small typo (#9813)

4 years agoAndroid: some java-part improvements (#9760)
Maksim [Mon, 4 May 2020 06:47:00 +0000 (08:47 +0200)]
Android: some java-part improvements (#9760)

Replace Log to Toast.
Start Native only after successful unpacking.
Light refactoring in CopyZipTask.
Update NDK version.

Co-authored-by: ubulem <berkut87@gmail.com>
4 years agoChange default keys for cam/minimap to C/V (#9779)
Wuzzy [Mon, 4 May 2020 06:45:31 +0000 (08:45 +0200)]
Change default keys for cam/minimap to C/V (#9779)

4 years agoAdd 'content_offset' and 'padding' style properties for buttons (#9661)
Hugues Ross [Sat, 2 May 2020 11:32:02 +0000 (07:32 -0400)]
Add 'content_offset' and 'padding' style properties for buttons (#9661)

* Add padding and content_offset style properties to buttons

4 years agoAdd a convention about z_index (#9701)
Wuzzy [Sat, 2 May 2020 11:12:02 +0000 (13:12 +0200)]
Add a convention about z_index (#9701)

4 years agoAuto delete MetaData when = 0 (#8770)
Lejo [Sat, 2 May 2020 10:57:04 +0000 (12:57 +0200)]
Auto delete MetaData when = 0 (#8770)

* Auto delete MetaData when = 0

4 years agoci: Update Github Actions workflows (#9774)
sfan5 [Sat, 2 May 2020 10:52:51 +0000 (12:52 +0200)]
ci: Update Github Actions workflows (#9774)

4 years agoset_fov: Add support for time-based transitions (#9705)
ANAND [Sat, 2 May 2020 10:52:11 +0000 (16:22 +0530)]
set_fov: Add support for time-based transitions (#9705)

4 years agoAllow connection info to be missing from minetest.get_player_information() (#9739)
sfan5 [Fri, 1 May 2020 19:44:28 +0000 (21:44 +0200)]
Allow connection info to be missing from minetest.get_player_information() (#9739)

fixes #9352
This reverts commit 23c907befea02005e2c0c87fca0131b60aace18a.

4 years agoGive the online lua mainmenu also the client_list and mods (#8691)
Lejo [Fri, 1 May 2020 14:47:17 +0000 (16:47 +0200)]
Give the online lua mainmenu also the client_list and mods (#8691)

4 years agoFix gettext detection and locale building (#9772)
Juozas [Wed, 29 Apr 2020 10:49:55 +0000 (13:49 +0300)]
Fix gettext detection and locale building (#9772)

broken since a368e7e

4 years agoAdd docker build stage on Github actions
Loic Blot [Mon, 27 Apr 2020 06:31:51 +0000 (08:31 +0200)]
Add docker build stage on Github actions

4 years agoAdd MetricsBackend with prometheus counter support
Loic Blot [Mon, 27 Apr 2020 06:31:37 +0000 (08:31 +0200)]
Add MetricsBackend with prometheus counter support

4 years agoFix breath_bar scaling; delay breath_bar hiding by one second (#8271)
ANAND [Tue, 28 Apr 2020 17:30:57 +0000 (23:00 +0530)]
Fix breath_bar scaling; delay breath_bar hiding by one second (#8271)

PLAYER_MAX_BREATH_DEFAULT was earlier set to 11, so that 10 bubbles are shown before the breath bar disappears.

Now, PLAYER_MAX_BREATH_DEFAULT is set to 10, and the breath_bar scaling code in builtin has been tweaked to show all 10 bubbles before hiding the breath_bar

4 years agocmake: Silence warnings. (#9750)
orbea [Tue, 28 Apr 2020 14:34:18 +0000 (14:34 +0000)]
cmake: Silence warnings. (#9750)

Fixes https://github.com/minetest/minetest/issues/9734

4 years agoRewrite builtin item entity to use collision info
sfan5 [Tue, 14 Apr 2020 14:55:16 +0000 (16:55 +0200)]
Rewrite builtin item entity to use collision info

fixes #8967

4 years agoExpose collision information to LuaEntity on_step
sfan5 [Tue, 14 Apr 2020 12:11:33 +0000 (14:11 +0200)]
Expose collision information to LuaEntity on_step

4 years agoRemove /LTCG from when compiling with clang-cl (#9765)
k.h.lai [Mon, 27 Apr 2020 18:44:52 +0000 (02:44 +0800)]
Remove /LTCG from when compiling with clang-cl (#9765)

Remove /LTCG from CMAKE_EXE_LINKER_FLAGS_RELEASE when compiling with clang on Windows

4 years agoFix detection of in-place path_locale when RUN_IN_PLACE=0
sfan5 [Sat, 25 Apr 2020 13:44:32 +0000 (15:44 +0200)]
Fix detection of in-place path_locale when RUN_IN_PLACE=0

broken by 2349d31bae1bfc4d58fd88efbc88261e69b11dad (side effect)
fixes #9745

4 years agoAdd STATIC_LOCALEDIR to BUILD_INFO and move it to version.cpp
sfan5 [Sat, 25 Apr 2020 13:24:42 +0000 (15:24 +0200)]
Add STATIC_LOCALEDIR to BUILD_INFO and move it to version.cpp

4 years agoForbid object:attach(obj, ...) (#9762)
Loïc Blot [Mon, 27 Apr 2020 09:27:27 +0000 (11:27 +0200)]
Forbid object:attach(obj, ...) (#9762)

Fixes #9761

4 years agoScript: Enforce type checks if not nil (#9748)
SmallJoker [Mon, 27 Apr 2020 05:02:39 +0000 (07:02 +0200)]
Script: Enforce type checks if not nil (#9748)

* Script: Enforce type checks if not nil

4 years agoFix truncation warning for F1000_MIN, F1000_MAX
sfan5 [Sun, 26 Apr 2020 18:59:55 +0000 (20:59 +0200)]
Fix truncation warning for F1000_MIN, F1000_MAX

4 years agoscript: Put getGuiEngine() inside a client-only #ifdef
sfan5 [Sun, 26 Apr 2020 18:57:27 +0000 (20:57 +0200)]
script: Put getGuiEngine() inside a client-only #ifdef

4 years agobuiltin: Correctly indicate failure in /spawnentity
sfan5 [Sun, 26 Apr 2020 18:34:10 +0000 (20:34 +0200)]
builtin: Correctly indicate failure in /spawnentity

4 years agoscript: Fix add_entity returning unusable ref if object deleted in on_activate
sfan5 [Sun, 26 Apr 2020 18:29:16 +0000 (20:29 +0200)]
script: Fix add_entity returning unusable ref if object deleted in on_activate

4 years agoAdd PostgreSQL authentication backend (#9756)
Loïc Blot [Mon, 27 Apr 2020 04:54:48 +0000 (06:54 +0200)]
Add PostgreSQL authentication backend (#9756)

* Add PostgreSQL authentication backend

4 years agoAdd new command /revokeme <priv> (#9584)
David Leal [Sun, 26 Apr 2020 19:15:05 +0000 (14:15 -0500)]
Add new command /revokeme <priv> (#9584)

4 years agoRemove unused lookup table from noise.cpp
sfan5 [Sun, 26 Apr 2020 17:52:09 +0000 (19:52 +0200)]
Remove unused lookup table from noise.cpp

closes #9757

4 years agoFix mapgen settings in minetest.conf being ignored (#9737)
sfan5 [Sun, 26 Apr 2020 17:32:29 +0000 (19:32 +0200)]
Fix mapgen settings in minetest.conf being ignored (#9737)

broken since e8a8185d24897ccf964327017effae81aa1c9d40

4 years agoFix UpdateBonePosition() breaking animations (#9577)
theviper121 [Sun, 26 Apr 2020 17:32:04 +0000 (12:32 -0500)]
Fix UpdateBonePosition() breaking animations (#9577)

4 years agoAdd `animated_image` to clickthrough elements (#9724)
v-rob [Sat, 25 Apr 2020 14:55:21 +0000 (07:55 -0700)]
Add `animated_image` to clickthrough elements (#9724)

4 years agoFix DPI scaling on Windows
sfan5 [Sat, 25 Apr 2020 12:00:11 +0000 (14:00 +0200)]
Fix DPI scaling on Windows

the manifest appears to be very sensitive to changes
closes #9744

4 years agomapblock_mesh: Optimize a few things (#9713)
sfan5 [Sat, 25 Apr 2020 10:39:17 +0000 (12:39 +0200)]
mapblock_mesh: Optimize a few things (#9713)

4 years agoEnsure game is shutdown if server throws exception (#9742)
Paul Ouellette [Sat, 25 Apr 2020 07:42:18 +0000 (03:42 -0400)]
Ensure game is shutdown if server throws exception (#9742)

4 years agoSimplify how parseElement splits element string (#9726)
Pierre-Yves Rollo [Sat, 25 Apr 2020 05:48:04 +0000 (07:48 +0200)]
Simplify how parseElement splits element string (#9726)

4 years agoAdd server side translations capability (#9733)
EvidenceB Kidscode [Sat, 25 Apr 2020 05:20:00 +0000 (07:20 +0200)]
Add server side translations capability (#9733)

* Add server side translations capability

4 years agoAdd LevelDB auth database. (#9476)
luk3yx [Thu, 23 Apr 2020 11:07:19 +0000 (23:07 +1200)]
Add LevelDB auth database. (#9476)

* Add leveldb auth database.

4 years agoCamera: Fix shootline line offsets II (#9730)
SmallJoker [Thu, 23 Apr 2020 10:16:36 +0000 (12:16 +0200)]
Camera: Fix shootline line offsets II (#9730)

4 years agoAndroid: add OpenGL ES 2 support (#9715)
Maksim [Wed, 22 Apr 2020 18:03:46 +0000 (20:03 +0200)]
Android: add OpenGL ES 2 support (#9715)

.. and bump gradle to 3.6.3

4 years agominetest.serialize: Reversible number serialization (#9722)
HybridDog [Wed, 22 Apr 2020 14:43:48 +0000 (16:43 +0200)]
minetest.serialize: Reversible number serialization (#9722)

* minetest.serialize: Reversible number to string conversion

The %a format is not supported in Lua 5.1.
This commit also adds two tests for number serialization.

4 years agoFix configuration caching in log_deprecated (#9697)
HybridDog [Tue, 21 Apr 2020 22:07:12 +0000 (00:07 +0200)]
Fix configuration caching in log_deprecated (#9697)

* Fix configuration caching in log_deprecated

The configured variable was never set to true.
I've set the variables to thread_local because the configuration should be reloaded after reentering the world from mainmenu.

4 years agoImprove protocol-level receiving code (#9617)
sfan5 [Mon, 20 Apr 2020 21:22:00 +0000 (23:22 +0200)]
Improve protocol-level receiving code (#9617)

4 years agoFix build badge since switching to github actions
Loïc Blot [Mon, 20 Apr 2020 18:22:23 +0000 (20:22 +0200)]
Fix build badge since switching to github actions

4 years agoReplace travis with github actions (#9641)
Loïc Blot [Mon, 20 Apr 2020 18:18:40 +0000 (20:18 +0200)]
Replace travis with github actions (#9641)

* Move outside of travis to Github actions

This will permit to have better integrated CI workflow than the previous
travis one.

4 years agoFix alias handling of get_content_id (#9712)
sfan5 [Sun, 19 Apr 2020 17:07:54 +0000 (19:07 +0200)]
Fix alias handling of get_content_id (#9712)

fixes #9632

4 years agoReuse object_shader for "wielditem" and "item" entity drawtypes (#9537)
Danila Shutov [Sun, 19 Apr 2020 16:47:13 +0000 (19:47 +0300)]
Reuse object_shader for "wielditem" and "item" entity drawtypes (#9537)

4 years agoShaders: Complete 478e753. OpenGL 4.3 compatiblity
SmallJoker [Sat, 18 Apr 2020 16:36:47 +0000 (18:36 +0200)]
Shaders: Complete 478e753. OpenGL 4.3 compatiblity

4 years agoscript: Move SAO usability check so that it covers all functions (#9698)
sfan5 [Sat, 18 Apr 2020 15:21:58 +0000 (17:21 +0200)]
script: Move SAO usability check so that it covers all functions (#9698)

see also 91eef646a59575bd9ae792e257bb6ad12fafc0b1

4 years agoFormspec: allow lists to change size and existence while the formspec is open (#9700)
DS [Sat, 18 Apr 2020 15:21:10 +0000 (17:21 +0200)]
Formspec: allow lists to change size and existence while the formspec is open (#9700)

Fixes #9640.

4 years agoApply a scrollbar's default value to scroll containers (#9699)
DS [Sat, 18 Apr 2020 15:20:20 +0000 (17:20 +0200)]
Apply a scrollbar's default value to scroll containers (#9699)

Fixes #9691.

4 years agoserverpackethandler: Reduce pkt->getPeerId() invocations and more (#9689)
HybridDog [Sat, 18 Apr 2020 15:19:53 +0000 (17:19 +0200)]
serverpackethandler: Reduce pkt->getPeerId() invocations and more (#9689)

4 years agoAndroid: fix handling non-latin characters on older Android devices (#9309)
Maksim [Fri, 17 Apr 2020 21:46:30 +0000 (23:46 +0200)]
Android: fix handling non-latin characters on older Android devices (#9309)

4 years agoDocument which noise APIs add world seed to noiseparams seed (#9693)
Paramat [Fri, 17 Apr 2020 08:24:51 +0000 (09:24 +0100)]
Document which noise APIs add world seed to noiseparams seed (#9693)

4 years agoRename "subgame" to "game" in 2 error messages (#9680)
Wuzzy [Fri, 17 Apr 2020 06:10:28 +0000 (08:10 +0200)]
Rename "subgame" to "game" in 2 error messages (#9680)

4 years agoAdd an option to disable unittest build, & disable them on Docker build (#9677)
Loïc Blot [Thu, 16 Apr 2020 18:43:49 +0000 (20:43 +0200)]
Add an option to disable unittest build, & disable them on Docker build (#9677)

4 years agoDrop -Wabi useless flag (#9676)
Loïc Blot [Thu, 16 Apr 2020 17:21:47 +0000 (19:21 +0200)]
Drop -Wabi useless flag (#9676)

4 years agoAndroid: fix formspec input for AArch64 devices (#9685)
Maksim [Thu, 16 Apr 2020 17:19:47 +0000 (19:19 +0200)]
Android: fix formspec input for AArch64 devices (#9685)

4 years agoCamera: Fix shooting line offsets (#9681)
SmallJoker [Thu, 16 Apr 2020 16:32:07 +0000 (18:32 +0200)]
Camera: Fix shooting line offsets (#9681)

Removes duplicated offset calculations from Game and use whatever the Camera class returns.
This keeps the eye position nicely in sync, and gets rid of duplicated code.

4 years agoSwap out -ffast-math for a safe subset of optimization flags (#9682)
sfan5 [Thu, 16 Apr 2020 08:23:48 +0000 (10:23 +0200)]
Swap out -ffast-math for a safe subset of optimization flags (#9682)

It caused more trouble than its worth.
fixes #3943, fixes #5330