Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/FiguraMC/luaj


https://github.com/FiguraMC/luaj

Fix return value of table.remove()

d6a35253578e76e30f1d2351ff57a815e40f2fff authored almost 17 years ago by James Roseborough <[email protected]>
Up version to 0.9

f3983872220b14d294e10964462720c91ec78411 authored almost 17 years ago by James Roseborough <[email protected]>
change version to 0.8

0ff616579fea644cdfa907a66f563979d8bcc97d authored almost 17 years ago by James Roseborough <[email protected]>
1. refactored getCurrentPc() to retrieve the current pc for the stack frame

2. reverted the code to aggregate all visible variables. due to the lack of debugging info about ...

439f14c2677306c650d95d1443860539a763162f authored almost 17 years ago by Shu Lei <[email protected]>
Remove deprecated API's

d0bd5c9ff8d37c6e0747a1005a7e23e433a12e24 authored almost 17 years ago by James Roseborough <[email protected]>
fix the bug that the current line number for the calling frame is off by one

e785b88f306972393a80d44842c9bc47195ae2e4 authored almost 17 years ago by Shu Lei <[email protected]>
Fix top handling for table module

484a758b3cf2c64053b97bd78adfb16ccd929062 authored almost 17 years ago by James Roseborough <[email protected]>
Fix select for "#" argument

ec5068a96e7f5d5fc3f1e432a120cd8771ad69f3 authored almost 17 years ago by James Roseborough <[email protected]>
replace deprecated API's.

cce33612ce995aa5f2a1bbd1479b35fbc838cc4b authored almost 17 years ago by James Roseborough <[email protected]>
Replace deprecated API's

c93301506ab73fdee1cb1f427faae036626c8c13 authored almost 17 years ago by James Roseborough <[email protected]>
updated the top for FORLOOP so that the loop index shows up when the first time stepped into the loop

dda1af05704d3db694f2afb39fb72e8a865fbe3b authored almost 17 years ago by Shu Lei <[email protected]>
1. fixed a bug with not remembering the calling stack's top and reverted the previous change in method printState file Print.java to check on the upper bound

2. fixed a NPE in DebugStackState when an error is raised and debugSupport is null
3. made the De...

7e99ae8ac1c9e581bc68076587fcad4569115ae9 authored almost 17 years ago by Shu Lei <[email protected]>
Remove superfluous import

100b6a61624ed406b7e1f644db52486a98837dd3 authored almost 17 years ago by James Roseborough <[email protected]>
Table unit tests and implementation of table.remove(), table.sort()

434530b60fe70e85e76df8dcf277923ce6ce376d authored almost 17 years ago by James Roseborough <[email protected]>
Unit test for table package functions

facb8d1d07a0e16b9ae1476cc622b068c03526e9 authored almost 17 years ago by James Roseborough <[email protected]>
1. improved stack state (correct scoping)

2. fixed the problem with debugger not pausing on first line

1ebbabc9d636c83682ce9c5c99b03de79dd07eb6 authored almost 17 years ago by Shu Lei <[email protected]>
resurrect the dead files

3aeb6fc29041039c5d71d4a2c75011abdaf6fe6a authored almost 17 years ago by Shu Lei <[email protected]>
redo the error handling due to the changes in DebugStackState made by James

abf34c460de19037525098753e74ab1f698e69a8 authored almost 17 years ago by Shu Lei <[email protected]>
Allow dump state to take arguments for endian-ness, force to integer

72c01f76c0e02a21139564ece83eb4a27323f9ff authored almost 17 years ago by James Roseborough <[email protected]>
1. added stepping debug support

2. added debugger error handling

e97b842b45653782415405dcd4897f348a159c5e authored almost 17 years ago by Shu Lei <[email protected]>
Coroutine implementation based on Java Threads.

b86e06ab1cd7c7543c931e9d82d707f3c4f3a20b authored almost 17 years ago by James Roseborough <[email protected]>
Fix inconsistency in build: filename in real-delete target was not the

same as filename produced.

c311c31a74cb2ecddfbeb62e889529b663b1468c authored almost 17 years ago by Ian Farmer <[email protected]>
Build changes:

* ant build.xml produces 4 output jars: all-in-one jar, a "core" jar that
should work under J2M...

c3f17a3b5ea435ebe6a124a9ee77ae6b3e74f2b6 authored almost 17 years ago by Ian Farmer <[email protected]>
Fix coroutine.wrap() error propogation.

504020beda378a1b63fcab638dc052609d24288f authored almost 17 years ago by James Roseborough <[email protected]>
Add tests for pcall, add error() builtin, fix assert(), error levels.

