Commit Graph

85 Commits

Author SHA1 Message Date
James Roseborough
0dbaf868f1 Update release notes. 2014-01-02 06:37:24 +00:00
James Roseborough
b2fedfb8bf Updates to README 2014-01-01 18:04:18 +00:00
James Roseborough
0304dc1736 Add back stack traces when debug is installed and new error message handler is defined. 2014-01-01 17:54:33 +00:00
James Roseborough
03985ec7ee Make error message handler in xpcall per-thread instead of per-globals. 2013-12-31 00:44:55 +00:00
James Roseborough
b0d52fe118 Let errors thrown in debug hooks bubble up to the running coroutine. 2013-12-30 23:58:02 +00:00
James Roseborough
337ff63dbb Improve documentation around loading. 2013-12-30 00:21:17 +00:00
James Roseborough
2123d3f924 Refactor API's related to compiling and loading scripts and character encoding handling. 2013-09-18 05:32:30 +00:00
James Roseborough
a552494b72 Implement optional table argument to os.time() 2013-07-14 18:53:03 +00:00
James Roseborough
db1c7a17b2 Implement most '%' formatting types for os.date() 2013-07-14 15:31:32 +00:00
James Roseborough
07fb564edd Fix os.time() to return a number of seconds. 2013-07-13 15:56:59 +00:00
James Roseborough
729d7bb9da Increment version numbers to 3.0-beta2 (next release) 2013-07-06 15:10:10 +00:00
James Roseborough
db076e1912 Correct classpath spec on compile step in readme. 2013-07-05 22:34:49 +00:00
James Roseborough
bc80f2de1e Edit version referred to in doc to be beta1 2013-07-05 22:23:06 +00:00
James Roseborough
725cb7ab49 Add documentation on thread safety with luaj 3.0 2013-07-05 21:30:17 +00:00
Ian Farmer
f3aeb69d30 Refactor table implementation. 2013-07-05 06:24:46 +00:00
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