Commit Graph

181 Commits

Author SHA1 Message Date
David Anderson
726498833e Fixed a bug where decl was essentially broken when using arrays
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40416
2007-01-29 22:33:57 +00:00
David Anderson
831344d353 fixed a bug where line numbers were not reset
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40414
2007-01-29 19:34:28 +00:00
David Anderson
52b45354e8 multiple input files feature now works again
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40412
2007-01-29 06:43:27 +00:00
David Anderson
0234b51a9f fixed error in JIT version header
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40408
2007-01-27 09:28:48 +00:00
David Anderson
d9742cb67d fixed this using /MD in release mode
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40407
2007-01-27 09:25:07 +00:00
David Anderson
ad403d62a2 changed .psrc to .sp
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40401
2007-01-27 03:55:59 +00:00
David Anderson
8cea528978 fixed compiler not getting includes right on linux
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40400
2007-01-27 03:55:33 +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
David Anderson
8434c25bd8 added compiler's version file
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40397
2007-01-27 03:38:52 +00:00
David Anderson
49c6e38ffa added version file
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40396
2007-01-27 03:35:42 +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
d16e592dd1 turned /W64 off
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40391
2007-01-27 00:50:59 +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
3f072e1097 added license header
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40374
2007-01-25 22:33:15 +00:00
David Anderson
3f921621e8 oops, tee hee
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40373
2007-01-25 22:33:01 +00:00
David Anderson
25cdfb2c1b Added header license info
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40372
2007-01-25 22:32:29 +00:00
David Anderson
5a49f1d99b added Id svn:keywords property
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40370
2007-01-25 22:00:15 +00:00
David Anderson
a20cfbeb28 added linux support
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40358
2007-01-25 20:08:00 +00:00
David Anderson
25ed99ac60 added linux support
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40355
2007-01-25 08:31:52 +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
dbf105cc71 addressed a very unfortunate issue, the compiler's multipass system is garbage
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40348
2007-01-25 04:25:40 +00:00
David Anderson
23a2d86140 added new functag keyword for fast funcenums
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40343
2007-01-25 01:53:02 +00:00
David Anderson
a25f2f7be6 Final bit of reorganization I hope
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40331
2007-01-19 05:48:08 +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
c97d129c4d temporarily removed optimization that is breaking zlib somehow
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40300
2007-01-15 23:10:59 +00:00
David Anderson
7ccf3a1787 sizeof() now returns character array sizes correctly
added untested cellsof() opreator

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40291
2007-01-12 04:11:39 +00:00
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
6df0fa6e97 removed debug code
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40248
2007-01-01 03:34:06 +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
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
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
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
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
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