Commit Graph

263 Commits

Author SHA1 Message Date
Scott Ehlert
3efb158754 Code clean-up on aisle nana! Well, barely any code was touched here actually...
1) Fixed a few minor warnings
2) Removed MM build configs from geoip
3) Made sure that every project and build config had its Character Set set to Multi-Byte and that Detect 64-Bit Portability Issues was set to No.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40431
2007-02-02 11:27:22 +00:00
David Anderson
66e9205ab5 fixed typo
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40429
2007-01-30 18:34:43 +00:00
Borja Ferrer
5c90acd7be finalized translation routines and formatting
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40428
2007-01-30 18:04:53 +00:00
David Anderson
d52aaa81d9 oh god I hate GNU make so much hate hate hate
yes I hate
HATE
what a sucky system
who designed this anyway, a squirrel
a radioactive squirrel?
I tihnk it was a dead radioactive squirrel

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40425
2007-01-30 02:38:12 +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
8db394c85d Added VFormat() native
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40417
2007-01-29 22:34:53 +00:00
David Anderson
4299828211 whoot, broke the build >:\
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40413
2007-01-29 07:01:26 +00:00
David Anderson
af651e15f3 finished implementing admin interface
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40411
2007-01-29 05:02:44 +00:00
David Anderson
c66632776f initial import of finished admin api
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40410
2007-01-29 04:19:14 +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
David Anderson
b3b1978d10 exposed translation natives and fixed build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40402
2007-01-27 04:21:11 +00:00
David Anderson
8f64370954 updated core's makefile
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40399
2007-01-27 03:46:48 +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
David Anderson
7f44c014ae added build tool
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40394
2007-01-27 03:10:31 +00:00
David Anderson
1ada31ad1e added version info
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40392
2007-01-27 02:25:23 +00:00
David Anderson
d72eef6196 changed how versioning is done
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40390
2007-01-27 00:06:21 +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
326ac67c68 changed around translation API a bit
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40388
2007-01-26 22:37:54 +00:00
Borja Ferrer
b489378b9c nearly finished my exams!!! :D
library table is no longer needed

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40387
2007-01-26 19:35:33 +00:00
David Anderson
4bea89f6e7 removed IThreader.h from the project file
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40385
2007-01-26 04:35:38 +00:00
David Anderson
676a6ea760 Filled out more license headers
Completed lots of missing documentation
Fixed /** on one-liners, must be /**<

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40377
2007-01-26 01:55:06 +00:00
David Anderson
e281a27c14 renamed relevant areas to SorucePawn
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40376
2007-01-25 22:39:12 +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
2129bb6d92 changed the API - funcid_t is now index only rather than a code address
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40353
2007-01-25 06:21:20 +00:00
David Anderson
f9a5920e5b added an easier format string Function
changed normal log names to be more consistent
added logging natives

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40352
2007-01-25 06:19:17 +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
aeb512c444 Non-public function addresses are no longer accepted
Added a new VM function for pcode addresses (unused right now)

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40349
2007-01-25 04:36:48 +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
c656a1343b fixed a bug in how functions were retrieved
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40344
2007-01-25 01:59:37 +00:00
David Anderson
e596003b94 added admin natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40342
2007-01-25 00:17:32 +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
David Anderson
ffd308f42c Initial import of admin system (groups and overrides done)
Added a "clear" function for Tries

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40340
2007-01-24 21:51:49 +00:00
Borja Ferrer
2046bb0e14 tiny mistakes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40339
2007-01-20 02:51:30 +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
cc977859d6 More reorganizations
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40330
2007-01-19 05:45:45 +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
f3eedff775 added an unimplemented member to IShareSys
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40328
2007-01-19 05:25:43 +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
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
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
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
55ab150bd8 Changed [SOURCEMOD] to [SM]
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40312
2007-01-17 06:49:40 +00:00
David Anderson
2bbcd57b9e Changed [SOURCEMOD] to [SM]
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40311
2007-01-17 06:48:52 +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
aec325b19c test of svn rev id
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40307
2007-01-16 20:40:00 +00:00
David Anderson
0182ef0d5f fixed log tag
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40306
2007-01-16 20:38:22 +00:00
David Anderson
4a1c111350 fixed up bad includes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40305
2007-01-16 20:36:09 +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
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
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
David Anderson
d74e35f1d5 changed default logging method
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40297
2007-01-15 22:08:43 +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
e13c228c5a SMGlobalClass unloads now
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40294
2007-01-13 04:28:13 +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
f30dfedeeb logger gets initialized now
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40286
2007-01-11 01:11:24 +00:00
Borja Ferrer
8ec61eecbf added some console natives
more consts here and there in the logger

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40285
2007-01-10 23:49:22 +00:00
David Anderson
951e942ed6 PLATFORM_LINUX -> PLATFORM_POSIX
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40284
2007-01-07 08:55:02 +00:00
David Anderson
95368e57cd initial import of translator code (tested)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40281
2007-01-07 08:47:38 +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
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
814007df49 since these two functions are implemented separately, API calls are now divided
got rid of ARRAYSIZE warning

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40276
2007-01-06 07:53:34 +00:00
Borja Ferrer
ac50163647 added console cmd list
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40275
2007-01-05 13:23:25 +00:00
Borja Ferrer
c4d8d30a39 whoa this caused a memory LEEK
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40274
2007-01-05 00:58:28 +00:00
Borja Ferrer
d899b7a32a Fixed CPlayer init, it was called too early.
nothing important on the logger

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40273
2007-01-05 00:42:22 +00:00
Borja Ferrer
35896b6eb3 forgot this
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40272
2007-01-04 23:43:01 +00:00
Borja Ferrer
6a0ddf78d4 Initial import of the logger
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40271
2007-01-04 23:41:51 +00:00
David Anderson
ab004f5ce5 cleaned up some handle code
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40270
2007-01-04 23:32:46 +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
Borja Ferrer
5c6bc80f20 Registered player and float natives.
Added error strings to these natives.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40265
2007-01-02 02:40:32 +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
929957643f tested file natives and handle system
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40260
2007-01-01 21:18:56 +00:00
David Anderson
f072110a44 temporarily disabled binary search code
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40259
2007-01-01 21:18:35 +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
80b75f2196 added note for player natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40254
2007-01-01 10:36:29 +00:00
David Anderson
271fba7b50 updated project file
added todo for floats

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40253
2007-01-01 10:35:15 +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
f8c88a75df implemented debugger
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40251
2007-01-01 03:40:29 +00:00
Borja Ferrer
86f9be5714 Added CPlayer class
Added new player natives
Fixed floatround returning a float instead of an int
Added new float.inc file
Added OnClientSettingsChanged forward

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40247
2007-01-01 03:33:14 +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
Borja Ferrer
cf15783eb0 fixed atcprintf counting the null terminator for the return value
added format and formatex natives

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40241
2006-12-31 03:02:40 +00:00
Borja Ferrer
8c09e0c50d removed radix stuff from trig natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40240
2006-12-30 22:16:53 +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
17af34bba5 unmanaged forwards need to be pruned for dead plugins too
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40237
2006-12-30 06:07:32 +00:00
David Anderson
307d5b20c2 updated project file
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40236
2006-12-30 00:18:06 +00:00
Borja Ferrer
4153221ca8 fixed a "-1" bug in atcprintf
moved string functions to the stringutils file
added strncopy

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40235
2006-12-29 23:28:44 +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
Borja Ferrer
5b331ca858 added atcprintf
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40233
2006-12-29 03:29:17 +00:00
Borja Ferrer
6e7e89e9cf added atcprintf
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40232
2006-12-29 03:21:09 +00:00
Borja Ferrer
5e75d0928c Added PlayerManager basic hookings
Moved ftoc and ctof to an utility file
Added some more string natives

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40231
2006-12-28 00:48:09 +00:00
Borja Ferrer
aba273f93d IPlugin context pointer is passed now to natives
Added basic string natives
Added floating point natives

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40230
2006-12-23 02:20:53 +00:00
Borja Ferrer
2fb3501e0d recommited this, hi
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40229
2006-12-17 20:33:31 +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
Borja Ferrer
1e573fe0d0 fixed null string condition being always true
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40226
2006-12-17 02:51:35 +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
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
Borja Ferrer
a4737a2808 added status strings
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40222
2006-12-16 02:48:58 +00:00
Borja Ferrer
c9002c2011 Added initial console commands for plugins
fixed crash in plugin destructor
fixed compilation not being freed causing a crash
fixed small issues in plugin system
fixed plugin iterator not being reseted when freed and not being initialized it's current pointer.
fixed a bug where insertion of a prefixed string would not check whether a value could be set.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40221
2006-12-16 02:16:21 +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
649b96ac9d added global class initializers
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40219
2006-12-15 13:58:22 +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
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
dc60ae49de Fixed a bug where EOS/EOF was interpreted as a stream error
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40213
2006-12-13 11:14:25 +00:00
David Anderson
e2935a2ae4 added path separator chars
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40212
2006-12-13 11:14:04 +00:00
David Anderson
36312e9779 Added path formating to LibrarySystem so we don't have to rely on g_SMAPI
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40211
2006-12-13 11:13:50 +00:00
David Anderson
36dc72cf04 Fixed bug with info database not reading back table properly
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40210
2006-12-13 11:10:02 +00:00
David Anderson
1ffa6eac9f Fixed silly crash bugs
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40209
2006-12-13 11:09:43 +00:00
David Anderson
a1e58aa9ef initial import of plugin database (UNTESTED)
added file pattern matching routine (TESTED)
added memtable caching (UNTESTED)

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40208
2006-12-10 09:19:59 +00:00
David Anderson
bd3effc315 removed debug code
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40203
2006-12-08 20:59:25 +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
David Anderson
ef296710c6 added a few debug checks and a fix for deallocation
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40200
2006-12-07 19:10:26 +00:00
David Anderson
5fc2918377 fixed a series of addressing bugs where the indexer could reach past basearray bounds
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40199
2006-12-07 08:17:19 +00:00
David Anderson
eabc33b4d2 fixed a problem causing the string table to never grow
fixed growth and zeroing of the base array (was corrupting)
fixed parent being set wrong resulting in node access corruption
fixed a really retarded loop bug
fixed base array growth invalidating cached pointers
fixed insertion of similar strings which both had valid arc paths but no terminators

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40198
2006-12-06 23:35:51 +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
73e1d4b9cc removed debug code
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40195
2006-12-06 00:09:46 +00:00
David Anderson
f3bb90924d added experimental trie API
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40194
2006-12-05 23:52:43 +00:00
Borja Ferrer
a42fa24ef5 fixed string pushing
fixed CFunction::_PushString not counting the null terminator

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40193
2006-11-17 23:22:32 +00:00
Borja Ferrer
34097b1dba tested some forwards
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40192
2006-11-16 22:37:37 +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
Borja Ferrer
2943111703 fixed StringToLocalUTF8 evaluating invalid chars
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40189
2006-11-12 13:13:12 +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
Borja Ferrer
4d89283924 string functions in the VM are now compatible with packed strings
added a StringToLocal UTF-8 version to the VM

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40184
2006-11-12 00:40:58 +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
30956eae5b added plugin sys initial import
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40178
2006-11-10 18:08:13 +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