Commit Graph

46 Commits

Author SHA1 Message Date
James Roseborough
03cebfbf82 Add javacc grammar for lua 5.1 language spec 2010-06-19 16:46:25 +00:00
James Roseborough
6296068a49 Remove project dependency on luaj vm1 2010-05-14 14:32:02 +00:00
James Roseborough
9cd65fac87 Configure download of luaj1 lib during build 2010-04-16 16:25:34 +00:00
James Roseborough
46a9527701 Add LuaValue.load() function for library initialization. Change unit tests to use JavaBytecodeCompiler for lua->Java conversion. 2010-04-03 03:48:53 +00:00
James Roseborough
dc0be9b15a Add doc for bytecode generator. 2010-03-31 04:15:09 +00:00
James Roseborough
17c86b8eb3 Let ant build download bcel jar as needed. 2009-10-30 21:57:35 +00:00
James Roseborough
d1debdf2ec Remove obsolete v 1.0 source files (still available in 1.0 branch). 2009-10-27 06:20:40 +00:00
James Roseborough
3863ff8e46 Initial sources for planned 2.0 luaj vm release. Most interpreter features and library functions working. 2009-10-27 06:12:24 +00:00
James Roseborough
61b1508485 Compile j2se with 1.3 class files for simpler use in applets. 2009-02-09 17:22:16 +00:00
James Roseborough
79914762cc Version 0.84 2008-12-10 17:13:23 +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
James Roseborough
4a87bae45d v 0.44, drop debug support 2008-08-06 20:38:15 +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
a9b8cc5655 add j2se components into j2se jar 2008-06-05 15:13:12 +00:00
James Roseborough
67581463d5 remove luaj-script jar as build product 2008-06-04 21:32:18 +00:00
James Roseborough
049b6877c6 Use 1.5 class file version. 2008-06-03 04:45:15 +00:00
James Roseborough
8d055862e0 Add version "Luaj ${version}" into _VERSION field at build time. 2008-05-19 17:18:10 +00:00
James Roseborough
68d08c6cbd Add j2me components to j2se, script jars. 2008-05-14 00:19:56 +00:00
James Roseborough
f84e4aeaa1 Fix bootclasspath 2008-05-07 20:31:53 +00:00
James Roseborough
c759188034 Simplify build file, rationalize directories, rename build jars. 2008-05-06 14:12:46 +00:00
James Roseborough
73324845bf Up to version 0.24, add "dist" ant target to create a distribution. 2008-04-04 04:06:12 +00:00
James Roseborough
1eb969f84d Add version.properties to track version number of the build. 2008-02-06 19:28:12 +00:00
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