aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Improved func_is_string unit testHEADmasterBenoit Germain27 hours1-19/+27
|
* Copy deep_userdata_example test script in the test frameworkBenoit Germain2025-07-316-3/+180
| | | | | * I need to keep deep_userdata_example hackishly built-in inside the unit tests executable, because using the external module cause a crash in Lua51 tests (module is unloaded before some deep objects are GCed...) * copy the test script in the proper location and invoke it as part of the tests
* Adjust deep_userdata_example test script to the latest linda API changesBenoit Germain2025-07-311-1/+1
|
* RAII + setjmp = UBBenoit Germain2025-07-312-40/+13
|
* I don't even know why I ever included luajit.h. removed it.Benoit Germain2025-07-281-1/+0
|
* Tiny makefile tweak for Lua 5.5Benoit Germain2025-07-271-1/+1
|
* Split lanes.sleep unit tests and some linda unit tests tooBenoit Germain2025-07-252-76/+91
|
* Fix crashes in MSVC release builds related to KeeperOperationInProgressBenoit Germain2025-07-253-14/+24
| | | | | * scope the KeeperOperationInProgress object on linda calls * but since it's not enough, just comment it, it is only debug stuff anyway
* Rework function bytecode dumping to be Lua5.5-readyBenoit Germain2025-07-247-45/+53
| | | | * prepare the luaL_Buffer in the destination state instead of the source state to prevent stack issues when everything happens in the same state
* Use LANES_DEBUG instead of MSVC-specific _DEBUG to activate debug codeBenoit Germain2025-07-242-44/+45
|
* Use LANES_DEBUG instead of MSVC-specific _DEBUG to activate debug codeBenoit Germain2025-07-244-22/+32
|
* workaround a possible Lua 5.5 bug when dumping functions (but it doesn't ↵Benoit Germain2025-07-221-0/+5
| | | | solve everything)
* New helper to push function bytecode (to facilitate Lua 5.5 support)Benoit Germain2025-07-223-38/+53
|
* Merge pull request #240 from sonoro1234/master_cmake2Benoit Germain2025-07-221-2/+3
|\ | | | | cmake for c++20 in master branch
| * cmake for c++20 in master branchsonoro12342025-07-201-2/+3
|/
* Minor doc fixesBenoit Germain2025-07-041-2/+2
|
* Added Lua 5.5 supportBenoit Germain2025-07-0410-32/+97
| | | | * some unit tests fail/segfault/freeze, but that could be because Lua 5.5 is still in beta yet
* Changed lua wrapper prefixes from luaG_ to luaW_ (w as in wrapper!)Benoit Germain2025-07-0425-390/+390
|
* Added targets for Lua 5.5 in VS projects and SolutionBenoit Germain2025-07-044-0/+737
|
* Split coro tests in several scriptsBenoit Germain2025-07-0413-203/+288
|
* Fix more issues related to suspended coroutines and join/indexing operationsBenoit Germain2025-07-035-162/+269
| | | | | * indexing and joining a suspended lane closes the coroutine, causing the termination of the lane * properly close coroutine to-be-closed variables on interruption
* Clarified interactions between join() and coroutinesBenoit Germain2025-07-012-46/+75
|
* Preparation for lane:close() and correct to-be-closed variablesBenoit Germain2025-06-269-123/+299
| | | | | | | | * lane:join() can no longer be used to read yielded values * same with lane indexing * stub for lane:close(), similar to coroutine.close() (not implemented yet) * preparing tests for to-be-closed variables in yielded coroutine lanes * yielded lanes unlock and terminate properly at Lanes shutdown
* Minor documentation fixBenoit Germain2025-06-261-2/+2
|
* Minor code refacto (Lane::waitForCompletion)Benoit Germain2025-06-252-27/+15
|
* Move some tests to a separate scriptBenoit Germain2025-06-245-27/+33
|
* Better protection of selfdestruct chain at universe shutdownBenoit Germain2025-06-241-15/+18
|
* Added 2 tests in tasking_basicBenoit Germain2025-06-231-0/+27
|
* Change lane:join() return valuesBenoit Germain2025-06-0517-67/+85
| | | | | | * when no error is raised in the lane, lane:join() now precedes the lane returned values with true * lane body is no longer forced to return something when used with join() * adjusted all relevant unit tests accordingly
* Minor code cosmetic changesBenoit Germain2025-05-223-64/+89
|
* Code factorization in KeyUD::pop()Benoit Germain2025-05-211-9/+19
|
* Thread priority reworkBenoit Germain2025-05-0711-171/+347
| | | | | | | * thread priorities can now be set using the native range of values, if desired. * thread API errors cause a Lua error instead of aborting the program. * new function lanes.thread_priority_range(), to query the valid range of priorities. * unit tests for all of the above
* Renamed a few unit testsBenoit Germain2025-05-062-10/+10
|
* Fix priorities for Mingw buildsBenoit Germain2025-05-061-2/+2
|
* Move ProtectedAllocator::Protected_lua_Alloc in universe.cppBenoit Germain2025-04-292-8/+13
|
* Updated comments on unit test lanes.configure.allocator/protectedBenoit Germain2025-04-292-2/+2
|
* Retarget vcxproj to latest Windows SDKBenoit Germain2025-04-291-1/+1
|
* Split unittest lanes.configure.allocatorBenoit Germain2025-04-291-31/+47
|
* Remove a useless mutex guard on lane setf-destructBenoit Germain2025-04-283-2/+3
|
* Minor internal tweaks in shutdown codeBenoit Germain2025-04-284-12/+23
|
* Code factorization in linda send/receive implementationBenoit Germain2025-04-251-64/+40
|
* Unit test fixesBenoit Germain2025-04-244-10/+42
| | | | | | * fix cooperative_shutdown * add a test to tasking_cancelling * fix bad fixture function name give_me_back
* Fix rockspecBenoit Germain2025-04-231-1/+1
|
* cancel_test() returns "soft"/"hard" instead of trueBenoit Germain2025-04-234-8/+23
|
* Fix doc typosBenoit Germain2025-04-231-38/+38
|
* Documentation improvementsBenoit Germain2025-04-211-10/+88
| | | | | * added an API cheat sheet * improved documentation for lane:cancel()
* Make gcc more happyBenoit Germain2025-04-203-3/+5
|
* Make gcc happyBenoit Germain2025-04-202-3/+3
|
* A unit test for linda wake_periodBenoit Germain2025-04-187-15/+64
|
* New feature: Linda periodical cancellation checksBenoit Germain2025-04-1824-426/+627
| | | | | | | * lanes.linda() api change: takes all settings in a single table argument * new linda creation argument wake_period * new lanes.configure setting linda_wake_period * adjusted all unit tests (one TODO test fails on purpose)