aboutsummaryrefslogtreecommitdiff
path: root/unit_tests/scripts/misc/deeptest.lua (unfollow)
Commit message (Collapse)AuthorFilesLines
9 daysCopy deep_userdata_example test script in the test frameworkHEADmasterBenoit Germain1-1/+2
* 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
9 daysAdjust deep_userdata_example test script to the latest linda API changesBenoit Germain1-1/+1
10 daysRAII + setjmp = UBBenoit Germain2-40/+13
12 daysI don't even know why I ever included luajit.h. removed it.Benoit Germain1-1/+0
14 daysTiny makefile tweak for Lua 5.5Benoit Germain1-1/+1
2025-07-25Split lanes.sleep unit tests and some linda unit tests tooBenoit Germain2-76/+91
2025-07-25Fix crashes in MSVC release builds related to KeeperOperationInProgressBenoit Germain3-14/+24
* scope the KeeperOperationInProgress object on linda calls * but since it's not enough, just comment it, it is only debug stuff anyway
2025-07-24Rework function bytecode dumping to be Lua5.5-readyBenoit Germain7-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
2025-07-24Use LANES_DEBUG instead of MSVC-specific _DEBUG to activate debug codeBenoit Germain2-44/+45
2025-07-24Use LANES_DEBUG instead of MSVC-specific _DEBUG to activate debug codeBenoit Germain4-22/+32
2025-07-22workaround a possible Lua 5.5 bug when dumping functions (but it doesn't ↵Benoit Germain1-0/+5
solve everything)
2025-07-22New helper to push function bytecode (to facilitate Lua 5.5 support)Benoit Germain3-38/+53
2025-07-20cmake for c++20 in master branchsonoro12341-2/+3
2025-07-04Minor doc fixesBenoit Germain1-2/+2
2025-07-04Added Lua 5.5 supportBenoit Germain10-32/+97
* some unit tests fail/segfault/freeze, but that could be because Lua 5.5 is still in beta yet
2025-07-04Changed lua wrapper prefixes from luaG_ to luaW_ (w as in wrapper!)Benoit Germain25-390/+390
2025-07-04Added targets for Lua 5.5 in VS projects and SolutionBenoit Germain4-0/+737
2025-07-04Split coro tests in several scriptsBenoit Germain13-203/+288
2025-07-03Fix more issues related to suspended coroutines and join/indexing operationsBenoit Germain5-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
2025-07-01Clarified interactions between join() and coroutinesBenoit Germain2-46/+75
2025-06-26Preparation for lane:close() and correct to-be-closed variablesBenoit Germain9-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
2025-06-26Minor documentation fixBenoit Germain1-2/+2
2025-06-25Minor code refacto (Lane::waitForCompletion)Benoit Germain2-27/+15
2025-06-24Move some tests to a separate scriptBenoit Germain5-27/+33
2025-06-24Better protection of selfdestruct chain at universe shutdownBenoit Germain1-15/+18
2025-06-23Added 2 tests in tasking_basicBenoit Germain1-0/+27
2025-06-05Change lane:join() return valuesBenoit Germain17-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
2025-05-22Minor code cosmetic changesBenoit Germain3-64/+89
2025-05-21Code factorization in KeyUD::pop()Benoit Germain1-9/+19
2025-05-07Thread priority reworkBenoit Germain11-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
2025-05-06Renamed a few unit testsBenoit Germain2-10/+10
2025-05-06Fix priorities for Mingw buildsBenoit Germain1-2/+2
2025-04-29Move ProtectedAllocator::Protected_lua_Alloc in universe.cppBenoit Germain2-8/+13
2025-04-29Updated comments on unit test lanes.configure.allocator/protectedBenoit Germain2-2/+2
2025-04-29Retarget vcxproj to latest Windows SDKBenoit Germain1-1/+1
2025-04-29Split unittest lanes.configure.allocatorBenoit Germain1-31/+47
2025-04-28Remove a useless mutex guard on lane setf-destructBenoit Germain3-2/+3
2025-04-28Minor internal tweaks in shutdown codeBenoit Germain4-12/+23
2025-04-25Code factorization in linda send/receive implementationBenoit Germain1-64/+40
2025-04-24Unit test fixesBenoit Germain4-10/+42
* fix cooperative_shutdown * add a test to tasking_cancelling * fix bad fixture function name give_me_back
2025-04-23Fix rockspecBenoit Germain1-1/+1
2025-04-23cancel_test() returns "soft"/"hard" instead of trueBenoit Germain4-8/+23
2025-04-23Fix doc typosBenoit Germain1-38/+38
2025-04-21Documentation improvementsBenoit Germain1-10/+88
* added an API cheat sheet * improved documentation for lane:cancel()
2025-04-20Make gcc more happyBenoit Germain3-3/+5
2025-04-20Make gcc happyBenoit Germain2-3/+3
2025-04-18A unit test for linda wake_periodBenoit Germain7-15/+64
2025-04-18New feature: Linda periodical cancellation checksBenoit Germain24-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)
2025-04-15Linda batched mode reworkBenoit Germain14-174/+174
* linda.batched special value is removed * new function linda:receive_batched
2025-04-15A bit of code factorizationBenoit Germain2-88/+87