aboutsummaryrefslogtreecommitdiff
path: root/tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Give a name to all lanes in the testsHEADmasterBenoit Germain28 hours30-62/+62
|
* lanes/core.[so|dll] → lanes_core.[so|dll]Benoit Germain31 hours1-1/+1
|
* Add a VisualStudio solution to build and debug LanesBenoit Germain4 days1-2/+2
| | | | | | * configured to build Lanes, the example module deep_userdata_example, and the unit tests * relies on Lua 5.1 → 5.4, LuaJIT and MoonJIT to be built and located in a fixed directory * manual_register legacy test now uses deep_userdata_example module instead of lfs
* Fix/disable some unit tests against LuaJIT until the failure reason is ↵Benoit Germain5 days1-1/+2
| | | | | | | | | discovered * cancel.lua fails when using lanes.coro * coro/basics.lua fails because an error message is different * coro/error_handling fails for an unknown reason * a lanes.finally test crashes inside lua_close
* lanes.nameof internal code refacto + a few unit testsBenoit Germain10 days1-2/+2
|
* Make VS Test Explorer happy by absorbing the text output of legacy testsBenoit Germain2024-12-201-4/+14
|
* Migrated unit tests to Catch2 v3.7.1Benoit Germain2024-12-201-5/+5
|
* Internal rework of an enum bad practice usageBenoit Germain2024-12-031-56/+56
|
* New method linda:restrict()Benoit Germain2024-12-032-3/+10
|
* Internal refactorization to properly handle lua_resume idiosyncrasiesBenoit Germain2024-07-294-5/+12
|
* get_debug_threadname → get_threadnameBenoit Germain2024-07-041-3/+3
|
* Fix finalizers in coroutine lanesBenoit Germain2024-07-041-4/+7
|
* Renamed set_debug_threadname → lane_threadname (can also read the current ↵Benoit Germain2024-07-035-14/+14
| | | | name now)
* Improved recursive.luaBenoit Germain2024-07-021-5/+5
|
* linda:limit() and linda:set() return a second value, a string representing ↵Benoit Germain2024-06-271-0/+1
| | | | the fill status
* Change linda:limit()Benoit Germain2024-06-261-2/+2
| | | | | | * read the current limit of a key if no limit is provided * "unlimited" is to be used to clear the limit * fix linda:set() not ignoring the limit
* Make lanes.gen stricter on base librariesBenoit Germain2024-06-261-1/+1
|
* Fix on_state_create incorrectly rejecting Lua functions with only _ENV as ↵Benoit Germain2024-06-191-7/+2
| | | | upvalue
* Wording fix: parameter → argumentBenoit Germain2024-06-145-11/+11
|
* Fix error handling when indexing a lane with unexpected dataBenoit Germain2024-06-141-1/+3
|
* More char* -> std::string_view conversionsBenoit Germain2024-06-141-2/+2
|
* More fixes to make clang happyBenoit Germain2024-06-141-2/+12
|
* linda :get(), :set(), :limit() return value changesBenoit Germain2024-06-127-33/+45
|
* Unit test for to-be-closed Lanes and LindasBenoit Germain2024-06-121-0/+123
|
* Adjust lanes.configure() documentationBenoit Germain2024-06-1115-43/+35
|
* New lane:__close does a lane:join()Benoit Germain2024-06-111-4/+27
|
* Fixes and improvements to lane:join()Benoit Germain2024-06-119-7/+32
| | | | | * fix: returns nil,cancel_error when lane was cancelled * improvement: enforce non-nil first return value of lane body when using lane:join() to obtain the results
* linda:send() returns nil,<something> in case of errorBenoit Germain2024-06-101-7/+7
|
* Replaced __lanesignore with __lanesconvertBenoit Germain2024-06-101-2/+2
|
* Fix track_lanes.luaBenoit Germain2024-06-101-9/+13
|
* Suspend/resume GC around Linda operationsBenoit Germain2024-06-101-4/+8
|
* Fix basic.luaBenoit Germain2024-06-071-1/+1
|
* lanes.linda("auto")Benoit Germain2024-06-061-3/+4
|
* Tweak linda_perf.luaBenoit Germain2024-06-061-8/+3
|
* Fix Lua stack overflow in KeyUD:peek()Benoit Germain2024-06-061-74/+87
|
* Refactored keeper implementation of linda:receive()Benoit Germain2024-06-043-3/+9
|
* Refactored keeper implementation of linda:get()Benoit Germain2024-06-042-7/+51
|
* New global setting "strip_functions"Benoit Germain2024-06-031-11/+13
|
* Moved lanes.sleep implementation to the C-sideBenoit Germain2024-06-031-2/+9
|
* Clarified keeper.cpp stack tracking commentsBenoit Germain2024-06-031-3/+9
|
* Some API changesBenoit Germain2024-05-3110-41/+77
| | | | | | * lanes.timers() can return nil, cancel_error if interrupted * linda:receive() always return a k,v, where k is nil when v is "timeout" or cancel_error * lanes.sleep returns nil, "timeout" during normal operations
* Start modernizing Keeper implementationBenoit Germain2024-05-311-3/+3
|
* Improved multi-keeper testsBenoit Germain2024-05-312-102/+153
|
* Keeper management modernisation and improvementsBenoit Germain2024-05-306-26/+46
| | | | | | | * use a std::variant to manage the distinction between one or more keeper states. Use std::unique_ptr<Keeper[]> to manage the multiple keeper case. * setting "nb_keepers" renamed "nb_user_keepers", to indicate these are in addition to internal keeper #0 used for timers. * stricter lanes.linda() argument checking. group is imposed if more than one keeper is used. * more tests
* Fix clang-tidy issues (most notably Microsoft-specific explicit constructor ↵Benoit Germain2024-05-291-1/+1
| | | | calls)
* Fix bad std::optional usageBenoit Germain2024-05-291-2/+2
|
* Fix lanes.lua dependency on "io"Benoit Germain2024-05-291-0/+2
|
* New Lanes finalizer API lanes.finally()Benoit Germain2024-05-282-30/+46
|
* More string_viewBenoit Germain2024-05-271-4/+24
|
* Process upvalues equal to _G in Lua51 as in other flavorsBenoit Germain2024-05-241-2/+3
|