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
James Roseborough
447bc5853a
Remove many unused and unimplemented functions.
2008-07-24 18:32:02 +00:00
James Roseborough
00b14efa99
Add back code for single-threaded coroutines.
2008-07-24 14:52:45 +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
Ian Farmer
7f1c388919
Fix build-coverage to include WTK libraries (needed for J2ME math tests.)
2008-07-24 06:35:17 +00:00
James Roseborough
27c7156e68
add j2me into coverage build
2008-07-24 05:59:43 +00:00
James Roseborough
c440d92265
version 0.42
2008-07-24 03:18:49 +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
cf069baf15
Let require use metatables on package.loaded.
2008-07-24 01:30:52 +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
89c38d00cc
Improved argument handling.
2008-07-22 19:17:50 +00:00