Commit Graph

5699 Commits

Author SHA1 Message Date
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
d7c3c577ed new config file format
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40201
2006-12-08 03:30:33 +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
f305cafe8c fixed a compiler bug with declaring natives having parameters with no arrays and returning strings
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40196
2006-12-06 00:53:34 +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
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
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
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
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
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
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
David Anderson
ace0d842e5 fixed silly bugizzle
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40176
2006-11-10 06:07:41 +00:00
David Anderson
c89dd6f101 imported new API for exposing plugin info
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40175
2006-11-10 00:16:33 +00:00
David Anderson
f43b4468c6 added the ability to pre-declare a struct, like extern
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40174
2006-11-10 00:16:12 +00:00
David Anderson
73eb8bfd40 removed an assertion that was firing
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40173
2006-11-09 23:05:42 +00:00
David Anderson
f8e7a10e06 added very, very primitive, mostly unusable structs. the most these can do so far is expose themselves publically
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40172
2006-11-09 22:53:27 +00:00
David Anderson
767f6fa9ab fixed project file using /GL
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40171
2006-11-08 09:37:16 +00:00
David Anderson
55266ffb80 sample plugin import
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40170
2006-11-08 09:28:32 +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
2892ee1fa9 fixed a crash on error
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40168
2006-11-08 08:04:57 +00:00
David Anderson
f55a7a5663 added some trivial comments
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40167
2006-11-08 07:44:26 +00:00
David Anderson
611ab078d2 sync'd JIT to API
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40166
2006-11-08 07:35:16 +00:00
David Anderson
9141ae103e began JIT integration
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40165
2006-11-08 07:32:44 +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
4242e06465 re-added project files
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40163
2006-11-08 06:25:25 +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
David Anderson
edeb131e94 fixed an index bug on non-constant values
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40161
2006-11-07 23:26:40 +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
David Anderson
2348f9106a fixed a potential bug in tag matching (should this one go to thiadmer)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40159
2006-11-07 12:34:27 +00:00
David Anderson
1dc2662a62 fixed constant dimension size bug
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40158
2006-11-07 11:50:30 +00:00
David Anderson
0bdf321d67 dynamic arrays no longer use a different token
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40157
2006-11-07 10:49:16 +00:00
David Anderson
e18699c702 added experimental new String tag. this tag will revert array usage to "char" sizing and packed strings
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40156
2006-11-07 09:50:09 +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
a5f4929c60 reaching comment perfection
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40154
2006-11-06 22:49:12 +00:00