Ecosyste.ms: OpenCollective

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

github.com/FiguraMC/luaj


https://github.com/FiguraMC/luaj

Add unit test for weak tables.

720c6027d686310cc0e585239a339bbcbcdfce06 authored over 16 years ago by James Roseborough <[email protected]>
Add constructor with metatable.

6e333f956754ecca866836871188dfa52e7b9d67 authored over 16 years ago by James Roseborough <[email protected]>
Bump version post-public release.

e13eb1a2ee13467a227a4b2f471291beeeb9233a authored over 16 years ago by James Roseborough <[email protected]>
Up to version 0.24, add "dist" ant target to create a distribution.

73324845bf2a6ee05fa5cf3cb5902ae221ee1688 authored over 16 years ago by James Roseborough <[email protected]>
Add LTable.put(String,int) utility function

727f8725d29e9355a86414751a97268c970e3ef7 authored over 16 years ago by James Roseborough <[email protected]>
Fix sorting with custom comparator, and add unit tests to regress

35ed9dca3cb05c210409d789de3a983defcc5f1b authored over 16 years ago by James Roseborough <[email protected]>
Bump version to 22

faaee456adb7045c53918f51413f92e14fd0f4dc authored over 16 years ago by James Roseborough <[email protected]>
Revert to 1.4 style usage

c0b26d89c30f887537e71579a04c7474f8fa25ad authored over 16 years ago by James Roseborough <[email protected]>
Let Platform.DEBUG_CLASS_NAME be public and mutable.

68eb650ab974e2d997e8874127932e470f2f6dac authored over 16 years ago by James Roseborough <[email protected]>
performance improvement:

public void func() {
synchronized(this) {
...
}
}

is less efficient than

public s...

c170cd3fa0c47c25cf268154fda5878127a84983 authored over 16 years ago by Shu Lei <[email protected]>
Change LuaC to read bytes instead of chars.

This fixes some of the test cases by avoiding a lossy round-trip conversion
from bytes presumed ...

1672e73c403ead7d0c554e9e0fa617e5173bf8a0 authored over 16 years ago by Ian Farmer <[email protected]>
Fix for case when more than 127 local variables are declared in one function

9c4bbf670fbe7a35e61ea4f626a5098e2e638275 authored over 16 years ago by James Roseborough <[email protected]>
Fix the bug in the CLOSE instruction that was causing upvalues3.lua to fail.

cd760d6ec8516981e950b60880b26ee43e0d601f authored over 16 years ago by Ian Farmer <[email protected]>
New failing test case involving do/end blocks and upvalues.

cb6ce20dde44a04ce91536e4084d12d43f77becc authored over 16 years ago by Ian Farmer <[email protected]>
Add version.properties to track version number of the build.

1eb969f84d76e972195c3edd518db2b5864f29a1 authored over 16 years ago by James Roseborough <[email protected]>
Fix for table initializers greater than 50 elements.

7679040493257bf71ad9738ae60b0d9b1d39966d authored over 16 years ago by James Roseborough <[email protected]>
Bump versino to 0.17

f87f77e327d7e46eac815d6fa2a0c58236b15fb5 authored over 16 years ago by James Roseborough <[email protected]>
Add test case with many local variables.

8e06d7aff9cf14fde6a16e4c36cf4b637da57422 authored over 16 years ago by James Roseborough <[email protected]>
Add test for huge, sparse table initialization

e126010a363fd7618e0a4ad3daaed031da71c744 authored over 16 years ago by James Roseborough <[email protected]>
Revert changes to getglobal() setglobal()

78bb849c080456c01a50e4ae624911e46a5fecad authored over 16 years ago by James Roseborough <[email protected]>
Fix LuaState.getglobal() and LuaState.setglobal() to use the currently closure's environment.

bc5dd60a1aa63a86cbbb094c6049b7698b01576d authored over 16 years ago by James Roseborough <[email protected]>
Fix bugs in LTable.

Two issues:
(1) When resizing, clearSlot() needs to be used to correctly move
affected hash entr...

527ca6545d6863b45ce09a86cd757a0fbfcb513b authored over 16 years ago by Ian Farmer <[email protected]>
Fix a bug with table resizing. Includes junit test case.

4fa417bdd9d0737a413b8aa3369e9cb374a192ce authored over 16 years ago by Ian Farmer <[email protected]>
Fix environment propogation from function to function.

f55a393fb84babe89446a7a899adb639f26cef7b authored almost 17 years ago by James Roseborough <[email protected]>
Fix the bug where the wrong file/line# is reported on attempts to index nil.

32d5e9c15e3427005ce338cdaa88c69823df2b2c authored almost 17 years ago by Ian Farmer <[email protected]>
Fix error reporting in LValue.luaBinOpUnknown.

