Commit Graph

70 Commits

Author SHA1 Message Date
James Roseborough
9b59234327 Fix Globals.load() to call the library with an empty modname and the globals as the environment. Change standard libraries to be called with two arguments, a modname and an environment. 2013-07-04 15:54:36 +00:00
James Roseborough
711c8c817f Fix Lua to Java coercion directly on Java classes. 2013-07-01 14:45:34 +00:00
James Roseborough
869f0e003c Coerce script engine eval() return values to Java. 2013-07-01 13:49:52 +00:00
James Roseborough
9a3f6161ce Fix pluggable scripting engine lookup, simplify implementation, and add unit tests. 2013-07-01 05:51:27 +00:00
James Roseborough
56fe850437 Fix bug that didn't read package.path from environment. 2013-06-05 23:50:41 +00:00
James Roseborough
8a93c061f7 Implement redirection for pluggable scripting contexts 2013-02-03 00:22:47 +00:00
James Roseborough
05ac5f22e0 Add artifacts to Maven central repository. 2013-02-02 05:24:37 +00:00
James Roseborough
1f89f30239 Fix bug 3495802 to return correct offset of substrings from string.find() 2013-01-27 16:14:03 +00:00
James Roseborough
f1b421d25c Fix bug 3565008 so that short substrings are backed by short arrays. 2013-01-26 19:53:50 +00:00
James Roseborough
fae55ba56a Fix bug 3597515 memory leak due to string caching by simplifying caching logic. 2013-01-26 19:01:00 +00:00
James Roseborough
13adb5a691 Move next version to 3.0-alpha3 2013-01-21 23:38:01 +00:00
James Roseborough
706d9ba47e Supply environment as extra argument when loading functions. 2013-01-21 21:37:44 +00:00
James Roseborough
d4b8ec31dd Improve sample code for LuaParser. 2012-10-27 15:03:57 +00:00
James Roseborough
c7165c0cd5 Update README to point at 3.0 api javadoc. 2012-10-13 16:36:51 +00:00
James Roseborough
c921b033c5 Improve documentation and tests. 2012-10-13 14:32:34 +00:00
James Roseborough
1f69fa38ba Clean up build for distribution. 2012-10-03 05:43:35 +00:00
James Roseborough
7b6381c352 Add ability to create runnable jar file from lua script with sample build file build-app.xml 2012-10-02 07:00:17 +00:00
James Roseborough
51367db2b4 Document current behavior of negative zero. 2012-09-17 04:21:09 +00:00
James Roseborough
d5456b4b93 Lua 5.2 compatibility fixes. 2012-09-09 16:26:17 +00:00
James Roseborough
f224957b87 Remove support for lua2java within luaj. 2012-09-08 04:15:06 +00:00
James Roseborough
2c748e0d3b Add line and column info to org.luaj.vm2.ast parse tree elements generated using LuaParser 2012-09-01 17:07:23 +00:00
James Roseborough
659a20a999 Start the 3.0-alpha1 version 2012-07-12 14:45:08 +00:00
James Roseborough
a59a34b5e0 Improve the swing sample lua application. 2012-02-01 06:04:51 +00:00
James Roseborough
14d344a045 Allow access to public members of private inner classes where possible 2012-01-31 16:04:26 +00:00
James Roseborough
c46ee6b9bd Fix load(func) when mutiple string fragments are supplied by calls to func 2012-01-21 17:36:03 +00:00
James Roseborough
ebb7169f17 Add arithmetic metatag processing when left hand side is a number and right hand side has metatable 2011-11-13 18:08:18 +00:00
James Roseborough
4950d3c612 Fix lua command vararg values passed into main script to match what is in global arg table 2011-11-12 23:59:37 +00:00
James Roseborough
b769c61e0f Improve coroutine state logic including let unreferenced coroutines be garbage collected 2011-06-12 04:17:02 +00:00
James Roseborough
a88789517d Major refactor of luajava type coercion logic, and method selection logic. 2011-03-03 16:52:12 +00:00
James Roseborough
f335a25e6b Improve jsr-223 bindings, allow ".lua" or "lua" as extensions, find classes when added as vm extension, enhance javadoc, add sources jar. 2011-02-11 17:40:37 +00:00
James Roseborough
ef1e6e9967 Fix selection logic in luajava when picking from functions with same name 2011-01-14 22:57:44 +00:00
James Roseborough
af814a986e Add references to on-line documentation. 2011-01-05 01:06:22 +00:00
James Roseborough
31f6ffde88 Improve JSR-223 bindings especially for values that are not primitives. 2010-12-03 01:37:47 +00:00
James Roseborough
27ed746300 Additional doc, test for JSR-223 bindings. 2010-12-01 15:08:36 +00:00
James Roseborough
a559655d7c Improve JSR-223 bindings implementation to allow use of external Bindings class such as SimpleBindings 2010-12-01 05:25:03 +00:00
James Roseborough
f49c568297 Correct JSR number. 2010-12-01 04:07:52 +00:00
James Roseborough
42d5b3a578 Increment version following release of version 2.0.1 2010-11-30 22:27:20 +00:00
James Roseborough
d055905694 Fix path in README. 2010-11-30 22:09:58 +00:00
James Roseborough
e267ffa5a7 Fix nan-related error in constant folding logic that was failing on some JVMs 2010-11-19 19:46:34 +00:00
James Roseborough
0a381d1921 Prepare for 2.0.1 2010-09-04 17:02:14 +00:00
James Roseborough
a17359716b Update performance numbers using production flags. 2010-09-04 02:41:09 +00:00
James Roseborough
0d50184e8f Add tests for __index, __newindex 2010-08-18 23:05:20 +00:00
James Roseborough
f58d178148 Add description of LuaParser and the javacc grammar 2010-08-17 20:52:30 +00:00
James Roseborough
a52dca445a Add performance test results. 2010-08-15 20:15:56 +00:00
James Roseborough
f21610e00a Add performance measurements to README 2010-08-15 03:56:03 +00:00
James Roseborough
423cdb7619 Add section on LuaJ API to README. 2010-07-31 00:31:14 +00:00
James Roseborough
51e64c87cb Change platform packages. 2010-07-30 18:09:31 +00:00
James Roseborough
dce6007569 Update bytecode-to-bytecode compiler to handle upvalues in numeric for loops. 2010-07-29 21:28:13 +00:00
James Roseborough
e3d1330763 Fix bytecode generator following Buffer api change. 2010-07-29 05:07:08 +00:00
James Roseborough
a5d7889d27 Update documentation for lua2java compiler. 2010-07-29 04:49:19 +00:00