Benjamin P. Jung
3d22990e3c
Migrate CVS project to Git
...
* Delete .svnignore and move stuff to .gitignore
* Add note to README to show that this is an inofficial fork as of now.
* Change file suffix of README file from .html to .md for better
Github integration and readability
2018-09-13 11:56:02 +02:00
James Roseborough
194b776317
Add synchronization to CoerceJavaToLua.COERCIONS map.
2018-09-13 11:53:24 +02:00
James Roseborough
828e4be019
Fix JsePlatform.luaMain() to provide an "arg" table in the chunk's environment.
2018-09-13 11:53:00 +02:00
James Roseborough
08dfdf1434
Fix os.time() conversions for pm times.
2015-04-28 23:06:40 +00:00
James Roseborough
4c3d0f9cdd
Revert change that removed default traceback in debug builds.
2015-04-23 03:25:30 +00:00
James Roseborough
5bab91f715
Update grammer spec link
2015-04-18 16:31:29 +00:00
James Roseborough
9bb16ded8f
Update links to grammar specs
2015-04-18 16:30:09 +00:00
James Roseborough
c41c28d7ea
Move online docs to http://luaj.org/luaj/3.0/api/
2015-04-18 16:22:36 +00:00
James Roseborough
e7940fd3a2
Correct release not comment
2015-04-18 16:08:51 +00:00
James Roseborough
b545646922
Add utilities and sample code to load luaj in custom class loader for strong sandboxing, and use of orphaned threads.
2015-04-17 02:59:50 +00:00
James Roseborough
7f5d052faa
Add samplesandboxed.lua script to demonstrate sandboxing in lua.
2015-04-11 23:36:48 +00:00
James Roseborough
977353080c
Turn off traceback by default. Use xpcall with debug.traceback instead.
2015-04-11 23:06:16 +00:00
James Roseborough
2c50d505eb
Add SampleSandboxed.java sample code to illustrate sandboxing.
2015-04-06 05:18:52 +00:00
James Roseborough
ba43e15e72
Add ReadOnlyTable and ReadWriteShadowTable, add sandboxing example code, make string metatable a real metatable.
2015-03-22 00:36:44 +00:00
James Roseborough
85381770a7
ix os.date("*t") to return hour in 24 hour format (fixes issue #45 )
2015-03-18 16:16:13 +00:00
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
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
baccc39c74
Update comment to link to bug number.
2015-03-14 18:42:09 +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
e115be79a2
Update version to 3.0
2014-07-04 03:35:38 +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
60c868cd9a
General updates to README documentation.
2014-04-28 23:54:03 +00:00
James Roseborough
a6105d5f62
Rename Globals.FINDER to Globals.finder.
2014-03-09 18:00:40 +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
e98f349e9c
Up version to beta3
2014-01-02 15:55:36 +00:00
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