Commit Graph

47 Commits

Author SHA1 Message Date
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
3bba8d6a2a --HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40319
2007-01-18 21:07:10 +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
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
35d0c555fa Redesigned how server commands work. The "plugins" command will be back soon.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40313
2007-01-17 06:49:59 +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
9331fe2a5c small notice to srvcommands
preparation for extension system import

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40299
2007-01-15 22:33:50 +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
43005abc2f added API for getting error messages
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40277
2007-01-06 07:53:56 +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
32a2aa75e3 fixed various issues in the handle system with cloning
fixed plugins being able to free each other's handles

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40264
2007-01-02 01:44:46 +00:00
David Anderson
2fc806542a added usage of the Handle System to begin experimenting
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40257
2007-01-01 19:50:16 +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
378e4d20f3 initial import of new debugger API
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40245
2007-01-01 01:09:53 +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
7af40128a3 Clarified states a little
Fixed include order and double include prevention

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40228
2006-12-17 09:59:01 +00:00
David Anderson
352b15c1b7 Added Handle cloning and reference counting in preparation for IShareSys
Made the internal code a bit more flexible and improved access security structures

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40227
2006-12-17 09:56:45 +00:00
David Anderson
77ca28b8a3 each plugin must have its own identity.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40224
2006-12-16 22:30:58 +00:00
David Anderson
c189dfa991 implemented and finalized initial HandleSystem API
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40223
2006-12-16 22:27:18 +00:00
David Anderson
e0bd4f9782 i have changed some letters in these files
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40220
2006-12-16 01:51:45 +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
a93faa3cbf exposed new pathformat function to ILibrarySys
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40215
2006-12-13 11:19:46 +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
David Anderson
89c75b1940 committed shiny new SMC parser (really Valve XML or whatever)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40202
2006-12-08 20:54:49 +00:00
Borja Ferrer
f3ad0f5b67 rewritten PushStringEx in Forward and Function systems
fixed PushCellByRef and PushFloatByRef in the varargs case where it wouldn't set the pushed type
fixed the BindNatives functions not setting the BOUND flag thus making the JIT not exec the natives
done the rest of tests with forwards, only left to do string varargs

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40197
2006-12-06 14:52:11 +00:00
David Anderson
13d61ec39f added implementation to the forward manager
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40191
2006-11-14 08:45:21 +00:00
Borja Ferrer
cda9c6952d iface comment fixes and sync
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40190
2006-11-13 13:55:44 +00:00
David Anderson
bad69571b6 rewrote forward API to use cached parameter pushing instead of immediate pushing
removed copy back cruft since it's no longer needed
removed PushCells() from API requirements, not needed
adjusted documentation and added TODO list to ForwardSys.cpp
various internal improvements

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40188
2006-11-12 09:51:39 +00:00
David Anderson
94dc5ca298 fixed copy backs so they work properly
NOTE: heap fails, working on a rewrite

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40186
2006-11-12 02:24:45 +00:00
David Anderson
6bef3c2c5a Initial import of forward system
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40185
2006-11-12 01:06:17 +00:00
David Anderson
adc1475b76 Fleshed out forward system and extensively documented its design considerations
Implemented and did basic tests on new IPluginFunction type
Split function types into a separate file

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40182
2006-11-11 11:10:24 +00:00
David Anderson
c25cc64024 Implemented a lot more of the plugin system
added aggressive caching O(1) function object retrieval

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40181
2006-11-11 05:49:52 +00:00
David Anderson
50e5307d32 initial import of proposed forward API
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40179
2006-11-11 01:19:46 +00:00
David Anderson
ac761f61ce initial import of plugin loading code
little fixes to API
temporarily commented dependency iface until final

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40177
2006-11-10 07:49:38 +00:00
David Anderson
65026ef57e finalized new structure and imported newly proposed plugin system API
added zlib to source tree
added VM API to source tree

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40164
2006-11-08 06:30:20 +00:00
David Anderson
89b125f6c1 added and tested UTF-8 support for ini files
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40155
2006-11-07 00:53:06 +00:00
Borja Ferrer
ba9b4f4211 what
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40153
2006-11-06 22:30:59 +00:00
David Anderson
f19fbac013 renamed mm_api, I don't like short names!
finished and tested the INI parser and its API

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40150
2006-11-06 10:57:37 +00:00
David Anderson
5c6f81cb25 clarified text parsing a bit, improved interface.
i am eating a dumpling, it is very tasty!

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40148
2006-11-05 08:36:59 +00:00
David Anderson
1682417afa Added ITextParsers interfaces
Initial import of admin configuration (proposed)

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40147
2006-11-05 07:19:23 +00:00
David Anderson
f83a597e49 began platform support
initial import of platform library code
tested on win32

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40146
2006-11-05 02:47:13 +00:00
David Anderson
c63d26e1c5 initial import of the first four core interfaces
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40145
2006-11-05 00:29:44 +00:00