Since this method always fails with an error message, it should report its
own type, rather than...

08f4a025290ef0d0e673e4b88aa8c83342bdfe64 authored almost 17 years ago by Ian Farmer <[email protected]>
Fix incorrect comparison in checkstack() when stack is one element too small.

4e239b6c465cfed405ee868c4440979fbdfb14c8 authored almost 17 years ago by Ian Farmer <[email protected]>
Add new test case for stack handling.

1cddbe97a256eaea262a345e4eb6f454bc23ae9b authored almost 17 years ago by Ian Farmer <[email protected]>
Make utf-8 conversion more robust to bad input.

8570761928d996713f7fceb0a61a161b09914ec1 authored almost 17 years ago by James Roseborough <[email protected]>
Fix equality test for userdata. Includes improved test7.lua.

2461b469086f64b4d11c04e51e8b2d1967438d1d authored almost 17 years ago by Ian Farmer <[email protected]>
Changes made for the following:

1) Platform.java stays as abstract class with, but default implementation is removed. Stays in or...

9f9f31b969a1fb0f2ed3e68e9c07c4799be31d74 authored almost 17 years ago by Shu Lei <[email protected]>
Add tests for argument type checking on standard library functions.

bcf7dd1c666ddc5664f7e0f0b61f22a02a12458d authored almost 17 years ago by James Roseborough <[email protected]>
1. code clean and added documentation for debugging protocol

2. upgrade to version 0.14 since I trimmed the debug message types

407d83058249ef9b1603d6650d4ec4a8c97a2668 authored almost 17 years ago by Shu Lei <[email protected]>
More tests for module.

d80e29a1fff71e23be2450a543b1ea8969c07b31 authored almost 17 years ago by James Roseborough <[email protected]>
1. bug fix: reset the VM when EOF occurs, which indicates that debug client or debug service exit abnormally

2. make LUA_PATH a system property instead of a command line option to StandardLuaJVM

5612201e43cc9e93e7a6a7eb67ba84c1e9c85c6d authored almost 17 years ago by Shu Lei <[email protected]>
fix the NPE. When the vm cannot connect to the debug client/service, it would not create the redirectOutputStream. Hence, no need to call redirectOutputStream.close() and BaseLib.restoreStandardOutput.

976c40503356d257451964f3f81fa8b9dee31b78 authored almost 17 years ago by Shu Lei <[email protected]>
Add simple loadstring test.

9d728af4a64d3d4afc2c6792ee010152b09a2837 authored almost 17 years ago by James Roseborough <[email protected]>
quote results.

78b231353fd5a42d0a39de9183b74af675974488 authored almost 17 years ago by James Roseborough <[email protected]>
More test cases for string.sub()

b8b65767b55a3ec2017e064ff3fc5fe89076ac96 authored almost 17 years ago by James Roseborough <[email protected]>
Correctly remove values stored in the array-part of a table.

60cc93d64cb3ff8ed6cd95177f354495b75f4626 authored almost 17 years ago by Ian Farmer <[email protected]>
Fix math.pow() for custom platforms.

eef737fde12a18ca043aec9a654a17f3a3e3ab1c authored almost 17 years ago by James Roseborough <[email protected]>
Implement math.pow() for all platforms, add unit tests for basic math operations.

6569563ddc180198e8bb6fed9fa6d05fe1810f80 authored almost 17 years ago by James Roseborough <[email protected]>
1. added a shutdown method for LuaState and DebugLuaState to clean up before shutting down

2. added the capability to set LUA_PATH
3. minor debugging improvement
4. bump up the version to ...

42b94709f0c7c8964b381b0e25ffd2ee7c0b0082 authored almost 17 years ago by Shu Lei <[email protected]>
Implement foreach(), foreachi()

ab8fc4883ee11500de474b186ee86efc5ddeccc0 authored almost 17 years ago by James Roseborough <[email protected]>
Add math.random() and math.randomseed()

1923d8e6a00d455cba96b8d33ee9a2c460c77ae6 authored almost 17 years ago by James Roseborough <[email protected]>
Correct javadoc

215134feb530365a62fd78513be3c491a2a3b005 authored almost 17 years ago by James Roseborough <[email protected]>
Add table.getn() for compatibility

0f3fe0452d899d4e00046dae53d3705ea990cccf authored almost 17 years ago by James Roseborough <[email protected]>
simplify the debug protocol - no more ACK to debug client for resume, stepInto, stepOver and stepReturn

97065646479fd633c5281c2abacb4d2fd91f1ad3 authored almost 17 years ago by Shu Lei <[email protected]>
1. added J2sePlatform for StandardLuaJVM to use J2SE DebugNetSupportImpl

f19fa165b9e62991e749653c76c80afcd170819c authored almost 17 years ago by Shu Lei <[email protected]>
Add test cases for loadfile, dofile on bad filenames.

