aboutsummaryrefslogtreecommitdiff
path: root/src/linda.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* linda:send() returns nil,<something> in case of errorBenoit Germain2024-06-101-4/+12
|
* Unify the value returned by linda:deep() and the string conversion of an ↵Benoit Germain2024-06-101-2/+2
| | | | unnamed Linda
* Suspend/resume GC around Linda operationsBenoit Germain2024-06-101-0/+8
|
* Boyscouting some luaG_ functionsBenoit Germain2024-06-071-5/+5
|
* Use a precompiled header to speed up the buildBenoit Germain2024-06-071-3/+1
|
* Code boyscoutingBenoit Germain2024-06-071-41/+41
|
* Debug code to help track linda gc during keeper operationBenoit Germain2024-06-071-0/+2
|
* lanes.linda("auto")Benoit Germain2024-06-061-1/+2
|
* One more std::ranges::iota_viewBenoit Germain2024-06-061-12/+16
|
* Modernize compatBenoit Germain2024-06-051-10/+10
|
* Refactored keeper implementation of linda:receive()Benoit Germain2024-06-041-1/+4
|
* Fix linda.batched mode broken by previous changeBenoit Germain2024-06-041-1/+1
|
* Remove some useless compatibility stuffBenoit Germain2024-06-041-4/+1
|
* Some API changesBenoit Germain2024-05-311-3/+16
| | | | | | * 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-0/+26
|
* Keeper management modernisation and improvementsBenoit Germain2024-05-301-7/+18
| | | | | | | * 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 uses of STRINGVIEW_FMTBenoit Germain2024-05-291-1/+1
|
* More string_viewBenoit Germain2024-05-271-6/+6
|
* namespace tweaksBenoit Germain2024-05-271-18/+20
|
* More string_view + improved DEBUGSPEW outputBenoit Germain2024-05-271-3/+3
|
* Fix buffer overrun in Linda nameBenoit Germain2024-05-221-14/+20
|
* Fix __lanesignoreBenoit Germain2024-05-221-13/+0
|
* Use string_view for Linda namesBenoit Germain2024-05-201-24/+31
|
* linda:limit uses nil instead of -1 to unblockBenoit Germain2024-05-201-5/+6
|
* Fixed forgotten int → LuaErrorBenoit Germain2024-05-201-2/+2
|
* Alpha-sort Linda's Lua APIBenoit Germain2024-05-201-296/+298
|
* Restore linda:limit(0), it was a mistakeBenoit Germain2024-05-201-2/+3
|
* linda:limit errors on limits < 1Benoit Germain2024-05-201-2/+4
|
* Shuffling code aroundBenoit Germain2024-05-141-87/+89
|
* Move Lane implementation in a separate fileBenoit Germain2024-05-141-1/+1
|
* Progressively applying the coding rulesBenoit Germain2024-05-131-232/+232
|
* Move InterCopyContext implementation in a separate fileBenoit Germain2024-05-131-4/+0
|
* Linda API changesBenoit Germain2024-05-131-16/+9
| | | | | * timeout clarifications (negative values are no longer accepted, use nil instead) * linda(send, linda.null, key, ...) removed, if you want to send a nil, just do it as usual
* Progressively applying the coding rulesBenoit Germain2024-05-021-36/+36
|
* Progressively applying the coding rulesBenoit Germain2024-05-021-14/+14
|
* Progressively applying the coding rulesBenoit Germain2024-04-301-239/+150
|
* Function parameters L → L_Benoit Germain2024-04-291-128/+128
|
* C++ migration: wrap all Lua error raising API functions in a [[noreturn]] ↵Benoit Germain2024-04-261-8/+8
| | | | raise_... equivalent
* Move LindaFactory in separate filesBenoit Germain2024-04-261-139/+25
|
* Formalize a few coding style rules, start to enforce them for constantsBenoit Germain2024-04-261-21/+21
|
* C++ integration: cleanup in Linda/Keeper interactionBenoit Germain2024-04-251-111/+79
|
* C++ migration: using KeeperState = Unique<lua_State*>Benoit Germain2024-04-241-5/+5
|
* ASSERT_L → LUA_ASSERTBenoit Germain2024-04-241-14/+14
|
* C++ migration: inter-state transfer managed by a new class InterCopyContextBenoit Germain2024-04-151-2/+2
|
* C++ migration: all linda operations go through a different lua_CFunction so ↵Benoit Germain2024-04-151-365/+369
| | | | as not to defeat function lookup
* C++ migration: deep userdata API rework. bye bye idfunc, hello DeepFactoryBenoit Germain2024-04-151-151/+141
|
* C++ migration: keeper_call returns a std::optionalBenoit Germain2024-04-151-67/+80
|
* C++ migration: luaG_inter_copy_* now return an enum class instead of an ↵Benoit Germain2024-04-101-1/+1
| | | | anonymous int
* C++ migration: [[nodiscard]] everywhere. still have to check all std::ignoreBenoit Germain2024-04-091-6/+6
|