aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed missing extern variable declarations resulting in multiple variable ↵Benoit Germain2013-11-061-2/+2
| | | | instances
* Fix a compilation warning about an uninitialized variable (but this is harmless)Benoit Germain2013-11-061-0/+1
|
* Fix an unitialized variable usageBenoit Germain2013-11-061-0/+1
|
* Fix lanes.nameof() crashing when encountering a light userdataBenoit Germain2013-11-041-12/+20
|
* Fix windows build for WINVER > 0x400Benoit Germain2013-10-251-1/+1
|
* Remove inclusion of stdint.hBenoit Germain2013-10-251-1/+0
|
* Don't call on_state_create in keeper states, as it is no longer necessaryBenoit Germain2013-10-251-18/+11
|
* Fix windows build not exporting public 'deep' APIBenoit Germain2013-10-251-4/+10
|
* errors inside finalizers generate a full stack just like any other errorBenoit Germain2013-10-221-72/+88
|
* version 3.7.0Benoit Germain2013-10-118-198/+288
| | | | | | | | | | | | * fix lanes.threads() not being available in a lane where lanes.configure() settings didn't contain track_lanes although the initial configure() call did. * require "lanes".configure() sequence is only necessary at the first require "lanes". * fix a crash at application shutdown where in some situations we could deinitialize the protected allocator mutex while a lane was still using it. * fix timers broken by change 69
* fix a crash at application shutdown where in some situations we could ↵Benoit Germain2013-10-081-20/+45
| | | | deinitialize the protected allocator mutex while a lane was still using it.
* Fix broken timersBenoit Germain2013-10-041-0/+1
|
* Reorder things a tiny weeny bit in lanes.core.configure()Benoit Germain2013-10-041-10/+8
|
* bugfix: no longer create a global named "lanes.core" inside lanes when libs ↵Benoit Germain2013-10-031-17/+11
| | | | list is "*"
* GCC compilation error fixv3.6.6Benoit Germain2013-10-021-4/+4
|
* Delete lanes-keeper.luaBenoit Germain2013-10-011-304/+0
|
* Fix crash when a module is a simple C function (issue #59)Benoit Germain2013-09-301-15/+34
|
* version 3.6.6Benoit Germain2013-09-274-85/+64
| | | | | | | | no longer call core.configure with dummy params when requiring lanes more than once (fixes potential multithreading issues with LuaJIT allocator) activated EnableCrashingOnCrashes() Win32 debug builds fixed some comments in code
* Reduce memory footprint, simplify module order setup in conjuction with ↵Benoit Germain2013-09-265-333/+258
| | | | | | | | | | | | Lanes, and send over native functions a bit faster as well * Lanes no longer has to internally require modules inside the keeper states because they no longer need a lookup database. the lookup name is stored as-is and actually converted in the destination state * optimisation: bypass cache when sending native functions over * removed all the KEEPER_MODEL_LUA code, as it can no longer work anyway
* Fix application hang at shutdownBenoit Germain2013-09-241-2/+2
|
* version 3.6.3v3.6.3Benoit Germain2013-08-134-109/+229
| | | | | | | | * lane:cancel(<negative-timeout>) only causes cancel_test() to return true but won't interrupt execution of the lane during linda operations * more explicit errors when trying to transfer unknown source functions (with new configure option verbose_errors) * default options wrap allocator around a mutex when run by LuaJIT
* wrap LuaJIT memory allocator in a critical section by defaultBenoit Germain2013-07-221-1/+10
|
* Ditch PulseEvent usage on WIN32 buildsBenoit Germain2013-07-202-70/+97
|
* version 3.6.2Benoit Germain2013-05-203-9/+88
| | | | | * WIN32 builds use condition variables instead of PulseEvent() when available. * first steps toward fixing make-vc.cmd
* remove 2 weird characters in commentsBenoit Germain2013-05-201-2/+2
|
* ignore .o files and derived lanes directoryNorman Ramsey2013-04-181-0/+2
|
* Building Lanes doesn't need lua.exeBenoit Germain2013-04-081-7/+3
|
* Fix MinGW compiler warnings-as-errorsBenoit Germain2013-04-081-6/+7
|
* Bumped version to 3.6.1Benoit Germain2013-04-051-1/+1
|
* Removed LUA_COMPAT_ALL-less Lua5.2 restrictionBenoit Germain2013-04-051-41/+57
|
* Added lua_lessthan to 5.2 build retrocompatibilityBenoit Germain2013-04-051-0/+1
|
* Fix issue #50Benoit Germain2013-04-051-2/+2
| | | When building with Visual Studio, a function call with too many parameters warrants only a warning...
* version 3.6.0Benoit Germain2013-03-141-13/+14
| | | | | * 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-132-227/+252
| | | | | | * 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
* Fix bad assertion in linda dump utilityBenoit Germain2013-02-141-2/+8
|
* version 3.5.1v3.5.1Benoit Germain2013-02-138-61/+190
| | | | | | | * 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-306-265/+306
| | | | | | | | | | | | | | * 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-285-338/+452
| | | | * A bit of code cosmetics
* version 3.4.4v3.4.4Benoit Germain2013-01-264-88/+98
| | | | | | | | * 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-246-289/+428
| | | | | | | | | | | * 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
* 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
|
* threads() raises an error if tracking is disabledBenoit Germain2012-12-171-1/+1
|
* Fixed lane tracking featureBenoit Germain2012-12-171-64/+128
|