James Roseborough
67c66c684c
expose public getlocal and getupvalue functions.
2009-04-09 20:20:14 +00:00
James Roseborough
f66c456934
expose public traceback function.
2009-04-09 18:49:10 +00:00
James Roseborough
f42bbd1ff7
improve error reporting.
2009-04-09 18:19:07 +00:00
James Roseborough
93977b293f
Improve error reporting.
2009-04-09 17:31:45 +00:00
James Roseborough
99d5baeeab
try to load lua before Java classes for -l argument.
2009-04-09 17:31:06 +00:00
James Roseborough
1d40b52348
Let all libraries implement invoke() instead of luaStackCall, correct off-by-one error on argument type check functions.
2009-04-09 16:27:01 +00:00
James Roseborough
a414314114
Add oslib tests.
2009-04-09 16:25:12 +00:00
James Roseborough
71f539ab2d
Improve handling of tail calls in debug info
2009-04-08 14:40:52 +00:00
James Roseborough
a91cd3dfee
Move source file name accessor methods.
2009-04-08 00:15:14 +00:00
James Roseborough
85db250622
Fixes to getinfo when function is supplied.
2009-04-08 00:09:46 +00:00
James Roseborough
250fde7859
Improve debug library getinfo, traceback, getupvalue, and getlocal functions.
2009-04-07 23:45:29 +00:00
James Roseborough
f51fac919e
Relocate some debug-related methods.
2009-04-05 17:34:48 +00:00
James Roseborough
e9847bb70d
Improve call hooks, stack trace and getinfo reporting.
2009-04-04 22:00:37 +00:00
James Roseborough
7d3d4d9f01
Update version to 0.94
2009-04-03 16:32:06 +00:00
James Roseborough
cd43f00d91
Add static install utility for j2se os lib.
2009-04-03 05:44:57 +00:00
James Roseborough
4039127936
Add basic os library implementation.
2009-04-03 05:42:45 +00:00
James Roseborough
37b759485b
Update README to include documentation on debug library.
2009-04-02 14:52:18 +00:00
James Roseborough
498805bfe5
Repair subclass hook for debugging.
2009-04-02 13:50:11 +00:00
James Roseborough
bb8ced423e
Let getinfo return without error when level extends beyond call stack
2009-04-02 13:45:51 +00:00
James Roseborough
d236c31650
Fixes to debug.sethook, debug.gethook, and debug.getinfo functions.
2009-03-26 05:13:06 +00:00
James Roseborough
512304475e
Tests and fixes for debug.setupvalue, getupvalue, setmetatable, and getmetatable
2009-03-25 21:35:20 +00:00
James Roseborough
1aa3a7561f
Fix debug.getlocal, debug.setlocal to match C lua logic.
2009-03-25 18:28:30 +00:00
James Roseborough
4bdd4a6ea2
Enhance debug tests, fix debug lib off-by-one erros.
2009-03-25 14:43:24 +00:00
James Roseborough
643af145d3
Add debug hook functions to LuaState
2009-03-24 22:44:07 +00:00
James Roseborough
0f40feb625
Add optional debug library.
2009-03-24 14:27:59 +00:00
James Roseborough
48b839b142
Up version to 0.92
2009-03-19 21:24:21 +00:00
James Roseborough
3abeb3692e
Fix __index and __newindex metatable operations when there are no calls on the call stack.
2009-03-19 21:23:51 +00:00
Ian Farmer
451ff835c7
Fix bug: call frames were never removed from the calls stack.
2009-03-05 18:10:58 +00:00
James Roseborough
61b1508485
Compile j2se with 1.3 class files for simpler use in applets.
2009-02-09 17:22:16 +00:00
James Roseborough
be2cb77173
pre-allocate vararg table.
2009-01-29 17:58:34 +00:00
James Roseborough
47d6ac5cbf
additional vararg test using 'arg' parameter name.
2009-01-29 17:55:05 +00:00
James Roseborough
ddcd496b7a
Fix compatibility vararg support when 'arg' variable is used.
2009-01-29 17:53:49 +00:00
James Roseborough
241f139a68
Fix compiler varargs support, add tests for varargs compatibility.
2009-01-28 22:13:27 +00:00
James Roseborough
249b711f9f
Add type checks for function calls
2009-01-28 19:38:36 +00:00
James Roseborough
89bcd4f0fa
Version 0.90, contains fixes to concatenation and for loop type checking, metatable tags on weak tables.
2009-01-28 18:42:11 +00:00
James Roseborough
79f5986e78
Add tests for operator type checking.
2009-01-28 18:41:19 +00:00
James Roseborough
5c139ac5b9
Add test for metatable operations which combine __mode and other tags.
2009-01-28 18:40:53 +00:00
James Roseborough
3235711447
Tighten type checking rules on concatenation operator.
2009-01-28 18:40:07 +00:00
James Roseborough
67bdc8dbc9
Tighten type rules on for loops
2009-01-28 18:39:41 +00:00
James Roseborough
d690d5b210
Propogate metatables to weak tables on creation.
2009-01-28 18:38:40 +00:00
James Roseborough
b3cf6171b0
Move the sample applet into the main source to be used as a standard tool.
2009-01-07 17:06:15 +00:00
James Roseborough
dd892ee7ff
Add sample applet that runs scripts colocated with the document root.
2009-01-06 23:36:56 +00:00
Ian Farmer
6fa2399b48
Increment version to 0.85. Changes since 0.84:
...
* PackageLib.DEFAULT_LUA_PATH is no longer declared final.
* Missing support for float type arguments added to LuaJava.
* Changes in IoLib - test case now passes on Linux with Lua 5.1.3.
2009-01-04 01:20:35 +00:00
Ian Farmer
410003a612
Fix iolib test case. All junit tests now pass (against Lua 5.1.3 on GNU/Linux).
2009-01-04 01:17:10 +00:00
Ian Farmer
69a438e0d4
Allow calling methods with float arguments with LuaJava.
2009-01-04 01:15:19 +00:00
James Roseborough
198a19c861
Make DEFAULT_LUA_PATH public
2008-12-10 20:03:20 +00:00
James Roseborough
79914762cc
Version 0.84
2008-12-10 17:13:23 +00:00
Ian Farmer
2556f06e6a
Fix NullPointerException when calling methods via createProxy().
2008-12-09 07:22:02 +00:00
James Roseborough
308e909df1
Add CLDC-1.0 based implementation of io libraries.
2008-12-05 22:29:07 +00:00
James Roseborough
b8237ec872
Implement io.tmpfile(), io.setvbuf(), and tests for both
2008-12-05 18:25:30 +00:00