932960c84684f134827b4fac8640055125763111 authored almost 17 years ago by James Roseborough <[email protected]>
implement corouting.wrap(), fix bugs in coroutine.status(), fix StackState.insert()

8248cca2bfe9a7e8e6ce4b023fbd10c924cf7a02 authored almost 17 years ago by James Roseborough <[email protected]>
Initial draft of coroutines library.

78eaaf0fa00ce77d995a18c246474d8ef8998e38 authored almost 17 years ago by James Roseborough <[email protected]>
Add LValue.toJavaX and VM.pushboxedx() functions for all java basic type conversions

8e2ff119f938be9565d36f2d00f333eb943c789a authored about 17 years ago by James Roseborough <[email protected]>
Fix insert, add LDouble.valueOf()

ccde1585140bc44223e004d76a57f0fd7df99913 authored about 17 years ago by James Roseborough <[email protected]>
debug support refactoring

a8422a69080e7d1202996e661721a15833e62479 authored about 17 years ago by Shu Lei <[email protected]>
some more refactoring

70442348a17d80f383df3b7d67e17a0ef15bae9f authored about 17 years ago by Shu Lei <[email protected]>
1. some refacotring

2. fixed a few files so that they will compile for j2me

38dafdb19020f75677d9dcd2fc06af15b12b0e4d authored about 17 years ago by Shu Lei <[email protected]>
refactoring - create new packages: lua.debug.event, lua.debug.request and lua.debug.response

3138fdee655f756376ac9a06f6b691055bc63f38 authored about 17 years ago by Shu Lei <[email protected]>
first step to bring debugging code to j2me

341a5588b05df193337282e4ca9dd98f213a4487 authored about 17 years ago by Shu Lei <[email protected]>
Add math.ceil, math.floor

6970b30c7ad6aa50a3bffa319cf55d1074808113 authored about 17 years ago by James Roseborough <[email protected]>
Add "j2me" ant target.

5a92c52fd5da180a78de7c98136aa1fd074ff9bf authored about 17 years ago by James Roseborough <[email protected]>
Remove dependence on Arrays.binarySearch

6897febc0ac06c5216589d1cb63c19099ab85f9f authored about 17 years ago by James Roseborough <[email protected]>
Turn off debug support by default.

a5745d5da0e828fa5a5694142435e014a2948cf2 authored about 17 years ago by James Roseborough <[email protected]>
Convert to java 1.3 source style and enable all classes to be built using java class version 1.1

710f13dafc5fc191e2dbaa4f9bf67060823cbcb8 authored about 17 years ago by James Roseborough <[email protected]>
make the debugging support code compile under JDK 1.3

8eab291c9bf13b12c016343f0aeb7de683344d46 authored about 17 years ago by Shu Lei <[email protected]>
Convert to 1.1 class file version

edea16fb91bf9584c8b9962c4e3465dfa86b3db9 authored about 17 years ago by James Roseborough <[email protected]>
Fix metatable processing on luaGetTable

435368ccd9b98d62683b3f5971aa82a36092d92f authored about 17 years ago by James Roseborough <[email protected]>
bug fix

1f817c774c7a741156aef3a0db2fcbbf23974553 authored about 17 years ago by Shu Lei <[email protected]>
Fix StrLib test case by fixing pcall to restore currenct call after exceptions

251e055594091054e4a2b6ff1f2be3810e2853ec authored about 17 years ago by James Roseborough <[email protected]>
Convert to new JavaFunction api

0353660299124114463ad4bf7f426f68b6a649d5 authored about 17 years ago by James Roseborough <[email protected]>
Misc fixes to java api

ec9cff9050d1fcb463dee17bebe91db2d7ddc1d0 authored about 17 years ago by James Roseborough <[email protected]>
Add "Java API" like "C API" for use with JavaFunctions.

e4882578f29ec83e2295c75f9ab145393a8d3d13 authored about 17 years ago by James Roseborough <[email protected]>
Convert return value of luaLength to be int

9be13fcc1dea3cdf5dec5d328780524d8815502b authored about 17 years ago by James Roseborough <[email protected]>
removed Type.java and updated the depended files to use the new type constants

a67783899f2bdb47db6fe415deec21111fa2e0e7 authored about 17 years ago by Shu Lei <[email protected]>
Fix reported type of LBoolean

eba4f345051ea452fece465e91efefdbce9bb1ae authored about 17 years ago by James Roseborough <[email protected]>
remove dependence on Type class.

72bfd0a376cf97565e03b492fbb7bcc343ab586b authored about 17 years ago by James Roseborough <[email protected]>
centralize type id defs

8ae429976455f78b948af6596b1ffe6c88c310ac authored about 17 years ago by James Roseborough <[email protected]>
Make LInteger constructor private and use LInteger.valueOf() everywhere, caching common values.

