oweals/minetest.git
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

4 years agoOptimize get_objects_inside_radius calls (#9671)
Loïc Blot [Thu, 16 Apr 2020 06:25:48 +0000 (08:25 +0200)]
Optimize get_objects_inside_radius calls (#9671)

* Optimize getObjectsInsideRadius calls

our previous implementation calls the ActiveObjectMgr to return ids and then lookup those ids in the same map and test each object
Instead now we call the global map to return the pointers directly and we ask filtering when building the list using lamba.

This drop double looping over ranges of active objects (and then filtered one) and drop x lookups on the map regarding the first call results

4 years agoAndroid: add Android Studio support, completely redone java part (#9066)
Maksim [Wed, 15 Apr 2020 14:27:40 +0000 (16:27 +0200)]
Android: add Android Studio support, completely redone java part (#9066)

4 years agoFix parsing JSON with large integers (#9674)
sfan5 [Wed, 15 Apr 2020 06:01:28 +0000 (08:01 +0200)]
Fix parsing JSON with large integers (#9674)

4 years agoVerify database connection on interval (#9665)
Loïc Blot [Wed, 15 Apr 2020 06:01:11 +0000 (08:01 +0200)]
Verify database connection on interval (#9665)

4 years agoAdd all src folders to doxygen (#9603)
DS [Tue, 14 Apr 2020 19:22:49 +0000 (21:22 +0200)]
Add all src folders to doxygen (#9603)

4 years agoUpdate wireshark dissector (#9621)
sfan5 [Tue, 14 Apr 2020 19:22:19 +0000 (21:22 +0200)]
Update wireshark dissector (#9621)

4 years agoscriptapi: Some small optimizations to value pushing (#9669)
sfan5 [Tue, 14 Apr 2020 18:44:18 +0000 (20:44 +0200)]
scriptapi: Some small optimizations to value pushing (#9669)

4 years agoPostgreSQL: Fix listAllLoadableBlocks returning the same block
SmallJoker [Tue, 14 Apr 2020 18:30:02 +0000 (20:30 +0200)]
PostgreSQL: Fix listAllLoadableBlocks returning the same block

Suggested change from https://github.com/minetest/minetest/issues/9670#issuecomment-613563738

4 years agoRefactor texture overrides and add new features (#9600)
Hugues Ross [Tue, 14 Apr 2020 18:41:29 +0000 (14:41 -0400)]
Refactor texture overrides and add new features (#9600)

* Refactor texture overrides, and add new features:

- Texture overrides can support multiple targets in one line
- Texture override files can have comment lines
- Item images/wield images can be overridden

* Formatting changes

* Address soime feedback

- Pass vectors by const reference
- Log syntax errors as warnings
- Remove 'C' prefix from TextureOverrideSource

* Simplify override target checks with an inline helper function

* make linter happy

* Apply feedback suggestions

Co-Authored-By: rubenwardy <rw@rubenwardy.com>
* Remove remaining != 0 checks

* Update copyright notice

Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: rubenwardy <rw@rubenwardy.com>
4 years agoRemove sound menu and show proper msgs if sound is off (#9069)
Wuzzy [Mon, 13 Apr 2020 18:26:54 +0000 (20:26 +0200)]
Remove sound menu and show proper msgs if sound is off (#9069)

4 years agoAdd default stack size setting (#8873)
SmallJoker [Mon, 13 Apr 2020 08:53:10 +0000 (10:53 +0200)]
Add default stack size setting (#8873)

New setting "default_stack_max" to alter the default stack sizes of all items when desired.

Co-authored-by: Pascal Abresch <nep@packageloss.eu>
4 years agoAdd scroll_container formspec element (redo) (#9101)
DS [Mon, 13 Apr 2020 08:50:07 +0000 (10:50 +0200)]
Add scroll_container formspec element (redo) (#9101)

New formspec elements:

 - `scroll_container[<X>,<Y>;<W>,<H>;<scrollbar name>;<orientation>;<scroll factor>]`
 - `scroll_container_end[]`

Other elements can be embedded in this element. Scrollbar must be placed manually.

4 years agoGUIFormSpecMenu: Add basic element highlighing debug feature (#9423)
SmallJoker [Sun, 12 Apr 2020 10:02:32 +0000 (12:02 +0200)]
GUIFormSpecMenu: Add basic element highlighing debug feature (#9423)

Activated using F5

4 years agoDockerfile: use alpine to reduce size (#9226)
ㄗㄠˋ ㄑㄧˊ [Sun, 12 Apr 2020 09:00:56 +0000 (17:00 +0800)]
Dockerfile: use alpine to reduce size (#9226)

* Dockerfile: use alpine to reduce size

* Fix the UID & GID + alpine version + rights

* Reduce the junk when we copy, only copy needed files

* Build in the right cmake place & permit customize mtg version

* Latest build fixes

Co-authored-by: Loïc Blot <nerzhul@users.noreply.github.com>
4 years agoUpdate README copyright to current year (#9566)
Testman [Sat, 11 Apr 2020 23:53:23 +0000 (01:53 +0200)]
Update README copyright to current year (#9566)

4 years agoPlay 'player_jump' when player jumps (#9373)
Wuzzy [Sat, 11 Apr 2020 23:50:40 +0000 (01:50 +0200)]
Play 'player_jump' when player jumps (#9373)

4 years agoFix delayed error message in start game tab
rubenwardy [Sat, 11 Apr 2020 23:05:55 +0000 (00:05 +0100)]
Fix delayed error message in start game tab

4 years agoImprove waypoints and add image variant (#9480)
Lars Müller [Sat, 11 Apr 2020 21:09:46 +0000 (23:09 +0200)]
Improve waypoints and add image variant (#9480)

4 years agoFormspecs: Add state-selection to style elements (#9378)
Hugues Ross [Sat, 11 Apr 2020 20:39:30 +0000 (16:39 -0400)]
Formspecs: Add state-selection to style elements (#9378)

4 years agoFix broken config check in 659245a
sfan5 [Sat, 11 Apr 2020 19:29:57 +0000 (21:29 +0200)]
Fix broken config check in 659245a

4 years agoUpdate API site build (#9622)
Paul Ouellette [Sat, 11 Apr 2020 18:38:39 +0000 (14:38 -0400)]
Update API site build (#9622)

4 years agoImplement DPI scaling for Windows (#9586)
sfan5 [Sat, 11 Apr 2020 18:03:59 +0000 (20:03 +0200)]
Implement DPI scaling for Windows (#9586)

4 years agoReduce ServerEnvironment propagation (#9642)
Loïc Blot [Sat, 11 Apr 2020 17:59:43 +0000 (19:59 +0200)]
Reduce ServerEnvironment propagation (#9642)

ServerEnvironment is a huge class with many accessors. In various places it's not needed

Remove it to reduce the ServerEnvironment view.

Idea here is to reduce size of some of our objects to transport lightweight managers and permit easier testing

Pathfinder is now tied to a generic map, not a ServerMap, it can be
ported to client

4 years agoDrop content_sao.{cpp,h}
Loic Blot [Sat, 11 Apr 2020 09:22:15 +0000 (11:22 +0200)]
Drop content_sao.{cpp,h}

Move LuaEntitySAO to a new dedicated file
Drop TestSAO (useless object)
Drop the old static startup initialized SAO factory, which was pretty useless.
This factory was using a std::map for 2 elements, now just use a simple condition owned by ServerEnvironment, which will be lightweight, that will also drop a one time useful test on each LuaEntitySAO creation. This should reduce server load on massive SAO creation

4 years agoMove PlayerSAO to dedicated files
Loic Blot [Sat, 11 Apr 2020 07:59:09 +0000 (09:59 +0200)]
Move PlayerSAO to dedicated files

4 years agopass clang-format
Loic Blot [Sat, 11 Apr 2020 07:35:27 +0000 (09:35 +0200)]
pass clang-format

4 years agoAdd vscode cmake plugin files to gitignore
Loic Blot [Fri, 10 Apr 2020 19:27:13 +0000 (21:27 +0200)]
Add vscode cmake plugin files to gitignore

4 years agoMove serveractiveobject & unitsao
Loic Blot [Fri, 10 Apr 2020 19:25:42 +0000 (21:25 +0200)]
Move serveractiveobject & unitsao

Move serverobject.{cpp,h} to server/serveractiveobject.{cpp,h}
Move UnitSAO class to dedicated files

4 years agoFormspec: No spec ID for static text labels
SmallJoker [Sat, 11 Apr 2020 13:31:02 +0000 (15:31 +0200)]
Formspec: No spec ID for static text labels

Fixes #9634

4 years agoUse TILE_MATERIAL_ALPHA for use_texture_alpha entity flag (#9639)
Alex [Sat, 11 Apr 2020 11:45:14 +0000 (04:45 -0700)]
Use TILE_MATERIAL_ALPHA for use_texture_alpha entity flag (#9639)

Fixes #9637.

4 years agoVarious features and fixes
sfan5 [Fri, 10 Apr 2020 22:09:11 +0000 (00:09 +0200)]
Various features and fixes

4 years agoImplement minetest.sound_fade()
sfan5 [Fri, 10 Apr 2020 20:53:08 +0000 (22:53 +0200)]
Implement minetest.sound_fade()

4 years agoscriptapi: Sort out ServerEnvironment / Environment distinction properly
sfan5 [Fri, 10 Apr 2020 20:06:24 +0000 (22:06 +0200)]
scriptapi: Sort out ServerEnvironment / Environment distinction properly

The API implementation is shared between CSM and SSM.
Functions should retrieve a plain env when they do not
need any server-specific functions.

4 years agoA few initialization cleanups
sfan5 [Fri, 10 Apr 2020 19:45:07 +0000 (21:45 +0200)]
A few initialization cleanups

4 years agoPrint error if invalid mapgen alias was detected (#9579)
Wuzzy [Fri, 10 Apr 2020 18:36:16 +0000 (20:36 +0200)]
Print error if invalid mapgen alias was detected (#9579)

4 years agoMove clientsimpleobject.h to client folder (#9630)
Loïc Blot [Fri, 10 Apr 2020 18:10:51 +0000 (20:10 +0200)]
Move clientsimpleobject.h to client folder (#9630)

This file is only called from client folder, retrieve its friends :)

4 years agoDrop genericobject.{cpp,h} (#9629)
Loïc Blot [Fri, 10 Apr 2020 17:49:20 +0000 (19:49 +0200)]
Drop genericobject.{cpp,h} (#9629)

* Drop genericobject.{cpp,h}

This file is not for generic object but for ActiveObject message passing.
Put ownership of the various commands to the right objects and cleanup the related code.

* Protect ServerActiveObject::m_messages_out

* typo fix

4 years agoInstall the `locale` directory in a standard location without subfolder (#9618)
Hugo Locurcio [Fri, 10 Apr 2020 14:08:48 +0000 (16:08 +0200)]
Install the `locale` directory in a standard location without subfolder (#9618)

Other established FOSS projects don't seem to be doing this.

4 years agoAutomated build changes (#9619)
Loïc Blot [Thu, 9 Apr 2020 18:46:06 +0000 (20:46 +0200)]
Automated build changes (#9619)

* Automated build changes
* drop a useless ubuntu non lts version
* update gitlab ci syntax to modern one
* add debian 10 step on the gitlab ci pipeline
* switch docker build to Debian 10
* add .gradle folder to gitignore

4 years agoCollision various fixes (#9343)
TheTermos [Wed, 8 Apr 2020 20:45:05 +0000 (22:45 +0200)]
Collision various fixes (#9343)