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
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
Borja Ferrer
f807575429
fixed arrays using decl being init when assigning a number
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40207
2006-12-09 03:18:48 +00:00
Borja Ferrer
455c03321c
added stradjust.pri opcode to the JIT
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40206
2006-12-09 01:47:07 +00:00
David Anderson
34c711fffd
added size adjustment to dynamic strings
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40205
2006-12-09 01:20:33 +00:00
David Anderson
7b2455db2e
added initial plugin settings file
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40204
2006-12-08 22:15:15 +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
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