aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* version 3.4.4v3.4.4Benoit Germain2013-01-267-109/+180
| | | | | | | | * bugfix: take into account the fact that "coroutine" is no longer part of base library in Lua 5.2 * bugfix: if "bit32" was listed in the libraries, it wouldn't open (library list parsing failing on digits) * bugfix: Use luaL_requiref() to open standard libraries in Lua 5.2 as we should * bugfix: any Lua state created by Lanes reuses the allocator function of the originating state * bugfix: don't call on_state_create() while GC is suspended during lua state initialization
* version 3.4.3v3.4.3Benoit Germain2013-01-2411-314/+489
| | | | | | | | | | | * raise an error if lane generator libs specification contains a lib more than once * bit32 is a valid lib name in the libs specification (silently ignored by the Lua 5.1 build) * improved lanes.nameof to search inside table- and userdata- metatables for an object's name * fixed an unwarranted error when trying to discover a function name upon a failed transfer * contents of package.[path,cpath,preload,loaders|searchers] are pulled *only once* inside keeper states at initialisation * Lua function upvalues equal to the global environment aren't copied by value, but bound to the destination's global environment especially useful for Lua 5.2 _ENV * fixed loading of base libraries that didn't create the global tables when built for Lua 5.2
* rockspec for version 3.4.2v3.4.2Benoit Germain2013-01-141-2/+2
|
* new unit test for recursive upvalues transferBenoit Germain2013-01-101-0/+4
|
* Create rupval.luaBenoit Germain2013-01-101-0/+25
|
* Update CHANGESBenoit Germain2013-01-101-0/+5
|
* Update docs/index.htmlBenoit Germain2013-01-101-1/+4
|
* minor version bumpBenoit Germain2013-01-101-1/+1
|
* Enable transfer of recursive upvalued functionsBenoit Germain2013-01-101-68/+55
| | | Removed a limitation preventing Lua functions with indirect recursive upvalue references from being transferable.
* Don't pull "package" settings in the timer laneBenoit Germain2013-01-101-1/+1
| | | Fixes an error when requiring lanes with active timers after having required "luarocks.loader" (issue #42).
* Added some upvalues inter-copy debug codeBenoit Germain2013-01-091-21/+28
|
* Update READMEBenoit Germain2013-01-071-3/+2
|
* updating rockspecv3.4.1Benoit Germain2012-12-211-2/+2
|
* Update tests/basic.luaBenoit Germain2012-12-171-0/+1
|
* Update tests/timer.luaBenoit Germain2012-12-171-0/+9
|
* Update docs/index.htmlBenoit Germain2012-12-171-5/+2
|
* threads() raises an error if tracking is disabledBenoit Germain2012-12-171-1/+1
|
* Fixed lane tracking featureBenoit Germain2012-12-171-64/+128
|
* lanes.threads(): documentationBenoit Germain2012-12-141-1/+35
|
* lanes.threads(): public APIBenoit Germain2012-12-141-2/+7
|
* lanes.threads(): core implementationBenoit Germain2012-12-141-31/+112
|
* Fix lanes.timers()Benoit Germain2012-12-141-1/+2
|
* Update documentationBenoit Germain2012-12-121-1/+11
|
* Update CHANGESBenoit Germain2012-12-121-0/+4
|
* Copyright notice updateBenoit Germain2012-12-121-1/+1
|
* Copyright notice updateBenoit Germain2012-12-121-1/+2
|
* minor version bumpBenoit Germain2012-12-121-2/+3
|
* New API lanes.timers()Benoit Germain2012-12-121-12/+42
|
* Update CHANGESBenoit Germain2012-12-031-0/+4
|
* fix issue #40Benoit Germain2012-12-031-3/+3
| | | linda:send() and linda:receive() no longer trigger string->number autocoercion when checking for the optional timeout argument: a string is always a linda slot, even if coercible.
* Update CHANGESBenoit Germain2012-11-271-1/+5
|
* Same selfdestruct chain handling on all platformsBenoit Germain2012-11-271-1/+1
|
* Use prctl when pthread_setname_np isn't availableBenoit Germain2012-11-271-1/+18
|
* Update CHANGESBenoit Germain2012-11-221-0/+3
|
* fix issue #39Benoit Germain2012-11-221-10/+39
| | | linda:set() no longer clears the storage limit.
* fix application shutdown crash by not registering anything with atexit()v3.4.0Benoit Germain2012-11-214-4/+23
|
* rockspec for version 2.4.0Benoit Germain2012-11-212-57/+15
|
* Separated public "deep" API declarations in a dedicated header.Benoit Germain2012-11-183-17/+38
|
* Raise an error on multiple-named functions.Benoit Germain2012-10-251-43/+41
| | | | | | | | | | | | | Lua 5.2 introduced a hash randomizer seed which causes table iteration to yield a different key order on different VMs even when the tables are populated the exact same way. When Lua is built with compatibility options (such as LUA_COMPAT_ALL), this causes several base libraries to register functions under multiple names. This, with the randomizer, can cause the first name of a function to be different on different VMs, which breaks function transfer. This means that Lua 5.2 must be built with compatibility off to be able to use Lanes. Even under Lua 5.1, this may cause trouble (even if this would be much less frequent) Unfortunately, this fails with string.gfind/string.gmatch when Lua 5.1 is built with LUA_COMPAT_GFIND (which is the case of LuaBinaries), so for the time being, fail only for Lua 5.2 as the randomizer is the real show breaker here.
* Lua version sanity checkBenoit Germain2012-10-231-3/+14
|
* Fixed the fix...Benoit Germain2012-10-231-1/+1
|
* Fixed thread name retrieval in main state.Benoit Germain2012-10-231-2/+7
|
* More informative messages on failed transfers.Benoit Germain2012-10-231-4/+7
|
* Always set "decoda_name" global in a new Lane.Benoit Germain2012-10-231-0/+4
|
* Fixed a comment to match the codeBenoit Germain2012-10-231-1/+1
|
* build fixesBenoit Germain2012-10-202-18/+19
|
* Commented out some obsolete code in CMakeListsBenoit Germain2012-10-201-11/+11
|
* version 3.4.0Benoit Germain2012-09-2616-925/+1253
| | | | | | | | | | * new method linda:dump() that outputs the full contents of a linda as a table, also linked to __towatch for Decoda support * linda:receive() API change! * instead of [val, key], linda:receive( timeout, key) returns [key, val] * instead of [val, [...]], linda:receive( timeout, linda.batched key) returns [key, val[, ...]] this is to unify the return values of regular and batched mode, and to be able to tell when batched mode is interrupted by a lane cancellation * fixed Lua 5.2 build to take into account the "loaders"->"searchers" name change in 'package' module. * a bit of html cleanup and added some infos in the documentation regarding the Lanes internals
* removed fixed BUGS entriesv3.3.0benoit-germain2012-09-141-71/+0
|
* minor internal changesBenoit Germain2012-09-134-77/+91
| | | | | | * implemented set_debug_threadname() for pthread builds where possible * refactored linda __tostring and __concat * linda metatable's __metatable is a string instead of a boolean