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
James Roseborough
d383b4703f
fix gettable logic
2008-05-23 23:19:22 +00:00
James Roseborough
6e03c38e39
perform function metatable calls outside of current stack frame.
2008-05-23 18:43:56 +00:00
James Roseborough
5b1913d839
refactor top management
2008-05-23 18:32:41 +00:00
James Roseborough
ac01ec4719
delegate metatable gets, sets to luastate
2008-05-23 15:04:23 +00:00
James Roseborough
1b284e26c2
Refactor gettable metatable processing
2008-05-23 14:58:20 +00:00
James Roseborough
23609197b9
fix metatable processing
2008-05-23 14:25:58 +00:00
James Roseborough
02631fface
Add copyright
2008-05-23 13:38:02 +00:00
James Roseborough
8c074d6ac6
refactor get table with metatable
2008-05-23 07:39:57 +00:00
James Roseborough
c2c573744b
Refactor luaGetTable() to return a value.
2008-05-23 00:37:45 +00:00
James Roseborough
c20ea01bc9
if-then-else logic to jit compiler
2008-05-22 04:28:03 +00:00
James Roseborough
2128ef7272
Start to add branching
2008-05-21 05:19:43 +00:00
James Roseborough
0280d4eecf
additional jit implementations
2008-05-21 04:46:22 +00:00
James Roseborough
539b0ea57f
Allow jit to find upvalues.
2008-05-21 00:37:10 +00:00
James Roseborough
3582b97d8b
Add OP_CLOSURE to jit
2008-05-21 00:33:00 +00:00