Commit Graph

47 Commits

Author SHA1 Message Date
David Anderson
4508cea343 fixed some doc problems
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40268
2007-01-04 20:43:28 +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
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
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
9ad824fe7a final API touches
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40250
2007-01-01 03:40:17 +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
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
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
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
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
442806dd45 updated types and test plugin
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40187
2006-11-12 02:27:27 +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
e4ff973dbf synced type changes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40183
2006-11-11 11:10:45 +00:00
David Anderson
438ccf39a0 added new API for function address lookups. this gives us O(1) code_addr -> sequential index
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40180
2006-11-11 05:47:00 +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
e060af14b4 updated all api to use new function id system
fixed a codegen bug in function ids
removed extra native status, simplified native binding

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40169
2006-11-08 08:41:18 +00:00
David Anderson
aa033ee577 some reorganization
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40162
2006-11-08 06:24:28 +00:00
Borja Ferrer
453f0db476 Changed StringToLocal to work with real strings
moved out two .b opcodes out of the ungenerated group since now are needed for strings

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40160
2006-11-07 13:06:04 +00:00
Borja Ferrer
a5f4929c60 reaching comment perfection
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40154
2006-11-06 22:49:12 +00:00
Borja Ferrer
13775b11b6 added a library table for module autoloading
updated VM plugin loader to read in this new section

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40149
2006-11-05 13:24:29 +00:00
David Anderson
8099cb09bd made these names a little nicer
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40140
2006-11-04 18:54:03 +00:00
Borja Ferrer
5b9ba35f0f added new tracker opcodes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40135
2006-11-02 20:23:14 +00:00
David Anderson
e3dccb8ae4 new error code
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40127
2006-10-16 22:25:45 +00:00
David Anderson
785173578b committed new header
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40119
2006-10-12 00:27:47 +00:00
David Anderson
bc22a3bc84 finalized structures I think
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40109
2006-10-10 00:39:45 +00:00
David Anderson
fb9234eb86 oh
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40107
2006-10-06 17:05:07 +00:00
David Anderson
55b590cb8e reorganized ungen opcode stuff
fixed mislabeled ungen ops, then added appropriate notes
added executable memory functions to API
compilation results in an sp_context_t, not a BaseContext now
renamed FreeContextVars() to FreeContext()
other minor changes

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4098
2006-09-24 06:17:10 +00:00
David Anderson
1bf17b05bb sketched out break opcode
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4091
2006-09-21 05:04:51 +00:00
David Anderson
9ba07e4b28 added cmps, bounds, halt, and other fixes/additions
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4090
2006-09-21 02:58:59 +00:00
David Anderson
2ada767528 committed ret/retn
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4089
2006-09-21 01:48:19 +00:00
David Anderson
45aa735928 initial recleaning of this mess, preparing for merge of JIT proper
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4074
2006-09-20 01:59:56 +00:00
David Anderson
70a960dd84 initial import of magical new API... FINALLY!
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4072
2006-09-19 22:26:13 +00:00
Borja Ferrer
4c18f46860 changed flags
added 2 more error types

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4064
2006-08-07 22:40:43 +00:00
David Anderson
28736ae60c added core debug api
added missing setstring function

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4060
2006-08-06 18:37:14 +00:00
David Anderson
e0abed88d5 flattened this structure out
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4053
2006-08-02 17:30:12 +00:00
Borja Ferrer
3696dade01 new error code
updated reader for new section
added 2 new functs to VM API

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4052
2006-08-01 23:40:32 +00:00
David Anderson
c23a23fb34 Added new .dbg.info section to the compiler for helping counting
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4051
2006-08-01 23:17:13 +00:00
Borja Ferrer
1ac897a9b1 changed comment
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4048
2006-08-01 10:15:01 +00:00
Borja Ferrer
0ac9fcea2d new error type
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4045
2006-07-31 21:42:02 +00:00
David Anderson
8bdd9c20d3 upped version #
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4044
2006-07-31 19:18:09 +00:00
David Anderson
83ae061c6e begin implementing some helpers
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4042
2006-07-31 18:59:17 +00:00
David Anderson
e03ab1e6d4 something changed here
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4041
2006-07-30 04:53:53 +00:00
David Anderson
2f47baee55 fixed headers
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4039
2006-07-29 23:29:52 +00:00
David Anderson
8f0e90ee29 initial import of API
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4038
2006-07-29 21:02:28 +00:00
David Anderson
2c4d892469 reorganized this a tad
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4037
2006-07-28 05:34:12 +00:00