1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2024-11-29 11:24:19 +01:00
Commit Graph

52 Commits

Author SHA1 Message Date
Pavol Marko
36dda69d9d Partial fix
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40122
2005-10-05 21:51:02 +00:00
David Anderson
047c7e0c99 Should work on both now!1111gaben
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40121
2005-10-03 18:37:35 +00:00
Pavol Marko
b5b686a519 msvc/win32 compatibility
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40120
2005-10-03 18:31:44 +00:00
Pavol Marko
5744176211 Got rid of ^M ( ! )
Removed the weirdest ModuleInMemory test which was causing it to fail on amd64

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40119
2005-10-03 17:39:40 +00:00
Pavol Marko
2790931701 CHANGES!
sh_memory.h: Added ModuleInMemory; first checks /proc/self/maps OR /proc/curproc/map; if not available tries DS's sigsegv trapping method
sh_tinyhash: Added simple erase function(s)
test/Makefile: New makefile
Changed internal interface: sourcehook.hxx now doesn't need to know about implementation details like vectors etc.

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40118
2005-10-03 17:20:22 +00:00
David Anderson
3130242ca8 Fixed destructor to free all items properly
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40116
2005-09-26 16:05:07 +00:00
Pavol Marko
e242aa662d Better Makefile
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40114
2005-09-24 15:56:40 +00:00
Pavol Marko
21c610496c Hello.
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40113
2005-09-24 15:27:03 +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
5ed98f9a46 Fixed some more template bugs
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40111
2005-09-13 22:16:29 +00:00
David Anderson
bae2c00808 stdint is gnuc only
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40109
2005-09-13 20:24:58 +00:00
David Anderson
4b048ff0b2 GCC compatibility
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40108
2005-09-13 20:21:58 +00:00
David Anderson
62133463ac Added comparison functions
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40104
2005-09-13 18:20:37 +00:00
David Anderson
23595d677d Imported growable TinyHash class to replace std::map
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40103
2005-09-13 16:52:14 +00:00
David Anderson
3391d62146 No more STL! Imported TinyHash
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40102
2005-09-13 16:47:42 +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
Scott Ehlert
151efb135a Moved g_BadReadCalled and g_BadReadJmpBuf to sourcehook.cpp to prevent linking errors when including sourcehook_impl.h
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4094
2005-07-09 20:49:25 +00:00
Scott Ehlert
63bda51111 argh
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4092
2005-07-07 21:12:00 +00:00
Scott Ehlert
641667bbb9 Removed IsBadReadPtr and BadReadHandler from CSourceHookImpl to fix Linux compile bug
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4091
2005-07-07 21:07:43 +00:00
Scott Ehlert
542dfc5eec One last oops. I really need to install Linux again SOON :(
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4089
2005-07-07 18:41:08 +00:00
Scott Ehlert
b45d02fd59 Oops
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4088
2005-07-07 18:24:08 +00:00
Scott Ehlert
c8d4189477 Yay, the nasty SourceHook bug is finally fixed!
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4087
2005-07-07 18:21:32 +00:00
Pavol Marko
f5076fa43d Truly gone fishing... It's fixed!
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4084
2005-07-02 10:09:40 +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
818c3990e9 Possible fix for MSVC 7.1 SH_CALL on varargs
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4063
2005-05-05 21:02:31 +00:00
Pavol Marko
9a5437c0f1 More verbosity, gcc/linux/amd64 compatibility
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4062
2005-05-05 14:43:40 +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
a5b89f545c Linux/GCC/32 compatibility
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4060
2005-05-05 13:13:16 +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
9bbbea6c9e Vafmt works now
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4050
2005-05-01 14:30:52 +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
211535d433 Fixed RemoveHook + minor changes
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4048
2005-05-01 09:55:51 +00:00
Pavol Marko
373a6f228f New test
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4047
2005-04-30 19:10:07 +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
9ab8eae041 Initial checkin
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4044
2005-04-30 15:52:26 +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
David Anderson
05260cd3b7 Fixed GCC bug
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4038
2005-04-23 16:07:14 +00:00
David Anderson
b6a543bbc1 Cleaned up files for linux
Disabled SH_CCC_Makegate call for linux builds

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4035
2005-04-22 14:29:25 +00:00
Scott Ehlert
5606a22a9c Fixed a bug where trying to hook functions that had a pointer return type would result in some type conversion compiler errors
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4033
2005-04-21 11:07:15 +00:00
David Anderson
38c0cb36b4 Added license/author tags to files
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4011
2005-04-16 23:33:57 +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
b666b9acde Added possibility to specify your own g_SHPtr / g_Plug, removed all occurencies of The Word, fixed UnloadPlugin and CompleteShutdown
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%407
2005-04-16 16:55:53 +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
Pavol Marko
c923256432 Small fix; the public hookerfunc didn't recognize virtual inheritance
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%405
2005-04-14 16:18:36 +00:00
Pavol Marko
6b44f98236 Fixed bugs with multiple and virtual inheritance
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%404
2005-04-14 16:17:40 +00:00