heinrich5991
11304661db
Put name ban stuff into a separate file
...
Fix a bug when overlong names could be used to circumvent name bans. Add
tests for name bans.
2018-03-14 02:35:31 +01:00
heinrich5991
a71cc2a55b
Execute git_revision.py
in the source directory
...
Previously, if using an out-of-source build directory, git would report
an error and no revision string would be added to the final executable.
2018-03-10 00:58:10 +01:00
heinrich5991
31a3e8d4c0
Add possibility to ban players by name
...
This uses the Unicode confusable data together with judging how close
two strings are by using the Levenshtein distance.
Adds the commands `name_ban`, `name_unban` and `name_bans`. Kicks
players who join using a banned name and doesn't allow ingame players to
change their names to the banned ones.
2018-03-09 20:30:27 +01:00
heinrich5991
d118fbd5e0
Fix build with -DCLIENT=OFF
on macOS
2018-03-06 19:25:59 +01:00
heinrich5991
458804c059
Make game dependency on generated protocol.h
explicit
2018-03-02 03:42:35 +01:00
heinrich5991
1387ee9a3a
Regenerate version file on git changes
...
Previously, this file had to be manually deleted if you wanted to have a
new version compiled in.
2018-03-01 16:50:29 +01:00
heinrich5991
1578e272a3
Ignore old generated files if still present
...
Our build system used to put generated files into `src/game/generated`,
now it's using `${PROJECT_BUILD_DIR}/src/game/generated`. Prefer the
ones in `${PROJECT_BUILD_DIR}/src/game/generated`.
2018-02-20 17:11:18 +01:00
heinrich5991
ac7e92df5e
Rerun wavpack version detection when the library changes
2018-02-20 17:10:52 +01:00
def
491ccc85e1
Revert "Fix system wavpack ( fixes #1041 )"
...
This reverts commit 295b8a663a
.
2018-02-18 15:35:20 +01:00
def
295b8a663a
Fix system wavpack ( fixes #1041 )
2018-02-18 09:36:35 +01:00
heinrich5991
73c03544b4
Support older wavpack versions
2018-02-17 01:35:07 +01:00
heinrich5991
99fe1d7bcf
Revert "Fix bundled wavpack when system wavpack is available"
...
This reverts commit 0d9265b1fa
.
2018-02-17 01:31:40 +01:00
def
0d9265b1fa
Fix bundled wavpack when system wavpack is available
2018-02-15 19:30:40 +01:00
heinrich5991
38b96791f6
Try to find libwebsockets
on the host system
2018-02-14 12:55:37 +01:00
heinrich5991
94818ec1f0
Try to find external GLEW, pnglite and Wavpack
...
Allow for newer versions of Wavpack, fixes #1023 .
Fixes #1016 .
2018-02-12 23:29:45 +01:00
heinrich5991
22164d5c45
Squelch warnings in bundled ZLIB dependency
2018-02-12 23:29:45 +01:00
heinrich5991
9e9b57ec62
Move generated files to the CMake build directory
2018-02-12 23:29:45 +01:00
Learath2
050a34295f
Remove make_release, scrub references to lua files
2018-01-29 13:37:26 +01:00
Learath2
b26eeb235d
Scrub more references to bam
2018-01-28 22:47:03 +01:00
bors[bot]
f48a2a395b
Merge #947
...
947: Add support for extra chunks in teehistorian r=Learath2 a=heinrich5991
This allows to add rarely-used chunks without increasing the file format
version.
2018-01-27 21:09:43 +00:00
def
151da9af97
Remove Emojis
2018-01-25 20:03:18 +01:00
heinrich5991
9712a4494b
CMAKE_CXX_FLAGS
is space-separated, not semicolon-separated
2018-01-22 19:48:17 +01:00
heinrich5991
ccad91a11d
Check for -std=gnu++11
in the C++, not C, compiler
2018-01-22 19:32:30 +01:00
heinrich5991
6b7921677c
CMakeLists.txt: Check for each of the flags before adding them
2018-01-22 19:10:57 +01:00
def
45412a9a05
-ffloat-store to fix win32 server floats ( fixes #989 )
2018-01-15 19:34:54 +01:00
def
b3ad3f2d27
Forgot .exe ending for Windows
2018-01-14 16:11:09 +01:00
def
4aeb0f9a8e
Strip binaries, even in package_*
2018-01-14 15:57:02 +01:00
def
636fdeba70
cpack should get shorter version name as well
2018-01-14 15:31:31 +01:00
def
325371331d
Version 11.0
2018-01-14 15:04:18 +01:00
def
7726540de1
Not sure why c++11 is not respected when compiling for mac
2018-01-14 14:36:25 +01:00
def
44ffaffb36
Tell cpack to strip files
2018-01-14 08:42:15 +01:00
heinrich5991
22080c840f
Move teehistorian UUIDs into engine
2018-01-11 16:01:13 +01:00
heinrich5991
6c378b972b
Add support for extra chunks in teehistorian
...
This allows to add rarely-used chunks without increasing the file format
version.
2018-01-11 15:59:53 +01:00
bors[bot]
e0316acb23
Merge #978
...
978: Disable warnings for GTest r=Learath2 a=heinrich5991
Warnings for GTest broke the build because GTest turns warnings into
errors, which is undesirable if GTest is just used as a dependency.
See also https://github.com/google/googletest/issues/1373 .
2018-01-10 16:50:31 +00:00
heinrich5991
00154bd280
Disable warnings for GTest
...
Warnings for GTest broke the build because GTest turns warnings into
errors, which is undesirable if GTest is just used as a dependency.
See also https://github.com/google/googletest/issues/1373 .
2018-01-05 15:59:06 +01:00
heinrich5991
b3932c7842
Add interface headers to CMakeLists.txt
2018-01-02 17:18:17 +01:00
heinrich5991
eb31a52b83
Add very basic test for Unix sockets
2017-12-20 16:56:44 +01:00
bors[bot]
a2f010c1fe
Merge #941
...
941: Add cross-compiled DMG archives r=Learath2 a=heinrich5991
Currently they only contain the client and the archives are a lot larger
than the current release artifacts.
2017-12-08 14:20:49 +00:00
heinrich5991
f50260b31d
Fail gracefully when trying to automatically download GTest
2017-11-28 01:22:39 +01:00
bors[bot]
bad105c5e4
Merge #953
...
953: Overhauled job system r=Learath2 a=heinrich5991
The engine now takes `std::shared_ptr<IJob>`, this will ensure the
appropriate lifetime of the given parameters, it also allows for proper
destruction. Remove the now obsolete `IFetcher` interface and `CFetcher`
class.
Also adds some locks to `CUpdater`, previously it didn't have any locks
at all.
2017-11-27 23:34:54 +00:00
heinrich5991
fd36b8c8c8
Remove unused header file src/engine/shared/storage.h
2017-11-27 00:58:30 +01:00
heinrich5991
23734deb14
Call net_init
in tests
2017-11-24 10:51:46 +01:00
heinrich5991
3f43624d21
Add a couple of tests for CJobPool
2017-11-24 10:33:42 +01:00
heinrich5991
a60320b87a
Activate C++11 in old CMake as well
...
Old CMake doesn't understand `CMAKE_CXX_STANDARD` and similar, add the
parameter directly.
2017-11-23 03:10:25 +01:00
heinrich5991
4c63e26bb7
package_all
now actually produces all packages
2017-11-17 22:32:56 +01:00
heinrich5991
4b45f857c7
DMG: Put version into Info.plist
2017-11-17 22:32:44 +01:00
heinrich5991
373a96a11f
Don't install the portable
component for make install
2017-11-17 17:43:52 +01:00
heinrich5991
44c0f872fe
Replace cmake
by ${CMAKE_COMMAND}
in custom commands
...
This allows execution even when `cmake` isn't in the current `$PATH` or
`%PATH%` variable.
2017-11-17 15:55:22 +01:00
heinrich5991
dd5c26f81c
Build the server launcher on macOS, package it
2017-11-17 14:37:29 +01:00
heinrich5991
194e4cffe7
Also package the server into DMGs
2017-11-16 10:28:55 +01:00