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
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
Jupeyy
888223a529
Change last render logic, when inactive
2020-04-06 03:18:30 +02:00
Learath
61e5667624
Streamline platform client
2020-03-28 02:20:16 +03:00
sirius
3c085b53ed
fix bug that demo can't play when demo pause and use start_video
2020-03-26 18:25:50 +08:00
bors[bot]
6e78deb0c4
Merge #2069 #2076 #2095
...
2069: Move global configuration out of client interface r=heinrich5991 a=ChillerDragon
2076: Allow editing multiple tile layer props r=heinrich5991 a=Learath2
Requested by Ravie on discord
2095: Fix `AntibotDestroy` being called twice r=def- a=heinrich5991
The resource deallocation needs to happen in symmetry with the
allocation, otherwise we get unmatched dealloctions leading to crashes.
Allocations happened in `CAntibot::Init`, but it was not guaranteed that
this was called before the destructor.
Co-authored-by: ChillerDragon <ChillerDragon@gmail.com>
Co-authored-by: Learath <learath2@gmail.com>
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2020-03-23 17:04:15 +00:00
def
127372b03d
Fix timeout protection ( fixes #2067 )
...
CNetMsg_Cl_Say should not be a system message
2020-02-22 09:55:17 +01:00
ChillerDragon
9e0f6d2ce0
Move global configuration out of client interface
2020-02-19 11:24:58 +01:00
def
31ae4c4d5a
use pid in file names of temporary files
...
to prevent race conditions with multiple clients running when saving
maps, config on quit, during upgrade
2020-02-12 23:14:30 +01:00
bors[bot]
72fcf9caa8
Merge #2050
...
2050: Fix race condition. Closes #2004 r=def- a=Learath2
I guess a new state is better then a global variable
Co-authored-by: Learath <learath2@gmail.com>
2020-01-26 15:49:30 +00:00
Learath
cc8dea393d
Address feedback
2020-01-25 21:05:33 +01:00
Dennis Felsing
50d848ec43
Merge pull request #1928 from sirius1242/demo_render2
...
Demo to video converter function.
2020-01-25 21:01:08 +01:00
Learath
40dc9692aa
Fix race condition. Closes #2004
2020-01-25 17:48:32 +01:00
bors[bot]
7a3ebd5948
Merge #2041
...
2041: Strip spaces in browser (server name) r=heinrich5991 a=ChillerDragon
before:
![image](https://user-images.githubusercontent.com/20344300/72688976-b45f1d00-3b0c-11ea-8920-5328c6d721f7.png )
after:
![image](https://user-images.githubusercontent.com/20344300/72688970-9db8c600-3b0c-11ea-8636-330218d75ca1.png )
Co-authored-by: KillaBilla <robomastermail@googlemail.com>
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2020-01-25 12:45:36 +00:00
bors[bot]
749929431a
Merge #2040
...
2040: fixed faulty message id r=heinrich5991 a=ChillerDragon
(cherry picked from commit 9023796d27
)
Co-authored-by: oy <Tom_Adams@web.de>
2020-01-25 12:40:14 +00:00
def
8779be6bd8
Looks like my comment was wrong...
2020-01-25 07:37:28 +01:00
12pm
ec42291756
Allow filtering by name in status
...
Easier to find players when the server is full
2020-01-24 14:44:54 +01:00
ChillerDragon
610976eddd
Fix max snapshot size
2020-01-22 13:44:05 +01:00
ChillerDragon
ee825f42e9
Add snap check for dummy
2020-01-21 22:20:09 +01:00
oy
49168da784
fixed typo
...
(cherry picked from commit 3deb58d409
)
2020-01-21 22:17:20 +01:00
oy
ef3bce204c
added some checks to snap handling
...
(cherry picked from commit a09d498bc9
)
2020-01-21 22:16:28 +01:00
KillaBilla
ba1abac52f
remove leading and trailing space from server name and forbit the use of multiple spaces
...
(cherry picked from commit a9cc1e8de2
)
2020-01-19 22:28:19 +01:00
oy
1b4131a7fd
fixed faulty message id
...
(cherry picked from commit 9023796d27
)
2020-01-19 21:30:12 +01:00
sirius
483885b6b1
try to solve the problem that video not fluent caused by previous commits
2020-01-08 14:25:06 +08:00
sirius
3baba93ed2
fix the problem of audio when video fps is low
2020-01-06 11:57:24 +08:00
sirius
0be4629cc1
forget to deal with pError
2020-01-04 17:44:12 +08:00
sirius
3967ddba00
replace same operations by call Demoplay_Play() when rendering video by render button
2020-01-04 17:08:00 +08:00
sirius
521e822bbb
update map fix part when rendering video
2020-01-04 17:02:00 +08:00
Learath
d2fad6c79a
Fix demo bug
2020-01-03 12:13:40 +03:00
def
017b8c3621
Move DDNet-custom json code out of external directory ( fixes #2022 )
2020-01-01 20:07:04 +01:00
sirius
7710b88670
Merge branch 'master' of https://github.com/ddnet/ddnet into demo_render2
2020-01-01 18:36:49 +08:00
Learath
65ec25a8a1
Fix small bug with demos that don't include a map
2019-12-18 13:51:08 +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
ChillerDragon
4a6a85124a
Remove some unused includes
2019-12-14 10:20:42 +01:00
Magnus Auvinen
6a6a5f00c9
more typesafty in the graphics. introduced the IGraphics::CTextureHandle
...
Edited by @ChillerDragon to fit in ddnet
(cherry picked from commit cb95e8dfe8
)
2019-11-22 18:08:37 +01:00
ChillerDragon
9c3447dd17
Use an enum for netclient indices
2019-11-10 13:46:27 +01:00
sirius
e910fe404f
Direct mix when recording audio now, and seems solve the stuck problem when
...
DDNet is not the focusing window
2019-11-02 18:21:47 +08:00
Sirius
45263ebdd0
Merge branch 'master' into demo_render2
2019-10-31 22:08:49 +08:00
Learath
7cdd050fee
Add SHA to demos. Bump Demo Version
2019-10-14 02:27:08 +02:00
Learath
b2cefb20ed
Always try extracting map before fail. Fix #1886
2019-10-13 18:46:28 +02:00
Learath
49a2a47dc8
Fix #1888
2019-10-02 20:44:03 +03:00
sirius
6acae69d96
repair the segment fault bug in con_startvideo
2019-10-02 09:52:54 +08:00
sirius
b0ee5671ff
rebased to ef32fc4
2019-10-02 09:51:33 +08:00
sirius
605da124d4
add button to adjust render speed
2019-09-30 20:54:42 +08:00
sirius
1c150106f8
demoplayer disconnect when render finished
2019-09-30 20:54:42 +08:00
sirius
d9d1e8b309
add if defined to newly added lines
2019-09-30 20:54:19 +08:00
sirius
562dffe800
segment fault repaired (don't nest others' function thoughtless)
2019-09-30 20:52:25 +08:00
sirius
a71339366b
add function to appoint video name, but will segment fault
2019-09-30 20:52:25 +08:00
sirius
1375fbb95d
add a button to render whole demo
2019-09-30 20:52:24 +08:00
H-M-H
7ae4b39574
made recording demos work
...
- videorecorder only works for recording demos now
- demoplayer was modified to allow controll over the time that passed
in order to get perfect fps, IVideo controlls how much time passed,
basically every rendercall sets the time to record the next frame
2019-09-30 20:48:47 +08:00