Commit Graph

164 Commits

Author SHA1 Message Date
James Roseborough
382b3b998e Refactor math library 2012-09-10 14:21:18 +00:00
James Roseborough
f8b7e1ee1c Refactor table library to match lua 5.2 2012-09-10 04:59:45 +00:00
James Roseborough
329bfa26ca Lua 5.2 compatibility test updates. 2012-09-09 22:11:41 +00:00
James Roseborough
d5456b4b93 Lua 5.2 compatibility fixes. 2012-09-09 16:26:17 +00:00
James Roseborough
8d1333c612 Refactor loading of scripts during testing, remove use of "arg" from error test script. 2012-09-08 22:04:56 +00:00
James Roseborough
f224957b87 Remove support for lua2java within luaj. 2012-09-08 04:15:06 +00:00
James Roseborough
f2d1106fe5 Simplify layout of lua test script locations. 2012-09-07 14:05:41 +00:00
James Roseborough
3bacea878e Remove env from LuaFunction, replace with upValiue array, and remove most occurances of setfenv and getfenv. 2012-09-07 04:36:50 +00:00
James Roseborough
244a964af5 Allow expected test results to be read from zipfile. 2012-09-06 15:00:33 +00:00
James Roseborough
d5ac153dca Add precompiled expected results to test suite. 2012-09-06 14:00:32 +00:00
James Roseborough
a5fddce465 Lua 5.2 compatibility updates to VM and base and package libraries. 2012-09-06 04:01:28 +00:00
James Roseborough
41d9dd6176 Lua 5.2 compatibility fixes. 2012-09-05 15:34:38 +00:00
James Roseborough
1831fbc96f Lua 5.2 compatibility fixes. 2012-09-03 21:59:51 +00:00
James Roseborough
f6cc1948f1 Compiler for lua 5.2 fixes. 2012-09-02 15:29:30 +00:00
James Roseborough
6ac7e6e452 Remove lua1 compatibility tests. 2012-08-31 15:02:52 +00:00
James Roseborough
79f31955a4 Add grammer for lua 5.2 syntax and add unit test for LuaParser 2012-08-31 14:13:43 +00:00
James Roseborough
f7e17c588e First cut at updating compiler and runtime to handle lua 5.2 bytecodes. Able to compile and execute "hello, world" lua script. 2012-08-23 04:40:40 +00:00
James Roseborough
14d344a045 Allow access to public members of private inner classes where possible 2012-01-31 16:04:26 +00:00
James Roseborough
c46ee6b9bd Fix load(func) when mutiple string fragments are supplied by calls to func 2012-01-21 17:36:03 +00:00
James Roseborough
26ed1ef392 Improve detection and handling of orphaned coroutine threads. 2012-01-21 05:26:41 +00:00
James Roseborough
ebb7169f17 Add arithmetic metatag processing when left hand side is a number and right hand side has metatable 2011-11-13 18:08:18 +00:00
Ian Farmer
3a266748be Fix two issues in WeakTable.java that can lead to infinite loops. 2011-09-27 04:06:21 +00:00
James Roseborough
b769c61e0f Improve coroutine state logic including let unreferenced coroutines be garbage collected 2011-06-12 04:17:02 +00:00
James Roseborough
a88789517d Major refactor of luajava type coercion logic, and method selection logic. 2011-03-03 16:52:12 +00:00
James Roseborough
f335a25e6b Improve jsr-223 bindings, allow ".lua" or "lua" as extensions, find classes when added as vm extension, enhance javadoc, add sources jar. 2011-02-11 17:40:37 +00:00
James Roseborough
e820f00b12 Update math.luac expected result. 2011-01-24 20:01:55 +00:00
James Roseborough
ef1e6e9967 Fix selection logic in luajava when picking from functions with same name 2011-01-14 22:57:44 +00:00
James Roseborough
e1909e734a Add bignum test based on user comment. 2011-01-12 18:10:33 +00:00
James Roseborough
81ad4455dc User luajava coersion logic for JSR-223 binding value coercions from Java to lua 2010-12-03 15:39:26 +00:00
James Roseborough
d32ef20360 Improve __eq metatag processing. 2010-08-25 17:56:51 +00:00
James Roseborough
d5b58107c6 Add tests for metatag operations. 2010-08-25 00:43:13 +00:00
James Roseborough
ee62eefc38 Improve __concat 2010-08-23 15:26:21 +00:00
James Roseborough
00bf5ff4d8 Improve __concat 2010-08-23 05:17:11 +00:00
James Roseborough
02b22b1e0d Refactor concat, add __concat metatag 2010-08-22 17:35:08 +00:00
James Roseborough
8cee98befd Improve __eq metatag processing. 2010-08-19 18:08:14 +00:00
James Roseborough
0d50184e8f Add tests for __index, __newindex 2010-08-18 23:05:20 +00:00
James Roseborough
2066e41ecd Add __metatable and __tostring metatags. 2010-08-18 22:45:41 +00:00
James Roseborough
4acf8ed2ce Add __lt, __le, __eq metatag processing. 2010-08-18 22:17:13 +00:00
James Roseborough
4d4517dd58 Add __unm and __len metatags. 2010-08-18 21:14:13 +00:00
James Roseborough
7958ee7109 Add arithmetic metatag processing. 2010-08-18 18:55:12 +00:00
James Roseborough
fdeb392205 Add metatag test. 2010-08-18 15:03:34 +00:00
James Roseborough
f21610e00a Add performance measurements to README 2010-08-15 03:56:03 +00:00
James Roseborough
a950957318 Improve bytecode generation. 2010-08-12 17:00:47 +00:00
James Roseborough
02be06c7b6 Improve bytecode generation. 2010-08-12 05:26:02 +00:00
James Roseborough
386e89aedf Improve bytecode generation. 2010-08-12 00:49:15 +00:00
James Roseborough
267e89adef Improve bytecode generation. 2010-08-11 18:21:20 +00:00
James Roseborough
3d4a3dbb65 Improve bytecode generation. 2010-08-11 14:23:59 +00:00
James Roseborough
106a8cd8ba Add test for nested upvalues 2010-08-10 14:59:05 +00:00
James Roseborough
6b379f9fe8 Improve bytecode generation. 2010-08-10 14:55:32 +00:00
James Roseborough
afa2d5fd09 Improve bytecode generation. 2010-08-10 05:52:33 +00:00