Commit Graph

244 Commits

Author SHA1 Message Date
James Roseborough
d1debdf2ec Remove obsolete v 1.0 source files (still available in 1.0 branch). 2009-10-27 06:20:40 +00:00
James Roseborough
9d22ef7855 Additional support for arrays in luajava library. 2009-10-22 06:08:33 +00:00
James Roseborough
1c5e2352f9 Add coroutine and vararg tests. 2009-08-26 14:26:55 +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
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
Ian Farmer
fbaeec9fe7 Add 2 new test cases. 2009-04-27 20:16:06 +00:00
James Roseborough
a414314114 Add oslib tests. 2009-04-09 16:25:12 +00:00
James Roseborough
4039127936 Add basic os library implementation. 2009-04-03 05:42:45 +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
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
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
Ian Farmer
69a438e0d4 Allow calling methods with float arguments with LuaJava. 2009-01-04 01:15:19 +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
James Roseborough
5e734e1650 Add argument type checking tests for io library 2008-12-05 01:47:50 +00:00
James Roseborough
b54ef775d2 Update j2se IO implementation to use RandomAccessFile to support seek. 2008-12-04 19:37:02 +00:00
James Roseborough
c44943e3a4 Add basic io library for j2se platform. 2008-12-04 00:37:27 +00:00
Ian Farmer
41b3997166 Fix bug in luajava.createProxy() and demonstrate its use. 2008-11-27 08:32:33 +00:00
Ian Farmer
6650a58ecb Add test case for weak table rehashing, and fix bug that was found. 2008-10-18 01:23:45 +00:00
Ian Farmer
bf90c74582 Fix tonumber() to match standard Lua's behavior more closely. 2008-10-10 23:37:47 +00:00
Ian Farmer
79e25ac436 Allow overriding lua binary in $PATH with Java system property LUA_COMMAND. 2008-10-10 23:18:46 +00:00
Ian Farmer
feaf20174f Fix math argument test to avoid dependence on argument evaluation order. 2008-10-10 23:17:13 +00:00
Ian Farmer
86022515f8 Avoid unsupported floating point formats in string argument test. 2008-10-10 23:15:53 +00:00
James Roseborough
9c19535631 Throw error when attempting to set a table value with a nil key 2008-09-19 17:57:03 +00:00
Ian Farmer
a0b1aef0b1 0.52: Small fixes for closer conformance with regular Lua. 2008-09-04 17:24:57 +00:00
James Roseborough
9fe29f4d15 version 0.50 optional dump and load chunks using number-patch format extensions. 2008-08-21 21:57:52 +00:00
James Roseborough
83eedc10a5 Optionally write test chunks to files. 2008-08-21 14:52:14 +00:00
James Roseborough
68453e4b0b Add unit tests for dumping in alternate forms, fix double dumping in little-endian. 2008-08-21 05:34:43 +00:00
James Roseborough
9f9d8872db Add misc table tests. 2008-08-07 21:10:23 +00:00
James Roseborough
8f5c27fa10 Checkpoint floating point format tests. 2008-08-07 18:30:28 +00:00
James Roseborough
6e6ab22344 Move Print into vm package. 2008-08-06 21:04:55 +00:00
James Roseborough
4a87bae45d v 0.44, drop debug support 2008-08-06 20:38:15 +00:00
James Roseborough
6c3b98cc82 Improved local variable and upvalue reporting for functions. 2008-07-25 00:24:38 +00:00
James Roseborough
447bc5853a Remove many unused and unimplemented functions. 2008-07-24 18:32:02 +00:00
Ian Farmer
28f349a6fa Add partial implementation of string.format.
Not yet implemented:
(1) '#' flag (use alternate format)
(2) Floating point formats

2 digit widths and precisions are not yet tested.
2008-07-24 06:38:35 +00:00
James Roseborough
1170b5822f Fix coroutine error handling. 2008-07-24 03:13:50 +00:00
James Roseborough
4fcb2b1796 Fix weak table creation, processing 2008-07-24 02:47:35 +00:00
James Roseborough
022202e578 Improve argument type checking. 2008-07-24 01:28:52 +00:00
James Roseborough
45e60c4b21 Improve argument type checking. 2008-07-23 23:52:20 +00:00