Commit Graph

6020 Commits

Author SHA1 Message Date
Asher Baker
2c03498986 Really fix Mac symbol dumping. 2015-11-05 09:59:53 +00:00
Asher Baker
de675be862 Fix Mac symbol dumping. 2015-11-05 09:31:09 +00:00
Asher Baker
c109ea2cb6 Updated SourcePawn submodule. 2015-11-05 09:20:07 +00:00
Asher Baker
c1f8ebf65c Merge pull request #439 from alliedmodders/propinfo
Deprecate FindSendPropOffs and FindDataMapOffs
2015-11-04 20:55:37 +00:00
Asher Baker
c6323512ef Deprecate FindSendPropOffs and FindDataMapOffs, add HasEntProp. 2015-11-04 20:26:55 +00:00
Asher Baker
0387c45995 Fix Mac build. 2015-11-04 16:28:45 +00:00
Asher Baker
2ea3d9023b Fix libcurl build on Clang 3.5. 2015-11-04 15:21:13 +00:00
Nicholas Hastings
248d776a23 Update TF2 StunPlayer gamedata. 2015-11-03 20:38:12 -05:00
David Anderson
637941a978 Merge pull request #437 from alliedmodders/rm-pausing-12
Fix race between plugin unload and asynchronous query completion.
2015-11-01 14:52:58 -08:00
David Anderson
1f4be9798e Flush asynchronous queries before OnPluginEnd(). 2015-11-01 00:36:20 -07:00
David Anderson
c849616003 Add an OnPluginWillUnload callback that precedes OnPluginEnd(). 2015-11-01 00:30:37 -07:00
David Anderson
d674414cf0 Add a versioned IPluginsListener and deprecate the non-versioned class. 2015-11-01 00:23:33 -07:00
David Anderson
cb3f6df111 Require that no plugin code be live when any plugin unloads. 2015-10-31 19:38:30 -07:00
David Anderson
59623695af Improve plugin console diagnostics. 2015-10-31 17:30:33 -07:00
David Anderson
87e9dee78b Evict plugins that fail to load. 2015-10-31 17:30:33 -07:00
David Anderson
62edc5f4c0 Clean up "sm plugins list" after status meaning clarifications. 2015-10-31 17:25:59 -07:00
David Anderson
903315747d Clarify plugin states. 2015-10-31 17:25:59 -07:00
David Anderson
485ade2610 Fix a number of inconsistencies in plugin state.
1. Fixed OnPluginUnloaded not pairing if the plugin failed.
2. Unify error message handling in the second pass.
3. Do not add libraries if a plugin failed during OnPluginStart.
2015-10-31 17:25:59 -07:00
David Anderson
9e4fff3362 Add a state variable to CPlugin to indicate queue/list membership. 2015-10-31 17:25:59 -07:00
David Anderson
7cc911ae58 Separate plugin unloading into an eviction step, which disconnects the plugin from Core.
Note: this also ensures that library action callbacks are balanced (i.e., we do not notify
libraries are being dropped if they were never notified as being added).
2015-10-31 17:25:59 -07:00
David Anderson
82ff7d5af7 Rename CPlugin::SetErrorState to EvictWithError. 2015-10-31 17:25:59 -07:00
David Anderson
c4c6efb140 Remove a crazy unused function from CPluginManager. 2015-10-31 17:25:59 -07:00
David Anderson
f078ea1f8a Remove the Illiad-length mostly-wrong comment at the top of PluginSys.h 2015-10-31 17:25:59 -07:00
David Anderson
ab1b915a3c Fix re-entrancy issues in CPluginManager by using ReentrantList. 2015-10-31 17:24:22 -07:00
David Anderson
709149fbed Remove the CPluginIterator cache. 2015-10-31 17:23:24 -07:00
David Anderson
e57a076dc8 Remove CPluginManager's friend access to CPlugin. 2015-10-31 17:19:10 -07:00
David Anderson
c21b3a36fc Remove CPluginManager direct use of CPlugin::NativeOwner::m_fakes. 2015-10-31 17:19:10 -07:00
David Anderson
f765c8d436 Remove CPluginManager direct use of CPlugin::m_LibraryMissing. 2015-10-31 17:19:10 -07:00
David Anderson
ae44a6540a Remove CPluginManager direct use of CPlugin::m_FakeNativesMissing. 2015-10-31 17:19:10 -07:00
David Anderson
f27dbaf716 Remove CPluginManager direct use of CPlugin::m_RequiredLibs. 2015-10-31 17:19:10 -07:00
David Anderson
717ad38d06 Remove CPluginManager direct use of CPlugin::m_errormsg. 2015-10-31 17:19:10 -07:00
David Anderson
60f06d1414 Remove CPluginManager direct use of CPlugin::m_FileVersion. 2015-10-31 17:19:10 -07:00
David Anderson
a579136a3d Remove CPluginManager direct use of CPlugin::m_DateTime. 2015-10-31 17:19:10 -07:00
David Anderson
2f3d523ac0 Remove CPluginManager use of CPlugin::m_pRuntime. 2015-10-31 17:19:10 -07:00
David Anderson
df5c53fa4a Remove CPluginManager direct use of CPlugin::m_filename. 2015-10-31 17:19:10 -07:00
David Anderson
46c069dbbe Remove CPluginManager direct use of CPlugin::m_Libraries. 2015-10-31 17:19:09 -07:00
David Anderson
bda9defc0f Remove CPlugin's friend access to CPluginManager. 2015-10-31 17:19:09 -07:00
Asher Baker
8817b4277d Merge pull request #435 from alliedmodders/spelling
Spelling.
2015-10-30 19:20:39 +00:00
Asher Baker
4346e963e5 Correct spelling in API documentation. 2015-10-30 12:26:34 +00:00
Asher Baker
9bbcae1648 Correct spelling in configuration files. 2015-10-30 12:26:11 +00:00
Asher Baker
fc504737c5 Fix a misleading error message from "sm config".
The Ignore state could be hit if the value was read directly rather than using OnSourceModConfigChanged.
2015-10-30 11:06:54 +00:00
Kyle Sanderson
1a09f2b6df Merge pull request #433 from alliedmodders/dinner
NPOTB: Remove 0x prefix from two-byte instructions.
2015-10-29 02:25:15 -07:00
Kyle Sanderson
44d34d0e5d NPOTB: Remove 0x prefix from two-byte instructions. 2015-10-28 19:43:17 -07:00
Nicholas Hastings
56339ed43a makesig.idc fucked me without taking me to dinner and a movie first 2015-10-28 22:37:10 -04:00
Nicholas Hastings
393ab89c34 Update TF2 gamedata. 2015-10-28 19:58:36 -04:00
Asher Baker
38fd55a05d Normalize repository root path. 2015-10-28 13:31:02 +00:00
Asher Baker
e0e946afac Merge pull request #431 from alliedmodders/symbol-repos
Include repo information in symbol files
2015-10-28 13:12:10 +00:00
Asher Baker
4d3c89c065 Flip INFO REPO records around for parsing sanity. 2015-10-28 09:47:40 +00:00
Nicholas Hastings
a7b1a9a5fa Update Insurgency gamedata. 2015-10-27 18:38:59 -07:00
Nicholas Hastings
529d7e2659 Fix Insurgency build on Linux for SDK changes. 2015-10-27 18:17:26 -07:00