9dee79cb8042874851e68b66461a326d6097aa5d authored about 17 years ago by James Roseborough <[email protected]>
added back the files that were accidentally deleted

885397a74cdbf6cce78ca4acb841bc64e03bae5d authored about 17 years ago by Shu Lei <[email protected]>
added debugging support and integrated with Eclipse debugger

35d02b287efa5c68413cbe0010c433dfb243c652 authored about 17 years ago by Shu Lei <[email protected]>
added debugging support and integrated with Eclipse debugger

421eface4095a9bd8915fbbad7e5e1a5d65a1ff1 authored about 17 years ago by Shu Lei <[email protected]>
Compile code at source version 1.3, and exclude sources that require

more recent java features.

cd5f278e7b6541c2938ce77a6983653fcfa854df authored about 17 years ago by Ian Farmer <[email protected]>
Add gmatch implementation

d65729f1d77e166cdaa7abdc448de4824cf8cdd5 authored about 17 years ago by James Roseborough <[email protected]>
Add a really simple apache ant build script

11c12281b6f7a6fe5a92c1905b03216ed96699f7 authored about 17 years ago by Ian Farmer <[email protected]>
Expose final fields of LString

673d0e411799df3a5e98429b60f96f7d0bc6e76a authored about 17 years ago by James Roseborough <[email protected]>
Add Platform manager

edbe168e4223631b144d5a503ad1db0b1d918aee authored about 17 years ago by James Roseborough <[email protected]>
Various changes to bring pm.lua test closer to passing:

* New and complete character class support
* string.gsub implemented
* rawset implemented
* l...

ec11c472c85db68fe04abd381df4e6136b61c14b authored about 17 years ago by Ian Farmer <[email protected]>
New math.cos and math.sqrt functions from Lua standard library, with new

math library test case. Also, character encoding of LuaCompat was changed
from something that Ecl...

f801e648bb3ee9e0c49958f8d49487e4b1af407c authored about 17 years ago by Ian Farmer <[email protected]>
Now that compiler is integrated, change LuaJTest to load source files when

pre-compiled script is missing.

5536159916b36d4521017aa266313ffb87fb74f4 authored about 17 years ago by Ian Farmer <[email protected]>
Remove compiler dependence on mark()/reset()

9f6d7543cd9c80216257c746351a3d4c9128ae28 authored about 17 years ago by James Roseborough <[email protected]>
Fix autoload

e07382c90ddd589d826cc872a533ad4e1b859a4c authored about 17 years ago by James Roseborough <[email protected]>
Add ipow, to compute power for integers.

e154a158a9f77ef686f99b6aa873980d0fca0650 authored about 17 years ago by James Roseborough <[email protected]>
Add compiler by default.

90cc227e34ee1b967893dc5108ad9a1976836d99 authored about 17 years ago by James Roseborough <[email protected]>
add compiler to vm as add-on

be87758fe56d049d707026bedba3da408d14ff13 authored about 17 years ago by James Roseborough <[email protected]>
Many built-ins: ipairs, table.insert, require, pcall

2db26b0844d62d2990f580e90a9304c53f150aaf authored about 17 years ago by James Roseborough <[email protected]>
Add "require" support.

d45bd96536875f57d9fefd0f808d549779fabd84 authored about 17 years ago by James Roseborough <[email protected]>
Fixes for string.rep, string.byte, string.lower, and string.upper. Also

factor out negative index handling to separate function, posrelat (to
match C Lua). When converti...

fc8c790b0d2342e8762d73d5d4dbc0ed4ef9b494 authored about 17 years ago by Ian Farmer <[email protected]>
Improve error handling, introduce lua stack trace processing.

32e1fedba50b5e543f0e19b528d5de553b6de6e6 authored about 17 years ago by James Roseborough <[email protected]>
Add unit test for LString.toInputStream (meant to commit this a while ago)

a55504639e4a8fe0fa14ff628d4d85e36b3110a3 authored about 17 years ago by Ian Farmer <[email protected]>
String related improvements:

(1) Fix string.char and string.byte (argument indexing was off by one)
(2) Implement string.find
...

bd6dd58a2de9e803d7d08051ae3d8369ac1827f9 authored about 17 years ago by Ian Farmer <[email protected]>
Add pattern matcher implementation ported from C version of Lua. Still

work to do:
(1) Replace use of recursion with while/continue
(2) Remove as many array bounds chec...

534e69fcfbbb0f0d76890a92a082a44bd3c6eb9c authored about 17 years ago by Ian Farmer <[email protected]>
Add missing return statement in autoload test case. Still doesn't work.

