1
0
mirror of https://github.com/minetest/minetest.git synced 2025-06-30 23:20:22 +02:00
Commit Graph

284 Commits

Author SHA1 Message Date
31d2b9edcd Don't look for zlib and zstd manually on Windows 2021-09-01 22:20:38 +02:00
d1624a5521 Switch MapBlock compression to zstd (#10788)
* Add zstd support.
* Rearrange serialization order
* Compress entire mapblock

Co-authored-by: sfan5 <sfan5@live.de>
2021-08-31 17:32:31 -07:00
beac4a2c98 CI: Bump IrrlichtMt to 1.9.0mt3 2021-08-31 23:57:39 +02:00
24b66dede0 Add fwgettext util function 2021-08-19 20:13:25 +02:00
DS
1ab29f1716 Fix GUIEditBoxWithScrollBar using a smaller steps than intlGUIEditBox (#11519) 2021-08-08 18:59:45 +02:00
2866918f32 buildbot: Readd missing IrrlichtMt DLLs 2021-07-27 20:37:51 +02:00
cf136914cf Take advantage of IrrlichtMt CMake target (#11287)
With the CMake changes to IrrlichtMt, it's now possible to use a target for IrrlichtMt.
Besides greatly improving the ease of setting up IrrlichtMt for users building the client, it removes the need for Minetest's CMake to include transitive dependencies such as image libraries, cleaning it up a tiny bit. The PR works by finding the IrrlichtMt package and linking to the target it provides. If the package isn't found and it isn't building the client, it will still fall back to using just the headers of old Irrlicht or IrrlichtMt.
2021-07-27 19:11:27 +02:00
cec0dfcbbd Buildbot: Use posix on Win64 builds if available (#11355)
Use posix mingw-w64 toolchain on Win64 builds where applicable, avoids
many build errors when using buildwin64.sh to build 64 bit builds on
Ubuntu based Linux distributions
2021-06-22 19:59:09 +02:00
a7143c2a8c Move build/android directory to root of project (#11283) 2021-06-21 20:51:42 +01:00
4152227f17 CI: add workaround to fix clang builds
see https://github.com/actions/virtual-environments/issues/3376
2021-05-17 17:12:37 +02:00
ba40b39500 Add basic client-server test to CI 2021-05-05 22:49:44 +02:00
9660ae288a Update library versions in buildbot (#11229) 2021-04-27 11:50:40 +02:00
a24899bf2d Look for PostgreSQL library properly and fix CI 2021-04-20 19:50:34 +02:00
4d0fef8ae8 Buildbot changes to allow out-of-tree builds (#11180)
* Do proper out-of-tree builds with buildbot
* Don't write to bin/ for cross builds
     * This allows safely building multiple builds from the same source dir, e.g. with the buildbot.
* Disable Gettext (by default) and Freetype (entirely) for server builds
2021-04-11 17:10:06 +02:00
6a26d6d15a Adjust build config for Irrlicht changes (again) 2021-03-26 20:58:45 +01:00
bb1c4badfb Clean up cmake DLL installation and other minor things 2021-03-12 20:55:51 +01:00
75eb28b959 CI: update configurations for Irrlicht fork 2021-03-09 21:53:17 +01:00
dd228fd92e buildbot: Drop i586-mingw32msvc, add i686-w64-mingw32-posix detection 2021-03-06 23:01:50 +01:00
cafad6ac03 Translate builtin (#10693)
This PR is the second attempt to translate builtin.
Server-sent translation files can be added to `builtin/locale/`, whereas client-side translations depend on gettext.
2021-03-05 16:29:48 +01:00
ccdaf5de54 Disable clang-format, clean up scripts 2021-03-01 12:12:52 +01:00
74a93546ea Add script that sorts contributions for use in credits 2021-02-23 19:40:44 +01:00
9388c23e86 Handle UTF-16 correctly in Wireshark dissector 2021-02-02 20:46:08 +01:00
44a9510c81 Consistently use "health points" (#10868) 2021-01-27 18:42:02 +00:00
6693a4b30e Fix Android support in bump_version.sh (#10836) 2021-01-20 20:37:24 +00:00
2bdf4955c8 CI: fix build 2020-12-23 22:27:35 +01:00
3356da0151 Add model[] formspec element (#10320)
Formspec element to display models, written by @kilbith, rebased and tweaked.

Co-authored-by: Jean-Patrick Guerrero <jeanpatrick.guerrero@gmail.com>
Co-authored-by: sfan5 <sfan5@live.de>
2020-11-04 21:46:18 +01:00
93ecc589bc Implement override.txt support for special tiles (#10140)
Add override targets for all special_tiles entries in node definitions, allowing texture packs to replace these textures. This makes overrides work properly with a variety of drawtypes.

The targets are named special1 through special6, covering the the current length of the special_tiles array.
2020-08-04 20:12:47 +02:00
b4c25872f1 Make util/bump_version.sh work again 2020-07-08 23:11:41 +02:00
3014e8b33b Release test build to Android beta program 2020-06-25 15:40:37 +01:00
083b285f43 Rename “Minimal development test” to “Development Test” (#9928) 2020-05-26 00:17:52 +02:00
61d93988d8 ci: Update Github Actions workflows (#9774) 2020-05-02 12:52:51 +02:00
56bababcdf Add MetricsBackend with prometheus counter support 2020-04-29 07:48:08 +02:00
27a485a472 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.
2020-04-20 20:18:40 +02:00
032d90b9f6 Update wireshark dissector (#9621) 2020-04-14 21:22:19 +02:00
5cf6318117 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>
2020-04-14 20:41:29 +02:00
5146086a64 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
2020-04-11 16:07:17 +02:00
6d43736172 Move serveractiveobject & unitsao
Move serverobject.{cpp,h} to server/serveractiveobject.{cpp,h}
Move UnitSAO class to dedicated files
2020-04-11 16:07:17 +02:00
f648fb76ae 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
2020-04-10 19:49:20 +02:00
d6ad587ab8 Travis: Build clang jobs with LuaJIT enabled for better coverage 2020-04-08 21:21:53 +02:00
fe21aa1f4a Utility script to help with Weblate commit import 2020-04-03 23:26:07 +02:00
c6d6358b92 Travis: Correct Linux dependencies so that PostgreSQL is found by CMake 2020-03-28 13:04:15 +01:00
625b100593 Add comments for translators (#9510)
* Add translator comments for "special" strings

* Add translator comments for some "tricky" strings
2020-03-20 09:41:07 +01:00
8546d6089a Update clang-tidy configuration and scripts 2020-03-12 00:10:09 +01:00
7908b20dd9 buildbot: Update to newer MinGW gcc 9.2 2020-03-12 00:10:09 +01:00
245876cddb Update travis build infrastructure
Ubuntu 14.04 -> 18.04
clang-format, clang-tidy 7 -> 8
clang 3.6 -> 3.9
clang 7 -> 9
2020-03-12 00:10:09 +01:00
7ce21788f8 Add animated_image[] formspec element (#9258) 2020-02-15 15:33:18 +00:00
2d5e0ce5ba Update some libraries for buildbot 2020-02-12 22:25:36 +01:00
DS
1116918dbb Formspec: Create a new class for inventorylists (#9287) 2020-02-01 13:55:13 +01:00
60544ac56f Add 9-slice background support to button formspec elements (#9290) 2020-01-26 19:35:26 +00:00
9284313d17 Refactor to centralize GUIButton styling/rendering code (#9090) 2019-12-09 20:06:51 +00:00