David Anderson
a79a169384
added a quick experimental system for overriding core natives
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401695
2007-11-17 04:31:01 +00:00
David Anderson
af68caaf85
- sourcemod now intelligently unloads plugins which are leaking insane amounts of handles. these unloads get logged to sourcemod_fatal.log
...
- unloading is now delayed if a plugin is in the middle of a callstack
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401644
2007-10-22 08:53:15 +00:00
David Anderson
b6e33a575f
- fixed a bug where OnConfigsExecuted() could be ran before OnAllPluginsLoaded()
...
- added new commands for amb1036, war mode
- fixed a bug in the admin menu
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401636
2007-10-22 05:35:31 +00:00
David Anderson
c803eb8328
fixed an overall deficiency where libraries did not include extensions. extensions can now mark themselves as libraries, and they thus become fully optional just as plugins do. additionally, a bug was fixed where plugins could be accidentally marked as required instead of optional. these changes resulted in a bcompat API bump to the extension/sharesys interface.
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401578
2007-10-15 04:06:57 +00:00
Borja Ferrer
b7d9d487cc
ported SM's core to Orange Box
...
build is broken now in purpose
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401547
2007-10-14 00:04:21 +00:00
David Anderson
167c1d0a31
added request amb948 - blocking of plugin loads
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401442
2007-09-18 17:44:17 +00:00
David Anderson
f145178fc0
greatly optimized the process of mapping plugin natives from Core
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401388
2007-08-29 00:47:05 +00:00
Borja Ferrer
1df2ab5b8b
added amb374, reload plugin command
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401354
2007-08-18 17:15:22 +00:00
Scott Ehlert
a1009aed38
Updated license headers on virtually all files with extremely minor changes in the name of some sort of strange consistency.
...
All plugin and include file headers also have been changed to say about GPL3 instead of GPL2.
(This day shall henceforth be known as the Eighty Column Massacre of '07)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401336
2007-08-15 06:19:30 +00:00
David Anderson
38ddbb37b9
updated more header files (mostly internal now)
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401237
2007-08-01 02:12:47 +00:00
Borja Ferrer
b0a96e69c1
added amb567, new OnAllPluginsLoaded forward
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401227
2007-07-31 22:34:52 +00:00
David Anderson
4ce48512b1
- added callbacks for libraries becoming available
...
- fixed MarkNTVOptional requring native to exist
- fixed a bug where it looks like plugins could not be paused
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401130
2007-07-16 02:06:02 +00:00
David Anderson
a80d38f799
- reloading now refreshes weak native binds
...
- fixed a crash bug when unloading a plugin being pointed to by weak ntvrefs in another plugin
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401128
2007-07-15 21:29:49 +00:00
Borja Ferrer
fe8ebeae89
added amb292, optional natives
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401118
2007-07-15 01:04:34 +00:00
Borja Ferrer
8a8e6ef594
added experimental optional natives (part 1)
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401095
2007-07-12 02:57:43 +00:00
David Anderson
271a8b5b56
- sourcemod can now unload properly without crashing
...
- extensions now unload, dependencies are resolved
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401024
2007-06-26 17:08:07 +00:00
David Anderson
254fc2557a
- removed OnServerCfg in favor of OnConfigsExecuted
...
- added AutoExecConfig() which automates safe config execution
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40984
2007-06-18 07:04:22 +00:00
David Anderson
00e9d047c7
added sm_dump_handles command for tracking down Handle leaks... more to come someday
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40906
2007-06-07 02:36:54 +00:00
Scott Ehlert
3851dc9243
Renamed err_max to maxlength. Yes, I am crazy.
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40761
2007-05-08 00:21:44 +00:00
Scott Ehlert
bb92fc06a6
More consistency of some sort...
...
Oh god, what has possessed me to do this?
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40659
2007-03-22 21:50:20 +00:00
Scott Ehlert
5b3a3cef27
Made this more consistent or something...
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40658
2007-03-22 21:12:17 +00:00
Borja Ferrer
6e78ac6302
fixed several memory leaks
...
fixed plugin listeners being removed before a OnPluginUnloaded Call_AskPluginLoad
removed some virtuality
all cached ptrs using the Stack system are freed now
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40647
2007-03-17 00:55:46 +00:00
David Anderson
043b8f255f
removed const from most apis. it was pointless since there were no actual const pointers.
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40621
2007-03-15 04:34:42 +00:00
Scott Ehlert
62aa55b23b
Global forwards created after all plugins have been loaded now properly get filled with IPluginFunction pointers.
...
Added CPluginManager::AddFunctionsToForward() to help do this...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40617
2007-03-14 07:54:54 +00:00
David Anderson
21ed05048f
dynamic native providers can now be unloaded safely
...
fixed an api naming typo :(
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40611
2007-03-12 20:40:30 +00:00
David Anderson
7c06d89b00
initial import of dynamic native code for both the JIT and plugins
...
note: dependency resolution is not done yet!
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40607
2007-03-12 07:08:05 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
David Anderson
9f7c852c77
initial import of handle natives and a few minor API changes
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40252
2007-01-01 10:33:51 +00:00
David Anderson
388c062c96
added automatic native registration
...
added string include file
renamed typeutil and its functions
redid a bunch of the string natives
string natives now register
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40238
2006-12-30 07:23:17 +00:00
David Anderson
f068587ecc
initial import of sharesystem (unfinished)
...
final revision of handle system (I hope!)
initial import of plugin handles
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40234
2006-12-29 23:18:13 +00:00
David Anderson
522a1f605f
these should compile now
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40225
2006-12-16 22:31:32 +00:00
David Anderson
a9087b13dd
added second pass function
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40218
2006-12-15 13:53:58 +00:00
David Anderson
90d1f4495e
Added global class initialization automation
...
Finalized basics of plugin loading
Began redoing how dependencies will be tracked
Renamed some bad names
Finished some stuff in ForwardSys
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40216
2006-12-15 13:38:04 +00:00
David Anderson
23a91de75c
!Added MOSTLY UNTESTED plugin loading
...
Fixed a match bug in TestAliasMatch()
Removed pointless implementation of context switching in CPlugin
Redesigned how CPlugins are allocated, deallocated, and instantiated.
Added a basedir function so all code can reference relative paths. This may be redesigned.
Various other changes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40214
2006-12-13 11:16:20 +00:00