Permalink
Browse files

Import to git

  • Loading branch information...
0 parents commit a6fc5a3d5ca9a26f4f3cc6d8685fa213cb4031de @drahosp drahosp committed Oct 1, 2010
Showing with 17,484 additions and 0 deletions.
  1. +87 −0 CMakeLists.txt
  2. +20 −0 License.txt
  3. +103 −0 Makefile
  4. +101 −0 Makefile.win
  5. +44 −0 config
  6. +27 −0 config.win
  7. +130 −0 dist.cmake
  8. +14 −0 dist.info
  9. +214 −0 doc/br/examples.html
  10. +125 −0 doc/br/history.html
  11. +143 −0 doc/br/index.html
  12. +88 −0 doc/br/license.html
  13. BIN doc/br/luajava_128.png
  14. +258 −0 doc/br/manual.html
  15. +42 −0 doc/us/API/allclasses-frame.html
  16. +42 −0 doc/us/API/allclasses-noframe.html
  17. +138 −0 doc/us/API/constant-values.html
  18. +138 −0 doc/us/API/deprecated-list.html
  19. +205 −0 doc/us/API/help-doc.html
  20. +743 −0 doc/us/API/index-all.html
  21. +34 −0 doc/us/API/index.html
  22. +253 −0 doc/us/API/org/keplerproject/luajava/Console.html
  23. +315 −0 doc/us/API/org/keplerproject/luajava/JavaFunction.html
  24. +254 −0 doc/us/API/org/keplerproject/luajava/LuaException.html
  25. +267 −0 doc/us/API/org/keplerproject/luajava/LuaInvocationHandler.html
  26. +654 −0 doc/us/API/org/keplerproject/luajava/LuaObject.html
  27. +3,064 −0 doc/us/API/org/keplerproject/luajava/LuaState.html
  28. +289 −0 doc/us/API/org/keplerproject/luajava/LuaStateFactory.html
  29. +53 −0 doc/us/API/org/keplerproject/luajava/package-frame.html
  30. +223 −0 doc/us/API/org/keplerproject/luajava/package-summary.html
  31. +148 −0 doc/us/API/org/keplerproject/luajava/package-tree.html
  32. +150 −0 doc/us/API/overview-tree.html
  33. +1 −0 doc/us/API/package-list
  34. BIN doc/us/API/resources/inherit.gif
  35. +158 −0 doc/us/API/serialized-form.html
  36. +29 −0 doc/us/API/stylesheet.css
  37. +216 −0 doc/us/examples.html
  38. +127 −0 doc/us/history.html
  39. +142 −0 doc/us/index.html
  40. +124 −0 doc/us/license.html
  41. BIN doc/us/luajava_128.png
  42. +288 −0 doc/us/manual.html
  43. +1 −0 luajava.bat.cmake
  44. +1 −0 luajava.cmake
  45. +3,405 −0 src/c/luajava.c
  46. +71 −0 src/java/org/keplerproject/luajava/CPtr.java
  47. +100 −0 src/java/org/keplerproject/luajava/Console.java
  48. +86 −0 src/java/org/keplerproject/luajava/JavaFunction.java
  49. +54 −0 src/java/org/keplerproject/luajava/LuaException.java
  50. +84 −0 src/java/org/keplerproject/luajava/LuaInvocationHandler.java
  51. +595 −0 src/java/org/keplerproject/luajava/LuaJavaAPI.java
  52. +543 −0 src/java/org/keplerproject/luajava/LuaObject.java
  53. +1,169 −0 src/java/org/keplerproject/luajava/LuaState.java
  54. +123 −0 src/java/org/keplerproject/luajava/LuaStateFactory.java
  55. +58 −0 src/java/org/keplerproject/luajava/package.html
  56. +8 −0 test/.classpath
  57. +17 −0 test/.project
  58. +71 −0 test/awtTest.lua
  59. +64 −0 test/hibernateConfig.lua
  60. +3 −0 test/loadLibExample.lua
  61. +62 −0 test/org/keplerproject/luajava/test/LoadLibExample.java
  62. +69 −0 test/org/keplerproject/luajava/test/Main.java
  63. +55 −0 test/org/keplerproject/luajava/test/ObjPrint.java
  64. +32 −0 test/org/keplerproject/luajava/test/Printable.java
  65. +66 −0 test/org/keplerproject/luajava/test/TestClass.java
  66. +101 −0 test/org/keplerproject/luajava/test/TestJDBC.java
  67. +143 −0 test/org/keplerproject/luajava/test/TestLauxlib.java
  68. +360 −0 test/org/keplerproject/luajava/test/TestLuaMap.java
  69. +62 −0 test/org/keplerproject/luajava/test/ThreadTest.java
  70. +48 −0 test/org/keplerproject/luajava/test/node/IConfig.java
  71. +192 −0 test/org/keplerproject/luajava/test/node/LuaNode.java
  72. +66 −0 test/org/keplerproject/luajava/test/node/Main.java
  73. +1 −0 test/runawttest.bat
  74. +2 −0 test/runawttest.sh
  75. +1 −0 test/runswingtest.bat
  76. +2 −0 test/runswingtest.sh
  77. +14 −0 test/simpleLuaFile.lua
  78. +59 −0 test/swingTest.lua
  79. +39 −0 test/testErrors.lua
  80. +55 −0 test/testJDBC.lua
  81. +92 −0 test/testMap.lua
  82. +48 −0 test/testMemory.lua
  83. +11 −0 test/wrongLuaFile.lua
