summaryrefslogtreecommitdiff
path: root/tests (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-03-14version 3.6.0Benoit Germain3-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
2013-03-13version 3.5.2Benoit Germain4-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
2013-03-12Fixed a little APICHECK issueBenoit Germain1-2/+3
2013-03-12Update lanes.luaBenoit Germain1-2/+6
fix validation of with_timers config option: validator was accepting any non-boolean value
2013-02-20Update READMEBenoit Germain1-1/+5
improve on issue #46.
2013-02-14Fix bad assertion in linda dump utilityBenoit Germain1-2/+8
2013-02-13version 3.5.1v3.5.1Benoit Germain11-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
2013-02-05Fix issue #45Benoit Germain1-1/+1
2013-02-01foward on_state_create error to main state if anyBenoit Germain1-1/+5
2013-01-30version 3.5.0Benoit Germain13-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
2013-01-28* More detailed DEBUG_SPEW logsBenoit Germain6-338/+456
* A bit of code cosmetics
2013-01-26version 3.4.4v3.4.4Benoit Germain7-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
2013-01-24version 3.4.3v3.4.3Benoit Germain11-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
2013-01-14rockspec for version 3.4.2v3.4.2Benoit Germain1-2/+2
2013-01-10new unit test for recursive upvalues transferBenoit Germain1-0/+4