Commit Graph

605 Commits

Author SHA1 Message Date
James Roseborough
1b66a91c95 Let VarArgFunction instances register with Thread on invocation. 2009-11-03 19:12:48 +00:00
James Roseborough
3906ab0711 Expose class name normalization. 2009-11-03 18:06:03 +00:00
James Roseborough
0aa2563cc6 Add noop on OP_CLOSE instruction for branching. 2009-11-03 02:23:49 +00:00
James Roseborough
3d4a29f1bc Fixes to class generation logic. 2009-11-03 02:13:45 +00:00
James Roseborough
ac91de7794 Add options to load to prototype 2009-11-03 01:16:46 +00:00
James Roseborough
c78d789cdc Improve bytcode generation. 2009-11-02 05:38:36 +00:00
James Roseborough
05e6fa5774 Add arg table to globals when executing from command line. 2009-10-31 05:41:35 +00:00
James Roseborough
97e6da241b Let compilers compile from prototypes, fix loading of code without debug info. 2009-10-31 00:37:22 +00:00
James Roseborough
4a2b2d7191 V 1.9.52 2009-10-30 23:05:48 +00:00
James Roseborough
5d14dfcbe9 Fix off-by-one error. 2009-10-30 23:05:03 +00:00
James Roseborough
674ae6195e Make class names java-friendly 2009-10-30 23:04:37 +00:00
James Roseborough
17c86b8eb3 Let ant build download bcel jar as needed. 2009-10-30 21:57:35 +00:00
James Roseborough
3e3909b14b Fix vararg parameter handling, self and setlist bytecode processing. 2009-10-30 19:24:43 +00:00
James Roseborough
668692d0a2 Add debug library by default. 2009-10-30 19:23:25 +00:00
James Roseborough
933a4fcc36 Replace upvalue holder when upvalues are closed. 2009-10-30 05:27:36 +00:00
James Roseborough
f18134bf74 Make soem methods final, let loadsting use "string" for chunk name 2009-10-30 01:10:15 +00:00
James Roseborough
dd82fe6d2d Fix source and class names in generated bytecode. 2009-10-30 00:39:25 +00:00
James Roseborough
f729c1b626 Expand compiler interface, add bcel-based bytecode generator. 2009-10-29 22:20:56 +00:00
James Roseborough
0b6cd02bc6 Add bytecode count based debug hooks. 2009-10-27 13:41:30 +00:00
James Roseborough
d1debdf2ec Remove obsolete v 1.0 source files (still available in 1.0 branch). 2009-10-27 06:20:40 +00:00
James Roseborough
3863ff8e46 Initial sources for planned 2.0 luaj vm release. Most interpreter features and library functions working. 2009-10-27 06:12:24 +00:00
James Roseborough
d16fad00e8 Version property to 1.0.2 2009-10-27 03:37:33 +00:00
James Roseborough
ac0e6b73db Update README to include array support note. 2009-10-27 03:34:35 +00:00
James Roseborough
ebb5c84b74 Get instance data directly from the stack. 2009-10-24 03:36:51 +00:00
James Roseborough
3c2413a88a Let shared metatable for array access work on multiple instances. 2009-10-24 03:29:52 +00:00
James Roseborough
9d22ef7855 Additional support for arrays in luajava library. 2009-10-22 06:08:33 +00:00
James Roseborough
66873ff268 Improve debug hooks to match C behavior more closely. 2009-09-10 00:13:40 +00:00
James Roseborough
9cad7f1001 Fix gethook() return values and sethook() behavior when called from hook function. 2009-09-06 14:49:45 +00:00
James Roseborough
1c5e2352f9 Add coroutine and vararg tests. 2009-08-26 14:26:55 +00:00
James Roseborough
263960df3f Simplify debug info for java functions 2009-08-25 21:33:58 +00:00
James Roseborough
b698d500ba Fix arg check and behavior of xpcall() to leave stack intact. 2009-08-25 20:46:07 +00:00
James Roseborough
92459d0cbc Fix library path info 2009-06-20 14:18:12 +00:00
James Roseborough
120a3cf912 Replace ${VER} with 1.0 2009-06-20 13:47:05 +00:00
James Roseborough
02826a1562 Set version to 1.0 2009-06-20 13:38:12 +00:00
James Roseborough
13050a68b8 Begin work on 0.98 2009-05-22 18:34:06 +00:00
James Roseborough
623db25250 Fix hash code for doubles, add unit test to compare with integer hash codes. 2009-05-22 16:41:28 +00:00
James Roseborough
c4b2ab86f7 Coerce doubles into integers wherever possible, use hash code for doubles that is compatible with integers. 2009-05-22 14:51:42 +00:00
James Roseborough
a55ddfa2d9 Add "arg" global value to provide command line arguments. 2009-05-05 00:29:20 +00:00
James Roseborough
5048824909 Remove extra import. 2009-05-05 00:28:42 +00:00
James Roseborough
6a1fdfb6b0 fix varargs processing when followed by function call (test9.lua) 2009-04-27 22:43:45 +00:00
Ian Farmer
d6cbf423a3 Bug fix: string.find() was ignoring its 4th argument. 2009-04-27 22:42:50 +00:00
Ian Farmer
fbaeec9fe7 Add 2 new test cases. 2009-04-27 20:16:06 +00:00
James Roseborough
363ea0dfb1 Fix bytecode processing for OP_SELF and OP_TESTSET 2009-04-25 00:23:19 +00:00
James Roseborough
ddf2ed6f71 Add download links to documentation. 2009-04-23 04:57:47 +00:00
James Roseborough
a5ac11d34b Up version to 0.95 2009-04-21 15:59:15 +00:00
James Roseborough
beef2f99a0 Tune LString.equals() and related functions. 2009-04-18 18:34:28 +00:00
James Roseborough
0d0236819d Additional guards in debug info. 2009-04-11 00:16:40 +00:00
James Roseborough
a159a50cee Save and restore call counter for calls, since they may fail and leave elements on the stack when an Exception is thrown. 2009-04-10 00:35:23 +00:00
James Roseborough
4d4df03dbf Simplify configuration of simple hook functions. 2009-04-09 22:50:26 +00:00
James Roseborough
67c66c684c expose public getlocal and getupvalue functions. 2009-04-09 20:20:14 +00:00