James Roseborough
|
237c384d55
|
LuaScriptEngineFactory.getScriptEngine() now returns new instance of lua script engine for each call.
|
2015-03-18 15:07:56 +00:00 |
|
James Roseborough
|
cd9cdc496e
|
Improve collection of orphaned coroutines when yielding from debug hook functions.
|
2015-03-18 03:16:05 +00:00 |
|
James Roseborough
|
31c13af7b4
|
Let os.getenv() return System.getenv() values first for JSE, then fall back to properties
|
2015-03-15 23:23:38 +00:00 |
|
James Roseborough
|
17ffcc6940
|
Fix aliasing issue for some multiple assignments from varargs return values
|
2015-03-15 23:23:06 +00:00 |
|
James Roseborough
|
4cf1dca264
|
Fix aliasing issue for some multiple assignments from varargs return values
|
2015-03-15 21:32:34 +00:00 |
|
James Roseborough
|
06a9ddbb88
|
Fix return value for table.remove() and table.insert()
|
2015-03-15 05:45:50 +00:00 |
|
James Roseborough
|
63e99c1500
|
List keyeq() and keyindex() methods as abstract on LuaTable.Entry.
|
2015-03-14 18:12:13 +00:00 |
|
James Roseborough
|
8c8c98fb00
|
Allow access to Java inner classes using lua field syntax.
|
2015-03-14 17:53:55 +00:00 |
|
James Roseborough
|
6bde11639c
|
Let collectgarbage() behave as collectgarbage("collect")
|
2015-03-14 16:32:38 +00:00 |
|
James Roseborough
|
c8e4bea43d
|
Improve string byte backing ownership, add gradle file, up version, improve build packaging rules.
|
2015-03-09 06:32:54 +00:00 |
|
James Roseborough
|
71500e7d8d
|
Allow error() function to pass any lua object including non-strings.
|
2015-03-08 20:29:37 +00:00 |
|
James Roseborough
|
c5081c5de1
|
Convert anonymous classes to inner classes (gradle build support).
|
2015-03-08 20:22:30 +00:00 |
|
James Roseborough
|
c0e043403f
|
Fix corner cases in _LE and _LEN metatag processing.
|
2014-10-27 13:52:26 +00:00 |
|
James Roseborough
|
384bf690c8
|
Make buffered stream classes package scope.
|
2014-07-04 04:59:10 +00:00 |
|
James Roseborough
|
54788cdc71
|
Fix line number reporting in debug stack traces (fixes issue #30).
|
2014-07-04 03:22:09 +00:00 |
|
James Roseborough
|
83d54e9d77
|
Coerce byte[] to LuaString, pass LuaValue as-is in CoerceJavaToLua.coerce().
|
2014-07-04 02:58:44 +00:00 |
|
James Roseborough
|
7d06027154
|
Fix bug in Globals.UTF8Stream affecting loading from Readers. Add buffered input for compiling and loading of scripts.
|
2014-07-03 21:44:27 +00:00 |
|
James Roseborough
|
df6167cb66
|
Guard against exceptions when reading properties.
|
2014-03-09 18:05:25 +00:00 |
|
James Roseborough
|
a6105d5f62
|
Rename Globals.FINDER to Globals.finder.
|
2014-03-09 18:00:40 +00:00 |
|
James Roseborough
|
e9ee95fd58
|
Autoflush and encode written bytes in script contexts (fixes issue #20)
|
2014-03-09 17:59:25 +00:00 |
|
James Roseborough
|
736218d1f2
|
Pass user-supplied ScriptContext to script engine evaluation (fixes issue #21).
|
2014-03-09 16:45:57 +00:00 |
|
James Roseborough
|
7b97573ac8
|
Fix balanced match for empty string (fixes issue #23)
|
2014-03-09 15:33:44 +00:00 |
|
James Roseborough
|
8201095b0d
|
Let sample applet use a plain class loader within the luajava library.
|
2014-01-16 07:13:15 +00:00 |
|
James Roseborough
|
1bc4acdb89
|
Add sample applet build file.
|
2014-01-14 07:15:26 +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
|
18c1116d22
|
Add back deprecated function for compatibility
|
2013-12-30 23:54:20 +00:00 |
|
James Roseborough
|
337ff63dbb
|
Improve documentation around loading.
|
2013-12-30 00:21:17 +00:00 |
|
James Roseborough
|
de33943eaf
|
Update javadoc comments related to library initialization and loading lua code.
|
2013-12-29 22:49:23 +00:00 |
|
James Roseborough
|
04fd646c87
|
Update javadoc comments related to library inintialization.
|
2013-11-22 17:13:55 +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
|
9179e74e36
|
Improve compatibility of os.date() function
|
2013-07-14 17:28:38 +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
|
efe0dc42bd
|
Let LuaValue.checkfunction() return a LuaFunction
|
2013-07-06 15:18:39 +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 |
|
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
|
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 |
|