aboutsummaryrefslogtreecommitdiff
path: root/src/keeper.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Sprinkling StackIndex all over the placeBenoit Germain2024-10-081-44/+44
|
* Internal improvements: new strong types StackIndex and KeeperIndexBenoit Germain2024-10-071-1/+1
|
* Build fixes for mingw/g++Benoit Germain2024-10-011-1/+1
|
* linda:limit() and linda:set() return a second value, a string representing ↵Benoit Germain2024-06-271-17/+58
| | | | the fill status
* Change linda:limit()Benoit Germain2024-06-261-21/+32
| | | | | | * 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
* linda:dump correctly outputs limit as "unlimited" for unlimited keysBenoit Germain2024-06-241-1/+5
|
* Fix wrong Linda name when not giving anyBenoit Germain2024-06-241-0/+10
|
* Improved on_state_create implementationBenoit Germain2024-06-191-1/+1
| | | | | * modernized implementation uses a std::variant * detect Lua functions with upvalues earlier
* When it is a function, config.allocator is called with a string hintBenoit Germain2024-06-181-1/+1
|
* Wording fix: parameter → argumentBenoit Germain2024-06-141-2/+2
|
* lua_pushliteral -> luaG_pushstringBenoit Germain2024-06-141-1/+1
|
* More char* -> std::string_view conversionsBenoit Germain2024-06-141-69/+73
|
* linda :get(), :set(), :limit() return value changesBenoit Germain2024-06-121-20/+27
|
* More application of the coding rulesBenoit Germain2024-06-111-5/+9
|
* Remove what looks like to have been a bug workaround for MSVC ↵Benoit Germain2024-06-111-2/+1
| | | | std::unique_ptr<T[]> with custom deleter
* Boyscouting some luaG_ functionsBenoit Germain2024-06-071-3/+3
|
* Use a precompiled header to speed up the buildBenoit Germain2024-06-071-4/+1
|
* Code boyscoutingBenoit Germain2024-06-071-4/+4
|
* Converted a few more raw string pointers to std::string_viewBenoit Germain2024-06-061-1/+1
|
* Fix Lua stack overflow in KeyUD:peek()Benoit Germain2024-06-061-1/+3
|
* Refactored keeper implementation of linda:send()Benoit Germain2024-06-041-44/+50
|
* Refactored keeper implementation of linda:receive()Benoit Germain2024-06-041-48/+46
|
* Refactored keeper implementation of linda:limit()Benoit Germain2024-06-041-23/+31
|
* Moved keeper functions aroundBenoit Germain2024-06-041-147/+148
|
* Refactored keeper implementation of linda:get()Benoit Germain2024-06-041-17/+23
|
* Keeper code internal improvementsBenoit Germain2024-06-041-25/+25
|
* Keeper code internal improvementsBenoit Germain2024-06-041-33/+42
|
* Clarified keeper.cpp stack tracking commentsBenoit Germain2024-06-031-265/+294
|
* Start modernizing Keeper implementationBenoit Germain2024-05-311-208/+202
|
* Keeper management modernisation and improvementsBenoit Germain2024-05-301-15/+221
| | | | | | | * 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
* Sprinkle a bit of std::ranges::iota_viewBenoit Germain2024-05-281-10/+11
|
* Fix __lanesignoreBenoit Germain2024-05-221-20/+0
|
* linda:limit uses nil instead of -1 to unblockBenoit Germain2024-05-201-5/+5
|
* Minor code tweaksBenoit Germain2024-05-171-1/+1
|
* Shuffling code aroundBenoit Germain2024-05-141-140/+7
|
* Progressively applying the coding rulesBenoit Germain2024-05-131-5/+5
|
* Progressively applying the coding rulesBenoit Germain2024-05-131-164/+164
|
* Move InterCopyContext implementation in a separate fileBenoit Germain2024-05-131-4/+1
|
* Some code factorizationBenoit Germain2024-05-031-1/+1
|
* Remove dependency on _G["package"]Benoit Germain2024-05-021-4/+3
|
* Progressively applying the coding rulesBenoit Germain2024-05-021-7/+7
|
* Progressively applying the coding rulesBenoit Germain2024-04-301-366/+289
|
* Progressively applying the coding rulesBenoit Germain2024-04-291-29/+29
|
* Function parameters L → L_Benoit Germain2024-04-291-236/+236
|
* C++ migration: wrap all Lua error raising API functions in a [[noreturn]] ↵Benoit Germain2024-04-261-5/+5
| | | | raise_... equivalent
* Formalize a few coding style rules, start to enforce them for constantsBenoit Germain2024-04-261-36/+36
|
* C++ integration: cleanup in Linda/Keeper interactionBenoit Germain2024-04-251-34/+13
|
* C++ migration: using KeeperState = Unique<lua_State*>Benoit Germain2024-04-241-14/+14
|
* ASSERT_L → LUA_ASSERTBenoit Germain2024-04-241-5/+5
|
* C++ migration: split UniqueKey into UniqueKey+RegistryUniqueKeyBenoit Germain2024-04-241-1/+1
|