aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* C++ migration: Linda is a proper class with overloaded operator new/deleteBenoit Germain2024-03-284-29/+34
|
* C++ migration: cleanup usage of lua_error and luaL_errorBenoit Germain2024-03-288-35/+44
|
* C++ migration: less kludgy Linda name management with a std::variantBenoit Germain2024-03-283-74/+158
|
* C++ migration: buildfix for pre-5.4 Lua targetsBenoit Germain2024-03-271-0/+1
|
* C++ migration:: new helper template lua_newuserdatauvBenoit Germain2024-03-273-52/+59
|
* C++ migration: fix deep userdata refcounting bug introduced by std::atomic usageBenoit Germain2024-03-271-3/+2
|
* C++ migration: new helper templates lua_tolightuserdata and lua_tofulluserdataBenoit Germain2024-03-279-50/+74
|
* C++ migration: templated lua_touserdataBenoit Germain2024-03-269-28/+41
|
* C++ migration: Fix metatable caching bug introduced when converting the ↵Benoit Germain2024-03-262-2/+2
| | | | index to std::atomic
* C++ migration: refactor AllocatorDefinition and ProtectedAllocator into classesBenoit Germain2024-03-267-96/+132
|
* C++ migration: Universe MUTEX_T replaced with std::mutex and std::atomicBenoit Germain2024-03-258-141/+112
|
* C++ migration: revamped stack checking macrosBenoit Germain2024-03-259-320/+359
|
* C++ migration: STACK_GROW is no longer a macro, sanitized and fixed warnings ↵Benoit Germain2024-03-226-394/+419
| | | | in keeper.cpp
* C++ migration: REGISTRY_SET and REGISTRY_GET are gone, welcome templates and ↵Benoit Germain2024-03-219-75/+75
| | | | lambdas
* C++ migration: ThreadStatus, CancelRequest and CancelResult are enum classBenoit Germain2024-03-205-69/+68
|
* C++ migration: removed most typedef, removed uint_tBenoit Germain2024-03-2014-105/+87
|
* C++ migration: more NULL → nullptrBenoit Germain2024-03-2011-90/+95
|
* C++ migration: UniqueKeyBenoit Germain2024-03-2013-62/+80
|
* C++ migration: bool_t → boolBenoit Germain2024-03-2014-144/+131
|
* Merge branch 'C-Implementation'Benoit Germain2024-03-191-2/+2
|\
| * fix small internal issue with when hitting timeout on thread kill during ↵Benoit Germain2024-03-191-2/+2
| | | | | | | | thread_cancel() in pthread implementation
* | C++ migration: MSVC-specific "inline" is goneBenoit Germain2024-03-191-5/+0
| |
* | C++ migration: NULL → nullptrBenoit Germain2024-03-196-79/+79
| |
* | C++ migration: changed file extensions from .c to .cppBenoit Germain2024-03-1911-1/+1
| |
* | C++ migration: buildfixesBenoit Germain2024-03-1920-135/+135
|/ | | | Essentially, buildfixes when compiling as C++, plus properly marking public API as extern "C"
* Detect runtime LuaJIT/PUC-Lua mismatchBenoit Germain2024-02-222-6/+17
|
* src/threading.h: fix compilation on muslConrad Kostecki2024-01-231-1/+5
| | | | Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
* Finalize version 3.16.2v3.16.2Benoit Germain2023-08-172-2/+2
|
* Prevent crash on linux as non-rootAnssi Mäkinen2023-08-171-4/+4
| | | | Fixes #218
* Minor tweaksv3.16.1Benoit Germain2023-08-165-11/+10
|
* new .internal_allocator configuration IUNTESTED)Benoit Germain2023-08-0910-53/+54
| | | | 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-283-102/+116
|
* moonjit supportBenoit Germain2022-03-0910-69/+87
|
* Bug in __lanesclone with 3 parameters mechanism fixed (index was wrong in ↵valid-ptr2022-03-011-4/+4
| | | | inter_copy_function); Some comments improved
* 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
|
* NEVER use allocator obtained from lua_getallocf to allocate stuff manually ↵Benoit Germain2022-02-175-28/+74
| | | | when compiling for LuaJIT
* __lanesclone is now called only once with 3 parameters dest, source, size -> ↵Benoit Germain2022-02-082-118/+106
| | | | BREAKS CUSTOM DEEP USERDATA API
* Version bumpBenoit Germain2022-02-071-1/+1
|
* 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-074-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 whitespacesBenoit Germain2022-02-0720-6567/+6564
| | | | Tabs mess up alignment of stack contents comments, so I'm done with them.
* 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 require() wrapper to return all values returned by original require()Benoit Germain2021-09-222-17/+13
|
* 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-082-15/+27
|/ | | | enough to necessitate a buffer reallocation
* fix stack overflow when transfering a clonable userdata referencing itself ↵Benoit Germain2021-06-263-138/+199
| | | | through a uservalue
* correctly transfer the uservalue of a deep userdataBenoit Germain2021-06-2410-418/+508
|
* __lanesclone now receives the original as light userdata the first time it ↵Benoit Germain2021-06-231-4/+6
| | | | is called