Commit Graph

6110 Commits

Author SHA1 Message Date
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
Borja Ferrer
0f711cd479 more comments
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40263
2007-01-01 23:14:20 +00:00
David Anderson
2a7f0b9854 more natives touchups/additions
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40262
2007-01-01 21:46:33 +00:00
Borja Ferrer
5d23974a3e typo fix
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40261
2007-01-01 21:31:09 +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
473550130c some more API calls
fixed another bug in debug section

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40258
2007-01-01 20:58:02 +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
a4363dfa4f whoa, wrong name
--HG--
rename : plugins/include/handles.h => plugins/include/handles.inc
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40256
2007-01-01 18:36:27 +00:00
David Anderson
a46c500e68 little fixes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40255
2007-01-01 18:03:43 +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
David Anderson
9ad824fe7a final API touches
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40250
2007-01-01 03:40:17 +00:00
Borja Ferrer
553cd022ae typo fiz
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40249
2007-01-01 03:39:53 +00:00
David Anderson
6df0fa6e97 removed debug code
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40248
2007-01-01 03:34:06 +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
2a8542f7a4 JIT now properly handles debug mode
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40246
2007-01-01 03:23:57 +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
610f628298 finalize new API and type information
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40244
2007-01-01 01:08:36 +00:00
Borja Ferrer
fed813155e removed tracker error
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40243
2006-12-31 23:28:40 +00:00
David Anderson
a7fe408995 debug break now uses context struct instead of context interface
err is renamed to 'n_err'
'n_err' is now a 'native only' member, for native errors only

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40242
2006-12-31 22:33:47 +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
Borja Ferrer
2e835df380 tiny fixes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40239
2006-12-30 19:01:23 +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
8792f0b4f0 new plugin API, sample plugin is now a fail load plugin
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40217
2006-12-15 13:45:21 +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