Commit Graph

1090 Commits

Author SHA1 Message Date
James Roseborough
953daeb907 Add table argument type check tests. 2008-07-16 20:04:44 +00:00
James Roseborough
ec3feacc30 Add tests for string library functions. 2008-07-16 17:38:28 +00:00
James Roseborough
8f209948f5 Add mocule argument type checking. 2008-07-15 23:58:15 +00:00
James Roseborough
07b9297adc Add coroutine library argument type check tests. 2008-07-15 22:13:12 +00:00
James Roseborough
bc279c7a9b Add argument type check tests for basic library 2008-07-15 21:51:42 +00:00
James Roseborough
33eca97351 Add argument type checks for basic library functions. 2008-07-15 18:35:38 +00:00
James Roseborough
5fcec48678 Add framework to test error messages and argument type checking. 2008-07-15 05:32:56 +00:00
James Roseborough
754fe22b18 Update test to work with fixed gsub behavior 2008-07-14 20:14:44 +00:00
James Roseborough
a4197fefd0 Add gsub tests 2008-07-14 20:14:17 +00:00
James Roseborough
a2f88b61bf Collect garbage before each weak table unit test. 2008-07-14 18:32:38 +00:00
James Roseborough
1eaaff04fa Improve performance unit test 2008-07-14 18:31:06 +00:00
James Roseborough
d2a201ad87 Add simple performance tests 2008-07-14 17:58:37 +00:00
James Roseborough
c9fc0327b1 Add tests for jit argument passing 2008-07-14 17:57:44 +00:00
James Roseborough
508bfad573 Performance tune utf8 conversion 2008-07-09 21:52:21 +00:00
James Roseborough
c4a4e7f2cf Streamline utf-8 conversion. 2008-07-09 21:09:27 +00:00
James Roseborough
fec0f2955f Bump version to 0.40 2008-07-09 20:26:27 +00:00
James Roseborough
b2879328f7 Let getfield() operation dereference fields on non-tables. 2008-07-09 20:25:58 +00:00
James Roseborough
63bf210fc4 Add spot-check test on utf8 conversions. 2008-07-09 20:17:54 +00:00
James Roseborough
e486c062f8 Fix jit flow control 2008-07-03 16:33:09 +00:00
James Roseborough
f44de5cf17 Fix jit repeat-until 2008-07-03 14:51:27 +00:00
James Roseborough
8198f79a86 Capture output from jit tests and compare 2008-07-01 14:38:00 +00:00
James Roseborough
ad3b349432 Add basic jit tests. 2008-06-30 15:37:15 +00:00
James Roseborough
88770a3630 Add control flow extraction to jit compiler. 2008-06-29 18:34:22 +00:00
James Roseborough
a3b939352d Improve tointeger, tonumber 2008-06-27 14:17:32 +00:00
James Roseborough
db37158ab8 Isolate Bindings state from ScriptEngine state. 2008-06-15 19:19:49 +00:00
James Roseborough
76ef91a779 Add Compilable interface to LuaScriptEngine and implement it 2008-06-14 21:17:27 +00:00
James Roseborough
59b75d5ce0 fix tail call return value processing 2008-06-14 14:40:49 +00:00
James Roseborough
a9b8cc5655 add j2se components into j2se jar 2008-06-05 15:13:12 +00:00
James Roseborough
96756a5096 Add name to platforms 2008-06-04 21:32:33 +00:00
James Roseborough
67581463d5 remove luaj-script jar as build product 2008-06-04 21:32:18 +00:00
James Roseborough
3906bb9968 Add tests for some uncovered functions. 2008-06-04 15:33:21 +00:00
James Roseborough
dfdb876581 Put coverage reports into build directory. 2008-06-03 05:01:27 +00:00
James Roseborough
633cf907d6 Generate code coverage. 2008-06-03 04:46:41 +00:00
James Roseborough
049b6877c6 Use 1.5 class file version. 2008-06-03 04:45:15 +00:00
Ian Farmer
9a333e5799 Version 0.37: Various small fixes. 2008-06-02 06:00:04 +00:00
Ian Farmer
e4e95d593b Fix objlen, even though it is unused. 2008-06-02 05:54:08 +00:00
Ian Farmer
60323962f7 Fix string.len (includes new tests.) 2008-06-02 05:53:32 +00:00
Ian Farmer
ef2c087c1b Number fixes.
(1) Change how LDouble computes hashCode to match standard Lua.
(2) Change how toJavaString deals with NaN, infinity, and -0.
(3) Move 0 * -2 case to end of mathlib test case so that problematic tests
    are towards the end.
2008-06-02 04:18:42 +00:00
Ian Farmer
807541ace2 Fix table.remove:
(1) When nothing is removed, it returns zero results, not 1 nil result.
(2) Ignore requests to remove elements past the length of the table.
2008-06-02 04:14:13 +00:00
Ian Farmer
db457117e3 Change getCurrentPc: this fixes the line number difference in testModule. 2008-06-02 04:04:31 +00:00
Ian Farmer
9fa8b26e2d Add some helper functions for argument validation. 2008-05-30 18:31:47 +00:00
James Roseborough
914806afb4 Fix lua-to-java type coercion. 2008-05-28 17:22:55 +00:00
James Roseborough
03224d7da3 simplify delegation of luaGetTable, luaSetTable. 2008-05-28 00:44:31 +00:00
James Roseborough
06afefebb5 Add implementation for luajava.createProxy 2008-05-28 00:32:39 +00:00
James Roseborough
a34591851d updated luajava features. 2008-05-28 00:17:16 +00:00
James Roseborough
2c857d3cb3 Streamline delegation chain for table event processing. 2008-05-26 19:21:15 +00:00
James Roseborough
b8d0191dc9 Fix require return value 2008-05-24 00:45:57 +00:00
James Roseborough
02f8452515 Fix require sentinel logic 2008-05-24 00:43:39 +00:00
James Roseborough
bb3465c375 Fix getmetatable when metatable contains __metatable tag 2008-05-24 00:03:15 +00:00
James Roseborough
2583228b87 return nil when remove removes nothing 2008-05-24 00:02:48 +00:00