summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* updated rockspec for version 3.6.0v3.6.0Benoit Germain2013-03-141-2/+2
|
* version 3.6.0Benoit Germain2013-03-143-14/+20
| | | | | * protect_allocator is an API change -> version bump * bugfix: allocator protection should be done once per primary Lua state, not once only the first time ever Lanes is required
* version 3.5.2Benoit Germain2013-03-134-231/+275
| | | | | | * stricter validation of with_timers config option: validator was accepting any non-boolean value * new configuration option protect_allocator for VMs with thread unsafe allocators (such as LuaJIT) * removed some obsolete bits of dead code
* Fixed a little APICHECK issueBenoit Germain2013-03-121-2/+3
|
* Update lanes.luaBenoit Germain2013-03-121-2/+6
| | | fix validation of with_timers config option: validator was accepting any non-boolean value
* Update READMEBenoit Germain2013-02-201-1/+5
| | | improve on issue #46.
* Fix bad assertion in linda dump utilityBenoit Germain2013-02-141-2/+8
|
* version 3.5.1v3.5.1Benoit Germain2013-02-1311-67/+263
| | | | | | | * new lanes.h header and API call luaopen_lanes_embedded() for embedders * "lanes.core" is an acceptable library in the generator libs argument * library "*" wildcard also opens lanes.core * tweaked code for Xbox 360 build
* Fix issue #45Benoit Germain2013-02-051-1/+1
|
* foward on_state_create error to main state if anyBenoit Germain2013-02-011-1/+5
|
* version 3.5.0Benoit Germain2013-01-3013-278/+421
| | | | | | | | | | | | | | * new: API lanes.require(), use it instead of regular require() for modules that export C functions you need to send over. * new: lanes no longer require 'lanes.core' by default in every created state. Use {required={"lanes.core"}} if you need to transfer lanes functions. * internal: because of the above, reworked the timer implementation to remove upvalue-dependency on lanes.core * new: API lanes.timer_lane, to be able to operate on timer lane if need be * improved: if a module is a full userdata, scan its metatable for function database population * improved: on_state_create can be a Lua function * changed: on_state_create is called after the base libraries are loaded * package[loaders|searchers] is no longer transfered as function naming depends on slot order * internal: changed separator from '.' to '/' in lookup databases to be able to distinguish search levels and dot coming from module names * added some mode debug spew * updated tests to reflect the above changes
* * More detailed DEBUG_SPEW logsBenoit Germain2013-01-286-338/+456
| | | | * A bit of code cosmetics
* 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
|