1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-01-05 20:46:20 +01:00
Commit Graph

142 Commits

Author SHA1 Message Date
Scott Ehlert
dd44e98082 Updated license year...
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40691
2008-03-26 21:32:31 +00:00
Pavol Marko
82c0b15c65 Negation after cast to signed int! (interestingly most compilers accepted and negated this anyway). Thanks DS
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40662
2008-02-19 20:40:29 +00:00
Pavol Marko
ea7aefbda6 Fixed memory leak in TestMulti and one of two leaks in TestHookManGen
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40622
2008-01-18 17:31:52 +00:00
Pavol Marko
82ce7c9ada Attempt at fixing a small memory leaks in RemoveHookManager (hook handler delegates were not being deleted)
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40621
2008-01-18 17:10:54 +00:00
Pavol Marko
2ee096f5e7 Fixed small new[] / delete mismatch in HookManGen (CGenContext::BuildProtoInfo)
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40620
2008-01-18 16:56:03 +00:00
Pavol Marko
59bd50c69d Merged hookman_autogen into trunk
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40581
2007-11-26 14:03:25 +00:00
Pavol Marko
92ade58dc2 vafmt fixes
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40563
2007-11-17 11:38:18 +00:00
Pavol Marko
4ce4e008cc Fixed potential crashbug in SH_MCALL on GCC
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40554
2007-11-10 11:01:42 +00:00
Pavol Marko
edc9d1b581 Added SH_DECL_MANUALHOOK*_vafmt, SH_DECL_MANUALHOOK*_void_vafmt, SH_DECL_MANUALEXTERN*_vafmt, SH_DECL_MANUALEXTERN*_void_vafmt
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40553
2007-11-09 22:51:31 +00:00
Pavol Marko
1286f30a0c Removed misuse of <:: (gcc compat)
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40544
2007-11-04 13:19:08 +00:00
Pavol Marko
d2e21fd7f5 - Fixed incorrect use of the const qualifier in __SourceHook_FHMSetOverrideResult* functions
- Fixed SH_MCALL using vtblindex/vtbloffset/thisptroffset from SH_DECL_MANUALHOOK instead of using SH_MFHCls(*)::ms_MFI and thus not obeying SH_MANUALHOOK_RECONFIGURE

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40543
2007-11-04 13:14:35 +00:00
Pavol Marko
0026c1f6ac Fixes for GCC compat
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40541
2007-11-02 15:33:51 +00:00
Pavol Marko
06ee3feb74 RETURN_META_MNEWPARAMS(_VALUE), SH_MCALL and SH_MANUALHOOK_RECONFIGURE can now be used if the hook is only declared using SH_DECL_MANUALEXTERN.
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40540
2007-11-02 14:36:47 +00:00
David Anderson
0cc289cf3b fixed bug when using Microsoft's STL
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40529
2007-10-16 23:01:42 +00:00
David Anderson
a0f9d0898c fixed a subtle invalid memory access bug in CVector
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40524
2007-10-16 20:01:30 +00:00
Pavol Marko
f87f2d2df8 Added SH_DECL_EXTERN$1, SH_DECL_EXTERN$1_void, SH_DECL_EXTERN$1_vafmt, SH_DECL_EXTERN$1_vafmt_void, SH_DECL_MANUALEXTERN$1 and SH_DECL_MANUALEXTERN$1_void
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40513
2007-10-14 16:25:39 +00:00
Pavol Marko
0a47015744 correct ISO for scoping
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40512
2007-10-14 12:28:28 +00:00
Pavol Marko
27066fbb99 Changes
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40511
2007-10-14 12:15:09 +00:00
Pavol Marko
b64eb781d8 Removed "trust the prototype" model which could lead to problems. Instead, every CVfnPtr now has a list of hook managers.
-> Removed CHookManagerContainer
Also removed listcat (unnecessary since "V2" interface)

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40510
2007-10-14 11:59:13 +00:00
Pavol Marko
93ead5a2e0 Backwards compat with outdated sourcehook.h
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40506
2007-10-12 20:14:10 +00:00
Pavol Marko
2cb3fa14bc Syntax error
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40505
2007-10-12 19:25:20 +00:00
Pavol Marko
b1fd9941ba Fixed comment (forgot to fix it in the last commit)
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40504
2007-10-12 19:19:17 +00:00
Pavol Marko
bf7ebed87d Fixed a problem where sourcehook ignored references in prototypes (could result in stack corruptions in some conditions)
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40503
2007-10-12 19:17:52 +00:00
Pavol Marko
ca4445cddb Added test case for removing hooks after deleting the instance in question
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40490
2007-10-09 14:48:09 +00:00
Pavol Marko
ddb9047904 Changed misleading variable name
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40485
2007-10-08 20:12:06 +00:00
David Anderson
addabb4c0d theoretical fix for reconfigure crash bug
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40478
2007-10-08 17:23:23 +00:00
David Anderson
23239dec9c added a test case which causes a crash
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40476
2007-10-08 17:17:34 +00:00
Pavol Marko
f5059014e0 Changed to support 16 arguments by default
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40475
2007-10-08 15:43:23 +00:00
Pavol Marko
601210ca83 Added back SH_GET_ORIG_VFNPTR test
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40474
2007-10-08 15:29:38 +00:00
Pavol Marko
c58727dba5 Added back the forgotten BAIL test
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40473
2007-10-08 15:23:08 +00:00
Pavol Marko
d0e26565dd Subtle bug fixed + tests now more resistant against compiler
optimizations

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40472
2007-10-08 14:20:51 +00:00
Pavol Marko
53b48bab94 Added SH_GET_ORIG_VFNPTR_ENTRY
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40471
2007-10-07 23:00:38 +00:00
Pavol Marko
070b841c94 correct version now
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40470
2007-10-07 22:45:51 +00:00
Pavol Marko
27ab211c5a correct version now... i guess i'm just tired :)
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40469
2007-10-07 22:45:22 +00:00
Pavol Marko
effccd3522 Something :o
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40468
2007-10-07 22:35:57 +00:00
Pavol Marko
0ce4e1f029 Something :O
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40467
2007-10-07 22:35:28 +00:00
Pavol Marko
7fdf6be5ac linux.gcc compat
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40466
2007-10-07 22:24:01 +00:00
Pavol Marko
47984a6cb3 New auto-hookfunc-gen friendly interface
! breaks binary compatibility !

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40465
2007-10-07 22:10:07 +00:00
Pavol Marko
f6c428a56d Added SH_GET_ORIG_VFNPTR_ENTRY macro
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40394
2007-05-12 19:48:31 +00:00
Pavol Marko
ac92e7ff05 Better treatement of deprecated callclasses
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40393
2007-05-12 19:05:16 +00:00
Pavol Marko
cdead2f8fc no comment
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40392
2007-05-12 09:03:57 +00:00
Pavol Marko
c7369c50fe Minor problem (initialization order in ExecutableClass)
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40391
2007-05-12 09:01:23 +00:00
Pavol Marko
43edf68d2c Why did MSVC not complain about this?
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40390
2007-05-12 08:57:10 +00:00
Pavol Marko
50926ce4e6 Direct VP hooks, new SH_CALL
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40389
2007-05-12 08:08:01 +00:00
Pavol Marko
8e446b28c3 Added hook ids
Added VP hooks and VP Hook test
New macro syntax (SH_ADD_HOOK + SH_STATIC/SH_MEMBER)

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40385
2007-05-07 18:35:59 +00:00
David Anderson
9bf8799bf3 removed eol-style property
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40384
2007-05-07 18:33:34 +00:00
Scott Ehlert
bbb371c8d7 Added find_last_of() to SourceHook::String for searching the string backwards
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40383
2007-05-03 02:22:03 +00:00
Scott Ehlert
45bb183759 The most incredibly pointless commit ever
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40346
2007-03-02 02:43:22 +00:00
David Anderson
ed2ba5b8b0 added some const specifiers to string
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40334
2007-02-10 04:52:18 +00:00
David Anderson
5b0ab496d2 added const specifiers to a few member functions of SourceHook::List
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40329
2007-02-05 02:16:14 +00:00