2
0
mirror of https://github.com/rehlds/rehlds.git synced 2025-01-01 01:25:38 +03:00
Commit Graph

541 Commits

Author SHA1 Message Date
s1lentq
1d00c3e8d1 Implemented notify of warning about failure tests 2015-09-28 19:51:06 +06:00
asmodai
04afd94aa7 HookChains refactoring.
Added API functions for getting all net message buffers.
Added callback for file hash checking.
Fixed tests passing if sse 4+ doesn't supported.
2015-09-28 02:04:50 +03:00
asmodai
fef6405b61 Fixed some issues found by Coverity 2015-07-25 03:04:18 +03:00
asmodai
c04b30a7fb Implemented SV_WriteFullClientUpdate callback 2015-07-16 15:04:41 +03:00
dreamstalker
474ab2cbc1 Merge pull request #60 from WPMGPRoSToTeMa/fragoverflowfix
Fixed net_message overflow in Netchan_CopyNormalFragments()
2015-07-16 11:44:43 +04:00
WPMGPRoSToTeMa
a3b651e54b Added overflow checks in Netchan_CopyNormalFragments 2015-07-16 10:04:27 +03:00
dreamstalker
7d7d5a7fea Merge pull request #59 from WPMGPRoSToTeMa/versionprinting
ReHLDS API version print by "version" command
2015-07-16 10:26:21 +04:00
dreamstalker
d05e82d530 Merge pull request #61 from WPMGPRoSToTeMa/clreslistchecks
Added checks for client resource list (customization list)
2015-07-16 10:26:07 +04:00
WPMGPRoSToTeMa
13706b1c07 Added checks for client resource list 2015-07-16 09:01:32 +03:00
WPMGPRoSToTeMa
8b66bc9f27 ReHLDS API version print by "version" command 2015-07-16 08:52:47 +03:00
WPMGPRoSToTeMa
6a819c8683 Fixed MAX_FRAGMENTS count 2015-07-16 04:43:03 +03:00
WPMGPRoSToTeMa
7db9030b6f Added iswprint check in Q_IsUnprintableW function
Added Q_StripUnprintableAndSpace function using for player name
2015-07-16 02:29:57 +03:00
asmodai
a3094b3719 Fixed bug in challenge generator. 2015-07-14 15:01:40 +03:00
theAsmodai
d3d296cbcc Merge pull request #54 from WPMGPRoSToTeMa/master
Fixed #53
2015-07-14 01:55:32 +03:00
WPMGPRoSToTeMa
81f7402466 Forced PSAPI_VERSION to 1 2015-07-14 00:58:41 +03:00
dreamstalker
90ecc3f4d5 Merge pull request #52 from WPMGPRoSToTeMa/setmodelnameapi
Added SetModelName function to ReHLDS ServerData
2015-07-14 01:19:36 +04:00
s1lentq
2531c8f8af Added missing EXT_FUNC functions to ReHLDS API 2015-07-13 23:34:33 +06:00
WPMGPRoSToTeMa
db2c7c7c10 Added SetModelName function to ReHLDS API 2015-07-13 02:00:34 +03:00
dreamstalker
131d43a15e Added missing EXT_FUNC marks 2015-07-13 00:01:02 +04:00
s1lentq
a5d278fb1e Implemented unregisterHook for hookchain and added some functions to ReHLDS API 2015-07-07 23:33:50 +06:00
s1lentq
0f5844c6aa Fix bug with SV_CheckForDuplicateNames 2015-07-06 01:59:56 +06:00
asmodai
9d3e472762 Fixed #46 2015-07-04 22:00:08 +03:00
asmodai
c1daf838c3 Added client_t<>index conversion functions to ReHLDS API. 2015-07-04 20:31:51 +03:00
thecrock
b0e4e5fa4f Fix for the Buffer Overload 4 exploit 2015-07-02 20:32:50 +04:00
dreamstalker
ed575d9b7d Fixed: all functions that could be called from outside must realign the stack
Removed NOINLINE from MSG_Write*Bits functions since stack alignment issue is resolved
2015-06-30 17:09:22 +04:00
dreamstalker
8aac19ce00 FlightRecorder: write all console and log messages to the flight log
Refactored tests
2015-06-28 21:15:11 +04:00
dreamstalker
c0889990db Merge branch 'coverity_fixes' 2015-06-27 16:28:02 +04:00
dreamstalker
41ffb2d13c Fixed issues found by Coverity 2015-06-27 14:06:45 +04:00
dreamstalker
53649a3da2 Expose pointer to the cmd_source through rehlds API 2015-06-26 21:26:33 +04:00
dreamstalker
1463a1a2f8 Fixed issues found by Coverity in the engine 2015-06-26 21:21:55 +04:00
dreamstalker
328c32f8c9 Fixed the "server failed to transmit file 'AY&SY..." bug 2015-06-23 20:08:42 +04:00
dreamstalker
b08e7cb679 Fix Linux build 2015-06-23 00:27:25 +04:00
dreamstalker
90f24f0413 ReHLDS API: Added interceptor for string commands handled by the engine
Mark rehlds_syserror() as noreturn
Added missing includes in ReHLDS API
2015-06-23 00:15:27 +04:00
dreamstalker
f5a9f2e413 Workaround for 'stack misaligned when inlining SSE' bug in icc 2015-06-17 23:36:36 +04:00
dreamstalker
da547bd7c7 SV_ConnectClient: format *sid properly 2015-06-16 14:04:26 +04:00
dreamstalker
7314efd6e5 Merge pull request #36 from dreamstalker/_34_tests
Fixed #34: Implemented safe strcpy()
2015-06-16 13:58:31 +04:00
WPMGPRoSToTeMa
69fd6eff17 Voice_GetClientListening bugfix 2015-06-15 19:09:25 +03:00
dreamstalker
3cd4a52567 Implemented strcpy_safe which is safe to use with overlapping src and dst buffers
Use strcpy_safe in Info_ functions
2015-06-14 23:08:03 +04:00
dreamstalker
34686c3819 Tests for Info_ functions 2015-06-14 22:56:25 +04:00
dreamstalker
ae5cbf8cbc Merge pull request #33 from dreamstalker/unicode_strtools_tests
unicode_strtools unit tests
2015-06-13 22:53:07 +04:00
dreamstalker
f2e8610689 unicode_strtools unit tests 2015-06-13 22:22:08 +04:00
asmodai
a6788217e7 Fixes in SV_ExtractFromUserinfo, SV_CheckForDuplicateNames, SV_CheckUserinfo. 2015-06-13 16:40:27 +03:00
dreamstalker
438726f462 Fixed typo in Q_UnicodeConvertT
Rehlds Demo Player: print number of frames calculated when demo ends successfully
2015-06-13 16:08:16 +04:00
dreamstalker
ddc6d1e3d4 Link clock_gettime from librt to avoid dependency of GLIBC_1.17 2015-06-12 17:15:23 -05:00
asmodai
895f0beda5 Added names for network constants. 2015-06-07 21:06:20 +03:00
asmodai
c3e5486612 Fixed message fragments validation.
Fixed NET_GetLong.
Passing netadr_t to functions by reference instead of copying.
Added missed Q_ prefix for stdlib functions.
2015-06-07 03:55:42 +03:00
dreamstalker
b6c01cdd4c Link libstdc++ statically on linux
Updated gradle to 2.4
Updated gradle-cpp-plugin to 1.2
2015-06-06 23:40:49 +04:00
dreamstalker
76b017901b Merge pull request #27 from dreamstalker/flightrec
Implemented decoder for FlightRecorder's logs
2015-06-06 21:07:34 +04:00
dreamstalker
f2b95b0305 Implemented decoder for FlightRecorder logs 2015-06-06 16:24:53 +04:00
asmodai
7a973d1afb JITted DELTA_TestDelta.
Maked unit test for DELTA_TestDelta.
Unrolled tail recursion in SV_FindTouchedLeafs and SV_LinkContents.
Other small optimizations and fixes.
2015-05-29 23:21:20 +03:00
dreamstalker
391bd5d627 Merge branch 'master' into flightrec
SSE4.2's crc32 is actually crc32c - removed crc32.*
2015-05-25 18:16:30 +04:00
dreamstalker
bc88790bb1 Fixed #24: Remember fields unmarked by encoder and force set it if entity is used as a baseline 2015-05-24 15:29:47 +04:00
dreamstalker
39b803fa3d Delta encoder tests: refactoring
Added prefetches to delta and deltaJit
2015-05-24 01:41:16 +04:00
theAsmodai
4821823407 Merge pull request #22 from theAsmodai/master
Finished work with JIT in DELTA_CheckDelta and DELTA_WriteDelta
2015-05-23 01:04:09 +03:00
asmodai
4071c13e3a Fixed demo tests passing.
Don't generate any JIT code for empty delta memblocks.
Added bits, bytecount and sendfields checks to delta unit tests.
Small optimizations and fixes.
2015-05-23 00:55:26 +03:00
dreamstalker
3226154626 Merge pull request #21 from WPMGPRoSToTeMa/cvarlistfix
cvarlist: Do correct output of string valued cvars
2015-05-22 09:58:55 +04:00
dreamstalker
5bb896dcee Refactoring
DeltaJIT passes tests now
2015-05-22 02:38:25 +03:00
Andrey
7fdb4f73bc Delta JIT improvements. 2015-05-22 02:38:25 +03:00
WPMGPRoSToTeMa
fb3504c9b6 cvarlist: Do correct output of string valued cvars 2015-05-22 02:17:58 +03:00
dreamstalker
5abbc92fda SV_AllocPacketEntities optimization moved under REHLDS_OPT_PEDANTIC
Rehlds Demo Player: write duration in the 'rehlds_demo_stats.log' file when demo ends successfully
6132_hooker.cpp: Minimal setup to play/records demos in hook mode with active Rehlds API
2015-05-21 23:50:18 +04:00
dreamstalker
31bfe3db78 Moved optimized MSG_Write*Bits* under REHLDS_FIXES defined because it uses bf_write_s structure incompatible with the original engine
Fixed wrong tex.coords formula in SurfaceAtPoint()
Added missing calls to SV_CheckWaterTransition() in SV_Physics_Toss()
Flight recorder: Lazy init with HOOK_ENGINE
RehldsDemoPlayer: print heartbeat message every 10Mb of demo
2015-05-21 21:20:40 +04:00
dreamstalker
f2fe5a6c74 SV_WriteEntitiesToClient: don't use intermediate 'fullpack' storage for entities being transmitted
SV_SetupMove: Don't look examine frame->entities after last player
2015-05-21 03:15:03 +04:00
dreamstalker
ed6e5b4a94 Merge pull request #19 from dreamstalker/further_delta_opt
JITted DELTA_CountSendFields
2015-05-20 19:23:15 +04:00
dreamstalker
fea4be8bd1 JITted DELTA_CountSendFields
Use JITted delta in DELTA_CheckDelta
2015-05-20 19:08:33 +04:00
dreamstalker
3f448f441e Implemented faster and safe MSG_Write*Bit* 2015-05-20 17:21:42 +04:00
dreamstalker
7891b6196a Implemented delta JIT
Implemented name->index map for sv.model_precache[]
Fixed CPPUnitLite tests runner
Source code optimizations for optimal usage of precompiled headers on linux
2015-05-19 23:20:11 +04:00
dreamstalker
5d572afc31 Merge branch 'master' of https://github.com/dreamstalker/rehlds 2015-05-17 21:52:30 +04:00
dreamstalker
60b40a687c Don't build 'hooker' libraries by default 2015-05-17 21:52:07 +04:00
s1lentq
ff3eca631e add comment 2015-05-17 21:34:26 +06:00
dreamstalker
01f3fdf787 Fixed: there was a tiny chance to assemble corrupted svc_event message in SV_EmitEvents 2015-05-17 19:15:10 +04:00
dreamstalker
6b1654bbff Flightrec: WIP 2015-05-17 15:30:30 +04:00
dreamstalker
4b1eabc541 Mathlib unit tests
Added REHLDS_OP_PEDANTIC define to all configs in the msvc project
Fixed CrossProduct
2015-05-16 01:44:13 +04:00
Andrey
591ee6b490 More SSE optimizations. 2015-05-15 16:04:23 +03:00
s1lentq
0121d49ff4 Maked reallocation of resource names in precache. 2015-05-12 03:48:39 +06:00
Andrey
904394b6ea Added SSE 4.1 implementation of dot product, added SinCos function, maked fast version of SV_Move for point hull (trace line), small copying optimization in SV_RunCmd. 2015-05-11 20:09:51 +03:00
Andrey
7ae1eebac8 Unrolled tail recursion in RecursiveHullCheck functions 2015-05-11 19:06:14 +03:00
s1lentq
b153ad664a Function Host_UpdateStats on Linux doesn't work correctly.
Fixed the computation of cpuPercent

