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
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
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
Ian Farmer
41b3997166
Fix bug in luajava.createProxy() and demonstrate its use.
2008-11-27 08:32:33 +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
9b00c7dbad
Add lua, luac command like main utility programs
2008-08-20 18:34:41 +00:00
James Roseborough
4a87bae45d
v 0.44, drop debug support
2008-08-06 20:38:15 +00:00
James Roseborough
447bc5853a
Remove many unused and unimplemented functions.
2008-07-24 18:32:02 +00:00
James Roseborough
eae183e334
Refactor math support to build for cldc 1.1.
2008-07-22 17:50:31 +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
96756a5096
Add name to platforms
2008-06-04 21:32:33 +00:00
James Roseborough
914806afb4
Fix lua-to-java type coercion.
2008-05-28 17:22:55 +00:00
James Roseborough
06afefebb5
Add implementation for luajava.createProxy
2008-05-28 00:32:39 +00:00
James Roseborough
a34591851d
updated luajava features.
2008-05-28 00:17:16 +00:00
James Roseborough
23609197b9
fix metatable processing
2008-05-23 14:25:58 +00:00
James Roseborough
c2c573744b
Refactor luaGetTable() to return a value.
2008-05-23 00:37:45 +00:00
James Roseborough
039d79fe5f
Simplified, extended jit implementation
2008-05-18 15:12:03 +00:00
James Roseborough
c759188034
Simplify build file, rationalize directories, rename build jars.
2008-05-06 14:12:46 +00:00
James Roseborough
09aa37a837
Weak table implementation.
2008-04-08 21:55:16 +00:00
James Roseborough
c0b26d89c3
Revert to 1.4 style usage
2008-02-21 23:38:34 +00:00
Shu Lei
9f9f31b969
Changes made for the following:
...
1) Platform.java stays as abstract class with, but default implementation is removed. Stays in org.luaj.vm package
2) org.luaj.platform package is created to hold concrete Platform implementations
3) Platform.newLuaState() method is introduced to instantiate the LuaState. Other constructors are privatized.
4) Following Platform implementations are created:
J2sePlatform
J2meMidp20Cldc11Platform
J2meMidp10Cldc10Platform
5) All clients of luaj-vm are changed to include startup code that looks something like this:
Platform.setInstance( new J2meMidp20Cldc11Platform() );
LuaState state = Platform.getInstance().newLuaState();
2007-12-19 21:44:15 +00:00
James Roseborough
644896c467
Improve error reporting.
2007-12-06 15:29:49 +00:00
James Roseborough
45f483f706
Replace settop(0) with resettop()
2007-11-16 19:19:13 +00:00
James Roseborough
abad119a5c
Introduce LuaErrorException which is thrown and caught when a lua error() needs to be processed.
2007-11-15 00:49:02 +00:00
James Roseborough
2023ac3464
Split libraries into pieces.
2007-11-09 00:15:56 +00:00
James Roseborough
ff66779330
Major refactoring of package names, class names
2007-11-07 23:56:06 +00:00