Commit Graph

815 Commits

Author SHA1 Message Date
James Roseborough
2bf4c5767b Add line number tracking in elements parsed using LuaParser. 2012-09-01 15:56:09 +00:00
James Roseborough
e0e2452d74 Improve processing of first-line comments by LuaParser 2012-09-01 04:59:14 +00:00
James Roseborough
35e292ac9c Update LuaParser.jj and LuaParser.java to accept lua 5.2 syntax for all files in the standard tests. 2012-08-31 14:57:06 +00:00
James Roseborough
7d3b5a6b14 Update LuaParser.jj and LuaParser.java to accept lua 5.2 syntax for all files in the standard tests. 2012-08-31 14:51:35 +00:00
James Roseborough
f7e17c588e First cut at updating compiler and runtime to handle lua 5.2 bytecodes. Able to compile and execute "hello, world" lua script. 2012-08-23 04:40:40 +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
3506930278 Catch Exception instead of Throwable for all but LuaThread run loop 2012-01-25 03:58:33 +00:00
James Roseborough
9922cbb3db Improve detection and handling of orphaned coroutine threads. 2012-01-25 03:46:53 +00:00
James Roseborough
f283aae6a8 Improve detection and handling of orphaned coroutine threads. 2012-01-23 17:17:17 +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
26ed1ef392 Improve detection and handling of orphaned coroutine threads. 2012-01-21 05:26:41 +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
b5c5236a33 Fix javadoc comments. 2011-11-13 05:32:32 +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
Ian Farmer
3a266748be Fix two issues in WeakTable.java that can lead to infinite loops. 2011-09-27 04:06:21 +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
329739ec68 Adjust _VERSION tag 2011-03-03 22:50:32 +00:00
James Roseborough
abba1501f9 Improve javadoc for luajava classes. 2011-03-03 18:47:28 +00:00
James Roseborough
90839804ef Fix imports, length coercion, script sample 2011-03-03 18:27:21 +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
c49ede53e4 Tune javadoc for distribution build. 2011-01-26 06:02:06 +00:00
James Roseborough
4fb425bb16 Add javadoc content to source files. 2011-01-22 01:00:20 +00:00
James Roseborough
1a648fef56 Add javadoc content to source files. 2011-01-21 01:38:35 +00:00
James Roseborough
b94df87262 Add javadoc content to source files. 2011-01-20 20:36:24 +00:00
James Roseborough
e7c2d704f8 Comment Varargs methods. 2011-01-15 00:47:13 +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
a07d0f7cb4 Clarify role of bindings in script engine. 2010-12-04 00:47:30 +00:00
James Roseborough
81ad4455dc User luajava coersion logic for JSR-223 binding value coercions from Java to lua 2010-12-03 15:39:26 +00:00
James Roseborough
79debeb11e Remove generics 2010-12-03 01:43:24 +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
a559655d7c Improve JSR-223 bindings implementation to allow use of external Bindings class such as SimpleBindings 2010-12-01 05:25:03 +00:00
James Roseborough
e267ffa5a7 Fix nan-related error in constant folding logic that was failing on some JVMs 2010-11-19 19:46:34 +00:00
Ian Farmer
f9b3180ede Work around a JVM bug involving static initialization.
https://www.blackberry.com/jira/browse/JAVAAPI-1289
2010-11-16 00:07:36 +00:00
James Roseborough
e257518bbe Fix constructor matchng logic for luajava lib. 2010-09-04 16:26:23 +00:00
James Roseborough
a17359716b Update performance numbers using production flags. 2010-09-04 02:41:09 +00:00
James Roseborough
aa572abd65 Add -n option to launch without debug library. 2010-09-03 20:34:32 +00:00
James Roseborough
77777a9dd8 Add guards on debug output. 2010-08-25 23:57:38 +00:00
James Roseborough
d32ef20360 Improve __eq metatag processing. 2010-08-25 17:56:51 +00:00
James Roseborough
328c986ca9 Refactor eq and __eq metatag processing. 2010-08-25 14:55:51 +00:00
James Roseborough
c98a0cf799 Refactor eq and __eq metatag processing. 2010-08-25 05:05:00 +00:00
James Roseborough
d5b58107c6 Add tests for metatag operations. 2010-08-25 00:43:13 +00:00
James Roseborough
7e2c2db59c Improve concat operation. 2010-08-24 19:05:04 +00:00
James Roseborough
bb7a3390cd Improve __concat metatag 2010-08-23 20:36:41 +00:00
James Roseborough
ee62eefc38 Improve __concat 2010-08-23 15:26:21 +00:00
James Roseborough
00bf5ff4d8 Improve __concat 2010-08-23 05:17:11 +00:00
James Roseborough
02b22b1e0d Refactor concat, add __concat metatag 2010-08-22 17:35:08 +00:00
James Roseborough
31c7c5f2b5 Remove deprecated functions. 2010-08-21 14:56:48 +00:00
James Roseborough
d70ed23d1d Improve equality comparison 2010-08-21 14:38:01 +00:00
James Roseborough
8cee98befd Improve __eq metatag processing. 2010-08-19 18:08:14 +00:00