Made signature checks (bz2, wad3) look more beatiful
2015-05-10 18:53:22 +06:00
dreamstalker
2a0fff4074 #8 Refactoring SDK
Get rid of (u)int[nn]_t types from osconfig.h, use (u)int[nn] from archtypes.h instead
2015-05-09 20:58:58 +04:00
dreamstalker
78b1785e7d Fixed #2: NPE in CPlayingEngExtInterceptor::setCurrentTm() 2015-05-09 13:51:44 +04:00
dreamstalker
29e76e1420 Merge pull request #7 from dreamstalker/#6
Fixed #6: Exposed IGameServerData interface
2015-05-08 23:43:32 +04:00
dreamstalker
459239b236 Merge pull request #5 from WPMGPRoSToTeMa/master
Host say format and localize bug fix
2015-05-08 23:21:07 +04:00
dreamstalker
35efb4fc8f Fixed #6: Exposed IGameServerData interface 2015-05-08 23:07:42 +04:00
WPMGPRoSToTeMa
5e05220444 Host say format and localize bug fix 2015-05-08 22:06:05 +03:00
dreamstalker
d152523ae1 Fixed bad optimizations in Cbuf_* functions 2015-05-08 22:09:08 +04:00
dreamstalker
61a97df241 Merge pull request #4 from WPMGPRoSToTeMa/master
Fixed download bug (creating directory bug)
2015-05-08 17:38:47 +04:00
WPMGPRoSToTeMa
73b9448c0c Fixed download bug (creating directory bug) 2015-05-08 14:51:54 +03:00
Andrey
6a4eaeee95 Fixed some Cmd_ functions, fixed messages sending in ClientPutInServer forward, added unrolled (un)munge2 functions, added one overflow preventing check, fixed fullupdate spam from not active clients, removed entity states reallocation in SV_WriteEntitiesToClient, packing players states separately from entities, added defines. 2015-05-07 21:06:51 +03:00
Andrey
49cbbeafb2 add comments 2015-05-06 01:56:48 +03:00
Andrey
a4909aca6d Some bugfixes and improvements 2015-05-06 01:21:52 +03:00
dreamstalker
ed23c81fdd buildSrc/build.gradle: cleanup
rehlds/build.gradle: don't override cleanup task, just add action to it
2015-05-05 20:18:30 +04:00
dreamstalker
7326bee095 Initial commit 2015-05-04 22:25:41 +04:00