Pavol Marko
b6f0b74f5b
First step to gcc support: it compiles now
...
--HG--
branch : hookman_autogen
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/hookman_autogen%40542
2007-11-02 20:15:19 +00:00
Pavol Marko
b7e00841b0
Completed support for reference returns + added simple test for it
...
--HG--
branch : hookman_autogen
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/hookman_autogen%40539
2007-11-02 12:41:00 +00:00
Pavol Marko
2c8203f263
First support attempt for reference returns
...
--HG--
branch : hookman_autogen
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/hookman_autogen%40538
2007-11-02 11:59:57 +00:00
Pavol Marko
ebf7cf8fee
Return type can now also be an object with normal ctor/copy ctor/dtor/assign op
...
--HG--
branch : hookman_autogen
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/hookman_autogen%40537
2007-11-02 00:53:32 +00:00
Pavol Marko
83c51e6cfa
Implemented memory returns on MSVC for POD types.
...
--HG--
branch : hookman_autogen
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/hookman_autogen%40536
2007-11-01 17:29:39 +00:00
Pavol Marko
4c7d81715e
sh_memory now has CPageAlloc, testhookmangen.cpp contains a small test for it, GenBuffer uses CPageAlloc
...
(with this simple change, thesthookmangen uses 124K less memory!)
--HG--
branch : hookman_autogen
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/hookman_autogen%40535
2007-11-01 01:58:44 +00:00
Pavol Marko
972229cd9a
Changed license in sourcehook_hookmangen_x86.h (agreed to by BAILOPAN and faluco)
...
Updated MSVC7 proj file
--HG--
branch : hookman_autogen
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/hookman_autogen%40533
2007-10-21 21:55:17 +00:00
Pavol Marko
7fa9f150fb
First version of automatic hookman/hookfunc generation functionality + test
...
Currently supports (msvc): all params, ret types: integeral, floating-point
Todo: other rettypes (pod/objects, ctors/dtors), gcc support, integration with ISourceHook::AddHook
--HG--
branch : hookman_autogen
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/hookman_autogen%40532
2007-10-21 21:47:53 +00:00
Pavol Marko
f440bbd1b2
Adding automatic hookfunc generation branch
...
--HG--
branch : hookman_autogen
2007-10-21 21:18:40 +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
45223463e5
removed 1.6.0 branch
2007-10-16 20:03:12 +00:00
David Anderson
272a9c0e1a
removed 1.6.0 branch
...
--HG--
branch : sourcemm-1.6.0
2007-10-16 20:03:12 +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
Christian Hammacher
e620cd5af4
again OrangeBox compatibility, now only shows minutes and seconds in install progress, fixed bug where Done. was displayed twice in the log
...
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40523
2007-10-16 19:02:33 +00:00
Christian Hammacher
9e96503b30
binaries should work now
...
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40522
2007-10-16 18:43:23 +00:00
Christian Hammacher
e74e244fdb
updated instructions for attach binary
...
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40521
2007-10-16 17:57:30 +00:00
David Anderson
bd6be9107d
nonsense change to push new build through
...
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40520
2007-10-16 16:14:30 +00:00
David Anderson
279f8df399
updated makefile for linux support. YAY!
...
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40518
2007-10-16 04:22:09 +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
Christian Hammacher
ac218e65f2
fixed bug for FTP installations where OrangeBox was not detected
...
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40508
2007-10-13 20:15:58 +00:00
Christian Hammacher
5c49d4c583
fixed Source Dedicated Server, added TF2 support and removed Steam check (no longer asks you to close Steam before you install MM:S)
...
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40507
2007-10-13 20:10:19 +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
Christian Hammacher
45d217d393
updating installer for OrangeBox compatibility
...
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40502
2007-10-10 21:48:44 +00:00
Christian Hammacher
23459ec6e3
now attaches .source+.orangebox dll/so to installer
...
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40501
2007-10-10 08:56:00 +00:00
David Anderson
4bab4f7691
fixed linux build
...
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40500
2007-10-10 03:05:08 +00:00
David Anderson
630070ea00
fixed a bug where engine version wasn't being passed right
...
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40495
2007-10-10 02:43:25 +00:00
David Anderson
81cea20c97
- PathFormat() now returns size_t - this is a nearly irrelevant ABI break that shouldn't break
...
- implemented the rest of METAMOD_FN_LOAD
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40493
2007-10-10 01:42:25 +00:00
David Anderson
e5c5a2c1a0
added new typedef for normal load function
...
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40492
2007-10-10 01:20:36 +00:00
David Anderson
47f21f457a
moved some constants to ISmmPluginExt.h
...
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40491
2007-10-10 00:55:58 +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
David Anderson
e30aefed23
makefiles now link to proper srcds (rm -f are not actually needed)
...
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40489
2007-10-08 20:47:11 +00:00
David Anderson
abc90fa8c2
usermessage code works on linux again (used ds's suggestion)
...
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40488
2007-10-08 20:42:32 +00:00
David Anderson
6731f6dabc
fixed ep1 build
...
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40487
2007-10-08 20:23:16 +00:00
David Anderson
13408739bd
abi is now locked
...
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40486
2007-10-08 20:21:14 +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
9858c3e879
sketched out new 'alt loader' interface
...
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40484
2007-10-08 19:17:38 +00:00
David Anderson
540267578a
IPluginManager's API is now a little more sane (people complained about byref pointers)
...
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40483
2007-10-08 18:51:51 +00:00
David Anderson
b94553edb0
refactoring of API -- looks nicer and uses namespaces
...
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40482
2007-10-08 18:47:31 +00:00
David Anderson
dc59c136df
added linux support, though we need a tier1_i486.a for ob
...
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40480
2007-10-08 17:32:28 +00:00
David Anderson
c9413d9f8f
added linux compat, uses diff. remove hook syntax now also
...
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40479
2007-10-08 17:29:14 +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
c057421fca
builds against new sourcehook now
...
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40477
2007-10-08 17:22:57 +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