Commit graph

10156 commits

Author SHA1 Message Date
trml fe1a7fb1e0 Predict directinput order for dummy and main 2020-04-19 12:50:37 +02:00
trml cae7fad901 Use freeze end tick in prediction 2020-04-19 12:50:06 +02:00
trml a4a0b6e9ed Add config flag for dummy prediction and fix compilation 2020-04-18 23:28:40 +02:00
trml 99baf219d0 Revert "Remove the dummy prediction"
This reverts commit 681f30950c.
2020-04-18 22:16:25 +02:00
def 74e943e88d Update ddnet-libs 2020-04-17 16:30:44 +02:00
bors[bot] 56c55d4081
Merge #2145
2145: Renew the ffmpeg lib version in cmake/FindFFMPEG.cmake for windows OS… r=def- a=QingGo

Renew the ffmpeg lib version in cmake/FindFFMPEG.cmake for windows OS building

Co-authored-by: 清歌 <zyqingjohn@qq.com>
2020-04-17 14:25:26 +00:00
清歌 8ee6e469de
Renew the ffmpeg lib version in cmake/FindFFMPEG.cmake for windows OS building
Renew the ffmpeg lib version in cmake/FindFFMPEG.cmake for windows OS building
2020-04-16 09:49:32 +08:00
bors[bot] 6fe6ff70b1
Merge #2143
2143: Don't push notification when active r=Ryozuki a=ardadem

In the game we already have highlighted text and sounds, we don't need to bother with notifications.