9cf85debadce8f2fa9973fac2d608311e53d3dc4 authored almost 17 years ago by James Roseborough <[email protected]>
Merge STDOUT and stdout

66e78f6980751bb2dcee2613021864b485aa8d8c authored almost 17 years ago by James Roseborough <[email protected]>
missed the file when I upgrade to version 0.11

23710a89941438c49e1c7f4d173894ec473919d2 authored almost 17 years ago by Shu Lei <[email protected]>
fix setmetatable() to match C version

d7c15f99a12f58a3dfa6bcb4238a08c636342bdf authored almost 17 years ago by James Roseborough <[email protected]>
Send test error output to System.err

dc08fcbec28cc1f2353c81a6c82387b37e75703b authored almost 17 years ago by James Roseborough <[email protected]>
Fix for loop processing, add vmerror()

e8e1aaf892b21c988096b29c7d8fd1611336ed64 authored almost 17 years ago by James Roseborough <[email protected]>
Add PackageLib.setLuaPath() utility method.

6871903303b05a3ef61f19e2a5c7cb9eb3b56682 authored almost 17 years ago by James Roseborough <[email protected]>
Add PackageLib.setLuaPath() utility method.

2ee0a1eeed69ab1783cdcad0367989217341b891 authored almost 17 years ago by James Roseborough <[email protected]>
remove compiled versions of test files

edd8bc33eaf099ffa527344683fbc66549aed269 authored almost 17 years ago by James Roseborough <[email protected]>
Added 'loops' test case.

This script tests the generic for loop using a Lua closure as the iterator
function, which is cu...

a6f46413c0cf18819693488385ed82bdac8cf998 authored almost 17 years ago by Ian Farmer <[email protected]>
Improve error reporting.

644896c46755d9c16c6aa4fcdc02cd1740a9683d authored almost 17 years ago by James Roseborough <[email protected]>
Improve testing around require() features.

8f581c8f07acdd98ba0a90e0f5a1ad278b9fcf51 authored almost 17 years ago by James Roseborough <[email protected]>
Implement require() using package.loaders, etc. add preload_loader, lua_loader, and java_loader.

7db4d54d50d12ae6124bd0f763a944f222020607 authored almost 17 years ago by James Roseborough <[email protected]>
added getDebugHost() and getDebugPort() methods to Platform for convenience

3c05880012738e0892c0672ee4d6c700c50da7dc authored almost 17 years ago by Shu Lei <[email protected]>
minor refactoring

9fd34436fe34b7e813393ac450cc7900598fec92 authored almost 17 years ago by Shu Lei <[email protected]>
continuation of previous work to add factory method to create LuaState or DebugLuaState dynamically, refactored DebugSupport so that Platform.getInstance().getDebugSupport() does not depend on debug module

ca721124e1bc576bd441a8747b1ec191a3c4eb29 authored almost 17 years ago by Shu Lei <[email protected]>
added a factory method to LuaState to dynamically create LuaState or DebugLuaState depending on the presence of the platform debug properties

96864694de877d5d26343ef9217688c33d15f758 authored almost 17 years ago by Shu Lei <[email protected]>
Add test scripts for require()

0db9925ee9a1209f2e797e76906a7c1989fc8557 authored almost 17 years ago by James Roseborough <[email protected]>
bug fix

d7e0aeaac55333a7150f6680685ea4fbe0e64907 authored almost 17 years ago by Shu Lei <[email protected]>
update the unit test to reflect to new StandardLuaVM run() behavior

89e4f9cc027692ce9a8160cfe0ee7b9b432be921 authored almost 17 years ago by Shu Lei <[email protected]>
1. completed j2me debugging support

2. refactored DebugEvents and DebugRequests

fd9b9b51c3f9b7043d4872c2c36108a3db84c19a authored almost 17 years ago by Shu Lei <[email protected]>
Replace middle dot with period in elipses

c57969bc77a1be8e8f4b7dc0736371d8025e9666 authored almost 17 years ago by James Roseborough <[email protected]>
Throw lua error when attempting table access on a non-table value.

14007944a1b1e7f42a1181b468934d8b42c7a8ef authored almost 17 years ago by James Roseborough <[email protected]>
Initial implementation of module, package.seeall

b493230edb8356bb41641261cf35bf1d02479a13 authored almost 17 years ago by James Roseborough <[email protected]>
Change upvalues to point to the LuaState instead of directly to the stack.

This change has two benefits:
* Reference to LuaState's stack does not need to be adjusted when...

62cda2bc490498ffbad795f3fbc0487dbe39eef0 authored almost 17 years ago by Ian Farmer <[email protected]>
1. updated the code to use LuaErrorException and removed VMException

2. refactored debugging network communication layer

