Commit Graph

482 Commits

Author SHA1 Message Date
theAsmodai
fbdf8fb47d Unit tests for IsSafeFileToDownload (#384)
* Added unit tests for IsSafeFileToDownload

* Fixed tests fail

* fixed crash

* Added more checks
2017-03-02 01:18:44 +03:00
theAsmodai
b9f88c1de8 Merge pull request #383 from In-line/FixNetSleep_Timeout
Refactor NET_Sleep_Timeout
2017-03-02 01:18:32 +03:00
In-line
5d1a416b03 Move max socket calculation to proper place 2017-02-27 22:41:17 +04:00
In-line
41d62afef0 Refactor NET_Sleep_Timeout 2017-02-27 22:38:10 +04:00
theAsmodai
415fddf615 Merge pull request #379 from In-line/FixHostStatus
Remove temp buffer from Host_Status_Printf
2017-02-25 17:53:23 +03:00
theAsmodai
43d433850d Merge pull request #378 from In-line/MD5Opt
Optimize MD5_Print function
2017-02-25 17:51:50 +03:00
In-line
64bd89bb8e Remove temp buffer from Host_Status_Printf 2017-02-24 12:32:31 +04:00
In-line
d51847f2b6 Optimize MD5_Print function 2017-02-24 11:49:17 +04:00
In-line
9387422655 Fix IsSafeFileToDownload (thx [WPMG]PRoSToTeM@) (#374)
Fix nullptr dereferencing in IsSafeFileToDownload.
2017-02-21 03:18:45 +05:00
Lev
a28a401a99 Merge pull request #376 from In-line/patch-4
Use __func__ in NET_GetLong.
2017-02-20 22:05:05 +05:00
In-line
ec49dbbbf3 Use _func_ in NET_GetLong 2017-02-20 20:35:36 +04:00
Lev
2d88e0a4c7 Merge pull request #375 from In-line/MaxCvarListFiles
Add MAX_CVARLIST_FILES define.
2017-02-20 21:12:03 +05:00
In-line
228c365f61 Update cvar.cpp 2017-02-20 20:07:41 +04:00
In-line
310e963a38 Update cvar.cpp 2017-02-20 20:06:55 +04:00
In-line
61afe7a7b9 Update cvar.cpp/cvar.h 2017-02-20 20:05:40 +04:00
In-line
bd8019da9f Add MAX_CVARLIST_FILES define 2017-02-20 19:08:07 +04:00
Lev
590227aa8d Merge pull request #373 from Sh1ft0x0EF/coderev-generic
Fix missing license headers.
2017-02-20 16:39:33 +05:00
Sh1ft0x0EF
1b75722974 Fix missing license headers 2017-02-20 15:03:53 +04:00
Lev
f1e6b6ca40 Merge pull request #372 from Sh1ft0x0EF/coderev-generic
enum-like defines -> enums
2017-02-19 10:20:09 +05:00
Lev
4a90fa39a1 Added crlf at the file ending. 2017-02-19 10:04:22 +05:00
Sh1ft0x0EF
77482953d9 enum-like defines -> enums 2017-02-18 22:53:56 +04:00
Lev
8960c2ec5e Merge pull request #371 from Sh1ft0x0EF/coderev-pragma
Use pragma once for headers.
2017-02-18 20:49:01 +05:00
Sh1ft0x0EF
774e065278 Use pragma once for headers (368B - Same as #368 but using pragma only) 2017-02-18 18:58:37 +04:00
Lev
0b95a4f976 Merge pull request #370 from shelru/Description-fixz
Command parameter description added.
2017-02-18 17:26:44 +05:00
Lev
10ae7b6988 Basic editor rules. 2017-02-18 17:10:15 +05:00
Lev
0cf0746afb Merge pull request #364 from WPMGPRoSToTeMa/patch-7
Fixed double userinfo sending when SetClientKeyValue is used in ClientUserInfoChanged.
2017-02-18 17:08:17 +05:00
shelru
09fc396a84 Some desc added.
Update description for 'kick' cmd.
2017-02-18 15:59:20 +04:00
Lev
776ac6f2f8 Merge pull request #369 from dreamstalker/refactor20170218
Small refactoring.
2017-02-18 14:07:31 +05:00
Lev
ef8134168b Small refactoring. 2017-02-18 13:58:23 +05:00
Lev
0b4c5c404f Merge pull request #365 from dreamstalker/fixes20170217
Refactoring, #362.
2017-02-17 23:03:26 +05:00
Lev
f97308fc78 Refactoring, #362. 2017-02-17 22:40:25 +05:00
Artem Golubikhin
facbbafb8a Fixed double userinfo sending when SetClientKeyValue is used in ClientUserInfoChanged 2017-02-17 19:14:33 +03:00
Lev
c55837e42a Refactoring: use SOCKET type for sockets, simplified code for invalid socket value. (#359)
* Refactoring: use SOCKET type for sockets, simplified code for invalid socket value.
Fixed bug in reversing.

* Fixed Linux build.
2017-02-17 15:26:44 +03:00
Lev
5c34ee85ea Fixed post build event. 2017-02-15 20:04:23 +05:00
souvikdas95
42ae4c2e97 MSVC Warning Fix (v140_xp) (#355)
MSVC Warnings Fixes (v140_xp).
2017-02-15 19:59:39 +05:00
Lev
9ee7e6e95f Formatting. 2017-02-15 08:41:28 +05:00
Lev
94fb06f95b Merge pull request #358 from dreamstalker/fixes_unrechable
Fixed most of unrechable code.
2017-02-15 08:22:06 +05:00
Lev
b03dc58897 Fixed most of unrechable code. 2017-02-15 08:10:29 +05:00
Lev
c702da50ef Merge pull request #357 from dreamstalker/fixes20170215
Suffix parameters in type declaration to avoid messing with macros and local variables.
2017-02-15 06:15:27 +05:00
Lev
a0a5202362 Suffix parameters in type declaration to avoid messing with macros and local variables. 2017-02-15 06:04:23 +05:00
In-line
9ecd027518 Remove comment (#352)
* Remove comment.
2017-02-15 05:58:09 +05:00
Lev
6e5a4eb010 Merge pull request #327 from souvikdas95/master
Fixed: parameter constraints in meta forwards & cmd functions.
2017-02-15 05:20:17 +05:00
Souvik Das
656c5d5f52 Fixed: parameter constraint in PF_lightstyle_I 2017-02-15 00:32:54 +05:30
Souvik Das
6a9d611a25 Fixed: parameter constraints in meta forwards 2017-02-15 00:10:58 +05:30
Souvik Das
0a62dab196 Added more constraints to cmd functions 2017-02-14 22:55:31 +05:30
Lev
e2e4e90abe Merge pull request #354 from dreamstalker/fixes20170214
Remove static link option for gcc lib too.
2017-02-14 22:00:22 +05:00
Lev
9ae0cb3f57 Remove static link option for gcc lib too. 2017-02-14 21:29:46 +05:00
theAsmodai
96d7b982a9 Merge pull request #351 from s1lentq/stdc_compat
Remove link statically with libstdc++
2017-02-14 19:23:09 +03:00
Lev
28d4b4e559 Merge pull request #353 from In-line/UseFuncWheneverPossible
Use __func__ whenever possible.
2017-02-14 21:06:44 +05:00
In-line
f892229a40 Use __func__ whenever possible 2017-02-14 19:47:09 +04:00