aboutsummaryrefslogtreecommitdiff
path: root/src/keeper.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* New compatibility helper luaG_rawgetBenoit Germain2025-03-061-9/+5
|
* Minor internal code tweaksBenoit Germain2025-02-051-1/+1
| | | | | | | * mark all eligible classes Final * new TableIndex strong type * buildfixes for HAVE_DEBUGSPEW() * overridden virtual destructors tagged as such
* lanes.collectgarbage() and linda:collectgarbage()Benoit Germain2024-12-101-0/+55
|
* New method linda:restrict()Benoit Germain2024-12-031-12/+133
|
* More [[nodiscard]] boyscoutingBenoit Germain2024-11-201-9/+18
|
* Renamed intercopycontext.h → intercopycontext.hpp, state.h → state.hppBenoit Germain2024-10-281-2/+2
|
* Renamed lane.h → lane.hpp, linda.h → linda.hpp, threading.h → ↵Benoit Germain2024-10-281-2/+2
| | | | threading.hpp
* Renamed allocator.h → allocator.hpp, cancel.h → cancel.hpp, keeper.h → ↵Benoit Germain2024-10-281-1/+1
| | | | keeper.hpp, tools.h → tools.hpp
* Renamed _pch.h → _pch.hpp, deep.h → deep.hpp, lanes.h → lanes.hppBenoit Germain2024-10-281-1/+1
|
* Improve Unique some moreBenoit Germain2024-10-241-1/+1
|
* Strengthen more code with UserValueIndexBenoit Germain2024-10-241-1/+1
|
* Make Unique even strongerBenoit Germain2024-10-241-8/+8
|
* Fix/suppress MSVC /Wall warningsBenoit Germain2024-10-161-6/+6
|
* 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
|