Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Version bump | Benoit Germain | 2022-02-07 | 1 | -1/+1 |
| | |||||
* | A Lane's Lua state uses the Universe-defined allocator by default | Benoit Germain | 2022-02-07 | 1 | -2/+3 |
| | |||||
* | removed explicit calls to malloc/free | Benoit Germain | 2022-02-07 | 4 | -30/+43 |
| | | | | Lane and linda userdata were allocated with malloc/free, preventing embedders from fully controlling memory operations. Now all internal Lanes allocations go through the master state alloc function. | ||||
* | Changed all indentations to all whitespaces | Benoit Germain | 2022-02-07 | 20 | -6567/+6564 |
| | | | | Tabs mess up alignment of stack contents comments, so I'm done with them. | ||||
* | Replace deprecated pthread_yield with sched_yield | SoundBot | 2022-01-19 | 1 | -1/+1 |
| | | | Since glibc 2.34, pthread_yield is nonstandard and marked as deprecated. See: https://man7.org/linux/man-pages/man3/pthread_yield.3.html | ||||
* | fix require() wrapper to return all values returned by original require() | Benoit Germain | 2021-09-22 | 2 | -17/+13 |
| | |||||
* | Merge branch 'master' of https://github.com/LuaLanes/lanes | Benoit Germain | 2021-07-08 | 1 | -0/+1 |
|\ | |||||
| * | Update cancel.c | Benoit Germain | 2021-06-28 | 1 | -0/+1 |
| | | |||||
* | | fix function transfer with lua_dump for Lua 5.4 failing for functions big ↵ | Benoit Germain | 2021-07-08 | 2 | -15/+27 |
|/ | | | | enough to necessitate a buffer reallocation | ||||
* | fix stack overflow when transfering a clonable userdata referencing itself ↵ | Benoit Germain | 2021-06-26 | 3 | -138/+199 |
| | | | | through a uservalue | ||||
* | correctly transfer the uservalue of a deep userdata | Benoit Germain | 2021-06-24 | 10 | -418/+508 |
| | |||||
* | __lanesclone now receives the original as light userdata the first time it ↵ | Benoit Germain | 2021-06-23 | 1 | -4/+6 |
| | | | | is called | ||||
* | changed lanes.threads() output so that several lanes with the same name ↵ | Benoit Germain | 2021-06-16 | 2 | -21/+26 |
| | | | | | | don't clobber each other in the result table In the original implementations, the debug name was used as key, which meant that several lanes using the same name would cause only the oldest non-collected one to be listed in the results. Now the result is an array of tuples. | ||||
* | Merge pull request #190 from eligovision/lanes_lua51_bugfix | Benoit Germain | 2021-06-16 | 1 | -1/+20 |
|\ | | | | | Bug fix for Lua 5.1/LuaJIT: lua_getiuservalue must check if lua_getfe… | ||||
| * | Compat lua_setiuservalue fixed for Lua 5.1 and LuaJIT | valid-ptr | 2021-02-24 | 1 | -1/+6 |
| | | |||||
| * | Bug fix for Lua 5.1/LuaJIT: lua_getiuservalue must check if lua_getfenv ↵ | valid-ptr | 2021-02-15 | 1 | -0/+14 |
| | | | | | | | | returns global environment | ||||
* | | NetBSD support | nia | 2020-10-05 | 2 | -3/+15 |
|/ | | | | | | | | This adds support for NetBSD's flavour of pthreads. There are minor differences in the declaration of the non-portable pthread functions, and sched_yield is provided instead of pthread_yield_np. This allows LuaLanes to build and the test suite to run on NetBSD. | ||||
* | Makefile detect MinGW 64 as well as MinGW 32 | Benoit Germain | 2020-04-22 | 1 | -2/+2 |
| | |||||
* | fix THREAD_SET_AFFINITY always failing | Benoit Germain | 2020-04-22 | 1 | -2/+2 |
| | |||||
* | Lane cancellation rework | Benoit Germain | 2019-04-26 | 7 | -90/+133 |
| | | | | | opt.cancelstep is gone, hook is installed by lane:cancel() if requested lane:cancel() rework (see doc) | ||||
* | Moved cancellation code in separate files | Benoit Germain | 2019-04-22 | 7 | -228/+316 |
| | |||||
* | Fix _GNU_SOURCE redefinition (#171) | Benoit Germain | 2019-04-22 | 1 | -4/+9 |
| | |||||
* | DEBUGSPEW_CODE in cancel_hook | Benoit Germain | 2019-04-20 | 2 | -1/+2 |
| | |||||
* | lane:cancel internal code refactorization | Benoit Germain | 2019-04-19 | 2 | -81/+74 |
| | |||||
* | [*] Hotfix for 64-bit iOS. | Igor Ivanov | 2018-12-20 | 1 | -1/+1 |
| | |||||
* | Fix clonable userdata uservalue transfer | Benoit Germain | 2018-11-30 | 1 | -5/+4 |
| | |||||
* | don't test __lanesignore for POD types (-> slightly faster when trasnfering ↵ | Benoit Germain | 2018-11-30 | 2 | -67/+99 |
| | | | | | | lots of data) + more code refactoring | ||||
* | Split a megafunction in smaller parts | Benoit Germain | 2018-11-28 | 1 | -234/+259 |
| | |||||
* | Lua 5.4 support | Benoit Germain | 2018-11-27 | 7 | -33/+149 |
| | |||||
* | Merge branch 'master' of https://github.com/LuaLanes/lanes | Benoit Germain | 2018-11-27 | 4 | -11/+96 |
|\ | |||||
| * | Threads compilation for Android fixed; Thread can't be killed to date ↵ | valid-ptr | 2018-11-27 | 2 | -1/+19 |
| | | | | | | | | (warning in logcat). | ||||
| * | Trailing whitespaces deleted from lanes.lua | valid-ptr | 2018-11-27 | 1 | -10/+10 |
| | | |||||
| * | Merge pull request #166 from eligovision/lanes_linux_linking | Benoit Germain | 2018-11-26 | 1 | -0/+4 |
| |\ | | | | | | | 'Linking error while embedding Lanes' on Linux fix | ||||
| | * | 'Linking error while embedding Lanes' on Linux fix simplified | Konstantin S. Matveyev | 2018-11-26 | 1 | -4/+2 |
| | | | |||||
| | * | 'Linking error while embedding Lanes' on Linux fix | Konstantin S. Matveyev | 2018-11-26 | 1 | -0/+6 |
| | | | |||||
| * | | Merge pull request #167 from eligovision/lanes_threads_macos | Benoit Germain | 2018-11-26 | 2 | -0/+63 |
| |\ \ | | | | | | | | | Compilation of 'threading.c' fixed for macos | ||||
| | * | | Compilation of 'threading.c' fixed for macos | valid-ptr | 2018-11-26 | 2 | -0/+63 |
| | |/ | |||||
* | / | replace hardcoded "_LOADED" with lua-provided LUA_LOADED_TABLE | Benoit Germain | 2018-11-27 | 2 | -3/+3 |
|/ / | |||||
* / | Lanes version available in public header | Benoit Germain | 2018-11-26 | 3 | -4/+15 |
|/ | |||||
* | User-provided unknown configure option raises an error | Benoit Germain | 2018-11-26 | 1 | -0/+6 |
| | |||||
* | protect_allocator configure option is gone, long live allocator (more ↵ | Benoit Germain | 2018-11-25 | 7 | -90/+147 |
| | | | | embedders-friendly) | ||||
* | finish registry access revamp | Benoit Germain | 2018-11-23 | 2 | -36/+28 |
| | |||||
* | Fix a buffer overrun | Benoit Germain | 2018-11-23 | 1 | -1/+1 |
| | |||||
* | Raise an error instead of crashing when attempting to transfer a non-deep ↵ | Benoit Germain | 2018-11-23 | 1 | -1/+8 |
| | | | | full userdata | ||||
* | More DEBUGSPEW logging | Benoit Germain | 2018-11-21 | 2 | -35/+92 |
| | |||||
* | Fix build errors | Benoit Germain | 2018-11-19 | 2 | -1/+2 |
| | |||||
* | Internal code tweaks | Benoit Germain | 2018-11-19 | 9 | -158/+202 |
| | | | | | | * Registry access code utility macros * CONFIG_REGKEY and LOOKUP_REGKEY are now lightuserdata instead of strings * Stack checking debug macros improvements | ||||
* | Deep userdata must embed DeepPrelude to save an allocation (also changes ↵ | Benoit Germain | 2018-11-15 | 6 | -51/+42 |
| | | | | Deep protocol) | ||||
* | split linda code in a separate file | Benoit Germain | 2018-11-15 | 4 | -1012/+1055 |
| | |||||
* | fix a bunch of compilation warnings (issue #157) | Benoit Germain | 2018-11-11 | 7 | -82/+88 |
| |