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

163 Commits

Author SHA1 Message Date
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
David Anderson
196071466b lol oops
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40162
2005-12-22 21:00:54 +00:00
David Anderson
e5076659dd Fixed crash bug in plugin retry/reloading
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40161
2005-12-22 13:04:08 +00:00
Pavol Marko
27c7640638 Fixed weird gcc warning
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40160
2005-12-10 22:49:32 +00:00
Pavol Marko
e704486223 Added test for manual hooks
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40159
2005-12-10 22:43:51 +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
20beff0636 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40157
2005-12-06 09:37:57 +00:00
David Anderson
2e915cf348 - Added interface overriding/sharing examples to sample plugins.
- Fixed various memory leaks.
 - Fixed memory corruption bug on vector copying.
 - Fixed other various template bugs.

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40156
2005-12-06 09:32:06 +00:00
David Anderson
151fb309c6 Fixed vector copy error
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40155
2005-12-06 09:10:42 +00:00
David Anderson
e44ecb812c Bumped version #
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40154
2005-12-06 08:18:49 +00:00
David Anderson
221e49cbc6 Added API call for guessing iface names
Added interface query overriding+sharing examples to stub+sample

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40153
2005-12-06 07:59:18 +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
David Anderson
6875cd1f74 Fixed operator overload bug in List
Fixed memory leak in TinyHash

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40151
2005-12-06 03:13:50 +00:00
David Anderson
52c5031598 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40150
2005-10-22 05:22:22 +00:00
David Anderson
6165933316 Updated
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40149
2005-10-22 05:19:50 +00:00
David Anderson
d8e63fb33c Quick fix
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40148
2005-10-22 05:05:35 +00:00
Christian Hammacher
ec79e03f7e Changed version number to 1.1
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40147
2005-10-21 20:50:01 +00:00
David Anderson
d1f72d5a94 Committed new changelog
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40146
2005-10-21 11:15:18 +00:00
David Anderson
81bae13a60 Fixed macro bug
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40145
2005-10-21 10:02:21 +00:00
David Anderson
7e10d55d11 Fixed a bug in erase() with bounds checking
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40144
2005-10-21 09:14:42 +00:00
David Anderson
b520145da6 Sample usage of new listener API
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40143
2005-10-21 07:22:37 +00:00
David Anderson
e24876a8cd Committed new API
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40142
2005-10-21 07:18:53 +00:00
David Anderson
1fb61175c1 Fixed bugs, updated plugins
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40141
2005-10-20 14:57:02 +00:00
David Anderson
c1fb10cbf0 you can now see which plugin returned the iface
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40140
2005-10-20 14:52:49 +00:00
David Anderson
2cabdcf3da initial import of new events system
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40139
2005-10-20 14:37:47 +00:00
Pavol Marko
f3fb7f304d :D
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40138
2005-10-15 17:55:31 +00:00
Pavol Marko
3a4d692926 :D
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40137
2005-10-14 21:09:12 +00:00
Pavol Marko
0886e3fca4 Oh noes!
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40136
2005-10-14 21:05:55 +00:00
Pavol Marko
35e29f15a8 Faluco added new FastDelegate version, added more tests to testreentr
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40135
2005-10-14 20:57:43 +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
David Anderson
51d2273abf Fixed bug where cvar list would get smashed on plugin unload
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40133
2005-10-14 04:25:28 +00:00
Christian Hammacher
00a95792a9 Changed all icons to teh HL2 icon (DON'T KICK ME GABEN)
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40132
2005-10-13 23:43:31 +00:00
Christian Hammacher
63686a525a I can't spell "LATEST"
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40131
2005-10-13 23:42:51 +00:00
Pavol Marko
19000cb24b Updated stack + added simple stack test
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40130
2005-10-13 20:46:52 +00:00
Pavol Marko
17aa1b4c3f Untested reentrancy support; TODO: Test sh_stack and reentrancy extensively!
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40129
2005-10-12 20:25:15 +00:00
David Anderson
03ba0a371e Fixed linux compiling
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40128
2005-10-08 01:15:02 +00:00
Christian Hammacher
5d39ea83a9 Added MM:S installer to the CVS [MM:S installer is a modifed copy of the AMX Mod X installer]
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40127
2005-10-07 15:42:18 +00:00
David Anderson
a169ec7f61 Removed debug code
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40126
2005-10-06 22:30:29 +00:00
David Anderson
08b2d3d1c3 Finalized versioning and PI
Added QueryRunning() output to meta info/list.

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40125
2005-10-06 21:59:10 +00:00
Pavol Marko
a4299bd097 It seems to work, but it's not reentrant yet.
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40124
2005-10-06 20:46:49 +00:00
David Anderson
67039543cd Initial import of new GameDLL loading code
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40123
2005-10-06 00:59:01 +00:00
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
71d74c6722 Re-bumped all version numbers again (SourceHook=2, Plugin=7/7)
Fixed bug where gamedlls setting new game names would not work
Moved PM's virtual destructor to bottom of vtable

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40117
2005-09-29 23:05:01 +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
18bfaa7021 Now unloading the original gamedll in DLLShutdown() instead of using a __attribute__((destructor)) function
-> Also auto-removing ConCommandBases with the FCVAR_GAMEDLL flag before doing that

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40115
2005-09-24 21:10:53 +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