Commit Graph

916 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
Ian Farmer
120ac758c4 Fix bug in LuaJava overload resolution. 2013-07-04 06:53:03 +00:00
Ian Farmer
9aeb0e2eac Fix 2 bugs in LuaString.
* Number parsing did not check for overflow.
 * A circular dependency could cause random NullPointerExceptions at
   class loading time.
2013-07-04 06:51:09 +00:00
Ian Farmer
e5d666efd0 Fix hash codes of doubles. 2013-07-04 06:45:01 +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
424e80900a Implement redirection for pluggable scripting contexts 2013-02-03 01:29:46 +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
9ffb9499e5 Add ant target to install to maven, sample maven program. 2013-01-29 04:23:41 +00:00
James Roseborough
1626aad303 Add convenience function to load a String for execution. 2013-01-29 04:22:14 +00:00
James Roseborough
cef619cb40 Improve tests and behavior of string.indexOf operations. 2013-01-27 18:42:21 +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
8a5e811c7f Add test for long substring. 2013-01-26 20:04:05 +00:00
James Roseborough
79ddb79c4d Fix bug 3565008 so that short substrings are backed by short arrays. 2013-01-26 20:00:04 +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
17db89fd3b Improve error reporting. 2013-01-21 00:39:23 +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
fa2b7cfdf3 Fix typo in tests. 2012-10-13 15:14:48 +00:00
James Roseborough
bb540819b0 Improve compatibility with lua 5.2. 2012-10-13 15:07:14 +00:00
James Roseborough
c921b033c5 Improve documentation and tests. 2012-10-13 14:32:34 +00:00
James Roseborough
3d2812ed35 Add command line option for file to test program. 2012-10-13 14:15:04 +00:00
James Roseborough
59496e6aa0 Fix typo. 2012-10-10 03:06:21 +00:00
James Roseborough
447c7f9850 Let generated code have class names that match variable names used in function creation. 2012-10-05 04:26:25 +00:00
James Roseborough
1a4eb0e3c7 Improve documentation and samples. 2012-10-03 14:21:26 +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
497a9f2346 Clean up build for distribution. 2012-10-02 02:48:43 +00:00
James Roseborough
bee51df7b3 Clean up build for distribution. 2012-10-02 02:34:34 +00:00
James Roseborough
17f233adf8 Fix tests to acount for platform differences. 2012-09-30 16:51:57 +00:00
James Roseborough
8b50a3b36b Improve compatibility with lua 5.2. 2012-09-30 15:42:36 +00:00
James Roseborough
a529cbaf5c Improve compatibility with lua 5.2. 2012-09-30 05:52:06 +00:00
James Roseborough
b6f33f6e2e Improve compatibility with lua 5.2. 2012-09-25 03:34:49 +00:00
James Roseborough
f389d316e1 Convert package lib to new style. 2012-09-23 01:13:59 +00:00
James Roseborough
0c93edfd56 Improve compatibility with lua 5.2. 2012-09-21 14:32:07 +00:00
James Roseborough
be4a320bf9 Improve compatibility with lua 5.2. 2012-09-21 05:24:58 +00:00
James Roseborough
9666f40ad7 Improve stack traces. 2012-09-20 14:39:11 +00:00
James Roseborough
9ae6767f76 Improve compatibility with lua 5.2. 2012-09-20 05:30:41 +00:00
James Roseborough
4d8877e56b Improve compatibility with lua 5.2. 2012-09-20 05:15:31 +00:00
James Roseborough
406068190b Improve string compatibility with lua 5.2. 2012-09-19 14:00:26 +00:00
James Roseborough
a8aeddfc60 Improve iolib test. 2012-09-19 05:37:39 +00:00
James Roseborough
0f70a8e962 Fixes to luajc bytecode generation. 2012-09-19 03:19:55 +00:00
James Roseborough
4bf132c01e Fix for loop processing in luajc compiler code generator for lua 5.3 bytecodes 2012-09-18 14:17:00 +00:00
James Roseborough
ef94aa3abb Add unit tests for varargs 2012-09-18 03:55:51 +00:00