David Anderson
78eb5b7747
removed Handle:myself from OnPluginStart
...
added GetMyHandle to get handle now, but there's no use...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40542
2007-02-26 08:32:20 +00:00
David Anderson
0b8874e5ec
fixed a series of crash bugs related to CreateForward() with a NULL typeset
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40535
2007-02-26 02:51:14 +00:00
David Anderson
e4fdaede32
added per-handle security (untested)
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40534
2007-02-26 02:47:03 +00:00
David Anderson
8567d140d2
re-added this back, it was a good idea after all
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40533
2007-02-22 02:20:15 +00:00
David Anderson
81a6bc3288
removed unnecessary code
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40532
2007-02-22 02:09:46 +00:00
David Anderson
8553f12d59
Corrected an API design flaw with pausing. Contexts can now be flagged as paused, and IsRunnable() is moved from IBaseContext to IPluginFunction. While this allows for per-function pausing, it is not intended that way.
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40531
2007-02-22 02:05:50 +00:00
Scott Ehlert
bb79b1e6a9
Removed convar stuff from CPlugin, now uses plugin properties for convar listing
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40493
2007-02-14 01:25:45 +00:00
David Anderson
20441b70d3
added plugin properties
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40492
2007-02-13 19:20:48 +00:00
David Anderson
682e7d4ab6
fixed build on linux problems
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40470
2007-02-11 00:17:54 +00:00
Scott Ehlert
fdba3e1f66
Initial import of convar stuff
...
1) Natives to create, find, set, and get convars
2) "cvars" option added to sm menu
3) Some internal additions to CPlugin to store a convar list
Still some things left to do...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40463
2007-02-08 21:41:28 +00:00
David Anderson
6908858807
fixed a bug where mapupdated plugins would not get unloaded on deletion
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40456
2007-02-07 19:34:58 +00:00
David Anderson
085264e837
Execute result pointer is now optional
...
fixed a bug where result could be filled with no executions
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40453
2007-02-07 08:42:48 +00:00
Borja Ferrer
c21bfe57c1
Optimized forwards, now paused functions are stored in a temp list so we dont have to check if they're runnable on each function execution.
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40436
2007-02-04 22:41:44 +00:00
Scott Ehlert
02ffffe05a
Oi, consistency...
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40432
2007-02-02 22:47:14 +00:00
David Anderson
afd52e1611
fixed a crash bug from not initializing properly
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40419
2007-01-29 22:37:37 +00:00
David Anderson
aea1073d13
added autoloading of extensions
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40403
2007-01-27 04:50:33 +00:00
Borja Ferrer
aa8bf86dc1
added %T format support
...
added a new lang native
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40395
2007-01-27 03:25:34 +00:00
Borja Ferrer
21123f4c74
fixed plugins being loaded twice if they were loaded previously
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40389
2007-01-27 00:03:34 +00:00
David Anderson
21fb4856e0
added license headers
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40375
2007-01-25 22:36:38 +00:00
David Anderson
eaa989cb6b
fixed a build error
...
renamed SMC_CreateParse to SMC_CreateParser
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40369
2007-01-25 21:50:45 +00:00
David Anderson
3e936bbd88
initial import of linux support
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40356
2007-01-25 09:19:38 +00:00
David Anderson
e506745890
Added more path building stuff
...
Addeed text parsing API
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40350
2007-01-25 04:37:23 +00:00
David Anderson
ef2bc1aa60
changed the two init/unload forwards to have easier names
...
added text parsing natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40345
2007-01-25 02:10:43 +00:00
David Anderson
0b8b26042e
Added initial admin system natives
...
Added a few API changes to the admin system
Exposed more interfaces
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40341
2007-01-24 23:43:31 +00:00
Borja Ferrer
ba1daf3142
plugins get updated on map change
...
maponly plugins get unloaded on map change
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40338
2007-01-20 02:12:53 +00:00
David Anderson
ec93a3eb80
cleanup
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40333
2007-01-19 08:24:11 +00:00
David Anderson
cd735aec71
finished massive reorganization - IPluginFunction is now part of the VM, NOT the plugin system! This is how it should have been in the first place...
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40332
2007-01-19 08:22:44 +00:00
David Anderson
8a46219d96
reorganized SourceMod for the public SDK
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40329
2007-01-19 05:33:04 +00:00
David Anderson
5c6eebcebf
added new path format functions
...
exposed helpers as ISourceMod
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40322
2007-01-19 02:14:50 +00:00
David Anderson
c5d0848177
finished most of the extension system
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40320
2007-01-18 23:28:14 +00:00
David Anderson
c6b77c8cc1
This is now const
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40318
2007-01-18 20:56:41 +00:00
David Anderson
232e027137
Quick commit of ShareSys API change
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40317
2007-01-18 20:30:45 +00:00
David Anderson
4ac5297d11
fixed a dep bug
...
fixed a plugin unload iterator bug
extension unloading now works
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40316
2007-01-18 09:14:20 +00:00
David Anderson
1efdacd69b
added [SM] to direct responses of menu cmds
...
began adding the extension menu
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40315
2007-01-18 00:17:36 +00:00
David Anderson
3597a8b1fe
Finished porting the "plugins" command to the new menu system
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40314
2007-01-17 18:22:00 +00:00
David Anderson
7b8c36cb79
Added plugin dependencies to extensions
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40310
2007-01-17 06:48:11 +00:00
David Anderson
1857f29efc
Added extension loading/unloading
...
Extended SDK for interface sharing
Completed Metamod extension support
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40309
2007-01-17 03:01:38 +00:00
David Anderson
03277707b5
initial import of extension API and SDK as well as auto-loading
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40303
2007-01-16 19:41:21 +00:00
David Anderson
f7545a848f
Fixed an off-by-one bug in the handle system
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40302
2007-01-16 19:34:32 +00:00
David Anderson
5366d05ce2
Fixed a serious potential corruption bug
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40301
2007-01-16 19:03:29 +00:00
David Anderson
f4cd98191e
small optimization, fixed a corruption bug
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40298
2007-01-15 22:09:11 +00:00
Borja Ferrer
9f2c0e370e
forwards are now really unregistered
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40296
2007-01-15 03:28:55 +00:00
Borja Ferrer
89350a1785
Added capability to toggle debug state in plugins at runtime
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40295
2007-01-15 00:56:39 +00:00
Borja Ferrer
eea576cb52
Added new debugger logger
...
Added format errors
Paused plugins now have their forwards blocked
Fixed bug where pausing a plugin wouldnt make any effect
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40293
2007-01-12 23:56:02 +00:00
David Anderson
efd3a8ab5f
Handle system can now unload identities safely. when an identity is removed, all handles owned by it are removed in a chain.
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40288
2007-01-11 07:29:09 +00:00
David Anderson
09b01f7950
removed a few TODOs and filled out some PluginSys stuff
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40287
2007-01-11 01:13:34 +00:00
Borja Ferrer
45baab94a6
Added a bunch of new file natives.
...
Fixed possible corruption in snprintf when input buffer was bigger than output buffer and relaying on its retval.
Fixed all cases when the above situation happened.
Fixed _PrintToHL2Log not taking va_list in.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40279
2007-01-07 01:30:28 +00:00
David Anderson
7bb52e67f3
compiles again
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40278
2007-01-06 19:35:25 +00:00
David Anderson
7bbe099cea
fixed a bug causing mapchanges to crash
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40269
2007-01-04 23:30:54 +00:00
David Anderson
4bd40d69e1
restructure of HandleSys admin permissions and interface
...
removal of HandleSys helper functions
removed useless BaseContext stuff from Engine
put SourceMod specific stuff in BaseContext
cleaned up broken Handle code
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40267
2007-01-04 02:08:27 +00:00