Commit Graph

22 Commits

Author SHA1 Message Date
James Roseborough
f87f77e327 Bump versino to 0.17 2008-02-05 19:32:04 +00:00
Ian Farmer
2461b46908 Fix equality test for userdata. Includes improved test7.lua. 2008-01-11 07:56:42 +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
Shu Lei
407d830582 1. code clean and added documentation for debugging protocol
2. upgrade to version 0.14 since I trimmed the debug message types
2007-12-17 19:42:02 +00:00
Ian Farmer
60cc93d64c Correctly remove values stored in the array-part of a table. 2007-12-12 19:19:03 +00:00
Shu Lei
42b94709f0 1. added a shutdown method for LuaState and DebugLuaState to clean up before shutting down
2. added the capability to set LUA_PATH
3. minor debugging improvement
4. bump up the version to 0.12 because the addition outputRedirect debug message is not compatible with the previous versions
2007-12-11 01:51:28 +00:00
Shu Lei
23710a8994 missed the file when I upgrade to version 0.11 2007-12-07 01:02:53 +00:00
Shu Lei
fd9b9b51c3 1. completed j2me debugging support
2. refactored DebugEvents and DebugRequests
2007-11-29 21:24:07 +00:00
Shu Lei
6c9d02b3a3 1. changed to use LuaErrorException and removed VMException
2. refactored the debug network communication layer
2007-11-20 23:25:50 +00:00
James Roseborough
ff66779330 Major refactoring of package names, class names 2007-11-07 23:56:06 +00:00
James Roseborough
f398387222 Up version to 0.9 2007-11-06 22:17:24 +00:00
James Roseborough
0ff616579f change version to 0.8 2007-11-06 21:54:16 +00:00
Ian Farmer
c311c31a74 Fix inconsistency in build: filename in real-delete target was not the
same as filename produced.
2007-10-23 21:09:54 +00:00
Ian Farmer
c3f17a3b5e Build changes:
* ant build.xml produces 4 output jars: all-in-one jar, a "core" jar that
  should work under J2ME, an "extras" jar with classes that require J2SE,
  and the last jar provides the debug support for J2ME.
* Change the Eclipse .classpath to include WTK jars. Requires WTK_HOME
  classpath variable be set in Eclipse workspace.
2007-10-23 21:06:51 +00:00
Shu Lei
a8422a6908 debug support refactoring 2007-10-17 00:56:08 +00:00
Shu Lei
38dafdb190 1. some refacotring
2. fixed a few files so that they will compile for j2me
2007-10-12 20:39:26 +00:00
Shu Lei
341a5588b0 first step to bring debugging code to j2me 2007-10-12 01:36:28 +00:00
James Roseborough
5a92c52fd5 Add "j2me" ant target. 2007-10-10 17:53:34 +00:00
James Roseborough
710f13dafc Convert to java 1.3 source style and enable all classes to be built using java class version 1.1 2007-10-10 03:53:22 +00:00
James Roseborough
edea16fb91 Convert to 1.1 class file version 2007-10-09 04:10:36 +00:00
Ian Farmer
cd5f278e7b Compile code at source version 1.3, and exclude sources that require
more recent java features.
2007-09-26 23:27:15 +00:00
Ian Farmer
11c12281b6 Add a really simple apache ant build script 2007-09-26 01:26:20 +00:00