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