9f7b675220d236f6d96878e9bd8e961fd1a5a381 authored almost 17 years ago by Shu Lei <[email protected]>
1. changed to use LuaErrorException and removed VMException

2. refactored the debug network communication layer

6c9d02b3a340114ff21b87a9b14cb3d991f90da5 authored almost 17 years ago by Shu Lei <[email protected]>
Fix next()

62a35102728ed0de1b8c48aa20ecac5a0a2629f3 authored almost 17 years ago by James Roseborough <[email protected]>
Add a string.gmatch call to strlib.lua test case and fix the bug it exposed.

ad5e776dc96c43b8b853021f74f66b598ac4b3bc authored almost 17 years ago by Ian Farmer <[email protected]>
Clear stack before any lua call.

0d1aed5b5aece93957a6145239ef982cb747e378 authored almost 17 years ago by James Roseborough <[email protected]>
Fixes to rawset, rawget, collectgarbage

3331abeb1dba273ad5a01ef16b2ef26fc5cea007 authored almost 17 years ago by James Roseborough <[email protected]>
tests for tostring, tonumber

f2867eee0db9b4ec5a0662de1381c81c975e6c76 authored almost 17 years ago by James Roseborough <[email protected]>
Fix tonumber()

d2b58a3abffb52c1d1a007ade443eab360d557e0 authored almost 17 years ago by James Roseborough <[email protected]>
Replace settop(0) with resettop()

45f483f706e4dc085422f0aba5aef319bb766cc1 authored almost 17 years ago by James Roseborough <[email protected]>
Fixes to unpack

d7ae4a809c403dc2442b107ac533994571d5d078 authored almost 17 years ago by James Roseborough <[email protected]>
Fix thread constructor so upvalues setfenv work correctly

ecacbfde9234cd367aa533d1be6123af80f4f3a9 authored almost 17 years ago by James Roseborough <[email protected]>
Add unit tests for part of base library plus fixes to [gs]etfenv, [gs]etmetatable

eef469c7152fcd1ea1f9f1ae5d3985430782b866 authored almost 17 years ago by James Roseborough <[email protected]>
added remote debugging support

31abaacec1cc517fc2b034b6f4502d1127da5fd8 authored almost 17 years ago by Shu Lei <[email protected]>
Make compile for j2me

549c35aa591c3fc0af6635a674387b8d4abd00f5 authored almost 17 years ago by James Roseborough <[email protected]>
Introduce LuaErrorException which is thrown and caught when a lua error() needs to be processed.

abad119a5ceae566f24e16b1bc284964334c3a87 authored almost 17 years ago by James Roseborough <[email protected]>
Bullet-proof dynamic stack size

7e22487624a699a0d8e530125eda7adda2c48c78 authored almost 17 years ago by James Roseborough <[email protected]>
Fix getmetatable

1726350d937457d57810893e607b91cb948d2cc0 authored almost 17 years ago by James Roseborough <[email protected]>
1. updated DebugSupport to use one port for two-way communication

2. added a command line debug option to pause the VM on start
3. minor code clean up - replaced t...

7ddfb8011645d605180fbf4c75061400e4fefb17 authored almost 17 years ago by Shu Lei <[email protected]>
Make compiler optional

a68fcb6743d763ff645aaa74c7b69454d08cb2ed authored almost 17 years ago by James Roseborough <[email protected]>
Split libraries into pieces.

2023ac3464f26f61fd04123ac4679ae01a59e7ea authored almost 17 years ago by James Roseborough <[email protected]>
added some java doc and clean the code formatting

4acaa118459158952d3ff3e0509fc424658e4e81 authored almost 17 years ago by Shu Lei <[email protected]>
renamed DebugStackState to DebugLuaState

af51bf6f0787a29db2dd349b6f4b4a6e5f97230f authored almost 17 years ago by Shu Lei <[email protected]>
re-apply my last two check-ins before the code structure refactoring:

(1) added getGlobals to returns the globals for Globals view in Eclipse
(2) fixed the scoping iss...

25c008dab6b8bccd86a0393f6aaca0f32925a4bc authored almost 17 years ago by Shu Lei <[email protected]>
Major refactoring of package names, class names

ff66779330d0ccbf2dbf9378d2291c7b20201531 authored almost 17 years ago by James Roseborough <[email protected]>
fix the scoping problem: variables in an outer scope were not included in the stack

2281d056ecf5f954dcc6f99a24fc90ce9f694757 authored almost 17 years ago by Shu Lei <[email protected]>
1. renamed DebugResponseStack to DebugResponseVariables

2. added getGlobal to DebugStackState for supporting the Globals view
3. converted tabs to 4 whit...

3bf2fc295888ea83ce280e951aebefc345352315 authored almost 17 years ago by Shu Lei <[email protected]>