Commit Graph

422 Commits

Author SHA1 Message Date
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
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
f382aa552d Let stack trace be printed on runtime error in script. 2008-12-04 19:31:38 +00:00
James Roseborough
c44943e3a4 Add basic io library for j2se platform. 2008-12-04 00:37:27 +00:00
James Roseborough
8a44bad894 Simplify default search path. 2008-12-04 00:32:15 +00:00
James Roseborough
b639a3ca3e Add sample startup code for j2se 2008-12-03 06:07:29 +00:00
James Roseborough
485c95bc80 Add "doc" target to generate javadocs 2008-12-03 05:46:37 +00:00
James Roseborough
5d3d49c99f Add README for the project. 2008-12-03 01:41:21 +00:00
James Roseborough
605b49e88e Add missing xml files to distribution. 2008-12-01 18:39:56 +00:00
Ian Farmer
41b3997166 Fix bug in luajava.createProxy() and demonstrate its use. 2008-11-27 08:32:33 +00:00
Ian Farmer
1901448172 Bump version number to 0.80. 2008-10-20 17:35:35 +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
f83ad9e4ae Fix two problems with weak tables.
(1) User data values would be dropped even if other references
    to the wrapped Java instance existed.
(2) Dropped elements were never actually cleaned out of the table.
2008-10-17 22:02:13 +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
0808aa3791 Fix String comparison bug 2008-08-26 18:47:35 +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
3b30884c41 up version to 0.46 2008-08-21 05:35:38 +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
9b00c7dbad Add lua, luac command like main utility programs 2008-08-20 18:34:41 +00:00
James Roseborough
a19a389265 Rearrange number casting from lua to java 2008-08-12 00:05:23 +00:00
James Roseborough
bdcd0e7e38 Let any 'v' in __mode create a weak table. 2008-08-08 19:09:34 +00:00
James Roseborough
32e700aabd Seed random number generator. 2008-08-08 16:35:04 +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
f42e8ef051 Tune upvalue and table item reporting 2008-07-25 00:59:30 +00:00
James Roseborough
6c3b98cc82 Improved local variable and upvalue reporting for functions. 2008-07-25 00:24:38 +00:00