aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Finalize version 3.16.2v3.16.2Benoit Germain2023-08-175-5/+9
|
* Merge pull request #219 from Mitalie/fix-linux-crashBenoit Germain2023-08-171-4/+4
|\ | | | | Prevent crash on linux as non-root
| * Prevent crash on linux as non-rootAnssi Mäkinen2023-08-171-4/+4
|/ | | | Fixes #218
* Minor tweaksv3.16.1Benoit Germain2023-08-168-16/+13
|
* new .internal_allocator configuration IUNTESTED)Benoit Germain2023-08-0913-62/+83
| | | | new configuration option .internal_allocator to help LuaJIT users. THIS IS YET UNTESTED, USE AT YOUR OWN RISKS.
* tweaks to linux thread priority managementBenoit Germain2023-07-284-102/+122
|
* Update comparison.htmlBenoit Germain2023-07-281-2/+2
|
* moonjit supportBenoit Germain2022-03-0912-75/+177
|
* Merge pull request #209 from jlainema/patch-1Benoit Germain2022-03-041-1/+1
|\ | | | | Update lanes-3.16.0-0.rockspec
| * Update lanes-3.16.0-0.rockspecjlainema2022-03-031-1/+1
|/ | | does not install from the rockspec without using git for url format
* Merge pull request #208 from eligovision/lanes_lanesclone3args_fixv3.16.0Benoit Germain2022-03-011-4/+4
|\ | | | | Bug in __lanesclone with 3 parameters mechanism fixed (index was wron…
| * Bug in __lanesclone with 3 parameters mechanism fixed (index was wrong in ↵valid-ptr2022-03-011-4/+4
|/ | | | inter_copy_function); Some comments improved
* deep_test tweaksBenoit Germain2022-02-273-13/+186
|
* Make allocator threadsafe by default when running LuaJIT, because LuaJIT ↵Benoit Germain2022-02-215-21/+25
| | | | allocator is not
* use malloc/free for keeper control structure when compiling for LuaJITBenoit Germain2022-02-211-6/+18
|
* Update deep_test.vcxproj.userBenoit Germain2022-02-211-10/+35
|
* some fixes in deep_test vcproj for LuaJIT-2.1.0-beta3 testingBenoit Germain2022-02-212-0/+85
|
* NEVER use allocator obtained from lua_getallocf to allocate stuff manually ↵Benoit Germain2022-02-176-28/+77
| | | | when compiling for LuaJIT
* __lanesclone is now called only once with 3 parameters dest, source, size -> ↵Benoit Germain2022-02-088-157/+142
| | | | BREAKS CUSTOM DEEP USERDATA API
* Version bumpBenoit Germain2022-02-073-5/+7
|
* A Lane's Lua state uses the Universe-defined allocator by defaultBenoit Germain2022-02-071-2/+3
|
* removed explicit calls to malloc/freeBenoit Germain2022-02-075-30/+46
| | | | 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.
* Update deadlock.luaBenoit Germain2022-02-071-0/+2
|
* Fix rockspec deprecated github urlBenoit Germain2022-02-071-1/+1
|
* Changed all indentations to all whitespacesBenoit Germain2022-02-0720-6567/+6564
| | | | Tabs mess up alignment of stack contents comments, so I'm done with them.
* Merge pull request #203 from SoundBot/patch-1Benoit Germain2022-02-071-1/+1
|\ | | | | Replace deprecated pthread_yield with sched_yield
| * Replace deprecated pthread_yield with sched_yieldSoundBot2022-01-191-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 missing cancel.c in rockspecBenoit Germain2021-11-171-1/+13
|
* fix require() wrapper to return all values returned by original require()Benoit Germain2021-09-226-151/+22
|
* deep_test vcproj migrated to VS2019v3.15.1Benoit Germain2021-07-083-24/+183
|
* Merge branch 'master' of https://github.com/LuaLanes/lanesBenoit Germain2021-07-081-0/+1
|\
| * Update cancel.cBenoit Germain2021-06-281-0/+1
| |
* | fix function transfer with lua_dump for Lua 5.4 failing for functions big ↵Benoit Germain2021-07-085-16/+98
|/ | | | enough to necessitate a buffer reallocation
* Update lanes-3.15.0-0.rockspecv3.15.0Benoit Germain2021-06-281-2/+2
|
* fixed some testsBenoit Germain2021-06-283-4/+6
|
* fix stack overflow when transfering a clonable userdata referencing itself ↵Benoit Germain2021-06-267-152/+245
| | | | through a uservalue
* correctly transfer the uservalue of a deep userdataBenoit Germain2021-06-2417-422/+598
|
* expand deeptest.luaBenoit Germain2021-06-242-18/+20
|
* updated deep userdata unit test to expose issue #189Benoit Germain2021-06-232-9/+51
|
* __lanesclone now receives the original as light userdata the first time it ↵Benoit Germain2021-06-234-17/+35
| | | | is called
* changed lanes.threads() output so that several lanes with the same name ↵Benoit Germain2021-06-165-49/+130
| | | | | | 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_bugfixBenoit Germain2021-06-161-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 LuaJITvalid-ptr2021-02-241-1/+6
| |
| * Bug fix for Lua 5.1/LuaJIT: lua_getiuservalue must check if lua_getfenv ↵valid-ptr2021-02-151-0/+14
| | | | | | | | returns global environment
* | Merge pull request #186 from alarixbsd/masterBenoit Germain2021-06-162-3/+15
|\ \ | |/ |/| NetBSD support
| * NetBSD supportnia2020-10-052-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.
* Merge branch 'master' of https://github.com/LuaLanes/lanesBenoit Germain2020-04-221-0/+35
|\
| * Create manual_register.luaBenoit Germain2019-12-131-0/+35
| | | | | | | | New test sample to demonstrate on_state_create and manual function registration.
* | Makefile detect MinGW 64 as well as MinGW 32Benoit Germain2020-04-222-4/+4
| |
* | fix THREAD_SET_AFFINITY always failingBenoit Germain2020-04-221-2/+2
|/