Commit Graph

479 Commits

Author SHA1 Message Date
James Roseborough
66873ff268 Improve debug hooks to match C behavior more closely. 2009-09-10 00:13:40 +00:00
James Roseborough
9cad7f1001 Fix gethook() return values and sethook() behavior when called from hook function. 2009-09-06 14:49:45 +00:00
James Roseborough
1c5e2352f9 Add coroutine and vararg tests. 2009-08-26 14:26:55 +00:00
James Roseborough
263960df3f Simplify debug info for java functions 2009-08-25 21:33:58 +00:00
James Roseborough
b698d500ba Fix arg check and behavior of xpcall() to leave stack intact. 2009-08-25 20:46:07 +00:00
James Roseborough
92459d0cbc Fix library path info 2009-06-20 14:18:12 +00:00
James Roseborough
120a3cf912 Replace ${VER} with 1.0 2009-06-20 13:47:05 +00:00
James Roseborough
02826a1562 Set version to 1.0 2009-06-20 13:38:12 +00:00
James Roseborough
13050a68b8 Begin work on 0.98 2009-05-22 18:34:06 +00:00
James Roseborough
623db25250 Fix hash code for doubles, add unit test to compare with integer hash codes. 2009-05-22 16:41:28 +00:00
James Roseborough
c4b2ab86f7 Coerce doubles into integers wherever possible, use hash code for doubles that is compatible with integers. 2009-05-22 14:51:42 +00:00
James Roseborough
a55ddfa2d9 Add "arg" global value to provide command line arguments. 2009-05-05 00:29:20 +00:00
James Roseborough
5048824909 Remove extra import. 2009-05-05 00:28:42 +00:00
James Roseborough
6a1fdfb6b0 fix varargs processing when followed by function call (test9.lua) 2009-04-27 22:43:45 +00:00
Ian Farmer
d6cbf423a3 Bug fix: string.find() was ignoring its 4th argument. 2009-04-27 22:42:50 +00:00
Ian Farmer
fbaeec9fe7 Add 2 new test cases. 2009-04-27 20:16:06 +00:00
James Roseborough
363ea0dfb1 Fix bytecode processing for OP_SELF and OP_TESTSET 2009-04-25 00:23:19 +00:00
James Roseborough
ddf2ed6f71 Add download links to documentation. 2009-04-23 04:57:47 +00:00
James Roseborough
a5ac11d34b Up version to 0.95 2009-04-21 15:59:15 +00:00
James Roseborough
beef2f99a0 Tune LString.equals() and related functions. 2009-04-18 18:34:28 +00:00
James Roseborough
0d0236819d Additional guards in debug info. 2009-04-11 00:16:40 +00:00
James Roseborough
a159a50cee Save and restore call counter for calls, since they may fail and leave elements on the stack when an Exception is thrown. 2009-04-10 00:35:23 +00:00
James Roseborough
4d4df03dbf Simplify configuration of simple hook functions. 2009-04-09 22:50:26 +00:00
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