Commit graph

9642 commits

Author SHA1 Message Date
heinrich5991 96069f42a9 Add a script to generate a stub libcurl library
Linking to this library will make DDNet compatible with all distros that
ship libcurl.so.4 with arbitrary version data attached. Distros
sometimes add versioning information to the symbols exported by curl
that artificially (because they're compatible with each other) limit
where our releases can be executed if dynamically linked.

This should reduce release size a bit and let's us take advantage of
automatically updated libraries.
2020-01-05 17:58:52 +01:00
bors[bot] 77957c00b9
Merge #2028
2028: Simplify anti stuck code more r=def- a=fokkonaut



Co-authored-by: fokkonaut <35420825+fokkonaut@users.noreply.github.com>
2020-01-05 14:53:47 +00:00
fokkonaut f5b8bbc2ff Simplify anti stuck code more 2020-01-05 11:49:21 +01:00
bors[bot] 19779ccf94
Merge #2027
2027: Distance can't be negative r=def- a=fokkonaut

This removes code duplication and D can never be negative:

```template<typename T>
inline T distance(const vector2_base<T> &a, const vector2_base<T> &b)
{
	return length(a-b);
}
inline float length(const vector2_base<float> &a)
{
	return sqrtf(a.x*a.x + a.y*a.y);
}```

Co-authored-by: fokkonaut <35420825+fokkonaut@users.noreply.github.com>
2020-01-04 22:42:32 +00:00
fokkonaut e2b252b714 Distance can't be negative 2020-01-04 16:32:51 +01:00
bors[bot] af6d463fb6
Merge #2024
2024: Fix demo bug r=def- a=Learath2

Since no one else was willing to fix it, I whipped up a quick patch. This isn't the correct way to do this though. We should probably add a function in storage to search for maps, so that things can't end up out of sync ever again.

Co-authored-by: Learath <learath2@gmail.com>
2020-01-03 09:43:40 +00:00
Learath d2fad6c79a Fix demo bug 2020-01-03 12:13:40 +03:00
bors[bot] cfbe8f3a8d
Merge #2020
2020: Bundled libs update r=heinrich5991 a=def-

- ogg 1.3.3 -> 1.3.4
- freetype 2.10.0 -> 2.10.1
- curl 7.65.0 -> 7.67.0, openssl 1.1.1c -> 1.1.1d

Co-authored-by: Dennis Felsing <dennis@felsin9.de>
2020-01-01 19:29:37 +00:00
bors[bot] 1649c566ab
Merge #2023
2023: Move DDNet-custom json code out of external directory (fixes #2022) r=heinrich5991 a=def-



Co-authored-by: def <dennis@felsin9.de>
2020-01-01 19:17:13 +00:00
def 017b8c3621 Move DDNet-custom json code out of external directory (fixes #2022) 2020-01-01 20:07:04 +01:00
Dennis Felsing 9816881a2a
Merge pull request #2017 from def-/pr-fix-websockets-warning
Fix Websockets warning
2019-12-31 10:38:49 +01:00
Dennis Felsing 45ad7be57c
Merge pull request #2021 from ElXreno/appdata
Add AppData manifest
2019-12-31 10:38:10 +01:00
ElXreno 73d91b7d1a
Updated screenshots 2019-12-31 12:37:19 +03:00
ElXreno 6c47ca7994
Removed the welcome 2019-12-31 11:58:19 +03:00
Artem Polishchuk 375e43e98b Add donation link (#2) 2019-12-31 10:56:29 +03:00
ElXreno 31b228e7dc
Fixed license naming 2019-12-31 10:48:45 +03:00
ElXreno 44adf1878d
Added AppData manifest 2019-12-31 10:06:44 +03:00
Dennis Felsing 93fa910e39 Bundled libs update
- ogg 1.3.3 -> 1.3.4
- freetype 2.10.0 -> 2.10.1
- curl 7.65.0 -> 7.67.0, openssl 1.1.1c -> 1.1.1d
2019-12-30 14:56:21 +01:00
Dennis Felsing a24a8c36ee Remove debugging help 2019-12-30 14:29:00 +01:00
Dennis Felsing 070d215ae0 Fix Travis Mac OSX build
ABI check failed, CMAKE_SIZEOF_VOID_P was thus not set and we look for
libs in wrong directory. Something seems to be wrong with the C/C++
compilers Travis is using. Not sure how to figure out more closely.
2019-12-30 13:19:33 +01:00
Dennis Felsing ba3b436139 Fix Websockets warning 2019-12-30 10:12:16 +01:00
Dennis Felsing 2a012ab251
Merge pull request #1994 from ChillerDragon/pr_circleci_cmakeflags
Test mysql and websockets in circleci
2019-12-30 09:47:22 +01:00
def b0406e335b Remove debugging help 2019-12-29 13:35:19 +01:00
def 0236f15018 Teamscore DDNet7 fix 2019-12-29 12:55:19 +01:00
def 6da92b4b9c Fix map_convert_07 tool 2019-12-29 12:43:41 +01:00
def 5f855b11b2 Version 12.8.1 2019-12-22 22:39:31 +01:00
Dennis Felsing 811ddb3283
Merge pull request #2008 from Learath2/dd_pr_demohotfix
Fix (not) small bug with demos that don't include a map
2019-12-22 22:38:22 +01:00
Learath a882cf5196 Fix bug with slices 2019-12-22 19:09:14 +03:00
def aa3e82cda7 Revert "Write out sql server prefix to failed_sql.sql"
This reverts commit c1a7961359.
2019-12-22 09:30:33 +01:00
def 8879f17341 Revert "Still pass in SqlServer even when writing to file since we need prefix"
This reverts commit 6e294d938b.
2019-12-22 09:28:14 +01:00
Dennis Felsing 83f2fc2669
Merge pull request #2012 from ChillerDragon/pr_func_style
Style 'void foo() {' -> 'void foo()\n{'
2019-12-21 18:18:49 +01:00
ChillerDragon 928e5407eb Style 'void foo() {' -> 'void foo()\n{' 2019-12-21 14:35:09 +01:00
Dennis Felsing 3e08d473ab
Merge pull request #2011 from heinrich5991/pr_ddnet_fix_comment
Fix outdated comment
2019-12-21 08:00:38 +01:00
heinrich5991 e70fb8e43d Fix outdated comment 2019-12-20 22:51:10 +01:00
Learath 65ec25a8a1 Fix small bug with demos that don't include a map 2019-12-18 13:51:08 +01:00
Dennis Felsing 71857fdb80
Merge pull request #2007 from heinrich5991/pr_ddnet_rm_string_h
Remove `strcmp` from file score
2019-12-18 13:15:10 +01:00
heinrich5991 4aeeedbbea Remove strcmp from file score 2019-12-18 12:52:36 +01:00
Dennis Felsing 70e06d8889
Merge pull request #2005 from rffontenelle/patch-4
Update brazilian_portuguese.txt
2019-12-18 07:00:28 +01:00
Rafael Fontenelle 9652ef46f1
Update brazilian_portuguese.txt 2019-12-18 02:51:47 -03:00
def 354541a146 Add string.h include in file_score.cpp
src/game/server/score/file_score.cpp: In member function ‘CFileScore::CPlayerScore* CFileScore::SearchName(const char*, int*, bool)’:
src/game/server/score/file_score.cpp:169:9: error: ‘strcmp’ was not declared in this scope
  169 |    if (!strcmp(r.front().m_aName, pName))
      |         ^~~~~~
src/game/server/score/file_score.cpp:12:1: note: ‘strcmp’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
   11 | #include <engine/shared/console.h>
  +++ |+#include <cstring>
   12 |¬
2019-12-17 22:25:06 +01:00
def fbbf7b3929 Fix MinGW build by temporarily disabling FORTIFY_SOURCE (fixes #2001) 2019-12-17 22:04:21 +01:00
def a7deac1b22 Update credits 2019-12-17 21:35:40 +01:00
Dennis Felsing d8ac51e006
Merge pull request #2000 from def-/pr-12-8
Version 12.8
2019-12-17 21:23:58 +01:00
Dennis Felsing 4171e8751f
Merge pull request #1939 from Learath2/dd_pr_demoload
Always try extracting map before fail. Fix #1886
2019-12-17 21:20:10 +01:00
Emir Marincic 0bcc7cca96
Merge pull request #1998 from def-/pr-sdl208
SDL 2.0.10 -> 2.0.8 (fixes #1997)
2019-12-17 16:03:47 +01:00
Learath2 3784f5bea4 Use a UUID, Cleanup code and UI 2019-12-17 15:44:54 +01:00
Dennis Felsing 044c74f91a Version 12.8 2019-12-16 15:36:26 +01:00
bors[bot] 9b8675b774
Merge #1991
1991: Translate the replay feature to german (+more) r=def- a=ChillerDragon



Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2019-12-16 13:41:33 +00:00
bors[bot] aeee8f8704
Merge #1995
1995: Remove some unused includes r=def- a=ChillerDragon



Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2019-12-16 13:19:32 +00:00
bors[bot] b8d0a37d89
Merge #1999
1999: Add/Optimize some simplified Chinese translations r=def- a=QingGo



Co-authored-by: 清歌 <zyqingjohn@qq.com>
2019-12-16 13:05:52 +00:00