9b2f0fe
Remove unused includes of base/tl/array.h and sorted_array.h - Robyt3
9dece94
Use std::vector<CMapNameItem> instead of sorted_array - Robyt3
97dd810
Use std::vector<CLanguage> instead of sorted_array - Robyt3
295c395
Use std::vector<CUISkin> instead of sorted_array - Robyt3
0032f6f
Use std::vector<CCountryFlag> instead of sorted_array - Robyt3
662cb58
Use std::vector<CFilelistItem> instead of sorted_array - Robyt3
2ea0c49
Use std::vector<CCommand> instead of sorted_array - Robyt3
96c97d5
Use std::vector for assets menu list items instead of sorted_array - Robyt3
359093c
Use std::vector<CDemoItem> instead of sorted_array - Robyt3
de23bf9
Use std::vector<CString> instead of sorted_array, improve string search - Robyt3
b24f318
Use std::vector<CFriendItem> instead of sorted_array - Robyt3
5cc76d2
Use std::vector<CGhostItem> instead of sorted_array - Robyt3
ae8f5e8
Use std::vector<CNameIndexed> instead of sorted_array - Robyt3
0859da7
Use std::vector<CSkin> instead of sorted_array - Robyt3
a76cdb2
Use std::vector<CDownloadSkin> instead of sorted_array - Robyt3
bea74f3
Remove base/tl/sorted_array.h - Robyt3
d0b5d09
Use emplace_back for CString - Robyt3
476af12
Use emplace_back for CCommand, fix member variable names - Robyt3
de1de5e
Use emplace_back for CFriendItem - Robyt3
7348bf4
Merge #5246 - bors[bot]nullptr
instead of 0
for UI active item.
[2022-05-26 17:30:19][vulkan]: vulkan error: The device surface capabilities could not be fetched.
[2022-05-26 17:30:19][assert]: /ddnet-source/src/engine/client/backend/vulkan/backend_vulkan.cpp(1127): The device surface capabilities could not be fetched.
array
with std::vector
.
I adjusted variable names of variables I changed to use the v
prefix. Not so in the editor however, as there are already many changes due to clang-tidy enforcing the use of for-each loops.
This allows us to remove all remaining base/tl
headers except threading.h
.
Clang-tidy now finds clang-analyzer-cplusplus.NewDelete
(Use of memory after it is freed), which is also fixed here, though it appears to be a false-positive.
Thi...[2022-05-27 17:04:10][stun/6]: couldn't send stun request
[2022-05-27 17:04:42][stun/6]: couldn't send stun request
[2022-05-27 17:05:46][stun/6]: couldn't send stun request
[2022-05-27 17:07:54][stun/6]: couldn't send stun request
[2022-05-27 17:12:10][stun/6]: couldn't send stun request
[2022-05-27 17:13:39][stun/4]: got address: myip:36742
[2022-05-27 17:20:42][stun/6]: couldn't send stun request
[2022-05-27 17:23:39][stun/4]: got address: myip:36742
[2022-05-27 17:29:14][stun/6]: couldn't send stun request
[2022-05-27 17:33:39][stun/4]: got address: myip:36742
[2022-05-27 17:37:46][stun/6]: couldn't send stun request
why does this happen in demo player?
does it also happen for http requests or whaterror: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto,-warnings-as-errors]
a0a0fa1
Fix ingame menu buttons when mouse is held and released ingame - Robyt3
910f01c
Fix ingame menu buttons when mouse is held ingame and released in menu - Robyt3
3193095
Only allow buttons to be become hot while the mouse is not pressed - Robyt3
caa23bc
Move CMenus::UseMouseButtons to CUI::SetEnabled - Robyt3
fccfbd5
Extract CRenderTools::RenderCursor - Robyt3
59acac2
Merge #5254 #5257 - bors[bot]@sjrc6
is it correct that TempCore
is this way zero initialized, can you check that maybe in the debugger?...Bisecting: 29 revisions left to test after this (roughly 5 steps)
my pc so slow Bisecting: 0 revisions left to test after this (roughly 0 steps)
final build68bcd21eff9fbace8605eec8122f860499e03c21 is the first bad commit
commit 68bcd21eff9fbace8605eec8122f860499e03c21
Author: Dennis Felsing <dennis@felsin9.de>
Date: Thu May 26 01:22:14 2022 +0200
asan+ubsan clean
:040000 040000 c2a05ed35a2813cf52fb342fec10feccff5c2f4c 777420887b27ed36ba256603dc2b8736563e4c00 M scripts
:040000 040000 9b4332345d8861463c081da7bb45c552e3baddf4 ce94f0ab3e0d532ce47c86263c5f4a093e6d5a13 M src
normalize_pre_length
has been wrong for more than a year nowround_to_int
or fix vmath.hCLaser::HitCharacter
i thinkFrom == At
is enough../src/base/tl/threading.h:48:32: warning: acquiring mutex 'm_Lock' requires negative capability '!m_Lock' [-Wthread-safety-negative]
../src/engine/client/serverbrowser_http.cpp:136:2: warning: acquiring mutex 'm_Lock' requires negative capability '!m_Lock' [-Wthread-safety-negative]
../src/engine/client/serverbrowser_http.cpp:178:3: warning: acquiring mutex 'm_Lock' requires negative capability '!m_Lock' [-Wthread-safety-negative]
../src/engine/client/updater.cpp:115:2: warning: acquiring mutex 'm_Lock' requires negative capability '!m_Lock' [-Wthread-safety-negative]
../src/engine/client/updater.cpp:122:2: warning: acquiring mutex 'm_Lock' requires negative capability '!m_Lock' [-Wthread-safety-negative]
../src/engine/client/updater.cpp:130:2: warning: acquiring mutex 'm_Lock' requires negative capability '!m_Lock' [-Wthread-safety-negative]
../src/engine/client/updater.cpp:137:2: warning: acquiring mutex 'm_Lock' requires negative capability '!m_Lock' [-Wthread-safety-negative]
../src/engine/client/video.cpp:465:5: warning: acquiring mutex 'g_WriteLock' requires negative capability '!g_WriteLock' [-Wthread-safety-negative]
../src/engine/client/video.cpp:545:5: warning: acquiring mutex 'g_WriteLock' requires negative capability '!g_WriteLock' [-Wthread-safety-negative]
../src/engine/shared/jobs.cpp:57:3: warning: acquiring mutex 'pPool->m_Lock' requires negative capability '!pPool->m_Lock' [-Wthread-safety-negative]
../src/engine/shared/jobs.cpp:99:2: warning: acquiring mutex 'm_Lock' requires negative capability '!m_Lock' [-Wthread-safety-negative]
is this a false positive? (edited)