Commit Graph

729 Commits

Author SHA1 Message Date
James Roseborough
118e2b3aaf Index all lua strings created from java strings. 2010-04-16 14:29:10 +00:00
James Roseborough
e5cb343886 Let getfenv() accept no argument 2010-04-16 14:25:21 +00:00
James Roseborough
991b8a274c Improve performance of string comparison. 2010-04-16 05:02:04 +00:00
James Roseborough
a77b93681f Fix xpcall arg check logic. 2010-04-15 14:35:05 +00:00
James Roseborough
576cf2068d Special processing on for loop upvalues. 2010-04-14 05:36:43 +00:00
James Roseborough
8ae33e1d08 Refactor java code generator. 2010-04-13 14:31:40 +00:00
James Roseborough
a8f129b8cf Add string cache to pool most commonly used Java strings 2010-04-06 04:55:57 +00:00
Ian Farmer
8e34f8bf27 Implement tail call optimization to avoid stack overflow. 2010-04-06 04:03:06 +00:00
James Roseborough
aed25279eb Improve luajava method resolution 2010-04-06 04:00:52 +00:00
James Roseborough
0d18988a96 Add test for luajava, compiler, and compatibility witn luavm 1.0 2010-04-03 15:14:30 +00:00
James Roseborough
a548ef27fb Add luajava exceptino handling, array and unit test logic from 1.0 branch 2010-04-03 05:31:53 +00:00
James Roseborough
46a9527701 Add LuaValue.load() function for library initialization. Change unit tests to use JavaBytecodeCompiler for lua->Java conversion. 2010-04-03 03:48:53 +00:00
James Roseborough
d903a85578 Fix error behavior. 2010-04-02 14:48:01 +00:00
James Roseborough
946503fc20 Refactor library initialization code. 2010-04-02 05:57:54 +00:00
James Roseborough
3a880788cc Add symbolic names for opcodes 2010-04-01 14:20:21 +00:00
James Roseborough
64751f694e Convert most libraries to use standard loading. 2010-04-01 05:35:54 +00:00
James Roseborough
68fbf6cc39 Update version to 2.0-alpha1 2010-03-31 04:49:01 +00:00
James Roseborough
dc0be9b15a Add doc for bytecode generator. 2010-03-31 04:15:09 +00:00
James Roseborough
200d80b4b8 Fix build path 2010-02-05 04:31:51 +00:00
James Roseborough
a2c566bb58 Builder for sample midlet 2009-11-11 00:45:09 +00:00
James Roseborough
0a0564563e Allow debug lib to be removed by obfuscators. 2009-11-10 17:28:24 +00:00
James Roseborough
699bcb2e48 Retain extension in source file name. 2009-11-10 17:22:51 +00:00
James Roseborough
b45bc98b37 Simplify and fix upvalue implementation. 2009-11-09 15:16:38 +00:00
James Roseborough
7cc18046ab Fix upvalue processing. 2009-11-04 06:33:34 +00:00
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