Commit Graph

  • 2c50d505eb Add SampleSandboxed.java sample code to illustrate sandboxing. James Roseborough 2015-04-06 05:18:52 +00:00
  • 57888814df Correct userdata usage in debug lib. James Roseborough 2015-04-05 21:02:10 +00:00
  • 878bf5ac78 Improve string lib factoring, javadoc on lib loading functions. James Roseborough 2015-04-05 16:19:13 +00:00
  • 591de13a46 Move hook function state to LuaThread.State class. James Roseborough 2015-03-22 16:54:56 +00:00
  • 450692d130 Add blank initializers to all Prototypes. James Roseborough 2015-03-22 16:54:12 +00:00
  • d0e0fd4445 Add function to Print to print only stack. James Roseborough 2015-03-22 16:53:35 +00:00
  • ba43e15e72 Add ReadOnlyTable and ReadWriteShadowTable, add sandboxing example code, make string metatable a real metatable. James Roseborough 2015-03-22 00:36:44 +00:00
  • 85381770a7 ix os.date("*t") to return hour in 24 hour format (fixes issue #45) James Roseborough 2015-03-18 16:16:13 +00:00
  • 87f19030cb Improve synchronization of debug library James Roseborough 2015-03-18 15:52:49 +00:00
  • 237c384d55 LuaScriptEngineFactory.getScriptEngine() now returns new instance of lua script engine for each call. James Roseborough 2015-03-18 15:07:56 +00:00
  • cd9cdc496e Improve collection of orphaned coroutines when yielding from debug hook functions. James Roseborough 2015-03-18 03:16:05 +00:00
  • 31c13af7b4 Let os.getenv() return System.getenv() values first for JSE, then fall back to properties James Roseborough 2015-03-15 23:23:38 +00:00
  • 17ffcc6940 Fix aliasing issue for some multiple assignments from varargs return values James Roseborough 2015-03-15 23:23:06 +00:00
  • 4cf1dca264 Fix aliasing issue for some multiple assignments from varargs return values James Roseborough 2015-03-15 21:32:34 +00:00
  • 06a9ddbb88 Fix return value for table.remove() and table.insert() James Roseborough 2015-03-15 05:45:50 +00:00
  • 4c3bb1d709 Add test for balanced match on empty string. James Roseborough 2015-03-14 20:09:09 +00:00
  • baccc39c74 Update comment to link to bug number. James Roseborough 2015-03-14 18:42:09 +00:00
  • 63e99c1500 List keyeq() and keyindex() methods as abstract on LuaTable.Entry. James Roseborough 2015-03-14 18:12:13 +00:00
  • 8c8c98fb00 Allow access to Java inner classes using lua field syntax. James Roseborough 2015-03-14 17:53:55 +00:00
  • 6bde11639c Let collectgarbage() behave as collectgarbage("collect") James Roseborough 2015-03-14 16:32:38 +00:00
  • c8e4bea43d Improve string byte backing ownership, add gradle file, up version, improve build packaging rules. James Roseborough 2015-03-09 06:32:54 +00:00
  • 71500e7d8d Allow error() function to pass any lua object including non-strings. James Roseborough 2015-03-08 20:29:37 +00:00
  • c5081c5de1 Convert anonymous classes to inner classes (gradle build support). James Roseborough 2015-03-08 20:22:30 +00:00
  • c0e043403f Fix corner cases in _LE and _LEN metatag processing. James Roseborough 2014-10-27 13:52:26 +00:00
  • 384bf690c8 Make buffered stream classes package scope. James Roseborough 2014-07-04 04:59:10 +00:00
  • e115be79a2 Update version to 3.0 James Roseborough 2014-07-04 03:35:38 +00:00
  • 54788cdc71 Fix line number reporting in debug stack traces (fixes issue #30). James Roseborough 2014-07-04 03:22:09 +00:00
  • 83d54e9d77 Coerce byte[] to LuaString, pass LuaValue as-is in CoerceJavaToLua.coerce(). James Roseborough 2014-07-04 02:58:44 +00:00
  • 7d06027154 Fix bug in Globals.UTF8Stream affecting loading from Readers. Add buffered input for compiling and loading of scripts. James Roseborough 2014-07-03 21:44:27 +00:00
  • 60c868cd9a General updates to README documentation. James Roseborough 2014-04-28 23:54:03 +00:00
  • df6167cb66 Guard against exceptions when reading properties. James Roseborough 2014-03-09 18:05:25 +00:00
  • a6105d5f62 Rename Globals.FINDER to Globals.finder. James Roseborough 2014-03-09 18:00:40 +00:00
  • e9ee95fd58 Autoflush and encode written bytes in script contexts (fixes issue #20) James Roseborough 2014-03-09 17:59:25 +00:00
  • 736218d1f2 Pass user-supplied ScriptContext to script engine evaluation (fixes issue #21). James Roseborough 2014-03-09 16:45:57 +00:00
  • 7b97573ac8 Fix balanced match for empty string (fixes issue #23) James Roseborough 2014-03-09 15:33:44 +00:00
  • f17e9d7018 Add example android project. James Roseborough 2014-01-27 17:50:34 +00:00
  • 464e8ad1d4 Add obfuscation to applet. James Roseborough 2014-01-17 05:18:35 +00:00
  • 8dce89ab7d Display key characters in sample applet James Roseborough 2014-01-17 04:57:22 +00:00
  • 8201095b0d Let sample applet use a plain class loader within the luajava library. James Roseborough 2014-01-16 07:13:15 +00:00
  • 1bc4acdb89 Add sample applet build file. James Roseborough 2014-01-14 07:15:26 +00:00
  • 1b6be3c99f Add sample applet sources. James Roseborough 2014-01-13 00:25:09 +00:00
  • e98f349e9c Up version to beta3 James Roseborough 2014-01-02 15:55:36 +00:00
  • 48a214fc20 Fix maven example code to match API changes. James Roseborough 2014-01-02 08:17:08 +00:00
  • 25a5e98fe0 Up version to beta3 James Roseborough 2014-01-02 08:16:21 +00:00
  • 0dbaf868f1 Update release notes. James Roseborough 2014-01-02 06:37:24 +00:00
  • c755752879 Update swingapp example to expect os.time to be in seconds. James Roseborough 2014-01-02 06:23:08 +00:00
  • b2fedfb8bf Updates to README James Roseborough 2014-01-01 18:04:18 +00:00
  • 0304dc1736 Add back stack traces when debug is installed and new error message handler is defined. James Roseborough 2014-01-01 17:54:33 +00:00
  • 03985ec7ee Make error message handler in xpcall per-thread instead of per-globals. James Roseborough 2013-12-31 00:44:55 +00:00
  • b0d52fe118 Let errors thrown in debug hooks bubble up to the running coroutine. James Roseborough 2013-12-30 23:58:02 +00:00
  • 18c1116d22 Add back deprecated function for compatibility James Roseborough 2013-12-30 23:54:20 +00:00
  • 337ff63dbb Improve documentation around loading. James Roseborough 2013-12-30 00:21:17 +00:00
  • de33943eaf Update javadoc comments related to library initialization and loading lua code. James Roseborough 2013-12-29 22:49:23 +00:00
  • 04fd646c87 Update javadoc comments related to library inintialization. James Roseborough 2013-11-22 17:13:55 +00:00
  • 2123d3f924 Refactor API's related to compiling and loading scripts and character encoding handling. James Roseborough 2013-09-18 05:32:30 +00:00
  • a552494b72 Implement optional table argument to os.time() James Roseborough 2013-07-14 18:53:03 +00:00
  • 9179e74e36 Improve compatibility of os.date() function James Roseborough 2013-07-14 17:28:38 +00:00
  • db1c7a17b2 Implement most '%' formatting types for os.date() James Roseborough 2013-07-14 15:31:32 +00:00
  • 07fb564edd Fix os.time() to return a number of seconds. James Roseborough 2013-07-13 15:56:59 +00:00
  • efe0dc42bd Let LuaValue.checkfunction() return a LuaFunction James Roseborough 2013-07-06 15:18:39 +00:00
  • 729d7bb9da Increment version numbers to 3.0-beta2 (next release) James Roseborough 2013-07-06 15:10:10 +00:00
  • 1891adf4f2 Update version to beta1 James Roseborough 2013-07-05 23:08:50 +00:00
  • db076e1912 Correct classpath spec on compile step in readme. James Roseborough 2013-07-05 22:34:49 +00:00
  • bc80f2de1e Edit version referred to in doc to be beta1 James Roseborough 2013-07-05 22:23:06 +00:00
  • 725cb7ab49 Add documentation on thread safety with luaj 3.0 James Roseborough 2013-07-05 21:30:17 +00:00
  • e9c39d616b Add test that removes elements from table while iterating. James Roseborough 2013-07-05 21:02:00 +00:00
  • f3aeb69d30 Refactor table implementation. Ian Farmer 2013-07-05 06:24:46 +00:00
  • 49fc8ec7ec Remove obsolete test class TableArrayTest.java. Ian Farmer 2013-07-04 20:09:11 +00:00
  • 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. James Roseborough 2013-07-04 15:54:36 +00:00
  • 120ac758c4 Fix bug in LuaJava overload resolution. Ian Farmer 2013-07-04 06:53:03 +00:00
  • 9aeb0e2eac Fix 2 bugs in LuaString. Ian Farmer 2013-07-04 06:51:09 +00:00
  • e5d666efd0 Fix hash codes of doubles. Ian Farmer 2013-07-04 06:45:01 +00:00
  • 711c8c817f Fix Lua to Java coercion directly on Java classes. James Roseborough 2013-07-01 14:45:34 +00:00
  • 869f0e003c Coerce script engine eval() return values to Java. James Roseborough 2013-07-01 13:49:52 +00:00
  • 9a3f6161ce Fix pluggable scripting engine lookup, simplify implementation, and add unit tests. James Roseborough 2013-07-01 05:51:27 +00:00
  • 56fe850437 Fix bug that didn't read package.path from environment. James Roseborough 2013-06-05 23:50:41 +00:00
  • 424e80900a Implement redirection for pluggable scripting contexts James Roseborough 2013-02-03 01:29:46 +00:00
  • 8a93c061f7 Implement redirection for pluggable scripting contexts James Roseborough 2013-02-03 00:22:47 +00:00
  • 05ac5f22e0 Add artifacts to Maven central repository. James Roseborough 2013-02-02 05:24:37 +00:00
  • 9ffb9499e5 Add ant target to install to maven, sample maven program. James Roseborough 2013-01-29 04:23:41 +00:00
  • 1626aad303 Add convenience function to load a String for execution. James Roseborough 2013-01-29 04:22:14 +00:00
  • cef619cb40 Improve tests and behavior of string.indexOf operations. James Roseborough 2013-01-27 18:42:21 +00:00
  • 1f89f30239 Fix bug 3495802 to return correct offset of substrings from string.find() James Roseborough 2013-01-27 16:14:03 +00:00
  • 8a5e811c7f Add test for long substring. James Roseborough 2013-01-26 20:04:05 +00:00
  • 79ddb79c4d Fix bug 3565008 so that short substrings are backed by short arrays. James Roseborough 2013-01-26 20:00:04 +00:00
  • f1b421d25c Fix bug 3565008 so that short substrings are backed by short arrays. James Roseborough 2013-01-26 19:53:50 +00:00
  • fae55ba56a Fix bug 3597515 memory leak due to string caching by simplifying caching logic. James Roseborough 2013-01-26 19:01:00 +00:00
  • 13adb5a691 Move next version to 3.0-alpha3 James Roseborough 2013-01-21 23:38:01 +00:00
  • 706d9ba47e Supply environment as extra argument when loading functions. James Roseborough 2013-01-21 21:37:44 +00:00
  • 17db89fd3b Improve error reporting. James Roseborough 2013-01-21 00:39:23 +00:00
  • d4b8ec31dd Improve sample code for LuaParser. James Roseborough 2012-10-27 15:03:57 +00:00
  • c7165c0cd5 Update README to point at 3.0 api javadoc. James Roseborough 2012-10-13 16:36:51 +00:00
  • fa2b7cfdf3 Fix typo in tests. James Roseborough 2012-10-13 15:14:48 +00:00
  • bb540819b0 Improve compatibility with lua 5.2. James Roseborough 2012-10-13 15:07:14 +00:00
  • c921b033c5 Improve documentation and tests. James Roseborough 2012-10-13 14:32:34 +00:00
  • 3d2812ed35 Add command line option for file to test program. James Roseborough 2012-10-13 14:15:04 +00:00
  • 59496e6aa0 Fix typo. James Roseborough 2012-10-10 03:06:21 +00:00
  • 447c7f9850 Let generated code have class names that match variable names used in function creation. James Roseborough 2012-10-05 04:26:25 +00:00
  • 1a4eb0e3c7 Improve documentation and samples. James Roseborough 2012-10-03 14:21:26 +00:00
  • 1f69fa38ba Clean up build for distribution. James Roseborough 2012-10-03 05:43:35 +00:00