87 CMakeLists.txt
@@ -0,0 +1,87 @@
+# Copyright (C) 2007-2009 LuaDist.
+# Created by Peter Kapec
+# Redistribution and use of this file is allowed according to the terms of the MIT license.
+# For details see the COPYRIGHT file distributed with LuaDist.
+# Please note that the package source code is licensed under its own license.
+
+PROJECT(luajava Java)
+CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
+INCLUDE(dist.cmake)
+
+# We need Java to compile
+ FIND_PACKAGE (Java REQUIRED)
+ FIND_PACKAGE (JNI REQUIRED)
+
+ INCLUDE_DIRECTORIES(
+#~ $ENV{JAVA_HOME}/include
+#~ $ENV{JAVA_HOME}/include/win32
+ ${JAVA_INCLUDE_PATH}
+ ${JAVA_INCLUDE_PATH2}
+ )
+#~ SET(JAVA_BIN $ENV{JAVA_HOME}/bin)
+
+ FIND_PROGRAM(JAVA_HEAD NAMES javah PATHS ${JAVA_BIN_PATH})
+
+
+# LuaJava JAVA parts
+ SET(VERSION 1.1)
+ SET(PKG luajava-${VERSION})
+ SET(JAR_FILE ${PKG}.jar)
+
+ FILE(GLOB JAVA_FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/java/org/keplerproject/luajava/*.java)
+
+ ADD_CUSTOM_TARGET(LUAJAVA_CLASSES
+#~ COMMAND ${JAVA_BIN}/javac -sourcepath ${CMAKE_CURRENT_SOURCE_DIR}/src/java -d ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/src/java/org/keplerproject/luajava/*.java
+
+#~ COMMAND ${JAVA_COMPILE} -sourcepath ${CMAKE_CURRENT_SOURCE_DIR}/src/java -d ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/src/java/org/keplerproject/luajava/*.java
+
+COMMAND ${JAVA_COMPILE} -sourcepath ${CMAKE_CURRENT_SOURCE_DIR}/src/java -d ${CMAKE_CURRENT_BINARY_DIR} ${JAVA_FILES}
+ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+ COMMENT "Creating luajava classes"
+ VERBATIM
+ )
+
+ FILE(GLOB JAVA_COMPILED_FILES ${CMAKE_CURRENT_BINARY_DIR}/org/keplerproject/luajava/*.class)
+
+ ADD_CUSTOM_TARGET(LUAJAVA_JAR
+#~ COMMAND ${JAVA_BIN}/jar cvf ${JAR_FILE} org/keplerproject/luajava/*.class
+#~ COMMAND ${JAVA_ARCHIVE} cvf ${JAR_FILE} org/keplerproject/luajava/*.class
+ COMMAND ${JAVA_ARCHIVE} cvf ${JAR_FILE} ${JAVA_COMPILED_FILES}
+ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+ COMMENT "Creating luajava.jar"
+ VERBATIM
+ )
+ ADD_DEPENDENCIES(LUAJAVA_JAR LUAJAVA_CLASSES)
+
+ ADD_CUSTOM_TARGET(LUAJAVA_H
+#~ COMMAND ${JAVA_BIN}/javah -o ${CMAKE_CURRENT_BINARY_DIR}/luajava.h -classpath ${CMAKE_CURRENT_BINARY_DIR} org.keplerproject.luajava.LuaState
+ COMMAND ${JAVA_HEAD} -o ${CMAKE_CURRENT_BINARY_DIR}/luajava.h -classpath ${CMAKE_CURRENT_BINARY_DIR} org.keplerproject.luajava.LuaState
+ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+ COMMENT "Creating luajava.h"
+ VERBATIM
+ )
+ ADD_DEPENDENCIES(LUAJAVA_H LUAJAVA_JAR)
+
+
+# LuaJava module
+ find_package(Lua51 REQUIRED)
+ include_directories(${LUA_INCLUDE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
+
+ ADD_LIBRARY(luajava SHARED src/c/luajava.c)
+ TARGET_LINK_LIBRARY(luajava ${LUA_LIBRARY})
+
+ INSTALL(TARGETS luajava DESTINATION ${INSTALL_LIB})
+ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${JAR_FILE} DESTINATION ${INSTALL_LIB} )
+
+# LuaJava Batch & Shell scripts
+ IF (WIN32 AND NOT CYGWIN AND NOT MSYS)
+ SET(CONF_SUFFIX .bat)
+ ENDIF ()
+
+ CONFIGURE_FILE (${CMAKE_CURRENT_SOURCE_DIR}/luajava${CONF_SUFFIX}.cmake ${CMAKE_CURRENT_BINARY_DIR}/luajava${CONF_SUFFIX} @ONLY)
+ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/luajava${CONF_SUFFIX} DESTINATION ${INSTALL_BIN})
+
+# Install docs and tests
+ INSTALL(FILES License.txt DESTINATION ${INSTALL_DATA})
+ INSTALL(DIRECTORY doc/ DESTINATION ${INSTALL_DOC})
+ INSTALL(DIRECTORY test/ DESTINATION ${INSTALL_TEST})
20 License.txt
@@ -0,0 +1,20 @@
+Copyright (C) 2003-2007 Kepler Project.
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
103 Makefile
@@ -0,0 +1,103 @@
+#
+# Makefile for LuaJava Linux Distribution
+#
+
+include ./config
+
+CLASSES = \
+ src/java/org/keplerproject/luajava/CPtr.class \
+ src/java/org/keplerproject/luajava/JavaFunction.class \
+ src/java/org/keplerproject/luajava/LuaException.class \
+ src/java/org/keplerproject/luajava/LuaInvocationHandler.class \
+ src/java/org/keplerproject/luajava/LuaJavaAPI.class \
+ src/java/org/keplerproject/luajava/LuaObject.class \
+ src/java/org/keplerproject/luajava/LuaState.class \
+ src/java/org/keplerproject/luajava/LuaStateFactory.class \
+ src/java/org/keplerproject/luajava/Console.class
+
+DOC_CLASSES = \
+ src/java/org/keplerproject/luajava/JavaFunction.java \
+ src/java/org/keplerproject/luajava/LuaException.java \
+ src/java/org/keplerproject/luajava/LuaInvocationHandler.java \
+ src/java/org/keplerproject/luajava/LuaObject.java \
+ src/java/org/keplerproject/luajava/LuaState.java \
+ src/java/org/keplerproject/luajava/LuaStateFactory.java \
+ src/java/org/keplerproject/luajava/Console.java
+
+OBJS = src/c/luajava.o
+.SUFFIXES: .java .class
+
+#
+# Targets
+#
+run: build
+ @echo ------------------
+ @echo Build Complete
+ @echo ------------------
+
+build: checkjdk $(JAR_FILE) apidoc $(SO_FILE)
+
+#
+# Build .class files.
+#
+.java.class:
+ $(JDK)/bin/javac -sourcepath ./src/java $*.java
+
+#
+# Create the JAR
+#
+$(JAR_FILE): $(CLASSES)
+ cd src/java; \
+ $(JDK)/bin/jar cvf ../../$(JAR_FILE) org/keplerproject/luajava/*.class; \
+ cd ../..;
+
+#
+# Create the API Documentation
+#
+apidoc:
+ $(JDK)/bin/javadoc -public -classpath src/java/ -quiet -d "doc/us/API" $(DOC_CLASSES)
+
+#
+# Build .c files.
+#
+$(SO_FILE): $(OBJS)
+ export MACOSX_DEPLOYMENT_TARGET=10.3; $(CC) $(LIB_OPTION) -o $@ $? $(LIB_LUA)
+
+src/c/luajava.c: src/c/luajava.h
+
+src/c/luajava.h:
+ $(JDK)/bin/javah -o src/c/luajava.h -classpath "$(JAR_FILE)" org.keplerproject.luajava.LuaState
+
+
+## regras implicitas para compilacao
+
+$(OBJDIR)/%.o: %.c
+ $(CC) -c $(CFLAGS) -o $@ $<
+
+#
+# Check that the user has a valid JDK install. This will cause a
+# premature death if JDK is not defined.
+#
+checkjdk: $(JDK)/bin/java
+
+#
+# Cleanliness.
+#
+clean:
+ rm -f $(JAR_FILE)
+ rm -f $(SO_FILE)
+ rm -rf doc/us/API
+ rm -f src/java/org/keplerproject/luajava/*.class src/c/*.o src/c/luajava.h
+ rm -f $(TAR_FILE) $(ZIP_FILE)
+
+dist: dist_dir
+ tar -czf $(TAR_FILE) --exclude \*CVS\* --exclude *.class --exclude *.o --exclude *.h --exclude $(TAR_FILE) --exclude $(ZIP_FILE) $(DIST_DIR)
+ zip -qr $(ZIP_FILE) $(DIST_DIR)/* -x ./\*CVS\* *.class *.o *.h ./$(TAR_FILE) ./$(ZIP_FILE)
+
+dist_dir: apidoc
+ mkdir -p $(DIST_DIR)
+ cp -R src $(DIST_DIR)
+ cp -R doc $(DIST_DIR)
+ cp -R test $(DIST_DIR)
+ cp config License.txt Makefile config.win Makefile.win $(DIST_DIR)
+
101 Makefile.win
@@ -0,0 +1,101 @@
+#
+# NMake makefile for the LuaJava Windows Distribution
+#
+
+include config.win
+
+
+#
+# Other variables.
+#
+CLASSES = \
+ src/java/org/keplerproject/luajava/CPtr.class \
+ src/java/org/keplerproject/luajava/JavaFunction.class \
+ src/java/org/keplerproject/luajava/LuaException.class \
+ src/java/org/keplerproject/luajava/LuaInvocationHandler.class \
+ src/java/org/keplerproject/luajava/LuaJavaAPI.class \
+ src/java/org/keplerproject/luajava/LuaObject.class \
+ src/java/org/keplerproject/luajava/LuaState.class \
+ src/java/org/keplerproject/luajava/LuaStateFactory.class \
+ src/java/org/keplerproject/luajava/Console.class
+
+DOC_CLASSES = \
+ src/java/org/keplerproject/luajava/JavaFunction.java \
+ src/java/org/keplerproject/luajava/LuaException.java \
+ src/java/org/keplerproject/luajava/LuaInvocationHandler.java \
+ src/java/org/keplerproject/luajava/LuaObject.java \
+ src/java/org/keplerproject/luajava/LuaState.java \
+ src/java/org/keplerproject/luajava/LuaStateFactory.java \
+ src/java/org/keplerproject/luajava/Console.java
+
+OBJS = src\c\luajava.obj
+.SUFFIXES: .java .class
+
+#
+# Targets
+#
+run: build FORCE
+ @echo ------------------
+ @echo Build Complete
+ @echo ------------------
+
+#build: checkjdk $(CLASSES) $(JAR_FILE) apidoc $(SO_FILE) clean FORCE
+build: checkjdk $(CLASSES) $(JAR_FILE) apidoc $(SO_FILE) clean FORCE
+
+#
+# Build .class files.
+#
+.java.class:
+ "$(JDK)\bin\javac" -sourcepath ./src/java $*.java
+
+#
+# Create the JAR
+#
+$(JAR_FILE):
+ cd src/java
+ "$(JDK)\bin\jar" cvf ../../$(JAR_FILE) org/keplerproject/luajava/*.class
+ cd ..
+ cd ..
+
+#
+# Create the API Documentation
+#
+apidoc:
+ "$(JDK)\bin\javadoc" -classpath "src/java/" -public -quiet -d "doc/us/API" $(DOC_CLASSES)
+
+#
+# Build .c files.
+#
+$(SO_FILE): $(OBJS)
+ link /dll /nodefaultlib:"msvcrt.lib" -out:$@ $? $(LUA_LIBDIR)\$(LIB_LUA)
+# link /dll -out:$@ $? $(LUA_LIBDIR)\$(LIB_LUA)
+
+src/c/luajava.c: src/c/luajava.h
+
+src/c/luajava.h:
+ "$(JDK)\bin\javah" -o src/c/luajava.h -classpath "$(JAR_FILE)" org.keplerproject.luajava.LuaState
+
+
+#
+# Check that the user has a valid JDK install. This will cause a
+# premature death if JDK is not defined.
+#
+checkjdk: "$(JDK)\bin\java.exe"
+
+#
+# Help deal with phony targets.
+#
+FORCE: ;
+
+
+install: $(SO_FILE)
+ IF NOT EXIST $(LUA_LIBDIR) mkdir $(LUA_LIBDIR)
+ copy $(SO_FILE) $(LUA_LIBDIR)
+
+#
+# Cleanliness.
+#
+clean:
+ -del src\java\org\keplerproject\luajava\*.class src\c\*.obj *.pdb *.exp *.lib *.exp *.ilk
+
+# $Id: Makefile.win,v 1.1 2006/12/22 14:06:40 thiago Exp $
44 config
@@ -0,0 +1,44 @@
+#############################################################
+#Linux/BSD/Mac
+LUA_DIR= /usr/local/share/lua/5.1.1
+LUA_LIBDIR= /usr/local/lib
+LUA_INCLUDES= /usr/local/include
+JDK= $(JAVA_HOME)
+# For Mac OS, comment the above line and uncomment this one
+#JDK=/Library/Java/Home
+
+# Full path to Lua static library
+LIB_LUA=$(LUA_LIBDIR)/liblua.a
+
+#Linux/BSD
+LIB_EXT= .so
+#Mac OS
+#LIB_EXT= .jnilib
+
+LIB_PREFIX= lib
+
+#Linux/BSD
+LIB_OPTION= -shared
+#Mac OS
+#LIB_OPTION= -dynamiclib -all_load
+
+## On FreeBSD and Mac OS systems, the following line should be commented
+DLLIB= -ldl
+
+WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings
+INCS= -I$(JDK)/include -I$(JDK)/include/linux -I$(LUA_INCLUDES)
+CFLAGS= $(WARN) $(INCS)
+
+CC= gcc
+
+
+#########################################################
+VERSION= 1.1
+PKG= luajava-$(VERSION)
+TAR_FILE= $(PKG).tar.gz
+ZIP_FILE= $(PKG).zip
+JAR_FILE= $(PKG).jar
+SO_FILE= $(LIB_PREFIX)$(PKG)$(LIB_EXT)
+DIST_DIR= $(PKG)
+
+# $Id: config,v 1.12 2006/12/22 14:06:40 thiago Exp $
27 config.win
@@ -0,0 +1,27 @@
+#############################################################
+#Windows
+#LUA_DIR= c:\lua51
+LUA_DIR= c:\lua\lua\binaries\lua5.1.1
+LUA_LIBDIR= $(LUA_DIR)\lib
+LUA_INCLUDES= $(LUA_DIR)\include
+JDK= $(JAVA_HOME)
+#JDK= C:\j2sdk1.4.2_06
+
+LIB_LUA= lua5.1.lib
+
+INCS= -I"$(JDK)/include" -I"$(JDK)/include/win32" -I"$(LUA_INCLUDES)"
+CFLAGS= -nologo -DWIN32 $(INCS) -Fosrc\C\\ -MD
+
+CC= cl
+
+
+#########################################################
+VERSION= 1.1
+
+PKG= luajava-$(VERSION)
+JAR_FILE= $(PKG).jar
+SO_FILE= $(PKG).dll
+DIST_DIR= $(PKG)
+
+# $Id: config.win,v 1.1 2006/12/22 14:06:40 thiago Exp $
+
130 dist.cmake
@@ -0,0 +1,130 @@
+# LuaDist CMake utility library.
+# Provides variables and utility functions common to LuaDist CMake builds.
+#
+# Copyright (C) 2007-2010 LuaDist.
+# by David Manura, Peter Drahos
+# Redistribution and use of this file is allowed according to the terms of the MIT license.
+# For details see the COPYRIGHT file distributed with LuaDist.
+# Please note that the package source code is licensed under its own license.
+
+# Few convinence settings
+SET (CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true)
+SET (CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_MODULE_PATH})
+
+# Where to install module parts:
+set(INSTALL_BIN bin CACHE PATH "Where to install binaries to.")
+set(INSTALL_LIB lib CACHE PATH "Where to install libraries to.")
+set(INSTALL_INC include CACHE PATH "Where to install headers to.")
+set(INSTALL_ETC etc CACHE PATH "Where to store configuration files")
+set(INSTALL_LMOD share/lua/lmod CACHE PATH "Directory to install Lua modules.")
+set(INSTALL_CMOD share/lua/cmod CACHE PATH "Directory to install Lua binary modules.")
+set(INSTALL_DATA share/${PROJECT_NAME} CACHE PATH "Directory the package can store documentation, tests or other data in.")
+set(INSTALL_DOC ${INSTALL_DATA}/doc CACHE PATH "Recommended directory to install documentation into.")
+set(INSTALL_EXAMPLE ${INSTALL_DATA}/example CACHE PATH "Recommended directory to install examples into.")
+set(INSTALL_TEST ${INSTALL_DATA}/test CACHE PATH "Recommended directory to install tests into.")
+set(INSTALL_FOO ${INSTALL_DATA}/etc CACHE PATH "Where to install additional files")
+
+
+# In MSVC, prevent warnings that can occur when using standard libraries.
+if(MSVC)
+ add_definitions(-D_CRT_SECURE_NO_WARNINGS)
+endif(MSVC)
+
+# Adds Lua shared library module target `_target`.
+# Additional sources to build the module are listed after `_target`.
+macro(add_lua_module _target)
+ find_package(Lua51 REQUIRED)
+ include_directories(${LUA_INCLUDE_DIR}) #2DO: somehow apply only to _target?
+
+ add_library(${_target} MODULE ${ARGN})
+ set_target_properties(${_target} PROPERTIES PREFIX "")
+ target_link_libraries(${_target} ${LUA_LIBRARY})
+
+ IF(WIN32)
+ set_target_properties(${_target} PROPERTIES LINK_FLAGS "-Wl,--enable-auto-import")
+ ENDIF()
+
+endmacro(add_lua_module)
+
+# Runs Lua script `_testfile` under CTest tester.
+# Optional argument `_testcurrentdir` is current working directory to run test under
+# (defaults to ${CMAKE_CURRENT_BINARY_DIR}).
+# Both paths, if relative, are relative to ${CMAKE_CURRENT_SOURCE_DIR}.
+# Under LuaDist, set test=true in config.lua to enable testing.
+macro(add_lua_test _testfile)
+ include(CTest)
+ if(BUILD_TESTING)
+ find_program(LUA NAMES lua lua.bat)
+ get_filename_component(TESTFILEABS ${_testfile} ABSOLUTE)
+ get_filename_component(TESTFILENAME ${_testfile} NAME)
+ get_filename_component(TESTFILEBASE ${_testfile} NAME_WE)
+
+ # Write wrapper script.
+ set(TESTWRAPPER ${CMAKE_CURRENT_BINARY_DIR}/${TESTFILENAME})
+ set(TESTWRAPPERSOURCE
+"package.path = '${CMAKE_CURRENT_BINARY_DIR}/?.lua\;${CMAKE_CURRENT_SOURCE_DIR}/?.lua\;' .. package.path
+package.cpath = '${CMAKE_CURRENT_BINARY_DIR}/?.so\;${CMAKE_CURRENT_BINARY_DIR}/?.dll\;' .. package.cpath
+return dofile '${TESTFILEABS}'
+" )
+ if(${ARGC} GREATER 1)
+ set(_testcurrentdir ${ARGV1})
+ get_filename_component(TESTCURRENTDIRABS ${_testcurrentdir} ABSOLUTE)
+ set(TESTWRAPPERSOURCE
+"require 'lfs'
+lfs.chdir('${TESTCURRENTDIRABS}')
+${TESTWRAPPERSOURCE}")
+ endif()
+ FILE(WRITE ${TESTWRAPPER} ${TESTWRAPPERSOURCE})
+
+ add_test(${TESTFILEBASE} ${LUA} ${TESTWRAPPER})
+ endif(BUILD_TESTING)
+
+ # see also http://gdcm.svn.sourceforge.net/viewvc/gdcm/Sandbox/CMakeModules/UsePythonTest.cmake
+endmacro(add_lua_test)
+
+# Converts Lua source file `_source` to binary string embedded in C source
+# file `_target`. Optionally compiles Lua source to byte code (not available
+# under LuaJIT2, which doesn't have a bytecode loader). Additionally, Lua
+# versions of bin2c [1] and luac [2] may be passed respectively as additional
+# arguments.
+#
+# [1] http://lua-users.org/wiki/BinToCee
+# [2] http://lua-users.org/wiki/LuaCompilerInLua
+function(add_lua_bin2c _target _source)
+ find_program(LUA NAMES lua lua.bat)
+ execute_process(COMMAND ${LUA} -e "string.dump(function()end)" RESULT_VARIABLE _LUA_DUMP_RESULT ERROR_QUIET)
+ if (NOT ${_LUA_DUMP_RESULT})
+ SET(HAVE_LUA_DUMP true)
+ endif()
+ message("-- string.dump=${HAVE_LUA_DUMP}")
+
+ if (ARGV2)
+ get_filename_component(BIN2C ${ARGV2} ABSOLUTE)
+ set(BIN2C ${LUA} ${BIN2C})
+ else()
+ find_program(BIN2C NAMES bin2c bin2c.bat)
+ endif()
+ if (HAVE_LUA_DUMP)
+ if (ARGV3)
+ get_filename_component(LUAC ${ARGV3} ABSOLUTE)
+ set(LUAC ${LUA} ${LUAC})
+ else()
+ find_program(LUAC NAMES luac luac.bat)
+ endif()
+ endif (HAVE_LUA_DUMP)
+ message("-- bin2c=${BIN2C}")
+ message("-- luac=${LUAC}")
+
+ get_filename_component(SOURCEABS ${_source} ABSOLUTE)
+ if (HAVE_LUA_DUMP)
+ get_filename_component(SOURCEBASE ${_source} NAME_WE)
+ add_custom_command(
+ OUTPUT ${_target} DEPENDS ${_source}
+ COMMAND ${LUAC} -o ${CMAKE_CURRENT_BINARY_DIR}/${SOURCEBASE}.lo ${SOURCEABS}
+ COMMAND ${BIN2C} ${CMAKE_CURRENT_BINARY_DIR}/${SOURCEBASE}.lo ">${_target}" )
+ else()
+ add_custom_command(
+ OUTPUT ${_target} DEPENDS ${SOURCEABS}
+ COMMAND ${BIN2C} ${_source} ">${_target}" )
+ endif()
+endfunction(add_lua_bin2c)
14 dist.info
@@ -0,0 +1,14 @@
+--- This file is part of LuaDist project
+
+name = "luajava"
+version = "1.1"
+
+desc = "LuaJava is a scripting tool for Java."
+author = "Thiago Ponte"
+license = "Copyright © 2003-2007 Kepler Project"
+url = "http://www.keplerproject.org/luajava"
+maintainer = "Peter Kapec"
+
+depends = {
+ "lua ~> 5.1"
+}
214 doc/br/examples.html
@@ -0,0 +1,214 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html>
+<head>
+ <title>
+LuaJava - ferramenta de scripts para Java</title> <link rel="stylesheet" href="http://www.keplerproject.org/doc.css" type="text/css"/>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+</head>
+
+<body>
+
+<div id="container">
+
+<div id="product">
+ <div id="product_logo"><a href="http://www.keplerproject.org"><img alt="LuaJava" src="luajava_128.png"/></a></div>
+ <div id="product_name"><big><b>LuaJava</b></big></div>
+ <div id="product_description">Ferramenta de scripts para Java</div>
+</div> <!-- id="product" -->
+
+<div id="main">
+<div id="navigation">
+
+<h1>LuaJava</h1>
+ <ul>
+ <li><a href="index.html">In&iacute;cio</a>
+ <ul>
+ <li><a href="index.html#overview">Vis&atilde;o geral</a></li>
+ <li><a href="index.html#status">Status</a></li>
+ <li><a href="index.html#dependencies">Depend&ecirc;ncias</a></li>
+ <li><a href="index.html#download">Download</a></li>
+ <li><a href="index.html#credits">Cr&eacute;ditos</a></li>
+ <li><a href="index.html#contact">Fale conosco</a></li>
+ </ul>
+ </li>
+ <li><a href="manual.html">Manual</a>
+ <ul>
+ <li><a href="manual.html#compile">Compila&ccedil;&atilde;o</a></li>
+ <li><a href="manual.html#install">Instala&ccedil;&atilde;o</a></li>
+ <li><a href="manual.html#console">Console Java</a></li>
+ <li><a href="manual.html#luareference">Refer&ecirc;ncia de Lua</a></li>
+ <li><a href="manual.html#javareference">Refer&ecirc;ncia de Java</a></li>
+ </ul>
+ </li>
+ <li><strong>Exemplos</strong></li>
+ <li><a href="history.html">Hist&oacute;rico</a></li>
+ <li><a href="http://luaforge.net/projects/luajava/">Projeto</a>
+ <ul>
+ <li><a href="http://luaforge.net/tracker/?group_id=10">Bug Tracker</a></li>
+ <li><a href="http://luaforge.net/scm/?group_id=10">CVS</a></li>
+ </ul>
+ </li>
+ <li><a href="license.html">Licen&ccedil;a</a></li>
+ </ul>
+</div> <!-- id="navigation" -->
+
+<div id="content">
+
+<h2>Exemplos</h2>
+
+<h4>"Ol&aacute; Mundo" usando LuaJava</h4>
+
+<p>Este exemplo &eacute; um aplicativo simples "Ol&aacute; Mundo" que usa o LuaJava para imprimir de Lua e Java.</p>
+
+<p><code>Hello.java</code></p>
+<pre class="example">public class Hello
+{
+ public static void main(String[] args)
+ {
+ LuaState L = LuaStateFactory.newLuaState();
+ L.openLibs();
+
+ L.LdoFile(&quot;hello.lua&quot;);
+
+ System.out.println(&quot;Ol&aacute; Mundo de Java!&quot;);
+ }
+}
+</pre>
+
+<p><code>hello.lua</code></p>
+
+<pre class="example">print(&quot;Ol&aacute; Mundo de Lua!&quot;)
+</pre>
+
+<h4>Acesso a um banco de dados</h4>
+
+<p>Este exemplo usa Java JDBC para acessar um banco de dados a partir de Lua.</p>
+
+<p><code>TestJDBC.java</code></p>
+<pre class="example">public class TestJDBC
+{
+
+ public static void main(String[] args) throws Exception
+ {
+ // obt&eacute;m uma java.sql.Connection e cria um Statement
+
+ Class.forName(&quot;org.hsqldb.jdbcDriver&quot;);
+ Connection con = DriverManager.getConnection(
+ &quot;jdbc:hsqldb:hsql://localhost:9002&quot;,
+ &quot;sa&quot;, &quot;&quot;);
+ Statement st = con.createStatement();
+
+ try
+ {
+ st.execute(&quot;DROP TABLE luatest&quot;);
+ }
+ catch (Exception ignore) {}
+
+ st.execute([[CREATE TABLE luatest
+ (id int not null primary key,
+ str varchar, number double)]]);
+
+ for(int i = 0 ; i &lt; 10 ; i++)
+ {
+ st.executeUpdate(
+ &quot;INSERT INTO luatest (id, str, number) values(&quot; +
+ i + &quot;, '&quot; + 2*i + &quot;', &quot; +
+ System.currentTimeMillis() + &quot;)&quot;);
+ }
+
+ // cria um estado Lua e registra as bibliotecas b&aacute;sicas
+
+ LuaState L = LuaStateFactory.newLuaState();
+ L.openLibs();
+
+ // registra a instru&ccedil;&atilde;o no 'st' global
+
+ L.pushObjectValue(st);
+ L.setGlobal(&quot;st&quot;);
+
+ // executa o arquivo testJDBC.lua
+
+ int err = L.LdoFile(&quot;testJDBC.lua&quot;);
+
+ L.close();
+ st.close();
+ con.close();
+ }
+}
+</pre>
+
+
+<p><code>testJDBC.lua</code></p>
+<pre class="example">do
+-- testa se o Statement &eacute; nil
+if st == nil then
+ print(&quot;Erro. Objeto st &eacute; nil&quot;)
+ return
+end
+
+local st = st
+_G.st = nil
+
+function createSQLProxy(t)
+
+ local tableName = t
+
+ local function i (t,k)
+
+ local id = tonumber(k)
+ if not id then
+ return nil
+ end
+
+ local function mi (t,k)
+
+ local sql = &quot;select &quot;..k..&quot; from &quot;..
+ tableName..&quot; where id=&quot;..id
+ local rs = st:executeQuery(sql)
+ if not rs:next() then
+ rs:close()
+ return nil
+ end
+
+ local res = rs:getString(1)
+ rs:close()
+
+ return res
+ end
+
+ local res = {}
+ setmetatable(res, {__index = mi})
+ return res
+ end
+
+ local res = {}
+ setmetatable(res, {__index = mi})
+ return res
+end
+
+end
+
+
+proxy = createSQLProxy(&quot;luatest&quot;)
+
+print(proxy[1].str)
+print(proxy[1].number)
+
+</pre>
+
+</div> <!-- id="content" -->
+
+</div> <!-- id="main" -->
+
+
+<div id="about">
+ <p><a href="http://validator.w3.org/check?uri=referer">
+ <img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>
+ <p><small>$Id: examples.html,v 1.5 2007/01/23 22:37:28 thiago Exp $</small></p>
+</div> <!-- id="about" -->
+
+</div> <!-- id="container" -->
+
+</body>
+</html>
125 doc/br/history.html
@@ -0,0 +1,125 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html>
+<head>
+ <title>
+LuaJava - ferramenta de scripts para Java</title> <link rel="stylesheet" href="http://www.keplerproject.org/doc.css" type="text/css"/>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+</head>
+
+<body>
+
+<div id="container">
+
+<div id="product">
+ <div id="product_logo"><a href="http://www.keplerproject.org"><img alt="LuaJava" src="luajava_128.png"/></a></div>
+ <div id="product_name"><big><b>LuaJava</b></big></div>
+ <div id="product_description">Ferramenta de scripts para Java</div>
+</div> <!-- id="product" -->
+
+<div id="main">
+<div id="navigation">
+
+<h1>LuaJava</h1>
+ <ul>
+ <li><a href="index.html">In&iacute;cio</a>
+ <ul>
+ <li><a href="index.html#overview">Vis&atilde;o geral</a></li>
+ <li><a href="index.html#status">Status</a></li>
+ <li><a href="index.html#dependencies">Depend&ecirc;ncias</a></li>
+ <li><a href="index.html#download">Download</a></li>
+ <li><a href="index.html#credits">Cr&eacute;ditos</a></li>
+ <li><a href="index.html#contact">Fale conosco</a></li>
+ </ul>
+ </li>
+ <li><a href="manual.html">Manual</a>
+ <ul>
+ <li><a href="manual.html#compile">Compila&ccedil;&atilde;o</a></li>
+ <li><a href="manual.html#install">Instala&ccedil;&atilde;o</a></li>
+ <li><a href="manual.html#console">Console Java</a></li>
+ <li><a href="manual.html#luareference">Refer&ecirc;ncia de Lua</a></li>
+ <li><a href="manual.html#javareference">Refer&ecirc;ncia de Java</a></li>
+ </ul>
+ </li>
+ <li><a href="examples.html">Exemplos</a></li>
+ <li><strong>Hist&oacute;rico</strong></li>
+ <li><a href="http://luaforge.net/projects/luajava/">Projeto</a>
+ <ul>
+ <li><a href="http://luaforge.net/tracker/?group_id=10">Bug Tracker</a></li>
+ <li><a href="http://luaforge.net/scm/?group_id=10">CVS</a></li>
+ </ul>
+ </li>
+ <li><a href="license.html">Licen&ccedil;a</a></li>
+ </ul>
+</div> <!-- id="navigation" -->
+
+<div id="content">
+
+<h2><a name="history"></a>Hist&oacute;rico</h2>
+
+<dl class="history">
+ <dt><strong>1.1</strong> [24/jan/2007]</dt>
+ <dd>
+ <ul>
+ <li>mudan&ccedil;as para se adaptar a Lua 5.1;</li>
+ <li>incluiu LUA_MULTRET como constante de <code>LuaState</code>;</li>
+ <li>corrigido bug em <code>LuaObject.call</code> na ordem de retorno dos resultados da fun&ccedil;&atilde;o.</li>
+ </ul>
+ </dd>
+ <dt><strong><a href="1.0/">1.0</a></strong> [22/jun/2005]</dt>
+ <dd>
+ <ul>
+ <li>aperfei&ccedil;oamento do tratamento de erros;</li>
+ <li>abandonada a compatibilidade com JDK 1.3;</li>
+ <li>bin&aacute;rios do Windows compat&iacute;veis com o LuaBinaries 5.0.2 Release 2.</li>
+ <li>novo formato da documenta&ccedil;&atilde;o.</li>
+ </ul>
+ </dd>
+ <dt><strong>1.0 Beta 4</strong> [21/jan/2005]</dt>
+ <dd>
+ <ul>
+ <li>pacote renomeado como &quot;org.keplerproject.luajava&quot;;</li>
+ <li>LuaObject.getLuaState passou a ser p&uacute;blico;</li>
+ <li>nova fun&ccedil;&atilde;o LuaObject.type();</li>
+ <li>JavaFunction.foo() renomeado como JavaFunction.execute();</li>
+ <li>m&eacute;todo chamado por javaLoadLib passa a poder retornar um int.</li>
+ </ul>
+ </dd>
+ <dt><strong>1.0 Beta 3</strong> [21/set/2004]</dt>
+ <dd>
+ <ul>
+ <li>nova fun&ccedil;&atilde;o em lua luajava.loadLib, que abre bibliotecas para Lua escritas em Java;</li>
+ <li>fun&ccedil;&atilde;o LuaState.setGlobal passa a aceitar String, para funcionar como Lua setglobal;</li>
+ <li>JavaFunction.foo() gera uma LuaException;</li>
+ <li>nova fun&ccedil;&atilde;o LuaState.pushString(byte[]);</li>
+ <li>Problemas na vincula&ccedil;&atilde;o de algumas fun&ccedil;&otilde;es de lua ao Java;</li>
+ <li>corre&ccedil;&otilde;es de pequenos problemas.</li>
+ </ul>
+ </dd>
+ <dt><strong>1.0 Beta 2</strong> [07/jul/2004]</dt>
+ <dd>
+ <ul>
+ <li>passa a oferecer suporte a v&aacute;rios threads;</li>
+ <li>nova fun&ccedil;&atilde;o LuaState.close() que deve ser chamada para fechar o estado;</li>
+ <li>LuaState n&atilde;o tinha algumas fun&ccedil;&otilde;es;</li>
+ <li>corre&ccedil;&otilde;es de v&aacute;rios problemas.</li>
+ </ul>
+ </dd>
+ <dt><strong>1.0 Beta 1</strong> [28/jun/2004]</dt>
+</dl>
+
+</div> <!-- id="content" -->
+
+</div> <!-- id="main" -->
+
+
+<div id="about">
+ <p><a href="http://validator.w3.org/check?uri=referer">
+ <img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>
+ <p><small>$Id: history.html,v 1.7 2007/01/23 22:37:28 thiago Exp $</small></p>
+</div> <!-- id="about" -->
+
+</div> <!-- id="container" -->
+
+</body>
+</html>
143 doc/br/index.html
@@ -0,0 +1,143 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html>
+<head>
+ <title>LuaJava - ferramenta de scripts para Java</title>
+ <link rel="stylesheet" href="http://www.keplerproject.org/doc.css" type="text/css"/>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+</head>
+
+<body>
+
+<div id="container">
+
+<div id="product">
+ <div id="product_logo"><a href="http://www.keplerproject.org">
+ <img alt="LuaJava" src="luajava_128.png"/>
+ </a></div>
+ <div id="product_name"><big><strong>LuaJava</strong></big></div>
+ <div id="product_description">Ferramenta de scripts para Java</div>
+</div> <!-- id="product" -->
+
+<div id="main">
+<div id="navigation">
+
+<h1>LuaJava</h1>
+ <ul>
+ <li><strong>In&iacute;cio</strong>
+ <ul>
+ <li><a href="index.html#overview">Vis&atilde;o geral</a></li>
+ <li><a href="index.html#status">Status</a></li>
+ <li><a href="index.html#dependencies">Depend&ecirc;ncias</a></li>
+ <li><a href="index.html#download">Download</a></li>
+ <li><a href="index.html#credits">Cr&eacute;ditos</a></li>
+ <li><a href="index.html#contact">Fale conosco</a></li>
+ </ul>
+ </li>
+ <li><a href="manual.html">Manual</a>
+ <ul>
+ <li><a href="manual.html#compile">Compila&ccedil;&atilde;o</a></li>
+ <li><a href="manual.html#install">Instala&ccedil;&atilde;o</a></li>
+ <li><a href="manual.html#console">Console Java</a></li>
+ <li><a href="manual.html#luareference">Refer&ecirc;ncia de Lua</a></li>
+ <li><a href="manual.html#javareference">Refer&ecirc;ncia de Java</a></li>
+ </ul>
+ </li>
+ <li><a href="examples.html">Exemplos</a></li>
+ <li><a href="history.html">Hist&oacute;rico</a></li>
+ <li><a href="http://luaforge.net/projects/luajava/">Projeto</a>
+ <ul>
+ <li><a href="http://luaforge.net/tracker/?group_id=10">Bug Tracker</a></li>
+ <li><a href="http://luaforge.net/scm/?group_id=10">CVS</a></li>
+ </ul>
+ </li>
+ <li><a href="license.html">Licen&ccedil;a</a></li>
+ </ul>
+</div> <!-- id="navigation" -->
+
+<div id="content">
+
+<h2><a name="overview"></a>Vis&atilde;o geral</h2>
+
+<p>LuaJava &eacute; uma ferramenta de scripts para Java. O objetivo da ferramenta
+&eacute; permitir que os scripts escritos em Lua manipulem componentes
+desenvolvidos em Java. LuaJava permite o acesso aos componentes Java a partir de Lua,
+usando-se a mesma sintaxe utilizada para acessar os objetos nativos de Lua, sem a
+necessidade de fazer declara&ccedil;&otilde;es ou qualquer tipo de
+pr&eacute;-processamento.</p>
+
+<p>LuaJava tamb&eacute;m permite que se implemente uma interface Java usando Lua.
+Dessa forma, qualquer interface pode ser implementada em Lua e passada como
+par&acirc;metro para qualquer m&eacute;todo e, quando chamada,
+a fun&ccedil;&atilde;o equivalente ser&aacute; chamada em Lua e o resultado da mesma,
+retornado.</p>
+
+<p>O LuaJava est&aacute; dispon&iacute;vel na mesma
+<a href="license.html">licen&ccedil;a</a> do Lua 5.1, ou seja, ele pode ser usado
+sem qualquer custo, para fins acad&ecirc;micos ou comerciais.</p>
+
+<h2><a name="status"></a>Status</h2>
+
+<p>A vers&atilde;o atual &eacute; 1.1. Ela foi desenvolvida para Lua 5.1.1.</p>
+
+<h2><a name="dependencies"></a>Depend&ecirc;ncias</h2>
+
+<p>LuaJava usa <a href="http://luabinaries.luaforge.net">LuaBinaries</a> 5.1.1 e Java JDK 1.4 ou acima.</p>
+
+<h2><a name="download"></a>Download</h2>
+
+<p>O download do LuaJava pode ser feito na sua p&aacute;gina no
+<a href="http://luaforge.net/projects/luajava/files">LuaForge</a>.
+Se voc&ecirc; estiver usando
+<a href="http://luabinaries.luaforge.net">LuaBinaries</a> 5.1.1,
+uma vers&atilde;o do LuaJava pr&eacute;-compilada para Windows tamb&eacute;m
+estar&aacute; dispon&iacute;vel na mesma p&aacute;gina LuaForge.</p>
+
+
+<h2><a name="credits"></a>Cr&eacute;ditos</h2>
+
+<dl>
+ <dt><strong>LuaJava 1.1</strong></dt>
+ <dd>LuaJava 1.1 foi desenvolvido por Thiago Ponte.</dd>
+
+ <dt><strong>LuaJava 1.0</strong></dt>
+ <dd>LuaJava 1.0 foi desenvolvido por Thiago Ponte e foi patrocinado pela
+ <a href="http://www.ideais.com.br">Ideais</a>, pela
+ <a href="http://www.fabricadigital.com.br">F&aacute;brica Digital</a>,
+ pela Finep e pelo CNPq.</dd>
+
+ <dt><strong>LuaJava 1.0 beta</strong></dt>
+ <dd>LuaJava 1.0 beta foi reimplementado para ser compat&iacute;vel com Lua 5.0
+ e com os novos recursos de Java 1.3. O LuaJava 1.0 beta foi desenvolvido por
+ Thiago Ponte e Rafael Rizzato, com contribui&ccedil;&otilde;es de
+ Jo&atilde;o Machado, Danilo Tuler e Roberto Ierusalimschy.</dd>
+
+ <dt><strong>LuaJava para Lua 3.1</strong></dt>
+ <dd>LuaJava foi desenvolvido originalmente por Carlos Cassino.</dd>
+</dl>
+
+<h2><a name="contact"></a>Fale conosco</h2>
+
+<p>Para obter mais informa&ccedil;&otilde;es, entre em
+<a href="mailto:info-NO-SPAM-THANKS@keplerproject.org">contato</a>.
+Seus coment&aacute;rios s&atilde;o importantes!</p>
+
+<p>A <a href="http://luaforge.net/mail/?group_id=104">lista de discuss&atilde;o</a>do projeto Kepler &eacute; outra forma de entrar em contato com desenvolvedores
+e usu&aacute;rios da plataforma Kepler.
+</p>
+
+</div> <!-- id="content" -->
+
+</div> <!-- id="main" -->
+
+
+<div id="about">
+ <p><a href="http://validator.w3.org/check?uri=referer">
+ <img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>
+ <p><small>$Id: index.html,v 1.8 2007/01/23 22:37:28 thiago Exp $</small></p>
+</div> <!-- id="about" -->
+
+</div> <!-- id="container" -->
+
+</body>
+</html>
88 doc/br/license.html
@@ -0,0 +1,88 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html>
+<head>
+ <title>
+LuaJava - ferramenta de scripts para Java</title> <link rel="stylesheet" href="http://www.keplerproject.org/doc.css" type="text/css"/>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+</head>
+
+<body>
+
+<div id="container">
+
+<div id="product">
+ <div id="product_logo"><a href="http://www.keplerproject.org"><img alt="LuaJava" src="luajava_128.png"/></a></div>
+ <div id="product_name"><big><b>LuaJava</b></big></div>
+ <div id="product_description">Ferramenta de scripts para Java</div>
+</div> <!-- id="product" -->
+
+<div id="main">
+<div id="navigation">
+
+<h1>LuaJava</h1>
+ <ul>
+ <li><a href="index.html">In&iacute;cio</a>
+ <ul>
+ <li><a href="index.html#overview">Vis&atilde;o geral</a></li>
+ <li><a href="index.html#status">Status</a></li>
+ <li><a href="index.html#dependencies">Depend&ecirc;ncias</a></li>
+ <li><a href="index.html#download">Download</a></li>
+ <li><a href="index.html#credits">Cr&eacute;ditos</a></li>
+ <li><a href="index.html#contact">Fale conosco</a></li>
+ </ul>
+ </li>
+ <li><a href="manual.html">Manual</a>
+ <ul>
+ <li><a href="manual.html#compile">Compila&ccedil;&atilde;o</a></li>
+ <li><a href="manual.html#install">Instala&ccedil;&atilde;o</a></li>
+ <li><a href="manual.html#console">Console Java</a></li>
+ <li><a href="manual.html#luareference">Refer&ecirc;ncia de Lua</a></li>
+ <li><a href="manual.html#javareference">Refer&ecirc;ncia de Java</a></li>
+ </ul>
+ </li>
+ <li><a href="examples.html">Exemplos</a></li>
+ <li><a href="history.html">Hist&oacute;rico</a></li>
+ <li><a href="http://luaforge.net/projects/luajava/">Projeto</a>
+ <ul>
+ <li><a href="http://luaforge.net/tracker/?group_id=10">Bug Tracker</a></li>
+ <li><a href="http://luaforge.net/scm/?group_id=10">CVS</a></li>
+ </ul>
+ </li>
+ <li><strong>Licen&ccedil;a</strong></li>
+ </ul>
+</div> <!-- id="navigation" -->
+
+
+<div id="content">
+
+
+<h1>Licen&ccedil;a</h1>
+
+<p>Copyright &copy; 2003-2007 Kepler Project.</p>
+
+<p>Por meio deste, concede-se permiss&atilde;o gratuita a qualquer pessoa que obtenha uma c&oacute;pia deste software e dos arquivos da documenta&ccedil;&atilde;o associada (o &quot;Software&quot;) para trabalhar com o Software sem restri&ccedil;&otilde;es, incluindo, sem limita&ccedil;&atilde;o, os direitos de usar, copiar, modificar, mesclar, publicar, distribuir, sublicenciar e/ou vender c&oacute;pias do Software, e de permitir a pessoas a quem o Software seja fornecido de assim faz&ecirc;-lo, sujeitando-se &agrave;s seguintes condi&ccedil;&otilde;es:</p>
+
+<p>O aviso de copyright acima e esta permiss&atilde;o devem ser inclu&iacute;dos em todas as c&oacute;pias ou em partes significativas do Software.</p>
+
+<hr/>
+
+<p>O SOFTWARE &Eacute; FORNECIDO &quot;NO ESTADO EM QUE ESTIVER&quot;, SEM GARANTIAS DE QUALQUER TIPO, EXPL&Iacute;CITAS OU IMPL&Iacute;CITAS, INCLUINDO, SEM LIMITA&Ccedil;&Atilde;O, AS GARANTIAS DE COMERCIALIZA&Ccedil;&Atilde;O, ADEQUA&Ccedil;&Atilde;O A UM DETERMINADO OBJETIVO E N&Atilde;O INFRA&Ccedil;&Atilde;O. EM CIRCUNST&Acirc;NCIA ALGUMA OS AUTORES OU OS DETENTORES DO COPYRIGHT SER&Atilde;O CONSIDERADOS RESPONS&Aacute;VEIS POR QUAISQUER REIVINDICA&Ccedil;&Otilde;ES, DANOS OU OUTRAS RESPONSABILIDADES, POR MEIO DE CONTRATO, DANOS OU OUTROS RELACIONADOS OU EM DECORR&Ecirc;NCIA DO USO DO SOFTWARE OU OUTRAS A&Ccedil;&Otilde;ES NO MESMO.</p>
+
+<br/><br/><br/><br/><br/>
+
+</div> <!-- id="content" -->
+
+</div> <!-- id="main" -->
+
+
+<div id="about">
+ <p><a href="http://validator.w3.org/check?uri=referer">
+ <img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>
+ <p><small>$Id: license.html,v 1.5 2007/01/23 22:37:28 thiago Exp $</small></p>
+</div> <!-- id="about" -->
+
+</div> <!-- id="container" -->
+
+</body>
+</html>
BIN doc/br/luajava_128.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
258 doc/br/manual.html
@@ -0,0 +1,258 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html>
+<head>
+ <title>
+LuaJava - ferramenta de scripts para Java</title> <link rel="stylesheet" href="http://www.keplerproject.org/doc.css" type="text/css"/>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+</head>
+
+<body>
+
+<div id="container">
+
+<div id="product">
+ <div id="product_logo"><a href="http://www.keplerproject.org"><img alt="LuaJava" src="luajava_128.png"/></a></div>
+ <div id="product_name"><big><b>LuaJava</b></big></div>
+ <div id="product_description">Ferramenta de scripts para Java</div>
+</div> <!-- id="product" -->
+
+<div id="main">
+<div id="navigation">
+
+<h1>LuaJava</h1>
+ <ul>
+ <li><a href="index.html">In&iacute;cio</a>
+ <ul>
+ <li><a href="index.html#overview">Vis&atilde;o geral</a></li>
+ <li><a href="index.html#status">Status</a></li>
+ <li><a href="index.html#dependencies">Depend&ecirc;ncias</a></li>
+ <li><a href="index.html#download">Download</a></li>
+ <li><a href="index.html#credits">Cr&eacute;ditos</a></li>
+ <li><a href="index.html#contact">Fale conosco</a></li>
+ </ul>
+ </li>
+ <li><strong>Manual</strong>
+ <ul>
+ <li><a href="manual.html#compile">Compila&ccedil;&atilde;o</a></li>
+ <li><a href="manual.html#install">Instala&ccedil;&atilde;o</a></li>
+ <li><a href="manual.html#console">Console Java</a></li>
+ <li><a href="manual.html#luareference">Refer&ecirc;ncia de Lua</a></li>
+ <li><a href="manual.html#javareference">Refer&ecirc;ncia de Java</a></li>
+ </ul>
+ </li>
+ <li><a href="examples.html">Exemplos</a></li>
+ <li><a href="history.html">Hist&oacute;rico</a></li>
+ <li><a href="http://luaforge.net/projects/luajava/">Projeto</a>
+ <ul>
+ <li><a href="http://luaforge.net/tracker/?group_id=10">Bug Tracker</a></li>
+ <li><a href="http://luaforge.net/scm/?group_id=10">CVS</a></li>
+ </ul>
+ </li>
+ <li><a href="license.html">Licen&ccedil;a</a></li>
+ </ul>
+</div> <!-- id="navigation" -->
+
+<div id="content">
+
+<p>LuaJava foi testado nas plataformas Windows e Linux usando o Java JDK 1.4. LuaJava &eacute; compat&iacute;vel com o JDK 1.4 ou posterior.</p>
+
+<h2><a name="compile"></a>Compila&ccedil;&atilde;o</h2>
+
+<p>A distribui&ccedil;&atilde;o do c&oacute;digo fonte de LuaJava inclui um nmakefile do Windows e um makefile do Linux. Edite o arquivo <code>config</code> para que aponte para o JDK, os diret&oacute;rios Lua, bem como as bibliotecas e os compiladores de C.</p>
+
+<h3>Windows</h3>
+
+<p>LuaJava pode ser compilado para Windows usando <em>nmake</em> em <em>MSVC++</em>. Para fazer isso, execute o comando <code>VCVARS32.BAT</code> antes de executar nmake:</p>
+
+<pre class="example">
+c:\luajava-1.1&gt;&quot;drive:\complete_path_to\VCVARS32.bat&quot;
+c:\luajava-1.1&gt;nmake -f nmakefile
+</pre>
+
+<h3>Linux</h3>
+
+<p>Para compilar LuaJava para Linux e OSX, execute este procedimento:</p>
+
+<pre class="example">
+make
+</pre>
+
+
+<h2><a name="install"></a>Instala&ccedil;&atilde;o</h2>
+
+<p>A compila&ccedil;&atilde;o do LuaJava gera dois arquivos: <code>luajava-1.1.jar</code> e <code>luajava-1.1.dll</code> (ou <code>libluajava-1.1.so</code> no Unix, ou <code>libluajava-1.1.jnilib</code> no MacOSX).
+</p>
+
+<dl>
+<dt><strong>luajava-1.1.jar</strong></dt>
+<dd>Este arquivo deve ser copiado em um caminho no CLASSPATH da aplica&ccedil;&atilde;o java.</dd>
+
+<dt><strong>luajava-1.1.dll (ou libluajava-1.1.so ou libluajava-1.1.jnilib)</strong></dt>
+<dd>Este arquivo deve ser copiado em um diret&oacute;rio de sistema, o que depende do sistema operacional. Os usu&aacute;rios de Windows podem us&aacute;-lo no diret&oacute;rio <code>bin</code> da JRE ou na pasta do sistema Windows. Os usu&aacute;rios Unix podem coloc&aacute;-lo no diret&oacute;rio <code>bin</code> da JRE ou em um diret&oacute;rio apontado pela vari&aacute;vel de ambiente LD_LIBRARY_PATH.</dd>
+</dl>
+
+
+<h2><a name="console"></a>Execu&ccedil;&atilde;o do Console LuaJava</h2>
+
+<p>O LuaJava &eacute; distribu&iacute;do com um console simples. Para execut&aacute;-lo, digite:</p>
+
+<pre class="example">
+c:\luajava-1.1&gt;java -cp &quot;luajava-1.1.jar&quot;
+ org.keplerproject.luajava.Console
+</pre>
+
+
+<h2><a name="luareference"></a>Refer&ecirc;ncia de Lua</h2>
+
+<p>
+Um dos objetivos do LuaJava &eacute; permitir que o programador manipule objetos Java da mesma maneira em que os objetos nativos de Lua s&atilde;o manipulados. Lua, como a maioria das linguagens interpretadas, tem tipos din&acirc;micos. As vari&aacute;veis n&atilde;o t&ecirc;m tipos, cada valor carrega em si seu pr&oacute;prio tipo. Lua n&atilde;o tem declara&ccedil;&otilde;es, mas as vari&aacute;veis podem conter qualquer valor da linguagem.
+
+LuaJava cria uma biblioteca em Lua chamada <code>luajava</code>. Essa biblioteca oferece cinco fun&ccedil;&otilde;es:
+</p>
+
+<dl>
+
+ <dt><strong>newInstance(className, ...)</strong></dt>
+ <dd><p>Esta fun&ccedil;&atilde;o cria um novo objeto Java e retorna um objeto Lua que &eacute; uma refer&ecirc;ncia ao objeto Java. Voc&ecirc; pode acessar esse objeto com a sintaxe normal usada para acessar m&eacute;todos em objetos Lua.</p>
+ <p>O primeiro par&acirc;metro &eacute; o nome da classe a ser instanciada. Os outros par&acirc;metros s&atilde;o passados para o construtor da classe Java.</p>
+ <p>Exemplo:</p>
+
+<pre class="example">
+obj = luajava.newInstance(&quot;java.lang.Object&quot;)
+-- obj passa a ser uma refer&ecirc;ncia ao novo objeto
+-- criado e qualquer um de seus m&eacute;todos pode ser acessado.
+
+-- cria um gerador de token de string para a string &quot;a,b,c,d&quot;
+-- usando &quot;,&quot; como o separador de token.
+strTk = luajava.newInstance(&quot;java.util.StringTokenizer&quot;,
+ &quot;a,b,c,d&quot;, &quot;,&quot;)
+while strTk:hasMoreTokens() do
+ print(strTk:nextToken())
+end
+
+</pre>
+
+<p>O c&oacute;digo anterior deve imprimir o seguinte na tela:</p>
+
+
+<pre class="example">
+a
+b
+c
+d
+</pre>
+ </dd>
+
+ <dt><strong>bindClass(className)</strong></dt>
+ <dd><p>Esta fun&ccedil;&atilde;o recupera uma classe Java que corresponde a <code>className</code>. O objeto retornado pode ser usado para acessar campos est&aacute;ticos e m&eacute;todos da classe correspondente.</p>
+ <p>Exemplo:</p>
+<pre class="example">
+sys = luajava.bindClass(&quot;java.lang.System&quot;)
+print ( sys:currentTimeMillis() )
+
+-- imprime a hora retornada pela fun&ccedil;&atilde;o.
+</pre>
+ </dd>
+
+ <dt><strong>new(javaClass)</strong></dt>
+ <dd><p>Esta fun&ccedil;&atilde;o recebe uma java.lang.Class e retorna uma nova inst&acirc;ncia dessa classe.</p>
+ <p><code>new</code> funciona da mesma maneira que <code>newInstance</code>, mas o primeiro argumento &eacute; uma inst&acirc;ncia da classe.</p>
+ <p>Exemplo:</p>
+
+<pre class="example">
+str = luajava.bindClass(&quot;java.lang.String&quot;)
+strInstance = luajava.new(str)
+</pre>
+
+ </dd>
+
+ <dt><strong>createProxy(interfaceNames, luaObject)</strong></dt>
+ <dd><p>Em vez de criar um objeto Java para ser manipulado por Lua, tamb&eacute;m &eacute; poss&iacute;vel criar um objeto Lua para ser manipulado por Java. Podemos fazer isso em LuaJava criando um <em>proxy</em> para esse objeto. Isso &eacute; realizado pela fun&ccedil;&atilde;o createProxy.</p>
+ <p>A fun&ccedil;&atilde;o <code>createProxy</code> retorna uma refer&ecirc;ncia a um objeto Java que pode ser usada como uma implementa&ccedil;&atilde;o da interface dada.</p>
+ <p><code>createProxy</code> recebe uma string que cont&eacute;m os nomes das interfaces a serem implementadas, separadas por uma v&iacute;rgula (,) e um objeto Lua que &eacute; a implementa&ccedil;&atilde;o da interface.</p>
+ <p>Exemplo:</p>
+
+<pre class="example">
+button = luajava.newInstance(&quot;java.awt.Button&quot;, &quot;execute&quot;)
+button_cb = {}
+function button_cb.actionPerformed(ev)
+ . . .
+end
+
+buttonProxy = luajava.createProxy(&quot;java.awt.ActionListener&quot;,
+ button_cb)
+
+button:addActionListener(buttonProxy)
+</pre>
+
+ <p>Podemos usar scripts Lua somente para escrever implementa&ccedil;&otilde;es de interfaces Java. N&atilde;o &eacute; poss&iacute;vel extender classes.</p>
+ </dd>
+
+ <dt><strong>loadLib(className, methodName)</strong></dt>
+ <dd><p><code>loadLib</code> &eacute; uma fun&ccedil;&atilde;o cujo uso &eacute; semelhante ao da fun&ccedil;&atilde;o <code>loadlib</code> de Lua. O objetivo dessa fun&ccedil;&atilde;o &eacute; permitir que os usu&aacute;rios escrevam bibliotecas em Java e, depois, as carreguem em Lua.</p>
+ <p>O que <code>loadLib</code> faz &eacute; chamar uma fun&ccedil;&atilde;o est&aacute;tica em uma dada classe e executar um determinado m&eacute;todo, que deve receber LuaState como par&acirc;metro. Se essa fun&ccedil;&atilde;o retornar um n&uacute;mero inteiro, LuaJava considera esse valor como o n&uacute;mero de par&acirc;metros retornados pela fun&ccedil;&atilde;o; caso contr&aacute;rio, nada ser&aacute; retornado.</p>
+ <p>O exemplo em Lua a seguir pode acessar a global <code>eg</code> criada pela classe Java <code>test.LoadLibExample</code>:</p>
+
+<pre class="example">
+luajava.loadLib(&quot;test.LoadLibExample&quot;, &quot;open&quot;)
+eg.example(3)
+</pre>
+
+ <p>E este exemplo de Java implementa o m&eacute;todo <code>example</code>:</p>
+
+<pre class="example">
+public static int open(LuaState L) throws LuaException
+{
+ L.newTable();
+ L.pushValue(-1);
+ L.setGlobal(&quot;eg&quot;);
+
+ L.pushString(&quot;example&quot;);
+
+ L.pushJavaFunction(new JavaFunction(L) {
+ /**
+ * Exemplo para loadLib.
+ * Imprime a hora e o primeiro par&acirc;metro, se houver.
+ */
+ public int execute() throws LuaException
+ {
+ System.out.println(new Date().toString());
+
+ if (L.getTop() &gt; 1)
+ {
+ System.out.println(getParam(2));
+ }
+
+ return 0;
+ }
+ });
+
+ L.setTable(-3);
+
+ return 1;
+}
+</pre>
+ </dd>
+
+</dl>
+
+<h2><a name="javareference"></a>Refer&ecirc;ncia Java</h2>
+
+<p>O <a href="API/index.html">Manual de refer&ecirc;ncia Java</a> do LuaJava &eacute; gerado por JavaDoc para facilitar a navega&ccedil;&atilde;o.</p>
+
+</div> <!-- id="content" -->
+
+</div> <!-- id="main" -->
+
+
+<div id="about">
+ <p><a href="http://validator.w3.org/check?uri=referer">
+ <img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>
+ <p><small>$Id: manual.html,v 1.6 2007/01/23 22:37:28 thiago Exp $</small></p>
+</div> <!-- id="about" -->
+
+</div> <!-- id="container" -->
+
+</body>
+</html>
42 doc/us/API/allclasses-frame.html
@@ -0,0 +1,42 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_08) on Tue Jan 23 23:46:09 CET 2007 -->
+<TITLE>
+All Classes
+</TITLE>
+
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
+
+
+</HEAD>
+
+<BODY BGCOLOR="white">
+<FONT size="+1" CLASS="FrameHeadingFont">
+<B>All Classes</B></FONT>
+<BR>
+
+<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
+<TR>
+<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="org/keplerproject/luajava/Console.html" title="class in org.keplerproject.luajava" target="classFrame">Console</A>
+<BR>
+<A HREF="org/keplerproject/luajava/JavaFunction.html" title="class in org.keplerproject.luajava" target="classFrame">JavaFunction</A>
+<BR>
+<A HREF="org/keplerproject/luajava/LuaException.html" title="class in org.keplerproject.luajava" target="classFrame">LuaException</A>
+<BR>
+<A HREF="org/keplerproject/luajava/LuaInvocationHandler.html" title="class in org.keplerproject.luajava" target="classFrame">LuaInvocationHandler</A>
+<BR>
+<A HREF="org/keplerproject/luajava/LuaObject.html" title="class in org.keplerproject.luajava" target="classFrame">LuaObject</A>
+<BR>
+<A HREF="org/keplerproject/luajava/LuaState.html" title="class in org.keplerproject.luajava" target="classFrame">LuaState</A>
+<BR>
+<A HREF="org/keplerproject/luajava/LuaStateFactory.html" title="class in org.keplerproject.luajava" target="classFrame">LuaStateFactory</A>
+<BR>
+</FONT></TD>
+</TR>
+</TABLE>
+
+</BODY>
+</HTML>
42 doc/us/API/allclasses-noframe.html
@@ -0,0 +1,42 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_08) on Tue Jan 23 23:46:09 CET 2007 -->
+<TITLE>
+All Classes
+</TITLE>
+
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
+
+
+</HEAD>
+
+<BODY BGCOLOR="white">
+<FONT size="+1" CLASS="FrameHeadingFont">
+<B>All Classes</B></FONT>
+<BR>
+
+<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
+<TR>
+<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="org/keplerproject/luajava/Console.html" title="class in org.keplerproject.luajava">Console</A>
+<BR>
+<A HREF="org/keplerproject/luajava/JavaFunction.html" title="class in org.keplerproject.luajava">JavaFunction</A>
+<BR>
+<A HREF="org/keplerproject/luajava/LuaException.html" title="class in org.keplerproject.luajava">LuaException</A>
+<BR>
+<A HREF="org/keplerproject/luajava/LuaInvocationHandler.html" title="class in org.keplerproject.luajava">LuaInvocationHandler</A>
+<BR>
+<A HREF="org/keplerproject/luajava/LuaObject.html" title="class in org.keplerproject.luajava">LuaObject</A>
+<BR>
+<A HREF="org/keplerproject/luajava/LuaState.html" title="class in org.keplerproject.luajava">LuaState</A>
+<BR>
+<A HREF="org/keplerproject/luajava/LuaStateFactory.html" title="class in org.keplerproject.luajava">LuaStateFactory</A>
+<BR>
+</FONT></TD>
+</TR>
+</TABLE>
+
+</BODY>
+</HTML>
138 doc/us/API/constant-values.html
@@ -0,0 +1,138 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_08) on Tue Jan 23 23:46:09 CET 2007 -->
+<TITLE>
+Constant Field Values
+</TITLE>
+
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="Constant Field Values";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="org/keplerproject/luajava/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;PREV&nbsp;
+&nbsp;NEXT</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="index.html?constant-values.html" target="_top"><B>FRAMES</B></A> &nbsp;
+&nbsp;<A HREF="constant-values.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
+&nbsp;<SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<CENTER>
+<H1>
+Constant Field Values</H1>
+</CENTER>
+<HR SIZE="4" NOSHADE>
+<B>Contents</B><UL>
+</UL>
+
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="org/keplerproject/luajava/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;PREV&nbsp;
+&nbsp;NEXT</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="index.html?constant-values.html" target="_top"><B>FRAMES</B></A> &nbsp;
+&nbsp;<A HREF="constant-values.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
+&nbsp;<SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+
+</BODY>
+</HTML>
138 doc/us/API/deprecated-list.html
@@ -0,0 +1,138 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_08) on Tue Jan 23 23:46:09 CET 2007 -->
+<TITLE>
+Deprecated List
+</TITLE>
+
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="Deprecated List";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="org/keplerproject/luajava/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Deprecated</B></FONT>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;PREV&nbsp;
+&nbsp;NEXT</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="index.html?deprecated-list.html" target="_top"><B>FRAMES</B></A> &nbsp;
+&nbsp;<A HREF="deprecated-list.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
+&nbsp;<SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<CENTER>
+<H2>
+<B>Deprecated API</B></H2>
+</CENTER>
+<HR SIZE="4" NOSHADE>
+<B>Contents</B><UL>
+</UL>
+
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="org/keplerproject/luajava/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Deprecated</B></FONT>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;PREV&nbsp;
+&nbsp;NEXT</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="index.html?deprecated-list.html" target="_top"><B>FRAMES</B></A> &nbsp;
+&nbsp;<A HREF="deprecated-list.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
+&nbsp;<SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+
+</BODY>
+</HTML>
205 doc/us/API/help-doc.html
@@ -0,0 +1,205 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_08) on Tue Jan 23 23:46:09 CET 2007 -->
+<TITLE>
+API Help
+</TITLE>
+
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="API Help";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="org/keplerproject/luajava/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Help</B></FONT>&nbsp;</TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;PREV&nbsp;
+&nbsp;NEXT</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="index.html?help-doc.html" target="_top"><B>FRAMES</B></A> &nbsp;
+&nbsp;<A HREF="help-doc.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
+&nbsp;<SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<CENTER>
+<H1>
+How This API Document Is Organized</H1>
+</CENTER>
+This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.<H3>
+Package</H3>
+<BLOCKQUOTE>
+
+<P>
+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:<UL>
+<LI>Interfaces (italic)<LI>Classes<LI>Enums<LI>Exceptions<LI>Errors<LI>Annotation Types</UL>
+</BLOCKQUOTE>
+<H3>
+Class/Interface</H3>
+<BLOCKQUOTE>
+
+<P>
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:<UL>
+<LI>Class inheritance diagram<LI>Direct Subclasses<LI>All Known Subinterfaces<LI>All Known Implementing Classes<LI>Class/interface declaration<LI>Class/interface description
+<P>
+<LI>Nested Class Summary<LI>Field Summary<LI>Constructor Summary<LI>Method Summary
+<P>
+<LI>Field Detail<LI>Constructor Detail<LI>Method Detail</UL>
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.</BLOCKQUOTE>
+</BLOCKQUOTE>
+<H3>
+Annotation Type</H3>
+<BLOCKQUOTE>
+
+<P>
+Each annotation type has its own separate page with the following sections:<UL>
+<LI>Annotation Type declaration<LI>Annotation Type description<LI>Required Element Summary<LI>Optional Element Summary<LI>Element Detail</UL>
+</BLOCKQUOTE>
+</BLOCKQUOTE>
+<H3>
+Enum</H3>
+<BLOCKQUOTE>
+
+<P>
+Each enum has its own separate page with the following sections:<UL>
+<LI>Enum declaration<LI>Enum description<LI>Enum Constant Summary<LI>Enum Constant Detail</UL>
+</BLOCKQUOTE>
+<H3>
+Tree (Class Hierarchy)</H3>
+<BLOCKQUOTE>
+There is a <A HREF="overview-tree.html">Class Hierarchy</A> page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with <code>java.lang.Object</code>. The interfaces do not inherit from <code>java.lang.Object</code>.<UL>
+<LI>When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.<LI>When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.</UL>
+</BLOCKQUOTE>
+<H3>
+Deprecated API</H3>
+<BLOCKQUOTE>
+The <A HREF="deprecated-list.html">Deprecated API</A> page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.</BLOCKQUOTE>
+<H3>
+Index</H3>
+<BLOCKQUOTE>
+The <A HREF="index-all.html">Index</A> contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.</BLOCKQUOTE>
+<H3>
+Prev/Next</H3>
+These links take you to the next or previous class, interface, package, or related page.<H3>
+Frames/No Frames</H3>
+These links show and hide the HTML frames. All pages are available with or without frames.
+<P>
+<H3>
+Serialized Form</H3>
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
+<P>
+<H3>
+Constant Field Values</H3>
+The <a href="constant-values.html">Constant Field Values</a> page lists the static final fields and their values.
+<P>
+<FONT SIZE="-1">
+<EM>
+This help file applies to API documentation generated using the standard doclet.</EM>
+</FONT>
+<BR>
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="org/keplerproject/luajava/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Help</B></FONT>&nbsp;</TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;PREV&nbsp;
+&nbsp;NEXT</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="index.html?help-doc.html" target="_top"><B>FRAMES</B></A> &nbsp;
+&nbsp;<A HREF="help-doc.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
+&nbsp;<SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+
+</BODY>
+</HTML>
743 doc/us/API/index-all.html
@@ -0,0 +1,743 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_08) on Tue Jan 23 23:46:09 CET 2007 -->
+<TITLE>
+Index
+</TITLE>
+
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="./stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="Index";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./org/keplerproject/luajava/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;PREV&nbsp;
+&nbsp;NEXT</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="./index.html?index-all.html" target="_top"><B>FRAMES</B></A> &nbsp;
+&nbsp;<A HREF="index-all.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
+&nbsp;<SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="./allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="./allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<A HREF="#_C_">C</A> <A HREF="#_E_">E</A> <A HREF="#_G_">G</A> <A HREF="#_I_">I</A> <A HREF="#_J_">J</A> <A HREF="#_L_">L</A> <A HREF="#_M_">M</A> <A HREF="#_N_">N</A> <A HREF="#_O_">O</A> <A HREF="#_P_">P</A> <A HREF="#_R_">R</A> <A HREF="#_S_">S</A> <A HREF="#_T_">T</A> <A HREF="#_X_">X</A> <A HREF="#_Y_">Y</A> <HR>
+<A NAME="_C_"><!-- --></A><H2>
+<B>C</B></H2>
+<DL>
+<DT><A HREF="./org/keplerproject/luajava/LuaObject.html#call(java.lang.Object[], int)"><B>call(Object[], int)</B></A> -
+Method in class org.keplerproject.luajava.<A HREF="./org/keplerproject/luajava/LuaObject.html" title="class in org.keplerproject.luajava">LuaObject</A>
+<DD>Calls the object represented by <code>this</code> using Lua function pcall.
+<DT><A HREF="./org/keplerproject/luajava/LuaObject.html#call(java.lang.Object[])"><B>call(Object[])</B></A> -
+Method in class org.keplerproject.luajava.<A HREF="./org/keplerproject/luajava/LuaObject.html" title="class in org.keplerproject.luajava">LuaObject</A>
+<DD>Calls the object represented by <code>this</code> using Lua function pcall.
+<DT><A HREF="./org/keplerproject/luajava/LuaState.html#call(int, int)"><B>call(int, int)</B></A> -