Commit Graph

46 Commits

Author SHA1 Message Date
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
abd9778ef3 engine: common: simplified strings operations. 2020-11-28 23:20:14 +03:00
e3b547c8a9 public: rename mathlib to xash3d_mathlib. 2020-02-12 14:32:26 +05:00
7d0e45b507 network: restore WSAsize_t define for win32 2020-02-08 23:59:43 +07:00
2b90790071 network: add stub for systems without BSD sockets, WATTCP support 2020-02-08 23:15:40 +07:00
e11a08064d engine: fix implicit-fallthrough, uninitialized, enum-conversation compiler diagnostics 2019-12-23 06:48:17 +03:00
c07109e69c engine: fix -Wincompatible-pointer-types, add it to Werror list 2019-11-28 19:18:50 +03:00
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
edf3fcd398 engine: common: explicitly cast literals to floats, include tgmath when needed 2019-10-18 16:46:54 +03:00
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
cb0791c915 http: do not continue after HTTP_Free, fix potential buffer overflow 2019-09-29 01:42:17 +07:00
8bb6aa2c51 engine: don't include windows headers, as they globally included by port.h already 2019-08-09 02:46:29 +03:00
ee2c1ad8fa engine: net_ws: include engine headers first 2019-08-08 16:09:32 +03:00
7771356e66 engine: net_ws: fix dedicated build 2019-08-08 07:33:47 +03:00
cb417a3d51 engine: client: implement connectionprogress partially 2019-08-08 07:19:08 +03:00
386a68e334 engine: fix wrong function called on closing socket on Win32 2019-07-30 18:41:24 +03:00
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
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
b09242e41c engine: fix dedicated check 2019-03-22 18:26:44 +03:00
1483b21f00 Merge branch '0.20-renderdll' 2019-03-22 18:19:13 +03:00
743c5ca8d5 engine: make dedicated work again 2019-03-22 16:47:52 +03:00
7aa7f4dbbd engine: fix broken win32 types after moving more definitions to xash3d_types.h 2019-03-20 01:18:26 +03:00
2b1ed2b20a
Merge branch 'master' into netsplit 2019-02-08 07:59:52 +00:00
b1e3fa5f4d http: fix uninitialized progress value 2019-02-05 01:11:12 +07:00
1d9b5d4611 http: remove unneeded platform-depended macros 2019-02-03 16:37:58 +07:00
e05c1ed912 HTTP download support 2019-02-02 05:15:59 +07:00
40574d9be0 Network extensions 2019-01-30 16:06:32 +07:00
31a53f4842 Fix cl_dlmax bounds 2019-01-30 14:11:49 +07:00
097974bde2 Check cl_dlmax sizes on client 2019-01-30 13:38:32 +07:00
a97d8c119b network: enable new netsplit, netsplit size settings 2019-01-30 03:44:48 +07:00
480ef0a468 legacymode: add netsplit support (incoming only) 2019-01-29 19:01:21 +07:00
298393b653 Initial amd64 port 2018-12-05 23:57:05 +07:00
66d1a632a7 net_ws: fix possible garabe in return value due to uninitialized value 2018-11-18 17:14:38 +03:00
18353d9ae6 net_ws: allow to set custom IP address, use Q_strncpy instead of Q_strcpy 2018-11-02 01:06:23 +03:00
a03aa3ddb3 Merge 4281 update 2018-10-28 00:39:29 +03:00
aae3510763 Apply 4281 update 2018-10-27 23:32:09 +03:00
d0ff201da2 Fix dedicated compiling errors 2018-06-14 20:31:46 +03:00
69549787bc net_ws refactoring, fix minor bugs 2018-06-01 19:29:47 +03:00
43b746d2f8 Fix MinGW build 2018-05-13 23:25:51 +03:00
0681209114 Remove useless host.type set, replace HOST_DEDICATED checks by Host_IsDedicated 2018-05-01 17:30:33 +03:00
efe8ddf151 Fix missing const-qualifiers in engine code. Fix qboolean/int mixing in interface implementations(int is preferred). Replace long by int in COM_RandomLong. 2018-04-23 23:07:54 +03:00
ebe3a203ba Always fragment upload data, this fixes some cases when upload must be fragmented, but download test shown no fragmentation requirement 2018-04-22 17:17:35 +03:00
de35262a3b Fix network send packet 2018-04-21 02:50:50 +03:00
15096aa15a net_ws port. Port non-blocking NS resolution also. 2018-04-14 03:27:52 +03:00
8d6e3b7f79 Pure engine source code(LF line endings, UTF8 encoded) 2018-04-13 19:23:45 +03:00