Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
9 days | Copy deep_userdata_example test script in the test frameworkHEADmaster | Benoit Germain | 1 | -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 days | Adjust deep_userdata_example test script to the latest linda API changes | Benoit Germain | 1 | -1/+1 | |
10 days | RAII + setjmp = UB | Benoit Germain | 2 | -40/+13 | |
12 days | I don't even know why I ever included luajit.h. removed it. | Benoit Germain | 1 | -1/+0 | |
14 days | Tiny makefile tweak for Lua 5.5 | Benoit Germain | 1 | -1/+1 | |
2025-07-25 | Split lanes.sleep unit tests and some linda unit tests too | Benoit Germain | 2 | -76/+91 | |
2025-07-25 | Fix crashes in MSVC release builds related to KeeperOperationInProgress | Benoit Germain | 3 | -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-24 | Rework function bytecode dumping to be Lua5.5-ready | Benoit Germain | 7 | -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-24 | Use LANES_DEBUG instead of MSVC-specific _DEBUG to activate debug code | Benoit Germain | 2 | -44/+45 | |
2025-07-24 | Use LANES_DEBUG instead of MSVC-specific _DEBUG to activate debug code | Benoit Germain | 4 | -22/+32 | |
2025-07-22 | workaround a possible Lua 5.5 bug when dumping functions (but it doesn't ↵ | Benoit Germain | 1 | -0/+5 | |
solve everything) | |||||
2025-07-22 | New helper to push function bytecode (to facilitate Lua 5.5 support) | Benoit Germain | 3 | -38/+53 | |
2025-07-20 | cmake for c++20 in master branch | sonoro1234 | 1 | -2/+3 | |
2025-07-04 | Minor doc fixes | Benoit Germain | 1 | -2/+2 | |
2025-07-04 | Added Lua 5.5 support | Benoit Germain | 10 | -32/+97 | |
* some unit tests fail/segfault/freeze, but that could be because Lua 5.5 is still in beta yet | |||||
2025-07-04 | Changed lua wrapper prefixes from luaG_ to luaW_ (w as in wrapper!) | Benoit Germain | 25 | -390/+390 | |
2025-07-04 | Added targets for Lua 5.5 in VS projects and Solution | Benoit Germain | 4 | -0/+737 | |
2025-07-04 | Split coro tests in several scripts | Benoit Germain | 13 | -203/+288 | |
2025-07-03 | Fix more issues related to suspended coroutines and join/indexing operations | Benoit Germain | 5 | -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-01 | Clarified interactions between join() and coroutines | Benoit Germain | 2 | -46/+75 | |
2025-06-26 | Preparation for lane:close() and correct to-be-closed variables | Benoit Germain | 9 | -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-26 | Minor documentation fix | Benoit Germain | 1 | -2/+2 | |
2025-06-25 | Minor code refacto (Lane::waitForCompletion) | Benoit Germain | 2 | -27/+15 | |
2025-06-24 | Move some tests to a separate script | Benoit Germain | 5 | -27/+33 | |
2025-06-24 | Better protection of selfdestruct chain at universe shutdown | Benoit Germain | 1 | -15/+18 | |
2025-06-23 | Added 2 tests in tasking_basic | Benoit Germain | 1 | -0/+27 | |
2025-06-05 | Change lane:join() return values | Benoit Germain | 17 | -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-22 | Minor code cosmetic changes | Benoit Germain | 3 | -64/+89 | |
2025-05-21 | Code factorization in KeyUD::pop() | Benoit Germain | 1 | -9/+19 | |
2025-05-07 | Thread priority rework | Benoit Germain | 11 | -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-06 | Renamed a few unit tests | Benoit Germain | 2 | -10/+10 | |
2025-05-06 | Fix priorities for Mingw builds | Benoit Germain | 1 | -2/+2 | |
2025-04-29 | Move ProtectedAllocator::Protected_lua_Alloc in universe.cpp | Benoit Germain | 2 | -8/+13 | |
2025-04-29 | Updated comments on unit test lanes.configure.allocator/protected | Benoit Germain | 2 | -2/+2 | |
2025-04-29 | Retarget vcxproj to latest Windows SDK | Benoit Germain | 1 | -1/+1 | |
2025-04-29 | Split unittest lanes.configure.allocator | Benoit Germain | 1 | -31/+47 | |
2025-04-28 | Remove a useless mutex guard on lane setf-destruct | Benoit Germain | 3 | -2/+3 | |
2025-04-28 | Minor internal tweaks in shutdown code | Benoit Germain | 4 | -12/+23 | |
2025-04-25 | Code factorization in linda send/receive implementation | Benoit Germain | 1 | -64/+40 | |
2025-04-24 | Unit test fixes | Benoit Germain | 4 | -10/+42 | |
* fix cooperative_shutdown * add a test to tasking_cancelling * fix bad fixture function name give_me_back | |||||
2025-04-23 | Fix rockspec | Benoit Germain | 1 | -1/+1 | |
2025-04-23 | cancel_test() returns "soft"/"hard" instead of true | Benoit Germain | 4 | -8/+23 | |
2025-04-23 | Fix doc typos | Benoit Germain | 1 | -38/+38 | |
2025-04-21 | Documentation improvements | Benoit Germain | 1 | -10/+88 | |
* added an API cheat sheet * improved documentation for lane:cancel() | |||||
2025-04-20 | Make gcc more happy | Benoit Germain | 3 | -3/+5 | |
2025-04-20 | Make gcc happy | Benoit Germain | 2 | -3/+3 | |
2025-04-18 | A unit test for linda wake_period | Benoit Germain | 7 | -15/+64 | |
2025-04-18 | New feature: Linda periodical cancellation checks | Benoit Germain | 24 | -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-15 | Linda batched mode rework | Benoit Germain | 14 | -174/+174 | |
* linda.batched special value is removed * new function linda:receive_batched | |||||
2025-04-15 | A bit of code factorization | Benoit Germain | 2 | -88/+87 | |