Alibek Omarov
ac05acf6dc
engine: network: I'm fucking blind
2 years ago
Alibek Omarov
3e1db432df
engine: network: fix IPv4 private address checks according to RFC1918
...
Thanks to @Mr0maks for the fix
2 years ago
SNMetamorph
d8724f0be4
engine: common: net_ws: disabled read-only flag for ip cvar
2 years ago
SNMetamorph
36b0d47f5f
engine: common: net_ws: fixed sockets reinitialization in NET_OpenIP
2 years ago
SNMetamorph
6891ed8064
engine: common: net_ws: backported NAT bypass feature
2 years ago
SNMetamorph
8f91830997
engine: added changeport parameter for NET_Config
2 years ago
Tim Schumacher
a1ce5faac2
Engine: Keep HTTP from endlessly formatting NaN values
...
For whatever reason, our progress count for HTTP downloads stays at 0.
This results in the engine calculating a NaN progress value many times
each frame, which results in a significant performance hit.
3 years ago
Alibek Omarov
f67d0ffa5a
engine: common: fix broken function name and strings after find&replace in socket code
3 years ago
Alibek Omarov
36702aafe7
engine: rename FCVAR_LOCALONLY and CMD_LOCALONLY into FCVAR_PRIVILEGED and CMD_PRIVILEGED
3 years ago
Alibek Omarov
8a9231628e
engine: restrict potentially harmful or related to user settings engine cvars
3 years ago
Alibek Omarov
94dc74a37f
engine: restrict potentially harmful engine commands
3 years ago
Alibek Omarov
29a8bfb1dc
engine: common: fix ParseFile calls
3 years ago
Alibek Omarov
0efc5e82ec
engine: fix some const qualifier lose and pointer-to-int casts
3 years ago
Gleb Mazovetskiy
5e0a0765ce
Trim all trailing whitespace
...
The `.editorconfig` file in this repo is configured to trim all trailing
whitespace regardless of whether the line is modified.
Trims all trailing whitespace in the repository to make the codebase easier
to work with in editors that respect `.editorconfig`.
`git blame` becomes less useful on these lines but it already isn't very useful.
Commands:
```
find . -type f -name '*.h' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
find . -type f -name '*.c' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
```
4 years ago
Andrey Akhmichin
abd9778ef3
engine: common: simplified strings operations.
4 years ago
Andrey Akhmichin
e3b547c8a9
public: rename mathlib to xash3d_mathlib.
5 years ago
mittorn
7d0e45b507
network: restore WSAsize_t define for win32
5 years ago
mittorn
2b90790071
network: add stub for systems without BSD sockets, WATTCP support
5 years ago
Alibek Omarov
e11a08064d
engine: fix implicit-fallthrough, uninitialized, enum-conversation compiler diagnostics
5 years ago
Alibek Omarov
c07109e69c
engine: fix -Wincompatible-pointer-types, add it to Werror list
5 years ago
Alibek Omarov
9421457b3a
engine: big refactoring commit, instead of using platform-specific platform-specific macros, use appropriate macros set by public/build.h
5 years ago
Alibek Omarov
edf3fcd398
engine: common: explicitly cast literals to floats, include tgmath when needed
5 years ago
Alibek Omarov
d2a8cfe614
Revert "engine: client: implement connectionprogress partially"
...
This reverts commit cb417a3d51
.
This commit breaks demo playback. Figure out why, then revert it back.
5 years ago
mittorn
cb0791c915
http: do not continue after HTTP_Free, fix potential buffer overflow
5 years ago
Alibek Omarov
8bb6aa2c51
engine: don't include windows headers, as they globally included by port.h already
5 years ago
Alibek Omarov
ee2c1ad8fa
engine: net_ws: include engine headers first
5 years ago
Alibek Omarov
7771356e66
engine: net_ws: fix dedicated build
5 years ago
Alibek Omarov
cb417a3d51
engine: client: implement connectionprogress partially
5 years ago
Alibek Omarov
386a68e334
engine: fix wrong function called on closing socket on Win32
5 years ago
Alibek Omarov
90e0c070ac
engine: network: refactor net_ws.c since winsock2 is linked directly to engine DLL, correct some signness
6 years ago
Alibek Omarov
a378379ac5
engine: network: link to Winsock2 directly
6 years ago
Jonathan Poncelet
60a1c4f0cc
Prevented net send errors from triggering an entire host error
6 years ago
Alibek Omarov
b09242e41c
engine: fix dedicated check
6 years ago
Alibek Omarov
743c5ca8d5
engine: make dedicated work again
6 years ago
Alibek Omarov
7aa7f4dbbd
engine: fix broken win32 types after moving more definitions to xash3d_types.h
6 years ago
mittorn
b1e3fa5f4d
http: fix uninitialized progress value
6 years ago
mittorn
1d9b5d4611
http: remove unneeded platform-depended macros
6 years ago
mittorn
e05c1ed912
HTTP download support
6 years ago
mittorn
40574d9be0
Network extensions
6 years ago
mittorn
31a53f4842
Fix cl_dlmax bounds
6 years ago
mittorn
097974bde2
Check cl_dlmax sizes on client
6 years ago
mittorn
a97d8c119b
network: enable new netsplit, netsplit size settings
6 years ago
mittorn
480ef0a468
legacymode: add netsplit support (incoming only)
6 years ago
mittorn
298393b653
Initial amd64 port
6 years ago
Alibek Omarov
66d1a632a7
net_ws: fix possible garabe in return value due to uninitialized value
6 years ago
Alibek Omarov
18353d9ae6
net_ws: allow to set custom IP address, use Q_strncpy instead of Q_strcpy
6 years ago
Alibek Omarov
aae3510763
Apply 4281 update
6 years ago
Alibek Omarov
d0ff201da2
Fix dedicated compiling errors
7 years ago
Alibek Omarov
69549787bc
net_ws refactoring, fix minor bugs
7 years ago
lewa_j
43b746d2f8
Fix MinGW build
7 years ago