108fabc58f7c3fc08240bcf7f832e48ab03105a7 authored about 17 years ago by Ian Farmer <[email protected]>
Add skeleton for string library calls.

952a2f9f1621ff4378757794e34c498f900396b6 authored about 17 years ago by James Roseborough <[email protected]>
Add loadstring and other standard library commands (untested)

5efda81b17e188330c0e9a4c1da614ee857ee0fc authored about 17 years ago by James Roseborough <[email protected]>
Add some helper methods:

(1) getKeys() in LTable is now public. It provides a convenient interface
to access the table...

6d0e9bb566407873d9c749162b5aa3d7ac6621f0 authored about 17 years ago by Ian Farmer <[email protected]>
Fix broken LTable test case.

31e2d9507641da5b717d3d101a326bfa36cfb089 authored about 17 years ago by Ian Farmer <[email protected]>
Change LString to use an array of bytes instead of wrapping Java's String.

This brings our implementation more in line with regular C Lua.

aeafca11b66010851f1f720a245b793991a07482 authored about 17 years ago by Ian Farmer <[email protected]>
Allow metatable operations on values of all types, and use the metatable

on strings as the string package, so that string functions can be called
with self (:) syntax. Au...

aa44eedf4b014ce5d1a0bb9034b20f53c51babfe authored about 17 years ago by Ian Farmer <[email protected]>
Add string.rep and string.sub to LuaCompat add-on. With these implemented,

we get to line 34 of the strings.lua standard test case.

e30646bcf888f977dfe2f23c9b1fdb86008659fc authored about 17 years ago by Ian Farmer <[email protected]>
Fix "factorial" function in test case that was not actually factorial function.

35131f9f6613d52d2873ca32df7c767782f221b4 authored about 17 years ago by Ian Farmer <[email protected]>
Fix a few VM issues which were causing subtle failures in the test cases.

Includes a new VM method, newCall, which must be called before pushing
a call onto the stack to m...

75fb975410c3e30d1cef58c3b3b90a80d5eefd54 authored about 17 years ago by Ian Farmer <[email protected]>
Fix typo and add TODO comment.

0f81c4deaf7bbc50a96bb4628595b76b34467a12 authored about 17 years ago by Ian Farmer <[email protected]>
Fix a bug where "base" was not set correctly for metatable operations.

49bcc0d2f888da5073b21cf406655fec32abe6db authored about 17 years ago by Ian Farmer <[email protected]>
New implementation for Lua tables. Does not use Vector or Hashtable, instead

uses plain Java arrays directly to keep heap allocation to a minimum.
Includes some unit tests th...

b8571b93f9b99e3fe8734b5b5b65701767cf48b2 authored about 17 years ago by Ian Farmer <[email protected]>
Fix breakpoint handling

79d5642bfd89e9d6e8c5c6e2a2d9700161aa1699 authored about 17 years ago by James Roseborough <[email protected]>
Add DebugStackState to be used as a debugging VM in and IDE.

add892968dfce0796e7e9c0afab4e4d9386769ef authored about 17 years ago by James Roseborough <[email protected]>
added the skeleton code for luaJ debugging support

a80351e1ef8c422cddb148a3645e40915c3778b2 authored about 17 years ago by Shu Lei <[email protected]>
Fix gettable result handling in LInstances

64d02d35592fcde5baa6033aba96156484105524 authored about 17 years ago by James Roseborough <[email protected]>
Fix tail call argument handling.

b8376fe0efa0b1e12886fc997d7219b6e33c17fd authored about 17 years ago by James Roseborough <[email protected]>
Fix varargs handling

5fb097d107f68b600378c804e86c21608d1e6acb authored about 17 years ago by James Roseborough <[email protected]>
Let Nil be converted to int, but other values cannot.

80677e9a167e02848490ab69d213c696ac759a74 authored about 17 years ago by James Roseborough <[email protected]>
Let luaAsInt() return sensible values for non-numeric data.

01c5595fd691b0ab9a8dd6e6ca265527d779ffcb authored about 17 years ago by James Roseborough <[email protected]>
Make modulo arithmetic conform to lua rules for negative values.

32dcbaca3a001558004b1e34cfec1b55c7f36730 authored about 17 years ago by James Roseborough <[email protected]>
Various changes:

(1) New lua compatibility bindings, including select() and math functions
(2) fix some VM bugs
(3...

737c5e2855cd4f861e3ae05f5ed67044c8b4b337 authored about 17 years ago by Ian Farmer <[email protected]>
Remove unused variables.

68b3e68169dc7d7115d3d068daba85dbda6c191d authored about 17 years ago by James Roseborough <[email protected]>