Co-authored-by: Arda Demir <ddmirarda@gmail.com>
2020-04-14 22:00:51 +00:00
Arda Demir 8648b1a7dc Don't push notification when active 2020-04-15 00:37:58 +03:00
bors[bot] 602bd2731f
Merge #2142
2142: Fix CMake LibNotify warning (fixes #2141) r=heinrich5991 a=def-

The LibNotify name is not used anywhere?

Co-authored-by: def <dennis@felsin9.de>
2020-04-14 16:52:56 +00:00
def 48118f6d83 Fix CMake LibNotify warning (fixes #2141)
The LibNotify name is not used anywhere?
2020-04-14 18:45:34 +02:00
Arda Demir b7d452d2a0
Libnotify support for linux client (#2099)
Add libnotify support for linux client

Also unify notification management

Make libnotify mandatory for the client. It is installed on 100% of Arch
Linux systems and on 70% of Debian systems. I'd guess the remaining
Debian systems are servers.

Detect dependent libraries of `libnotify` using `pkg-config`. Remove
library-specific code from the game module. Decrement refcount for
libnotify notification object before leaving the function.
2020-04-14 17:53:53 +02:00
Dennis Felsing 6e44394342
Merge pull request #2140 from Ryozuki/pr_fix_endless_loop
prevent endless loop
2020-04-14 12:58:30 +02:00
Ryozuki ea7f3f0a62
prevent endless loop 2020-04-14 12:51:48 +02:00
Ryozuki 8c76dab962
add upnp library package name to readme 2020-04-14 12:15:08 +02:00
Ryozuki b647c1e978
Add UPnP support 2020-04-14 12:11:50 +02:00
bors[bot] 164a887214
Merge #2136
2136: Fix type of os_is_winxp_or_lower function (fixes #2135) r=Learath2 a=def-



Co-authored-by: def <dennis@felsin9.de>
2020-04-12 19:43:09 +00:00
def a951845083 Surprise: void x(); accepts any parameter in C!
Prevents accidentally passing parameters that would then be ignored.

C++ is more reasonable, so nothing to do there.
2020-04-12 20:06:38 +02:00
bors[bot] ffc1078783
Merge #2137
2137: Rename antibot -> ddnet-antibot and install it on cmake r=heinrich5991 a=Ryozuki

Fixes #2134

Co-authored-by: Ryozuki <ryo@ryozuki.xyz>
2020-04-12 15:15:11 +00:00
Ryozuki e2a85345e4
Rename antibot -> ddnet-antibot and install it on cmake 2020-04-12 17:13:47 +02:00
def 4c00e4533c Fix type of os_is_winxp_or_lower function (fixes #2135) 2020-04-12 10:23:08 +02:00
bors[bot] 58f763c80e
Merge #2128
2128: Fix memory leaks and related. r=heinrich5991 a=Ryozuki

Don't merge yet.

I want to use this pr to fix several leaks and stuff, if you find something you can report it here.

[valgrind-out.txt](https://github.com/ddnet/ddnet/files/4451261/valgrind-out.txt)


Co-authored-by: Ryozuki <ryo@ryozuki.xyz>
2020-04-11 11:45:24 +00:00
Ryozuki 588f8a833f
Fix snapshot storage leak 2020-04-11 13:38:02 +02:00
Ryozuki 5f565a5eb5
check for WavpackCloseFile 2020-04-11 13:17:21 +02:00
Ryozuki 7d51a0992a
fix memory leak on sound decoding 2020-04-11 13:17:21 +02:00
Ryozuki b4f072faf3
some valgrind suppressions 2020-04-11 13:17:21 +02:00
Ryozuki 09b79701af
don't check, use dbg_assert 2020-04-11 13:17:20 +02:00
Ryozuki cde63e2f48
Fix TexEx UB 2020-04-11 13:17:20 +02:00
Ryozuki c6731c7e83
Fix uninitialized m_LastProgramID 2020-04-11 13:17:19 +02:00
def e6d4fe4650 Version 13.0.2 2020-04-10 21:41:29 +02:00
Dennis Felsing 45b9f72bdc
Merge pull request #2133 from heinrich5991/pr_ddnet_ci_dont_fail_fast
Don't fail bors on macOS CI
2020-04-10 21:40:36 +02:00
heinrich5991 7847e458c3 Allow macOS CI to fail for merging 2020-04-10 21:05:30 +02:00
heinrich5991 86e981c23a bors: We're not on Travis CI anymore 2020-04-10 21:05:06 +02:00
heinrich5991 5a1215d922 GitHub actions: Don't cancel jobs if one failed 2020-04-10 21:01:39 +02:00
def dde88bbd77 Fix division by 0 (fixes #2131)
Caused by https://github.com/ddnet/ddnet/pull/2119/
2020-04-10 20:54:05 +02:00
Dennis Felsing 2965b8578a
Merge pull request #2124 from def-/pr-macosx-10.7
Rebuild Mac OSX libs with -mmacosx-version-min=10.7 (previously 10.9)
2020-04-10 20:28:58 +02:00
Ryozuki 0da0dddf15 drop glu dependency 2020-04-08 18:19:12 +02:00
def a127e6d5aa Rebuild Mac OSX libs with -mmacosx-version-min=10.7 (previously 10.9) 2020-04-08 12:07:33 +02:00
Dennis Felsing 392412bee7
Merge pull request #2122 from def-/pr-hidapi-sdl2-rpath
New try for hidapi SDL2 rpath
2020-04-08 09:26:52 +02:00
def 18aec44a99 New try for hidapi SDL2 rpath 2020-04-08 09:17:15 +02:00
Dennis Felsing 724f2929f8
Merge pull request #2121 from def-/pr-mac-hidapi
Try to fix SDL2 hidapi rpath on MacOSX
2020-04-08 08:29:39 +02:00
def ae330bbe25 Try to fix SDL2 hidapi rpath on MacOSX
Following SDL 2.0.12 update
2020-04-08 07:37:00 +02:00
def fc82e00645 strip ddnet-libs 2020-04-07 23:21:10 +02:00
Dennis Felsing 6dd7078e8d
Merge pull request #2118 from def-/pr-mingw-sdl2
Provide MinGW SDL2 (fixes 13.0 on Windows)
2020-04-07 23:01:43 +02:00
def 6fd7ded869 Whitespace 2020-04-07 22:57:07 +02:00
bors[bot] 9bb20ae613
Merge #2120
2120: Add an option for highdpi r=def- a=Learath2



Co-authored-by: Learath <learath2@gmail.com>
2020-04-07 20:50:36 +00:00
Learath 388d792205 Add an option for highdpi 2020-04-07 23:47:15 +03:00
def 2f77e1f349 Version 13.0.1 2020-04-07 22:32:41 +02:00
def a646f75380 Provide MinGW SDL2 2020-04-07 22:32:30 +02:00
bors[bot] 65673ab402
Merge #2119
2119: Change last render logic, when inactive r=def- a=Jupeyy

Just a small fix to let the client not try to get high fps, when it "thinks" it didn't render for a long time.
(is still affected by the SDL check "if window has input" at the cl_refresh_rate calculation, so not a 100% fix).

Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2020-04-07 15:27:29 +00:00