Commit Graph

224 Commits

Author SHA1 Message Date
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
James Roseborough
5da65f7d41 Add test for combination of print() and tostring(), test case when tostring is changed in global environment. 2008-07-23 21:08:09 +00:00
James Roseborough
989164405d improve isolation of setfenv test. 2008-07-23 15:54:05 +00:00
James Roseborough
69135233d5 improve strlib test. 2008-07-23 14:11:56 +00:00
James Roseborough
a217f8a202 Pre-expand tables on SETLIST 2008-07-23 14:07:25 +00:00
James Roseborough
887658ae7b Fix tests with expected output 2008-07-23 13:47:15 +00:00
James Roseborough
81223754f2 Improve compatibility tests. 2008-07-22 23:52:02 +00:00
James Roseborough
ef48f8cd12 Implement string.dump 2008-07-22 22:32:28 +00:00
James Roseborough
eae183e334 Refactor math support to build for cldc 1.1. 2008-07-22 17:50:31 +00:00
James Roseborough
9113435e57 Argument type checking on basic lib 2008-07-22 14:56:13 +00:00
James Roseborough
289a0df9f5 Add xpcall. 2008-07-22 01:20:25 +00:00
James Roseborough
80d8fccd1a Add tests for J2me platform math. 2008-07-21 23:01:59 +00:00
James Roseborough
6642b38f91 Refactor math support to provide more consistent and complete math library coverage 2008-07-21 22:12:06 +00:00
James Roseborough
0c02382673 Improve argument type checkign on string libraries. 2008-07-18 01:22:00 +00:00
James Roseborough
1885f9b618 Fix table library type checking. 2008-07-17 22:44:28 +00:00
James Roseborough
06908c3b60 Improve argument type checking. 2008-07-17 18:49:43 +00:00
James Roseborough
a18c16dabb Improve argument type check tests. 2008-07-17 01:23:33 +00:00
James Roseborough
02cffe8a58 Add math library argument type check tests. 2008-07-16 22:04:15 +00:00
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