Jupeyy
f99f062d0a
Only sort friends, if you got any
2021-05-06 14:45:34 +02:00
def
a4bb2f8764
Switch back to using a stable sort
...
so that for example demos stay sorted the same way when sorting by demo
markers and removing a demo, otherwise they get totally reordered every
time.
as reported by Shyzo
2021-03-15 23:36:25 +01:00
Alexander Akulich
2790270abf
Adopt upstream refactoring: Mark several functions as 'const'
2021-02-23 18:26:16 +03:00
def
e592afc98c
Add Thread Safety Analysis
...
and annotate some code: https://clang.llvm.org/docs/ThreadSafetyAnalysis.html
2020-12-23 18:13:21 +01:00
Edgar
105b049497
Rename lock and semaphore classes to match current naming
2020-11-29 18:12:58 +01:00
def
469888e156
array: Don't allocate size 0
...
/media/ddnet/src/game/editor/auto_map.h:30:9: warning: Use of zero-allocated memory [clang-analyzer-cplusplus.NewDelete]
struct CIndexRule
^
2020-10-14 14:54:33 +02:00
Jupeyy
9e8cbfea5d
Optimize uuid lookup
2020-10-11 08:39:29 +02:00
Jupeyy
52911e4302
Use std::sort instead of bubble_sort
2020-10-08 08:00:01 +02:00
def
3be8a592e5
Run clang-format
...
Purely automatic change. In case of conflict with this change, apply the
other change and rerun the formatting to restore it:
$ python scripts/fix_style.py
2020-09-26 21:50:15 +02:00
Zwelf
81e5bb924c
Move sync_barrier to only used place
...
to remove `#include <windows.h>` from header file preventing compiling on windows
2020-08-09 18:17:42 +02:00
Learath
ce8987cd43
Missing include
2020-02-27 16:56:40 +03:00
Learath
f679fbfbc5
Allow editing multiple tile layer props
2020-02-27 16:53:12 +03:00
heinrich5991
b90dd43118
Fix -Wdeprecated-copy from GCC9
2019-06-26 11:53:39 +02:00
def
f9d9fee314
Demo browser: Show markers ( fixes #329 )
...
- Fetch Headers button
- Display Markers & Length columns
- Display footer info
- Don't rescan directory when not required
- Clean up code a bit
2019-01-09 08:25:03 +01:00
yangfl
a1db76cdef
Remove extra semicolons
2018-11-18 14:27:48 +08:00
Dennis Felsing
c9f28ce094
Forbid copying classes in threading
2018-08-29 11:32:53 +02:00
Dennis Felsing
c29a72eb70
Lock style
2018-08-27 16:36:36 +02:00
yangfl
81a39c229b
Fix typo
2018-07-10 17:29:02 +08:00
heinrich5991
925aff21d4
Fix all the header guards and adjust the script a little
2018-07-06 16:11:38 +02:00
def
705349f2e5
Clean up and fix semaphores and threading
2017-08-31 19:18:07 +02:00
Learath2
cd386488e2
Rename semaphore_* to sphore_*
...
Previous naming conflicted with Mach kernel definitions.
2017-08-31 19:18:07 +02:00
def
46cedf3a8c
Compiler warnings
2017-07-09 10:27:58 +02:00
heinrich5991
5ae37e6c72
Add protocol extension with UUIDs
...
This system can easily be extended by independent authors without
collisions, something the old system with plain increasing integers did
not allow.
Do this by utilizing the previously unused message code `NETMSG_NULL`
which has a value of 0.
This works for engine and game messages, snapshot items and events.
2017-05-25 00:52:43 +02:00
def
6e8ada1ac8
Fix whitespaces a bit
2015-07-09 02:12:35 +02:00
def
3992b1346b
Hopefully fix compilation on new OS X systems
...
Names collided with some new OS X defined names, fixes #189
2015-04-07 19:07:38 +02:00
def
7875c2ec36
Android support (by Pelya)
2014-06-16 13:29:18 +02:00
BeaR
9b81779ae3
Using MemoryBarrier() for CPUs not supporting SSE2
2013-04-26 16:44:59 +02:00
BeaR
234a76f0b3
Fixing atomics
2013-04-26 16:44:48 +02:00
Magnus Auvinen
98042012a6
cleaned up warnings that clang spits out. some bugs found with it.
...
Conflicts:
src/game/server/gamemodes/ctf.cpp
src/game/server/gamemodes/ctf.h
2013-02-24 17:54:29 +01:00
oy
0a0c131cdc
fixed compiler error. Closes #982
2013-02-24 17:45:02 +01:00
oy
b7e5bb54ad
fixed semaphore on macosx
2013-02-24 17:35:51 +01:00
Magnus Auvinen
e59b24d8db
fixed atomics and semaphore for windows. can't test it correctly however due to that I only have a virtual box machine
2012-01-01 15:56:28 +01:00
Magnus Auvinen
8ffe582615
ugly incomplete hack to put the rendering into another thread so we don't have to wait for the flip
2011-12-30 16:02:22 +01:00
oy
06115dd49d
added "Whitespace and line Endings cleanup" by GreYFoX
2011-04-13 20:37:12 +02:00
oy
e6f0318bdf
added "fixed some header guards and added a script to fix them all!" by Choupom
2011-04-13 20:22:10 +02:00
oy
4d5443affa
added demo loading speed enhancement by MAP94. Closes #555
2011-03-27 16:42:47 +02:00
Sworddragon
fc9211c777
Updated copyrights
2010-11-20 21:26:06 +01:00
Magnus Auvinen
575f72d978
fixed some compiler errors and warnings with clang
2010-07-05 20:57:07 +02:00
Magnus Auvinen
72c06a2589
copied refactor to trunk
2010-05-29 07:25:38 +00:00
Magnus Auvinen
e56feb597b
added missing headers
2009-10-29 12:14:31 +00:00
Magnus Auvinen
878ede3080
major update with stuff
2009-10-27 14:38:53 +00:00
Magnus Auvinen
d023c72256
fixed demo browser so it's ordered and shows all files
2009-06-15 10:12:16 +00:00
Magnus Auvinen
f9ef0293ff
renamed algorithms.hpp to algotithm.hpp
2009-06-15 06:50:47 +00:00
Magnus Auvinen
6309d7ad56
continued with localization
2009-06-15 06:45:44 +00:00