Alibek Omarov
ac05acf6dc
engine: network: I'm fucking blind
2022-08-23 20:04:59 +03:00
Alibek Omarov
3e1db432df
engine: network: fix IPv4 private address checks according to RFC1918
...
Thanks to @Mr0maks for the fix
2022-08-23 19:15:50 +03:00
SNMetamorph
d8724f0be4
engine: common: net_ws: disabled read-only flag for ip cvar
2022-07-10 18:28:06 +03:00
SNMetamorph
36b0d47f5f
engine: common: net_ws: fixed sockets reinitialization in NET_OpenIP
2022-07-10 18:28:06 +03:00
SNMetamorph
6891ed8064
engine: common: net_ws: backported NAT bypass feature
2022-07-10 18:28:06 +03:00
SNMetamorph
8f91830997
engine: added changeport parameter for NET_Config
2022-07-10 18:28:06 +03:00
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.
2022-06-20 00:01:37 +03:00
Alibek Omarov
f67d0ffa5a
engine: common: fix broken function name and strings after find&replace in socket code
2022-03-10 04:51:38 +03:00
Alibek Omarov
36702aafe7
engine: rename FCVAR_LOCALONLY and CMD_LOCALONLY into FCVAR_PRIVILEGED and CMD_PRIVILEGED
2021-11-23 05:23:38 +03:00
Alibek Omarov
8a9231628e
engine: restrict potentially harmful or related to user settings engine cvars
2021-11-23 05:23:38 +03:00
Alibek Omarov
94dc74a37f
engine: restrict potentially harmful engine commands
2021-11-23 05:23:38 +03:00
Alibek Omarov
29a8bfb1dc
engine: common: fix ParseFile calls
2021-10-08 17:31:32 +03:00
Alibek Omarov
0efc5e82ec
engine: fix some const qualifier lose and pointer-to-int casts
2021-07-20 16:03:06 +03:00
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:]]\+$//' {} \+
```
2021-01-04 20:55:10 +03:00
Andrey Akhmichin
abd9778ef3
engine: common: simplified strings operations.
2020-11-28 23:20:14 +03:00
Andrey Akhmichin
e3b547c8a9
public: rename mathlib to xash3d_mathlib.
2020-02-12 14:32:26 +05:00
mittorn
7d0e45b507
network: restore WSAsize_t define for win32
2020-02-08 23:59:43 +07:00
mittorn
2b90790071
network: add stub for systems without BSD sockets, WATTCP support
2020-02-08 23:15:40 +07:00
Alibek Omarov
e11a08064d
engine: fix implicit-fallthrough, uninitialized, enum-conversation compiler diagnostics
2019-12-23 06:48:17 +03:00
Alibek Omarov
c07109e69c
engine: fix -Wincompatible-pointer-types, add it to Werror list
2019-11-28 19:18:50 +03:00
Alibek Omarov
9421457b3a
engine: big refactoring commit, instead of using platform-specific platform-specific macros, use appropriate macros set by public/build.h
2019-11-24 03:52:08 +03:00
Alibek Omarov
edf3fcd398
engine: common: explicitly cast literals to floats, include tgmath when needed
2019-10-18 16:46:54 +03:00
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.
2019-10-06 07:45:32 +03:00
mittorn
cb0791c915
http: do not continue after HTTP_Free, fix potential buffer overflow
2019-09-29 01:42:17 +07:00
Alibek Omarov
8bb6aa2c51
engine: don't include windows headers, as they globally included by port.h already
2019-08-09 02:46:29 +03:00
Alibek Omarov
ee2c1ad8fa
engine: net_ws: include engine headers first
2019-08-08 16:09:32 +03:00
Alibek Omarov
7771356e66
engine: net_ws: fix dedicated build
2019-08-08 07:33:47 +03:00
Alibek Omarov
cb417a3d51
engine: client: implement connectionprogress partially
2019-08-08 07:19:08 +03:00
Alibek Omarov
386a68e334
engine: fix wrong function called on closing socket on Win32
2019-07-30 18:41:24 +03:00
Alibek Omarov
90e0c070ac
engine: network: refactor net_ws.c since winsock2 is linked directly to engine DLL, correct some signness
2019-07-01 04:03:18 +03:00
Alibek Omarov
a378379ac5
engine: network: link to Winsock2 directly
2019-06-29 22:01:32 +03:00
Jonathan Poncelet
60a1c4f0cc
Prevented net send errors from triggering an entire host error
2019-04-01 20:17:13 +01:00
Alibek Omarov
b09242e41c
engine: fix dedicated check
2019-03-22 18:26:44 +03:00
Alibek Omarov
1483b21f00
Merge branch '0.20-renderdll'
2019-03-22 18:19:13 +03:00
Alibek Omarov
743c5ca8d5
engine: make dedicated work again
2019-03-22 16:47:52 +03:00
Alibek Omarov
7aa7f4dbbd
engine: fix broken win32 types after moving more definitions to xash3d_types.h
2019-03-20 01:18:26 +03:00
mittorn
2b1ed2b20a
Merge branch 'master' into netsplit
2019-02-08 07:59:52 +00:00
mittorn
b1e3fa5f4d
http: fix uninitialized progress value
2019-02-05 01:11:12 +07:00
mittorn
1d9b5d4611
http: remove unneeded platform-depended macros
2019-02-03 16:37:58 +07:00
mittorn
e05c1ed912
HTTP download support
2019-02-02 05:15:59 +07:00
mittorn
40574d9be0
Network extensions
2019-01-30 16:06:32 +07:00
mittorn
31a53f4842
Fix cl_dlmax bounds
2019-01-30 14:11:49 +07:00
mittorn
097974bde2
Check cl_dlmax sizes on client
2019-01-30 13:38:32 +07:00
mittorn
a97d8c119b
network: enable new netsplit, netsplit size settings
2019-01-30 03:44:48 +07:00
mittorn
480ef0a468
legacymode: add netsplit support (incoming only)
2019-01-29 19:01:21 +07:00
mittorn
298393b653
Initial amd64 port
2018-12-05 23:57:05 +07:00
Alibek Omarov
66d1a632a7
net_ws: fix possible garabe in return value due to uninitialized value
2018-11-18 17:14:38 +03:00
Alibek Omarov
18353d9ae6
net_ws: allow to set custom IP address, use Q_strncpy instead of Q_strcpy
2018-11-02 01:06:23 +03:00
Alibek Omarov
a03aa3ddb3
Merge 4281 update
2018-10-28 00:39:29 +03:00
Alibek Omarov
aae3510763
Apply 4281 update
2018-10-27 23:32:09 +03:00