Commit Graph

223 Commits

Author SHA1 Message Date
sfan5
9660ae288a
Update library versions in buildbot () 2021-04-27 11:50:40 +02:00
sfan5
a24899bf2d
Look for PostgreSQL library properly and fix CI 2021-04-20 19:50:34 +02:00
sfan5
4d0fef8ae8
Buildbot changes to allow out-of-tree builds ()
* 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
sfan5
6a26d6d15a Adjust build config for Irrlicht changes (again) 2021-03-26 20:58:45 +01:00
sfan5
bb1c4badfb Clean up cmake DLL installation and other minor things 2021-03-12 20:55:51 +01:00
sfan5
75eb28b959 CI: update configurations for Irrlicht fork 2021-03-09 21:53:17 +01:00
sfan5
dd228fd92e buildbot: Drop i586-mingw32msvc, add i686-w64-mingw32-posix detection 2021-03-06 23:01:50 +01:00
Wuzzy
cafad6ac03 Translate builtin ()
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
rubenwardy
ccdaf5de54 Disable clang-format, clean up scripts 2021-03-01 12:12:52 +01:00
sfan5
74a93546ea Add script that sorts contributions for use in credits 2021-02-23 19:40:44 +01:00
sfan5
9388c23e86 Handle UTF-16 correctly in Wireshark dissector 2021-02-02 20:46:08 +01:00
Zughy
44a9510c81
Consistently use "health points" () 2021-01-27 18:42:02 +00:00
rubenwardy
6693a4b30e
Fix Android support in bump_version.sh () 2021-01-20 20:37:24 +00:00
sfan5
2bdf4955c8 CI: fix build 2020-12-23 22:27:35 +01:00
SmallJoker
3356da0151
Add model[] formspec element ()
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
Hugues Ross
93ecc589bc
Implement override.txt support for special tiles ()
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
sfan5
b4c25872f1 Make util/bump_version.sh work again 2020-07-08 23:11:41 +02:00
rubenwardy
3014e8b33b Release test build to Android beta program 2020-06-25 15:40:37 +01:00
Wuzzy
083b285f43
Rename “Minimal development test” to “Development Test” () 2020-05-26 00:17:52 +02:00
sfan5
61d93988d8
ci: Update Github Actions workflows () 2020-05-02 12:52:51 +02:00
Loic Blot
56bababcdf Add MetricsBackend with prometheus counter support 2020-04-29 07:48:08 +02:00
Loïc Blot
27a485a472
Replace travis with github actions ()
* 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
sfan5
032d90b9f6
Update wireshark dissector () 2020-04-14 21:22:19 +02:00
Hugues Ross
5cf6318117
Refactor texture overrides and add new features ()
* 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
Loic Blot
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
Loic Blot
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
Loïc Blot
f648fb76ae
Drop genericobject.{cpp,h} ()
* 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
sfan5
d6ad587ab8 Travis: Build clang jobs with LuaJIT enabled for better coverage 2020-04-08 21:21:53 +02:00
sfan5
fe21aa1f4a Utility script to help with Weblate commit import 2020-04-03 23:26:07 +02:00
sfan5
c6d6358b92 Travis: Correct Linux dependencies so that PostgreSQL is found by CMake 2020-03-28 13:04:15 +01:00
Wuzzy
625b100593
Add comments for translators ()
* Add translator comments for "special" strings

* Add translator comments for some "tricky" strings
2020-03-20 09:41:07 +01:00
sfan5
8546d6089a Update clang-tidy configuration and scripts 2020-03-12 00:10:09 +01:00
sfan5
7908b20dd9 buildbot: Update to newer MinGW gcc 9.2 2020-03-12 00:10:09 +01:00
sfan5
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
Hugues Ross
7ce21788f8
Add animated_image[] formspec element () 2020-02-15 15:33:18 +00:00
sfan5
2d5e0ce5ba Update some libraries for buildbot 2020-02-12 22:25:36 +01:00
DS
1116918dbb
Formspec: Create a new class for inventorylists () 2020-02-01 13:55:13 +01:00
Hugues Ross
60544ac56f Add 9-slice background support to button formspec elements () 2020-01-26 19:35:26 +00:00
Hugues Ross
9284313d17 Refactor to centralize GUIButton styling/rendering code () 2019-12-09 20:06:51 +00:00
sfan5
02111e4961 Fix clang-tidy and lint travis checks 2019-11-11 14:06:48 +01:00
Paramat
dfd5f7cb10
Silence invalid Clang Format report () 2019-11-09 03:01:22 +00:00
Pierre-Yves Rollo
72416a6a1f Formspec: add hypertext element 2019-11-03 11:45:33 +01:00
ANAND
3799ffd9d5 Move Quicktune code to util/ () 2019-09-29 13:41:13 +02:00
sfan5
ac856b20bf Update curl dependency in buildbot 2019-08-05 22:48:13 +02:00
rubenwardy
d1a1c5cbf0 Add custom colorable GUIButton implementation 2019-08-03 19:36:30 +01:00
Paramat
245e628d40
Silence invalid clang format warnings in guiScrollBar.cpp () 2019-07-31 01:30:17 +01:00
Pierre-Yves Rollo
39c54e13c3 Improve buildbot script
PR created under the employment of EvidenceBKidscode

* Variables to set git repositories urls (allows to build from another repo)
* Variables to set git branch to build from (allows to build from non-master branch)
* Variables to change built name
* Make -j uses the proper number of processors (autodetect)
* Changed toolchain from win32 to adpat it to non-debian distros
2019-06-21 01:46:00 +01:00
Loïc Blot
a6a04c4b5b Update our tooling (Clang 5 -> 7, GCC 7 -> 8)
This change permits to use up-to-date compilers, clang-tidy and
clang-format

It also refactor the tidy/format step to drop the binary selection from
scripts and perform it directly in travis
2019-03-14 12:30:13 +01:00
sfan5
557afdc429 Update a few dependency versions for buildbot () 2019-03-07 08:17:01 +01:00
Loïc Blot
111f1dc9c5 Revert "Revert CSM particles commit to fix particle spawner bug for 5.0.0 ()"
This reverts commit 01cd63bd3bca0192dab2834faf414b022706a77e.
2019-02-26 08:53:53 +01:00