1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2024-12-01 13:24:25 +01:00
Commit Graph

24 Commits

Author SHA1 Message Date
Pavol Marko
6a15c59cce Added support for functions returning references; added TestRefRet, fixed typos in sourcehook_impl.h
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40250
2006-08-09 06:46:11 +00:00
Pavol Marko
3e860a89cc whoops, forgot the varargs/overload test (test2)
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40199
2006-05-13 18:23:25 +00:00
Pavol Marko
9c3b9c4bb2 rewritten sh's template files to use new shworker syntax, fixed sh_call. tbh, i'm good
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40197
2006-05-13 17:57:35 +00:00
David Anderson
b6f713be5f experimental patch for unhook exclusivity bug
added multi-hook single-remove test cases (crummy but works)

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40178
2006-01-24 20:02:19 +00:00
Pavol Marko
1a1366323e linux/gcc/32bit compatibility
----------------------------------------------------------------------

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40165
2005-12-23 23:15:18 +00:00
Pavol Marko
9eb35c8830 One bugfix, addition of META_RETURN_(VALUE_)NEWPARAMS (implemented using recalls), tests now support compiling against an older version of sourcehook.h (through the sourcehook_test.h file) while main.cpp which now also acts as a CSourceHookImpl factory compiles against the new version.
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40163
2005-12-23 11:58:11 +00:00
Pavol Marko
8cc68b35fb Added manual hooks. I hope that I haven't broken binary compatibility - someone might want to test it.
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40158
2005-12-10 22:37:53 +00:00
David Anderson
386eef09d3 Fixed various memory leaks
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40152
2005-12-06 06:01:16 +00:00
Pavol Marko
1904372f67 sh_stack now works if assert is disabled (stupid me), simple reentrancy test, META_IFACEPTR takes a type argument
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40134
2005-10-14 17:45:36 +00:00
Pavol Marko
46e9986a0e SourceHook tests pass again! Added test for list (and a small bit of tinyhash). Woot.
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40112
2005-09-23 20:14:10 +00:00
David Anderson
4f07756795 Correct spacing!
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40101
2005-09-13 16:47:42 +00:00
David Anderson
ead774778f std::vector -> SourceHook::CVector
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40100
2005-09-11 23:24:18 +00:00
David Anderson
ac1ea74510 Changed to namespaces
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4099
2005-08-12 17:44:53 +00:00
David Anderson
f73ef50b79 Initial step towards no STL - added replacement for std::list
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4097
2005-08-12 17:33:31 +00:00
Pavol Marko
1c1b3953a3 Added TestBail
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4076
2005-05-27 21:39:30 +00:00
Pavol Marko
3c82560621 Added test4.cpp for plugin managment system testing, added -v parameter for verbose output on test fail
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4061
2005-05-05 14:00:08 +00:00
Pavol Marko
4dc4ed7a2b Added code for proper handling of thisptr adjustors, added new test, version info, more options for GetFuncInfo
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4059
2005-05-05 10:40:47 +00:00
Pavol Marko
e175a7db5c Fixes
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4051
2005-05-01 18:04:18 +00:00
Pavol Marko
9fb8a3e891 linux/gcc/32bit compatibility
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4049
2005-05-01 12:36:48 +00:00
Pavol Marko
3234d2b79c Fixes
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4046
2005-04-30 19:09:51 +00:00
Pavol Marko
2a777754e6 Some fixes, new test system
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4043
2005-04-30 15:48:46 +00:00
Pavol Marko
bb2cb311ad Completly redone templates, added "vfnptrs"
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4042
2005-04-29 20:29:46 +00:00
Pavol Marko
aed73ffa76 Added plugin pausing, the Plugin typedef is now an int, SH_GLOB_PLUGPTR is now g_PLID by default
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%409
2005-04-16 20:26:33 +00:00
Pavol Marko
2d1d2f7abf Initial import of test project
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%406
2005-04-14 16:19:07 +00:00