David Anderson
e08b4cdf1e
- LibraryExists() now works on extensions
...
- geoip and cstrike now work as libraries
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401579
2007-10-15 04:27:56 +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
David Anderson
4de4797b8b
extensions can now be built for multiple engines, and will autoload from auto.X.Y folders
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401574
2007-10-15 00:38:25 +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
4c4b89a403
- fixed a bug where CS:S Tools could be loaded more than once on mapchange
...
- fixed a bug where Core did not interpet some file paths properly
- fixed a crash bug where SourceMod could pass invalid data to ISmmAPI on shutdown
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401514
2007-10-01 18:04:37 +00:00
David Anderson
0059d92b61
fixed a bug where double dependencies could cause a crash on unload
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401462
2007-09-23 06:51: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
017da078ef
header movement #1 - reduced usage of TextParsers.h
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401412
2007-09-11 15:10:18 +00:00
David Anderson
e5d81cf621
mirrored earlier core native binding optimization to extensions as well. clarified note about pointer lifetime in AddNatives(), as it will be gaining a second version soon
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401397
2007-08-29 05:44:29 +00:00
David Anderson
80452fb3ec
fixed linux build
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401394
2007-08-29 02:43:07 +00:00
David Anderson
97196e70be
fixed some build issues from last commit
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401389
2007-08-29 02:36:41 +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
David Anderson
6bb7b3a1f8
added a layer for autoloading per-game extensions
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401386
2007-08-29 00:27:54 +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
David Anderson
da0a160371
SourceMod will now spit out errors for scripts that become corrupt and would otherwise be crashing Core. if you get these errors contact the dev team.
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401345
2007-08-15 20:18:15 +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
6053dff454
fixed a bug where sm_dump_handles reported some freed handles incorrectly
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401327
2007-08-13 19:41:15 +00:00
Scott Ehlert
005f49947a
Implemented amb506 - plugin file name can now be used with "sm plugins unload"
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401258
2007-08-02 17:41:59 +00:00
David Anderson
2bd5170e33
stupid gcc... what is it with you and newlines (fixes linux build)
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401238
2007-08-01 02:18:19 +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
2f3c518eb1
fixed a bug where extensions were forwarded their unload call AFTER being dropped as an identity
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401208
2007-07-29 01:05:58 +00:00
Phong Dang
f2630470c4
Fixed AskPluginLoad would still allowed plugin to load even if it returned false.
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401206
2007-07-29 00:26:18 +00:00
David Anderson
1154b20fc9
added a new function to ILibrarySys
...
added define in SDK for LIBRARYSYS
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401198
2007-07-27 18:24:09 +00:00
David Anderson
c3cd2ac4a3
added amb670 (exposed IDBThreadOperation to extensions)
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401163
2007-07-24 02:24:37 +00:00
David Anderson
30b475ef35
fixed bug amb659 (unloading parent extensions)
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401156
2007-07-23 20:20:45 +00:00
Scott Ehlert
d7512156e8
Fixed amb667 - Forward called twice when returning Plugin_Stop in ET_Hook
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401146
2007-07-21 21:48:26 +00:00
Scott Ehlert
387ac70d1e
Fixed linux build
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401131
2007-07-16 04:22:16 +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
399fb8a8e8
fixed a bug where __pl_*_SetNTVOptional could not be called
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401129
2007-07-15 22:34:30 +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
David Anderson
430e63d6cd
fixed crash bug when unloading a plugin with a weak ntvref
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401127
2007-07-15 20:27:11 +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
8335aab394
fixed bug amb399
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40967
2007-06-16 22:04:46 +00:00
David Anderson
74a2a1498c
ShareSys::AddDependency now functions
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40947
2007-06-16 01:34:05 +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
David Anderson
e334e5f7e7
-initial import of database natives + config
...
-initial import of completed database layer
-CreateIdentity now requires a non-optional second pointer. This breaks backwards compatibility for CreateIdentity(), however, this is not a function extension authors are supposed to be calling
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40874
2007-06-01 02:30:29 +00:00
Scott Ehlert
1dffe2e648
Fixed linux build *sigh*
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40867
2007-05-29 22:05:52 +00:00
Scott Ehlert
8bd6bf1b57
Implemented amb20 - 'sm plugins info' now shows when plugin will be reloaded
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40866
2007-05-29 20:18:53 +00:00
David Anderson
196a665d51
implemented request amb302 (onservercfg and onmapstart are now called if a plugin is late loaded)
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40854
2007-05-23 17:54:45 +00:00
David Anderson
caab299d3e
Added request amb231 (OnPluginStart errors cause load failures)
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40844
2007-05-23 01:59:58 +00:00
Scott Ehlert
a5e3c79402
Wow, how did this go unnoticed:
...
Fixed ILibrarySys::GetFileExtension() and loading plugins without the "smx" extension.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40835
2007-05-22 03:39:18 +00:00
David Anderson
f3b3ca6b22
jit errors will now get passed upwards
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40809
2007-05-16 18:30:43 +00:00
David Anderson
c9bc46e770
core will now ignore missing natives starting with '@'
...
the compiler will now resolve aliased natives to single references and export '@' natives for each redundant entry
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40804
2007-05-15 04:59:24 +00:00
Scott Ehlert
515be43896
Implemented amb286 - .smx extension no longer required with "sm plugins load"
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40800
2007-05-14 21:29:17 +00:00
David Anderson
d1dea716a6
Added a re-entrancy check to Handles so the destructor won't fire twice in certain cases
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40795
2007-05-13 22:36:22 +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