643af145d3
Add debug hook functions to LuaState
James Roseborough
2009-03-24 22:44:07 +00:00
0f40feb625
Add optional debug library.
James Roseborough
2009-03-24 14:27:59 +00:00
48b839b142
Up version to 0.92
James Roseborough
2009-03-19 21:24:21 +00:00
3abeb3692e
Fix __index and __newindex metatable operations when there are no calls on the call stack.
James Roseborough
2009-03-19 21:23:51 +00:00
451ff835c7
Fix bug: call frames were never removed from the calls stack.
Ian Farmer
2009-03-05 18:10:58 +00:00
61b1508485
Compile j2se with 1.3 class files for simpler use in applets.
James Roseborough
2009-02-09 17:22:16 +00:00
be2cb77173
pre-allocate vararg table.
James Roseborough
2009-01-29 17:58:34 +00:00
47d6ac5cbf
additional vararg test using 'arg' parameter name.
James Roseborough
2009-01-29 17:55:05 +00:00
ddcd496b7a
Fix compatibility vararg support when 'arg' variable is used.
James Roseborough
2009-01-29 17:53:49 +00:00
241f139a68
Fix compiler varargs support, add tests for varargs compatibility.
James Roseborough
2009-01-28 22:13:27 +00:00
249b711f9f
Add type checks for function calls
James Roseborough
2009-01-28 19:38:36 +00:00
89bcd4f0fa
Version 0.90, contains fixes to concatenation and for loop type checking, metatable tags on weak tables.
James Roseborough
2009-01-28 18:42:11 +00:00
79f5986e78
Add tests for operator type checking.
James Roseborough
2009-01-28 18:41:19 +00:00
5c139ac5b9
Add test for metatable operations which combine __mode and other tags.
James Roseborough
2009-01-28 18:40:53 +00:00
3235711447
Tighten type checking rules on concatenation operator.
James Roseborough
2009-01-28 18:40:07 +00:00
67bdc8dbc9
Tighten type rules on for loops
James Roseborough
2009-01-28 18:39:41 +00:00
d690d5b210
Propogate metatables to weak tables on creation.
James Roseborough
2009-01-28 18:38:40 +00:00
b3cf6171b0
Move the sample applet into the main source to be used as a standard tool.
James Roseborough
2009-01-07 17:06:15 +00:00
dd892ee7ff
Add sample applet that runs scripts colocated with the document root.
James Roseborough
2009-01-06 23:36:56 +00:00
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.
Ian Farmer
2009-01-04 01:20:35 +00:00
410003a612
Fix iolib test case. All junit tests now pass (against Lua 5.1.3 on GNU/Linux).
Ian Farmer
2009-01-04 01:17:10 +00:00
69a438e0d4
Allow calling methods with float arguments with LuaJava.
Ian Farmer
2009-01-04 01:15:19 +00:00
198a19c861
Make DEFAULT_LUA_PATH public
James Roseborough
2008-12-10 20:03:20 +00:00
79914762cc
Version 0.84
James Roseborough
2008-12-10 17:13:23 +00:00
2556f06e6a
Fix NullPointerException when calling methods via createProxy().
Ian Farmer
2008-12-09 07:22:02 +00:00
308e909df1
Add CLDC-1.0 based implementation of io libraries.
James Roseborough
2008-12-05 22:29:07 +00:00
b8237ec872
Implement io.tmpfile(), io.setvbuf(), and tests for both
James Roseborough
2008-12-05 18:25:30 +00:00
5e734e1650
Add argument type checking tests for io library
James Roseborough
2008-12-05 01:47:50 +00:00
b54ef775d2
Update j2se IO implementation to use RandomAccessFile to support seek.
James Roseborough
2008-12-04 19:37:02 +00:00
f382aa552d
Let stack trace be printed on runtime error in script.
James Roseborough
2008-12-04 19:31:38 +00:00
c44943e3a4
Add basic io library for j2se platform.
James Roseborough
2008-12-04 00:37:27 +00:00
8a44bad894
Simplify default search path.
James Roseborough
2008-12-04 00:32:15 +00:00
b639a3ca3e
Add sample startup code for j2se
James Roseborough
2008-12-03 06:07:29 +00:00
485c95bc80
Add "doc" target to generate javadocs
James Roseborough
2008-12-03 05:46:37 +00:00
5d3d49c99f
Add README for the project.
James Roseborough
2008-12-03 01:41:21 +00:00
605b49e88e
Add missing xml files to distribution.
James Roseborough
2008-12-01 18:39:56 +00:00
41b3997166
Fix bug in luajava.createProxy() and demonstrate its use.
Ian Farmer
2008-11-27 08:32:33 +00:00
1901448172
Bump version number to 0.80.
Ian Farmer
2008-10-20 17:35:35 +00:00
6650a58ecb
Add test case for weak table rehashing, and fix bug that was found.
Ian Farmer
2008-10-18 01:23:45 +00:00
f83ad9e4ae
Fix two problems with weak tables.
Ian Farmer
2008-10-17 22:02:13 +00:00
bf90c74582
Fix tonumber() to match standard Lua's behavior more closely.
Ian Farmer
2008-10-10 23:37:47 +00:00
79e25ac436
Allow overriding lua binary in $PATH with Java system property LUA_COMMAND.
Ian Farmer
2008-10-10 23:18:46 +00:00
feaf20174f
Fix math argument test to avoid dependence on argument evaluation order.
Ian Farmer
2008-10-10 23:17:13 +00:00
86022515f8
Avoid unsupported floating point formats in string argument test.
Ian Farmer
2008-10-10 23:15:53 +00:00
9c19535631
Throw error when attempting to set a table value with a nil key
James Roseborough
2008-09-19 17:57:03 +00:00
a0b1aef0b1
0.52: Small fixes for closer conformance with regular Lua.
Ian Farmer
2008-09-04 17:24:57 +00:00
0808aa3791
Fix String comparison bug
James Roseborough
2008-08-26 18:47:35 +00:00
9fe29f4d15
version 0.50 optional dump and load chunks using number-patch format extensions.
James Roseborough
2008-08-21 21:57:52 +00:00
83eedc10a5
Optionally write test chunks to files.
James Roseborough
2008-08-21 14:52:14 +00:00
3b30884c41
up version to 0.46
James Roseborough
2008-08-21 05:35:38 +00:00
68453e4b0b
Add unit tests for dumping in alternate forms, fix double dumping in little-endian.
James Roseborough
2008-08-21 05:34:43 +00:00
9b00c7dbad
Add lua, luac command like main utility programs
James Roseborough
2008-08-20 18:34:41 +00:00
a19a389265
Rearrange number casting from lua to java
James Roseborough
2008-08-12 00:05:23 +00:00
bdcd0e7e38
Let any 'v' in __mode create a weak table.
James Roseborough
2008-08-08 19:09:34 +00:00
32e700aabd
Seed random number generator.
James Roseborough
2008-08-08 16:35:04 +00:00
9f9d8872db
Add misc table tests.
James Roseborough
2008-08-07 21:10:23 +00:00
8f5c27fa10
Checkpoint floating point format tests.
James Roseborough
2008-08-07 18:30:28 +00:00
6e6ab22344
Move Print into vm package.
James Roseborough
2008-08-06 21:04:55 +00:00
4a87bae45d
v 0.44, drop debug support
James Roseborough
2008-08-06 20:38:15 +00:00
f42e8ef051
Tune upvalue and table item reporting
James Roseborough
2008-07-25 00:59:30 +00:00
6c3b98cc82
Improved local variable and upvalue reporting for functions.
James Roseborough
2008-07-25 00:24:38 +00:00
447bc5853a
Remove many unused and unimplemented functions.
James Roseborough
2008-07-24 18:32:02 +00:00
00b14efa99
Add back code for single-threaded coroutines.
James Roseborough
2008-07-24 14:52:45 +00:00
28f349a6fa
Add partial implementation of string.format.
Ian Farmer
2008-07-24 06:38:35 +00:00
7f1c388919
Fix build-coverage to include WTK libraries (needed for J2ME math tests.)
Ian Farmer
2008-07-24 06:35:17 +00:00
27c7156e68
add j2me into coverage build
James Roseborough
2008-07-24 05:59:43 +00:00
c440d92265
version 0.42
James Roseborough
2008-07-24 03:18:49 +00:00
1170b5822f
Fix coroutine error handling.
James Roseborough
2008-07-24 03:13:50 +00:00
cf069baf15
Let require use metatables on package.loaded.
James Roseborough
2008-07-24 01:30:52 +00:00
022202e578
Improve argument type checking.
James Roseborough
2008-07-24 01:28:52 +00:00
45e60c4b21
Improve argument type checking.
James Roseborough
2008-07-23 23:52:20 +00:00
5da65f7d41
Add test for combination of print() and tostring(), test case when tostring is changed in global environment.
James Roseborough
2008-07-23 21:08:09 +00:00
989164405d
improve isolation of setfenv test.
James Roseborough
2008-07-23 15:54:05 +00:00
69135233d5
improve strlib test.
James Roseborough
2008-07-23 14:11:56 +00:00
a217f8a202
Pre-expand tables on SETLIST
James Roseborough
2008-07-23 14:07:25 +00:00
887658ae7b
Fix tests with expected output
James Roseborough
2008-07-23 13:47:15 +00:00
81223754f2
Improve compatibility tests.
James Roseborough
2008-07-22 23:52:02 +00:00
ef48f8cd12
Implement string.dump
James Roseborough
2008-07-22 22:32:28 +00:00
89c38d00cc
Improved argument handling.
James Roseborough
2008-07-22 19:17:50 +00:00
eae183e334
Refactor math support to build for cldc 1.1.
James Roseborough
2008-07-22 17:50:31 +00:00
9113435e57
Argument type checking on basic lib
James Roseborough
2008-07-22 14:56:13 +00:00
289a0df9f5
Add xpcall.
James Roseborough
2008-07-22 01:20:25 +00:00
80d8fccd1a
Add tests for J2me platform math.
James Roseborough
2008-07-21 23:01:59 +00:00
6642b38f91
Refactor math support to provide more consistent and complete math library coverage
James Roseborough
2008-07-21 22:12:06 +00:00
467923b86e
Improve arugment type checking.
James Roseborough
2008-07-19 00:53:46 +00:00
fdf4dc0d56
Improve argument type checking for coroutine, module libraries.
James Roseborough
2008-07-19 00:31:04 +00:00
0c02382673
Improve argument type checkign on string libraries.
James Roseborough
2008-07-18 01:22:00 +00:00
41ed2fa8ad
Improve math lib argument type checking.
James Roseborough
2008-07-17 23:12:48 +00:00
1885f9b618
Fix table library type checking.
James Roseborough
2008-07-17 22:44:28 +00:00
06908c3b60
Improve argument type checking.
James Roseborough
2008-07-17 18:49:43 +00:00
a18c16dabb
Improve argument type check tests.
James Roseborough
2008-07-17 01:23:33 +00:00
02cffe8a58
Add math library argument type check tests.
James Roseborough
2008-07-16 22:04:15 +00:00
953daeb907
Add table argument type check tests.
James Roseborough
2008-07-16 20:04:44 +00:00
ec3feacc30
Add tests for string library functions.
James Roseborough
2008-07-16 17:38:28 +00:00
8f209948f5
Add mocule argument type checking.
James Roseborough
2008-07-15 23:58:15 +00:00
07b9297adc
Add coroutine library argument type check tests.
James Roseborough
2008-07-15 22:13:12 +00:00
bc279c7a9b
Add argument type check tests for basic library
James Roseborough
2008-07-15 21:51:42 +00:00
33eca97351
Add argument type checks for basic library functions.
James Roseborough
2008-07-15 18:35:38 +00:00