aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* API changesBenoit Germain2024-05-133-26/+36
| | | | | * lanes.sleep accepts 'indefinitely'. * settings.with_timers is false by default
* New lane generator option opt_tbl.nameBenoit Germain2024-05-135-70/+114
|
* Improve error message on table transfer type mismatchBenoit Germain2024-05-061-5/+5
|
* Fix handling of error occuring during lane setupBenoit Germain2024-05-031-2/+6
|
* Some code factorizationBenoit Germain2024-05-0311-112/+85
|
* Remove dependency on _G["package"]Benoit Germain2024-05-024-8/+44
|
* de-megathodize lanes.configure()Benoit Germain2024-05-021-607/+649
|
* InterCopyContext always raises errors in a non-Keeper stateBenoit Germain2024-05-024-27/+29
|
* Progressively applying the coding rulesBenoit Germain2024-05-0215-219/+220
|
* Progressively applying the coding rulesBenoit Germain2024-05-028-94/+94
|
* Progressively applying the coding rulesBenoit Germain2024-04-304-129/+112
|
* Progressively applying the coding rulesBenoit Germain2024-04-3016-2601/+2061
|
* Progressively applying the coding rulesBenoit Germain2024-04-2912-267/+323
|
* Fix keeper state stack integrity assertionBenoit Germain2024-04-291-1/+5
|
* Function parameters L → L_Benoit Germain2024-04-2920-1357/+1345
|
* All headers reformatted with updated clang-format settingsBenoit Germain2024-04-2915-131/+126
|
* C++ migration: wrap all Lua error raising API functions in a [[noreturn]] ↵Benoit Germain2024-04-2610-93/+131
| | | | raise_... equivalent
* Move LindaFactory in separate filesBenoit Germain2024-04-269-163/+220
|
* Update documentationBenoit Germain2024-04-261-5/+5
|
* Expose nil sentinel as lanes.nullBenoit Germain2024-04-261-2/+1
|
* Formalize a few coding style rules, start to enforce them for constantsBenoit Germain2024-04-2618-225/+251
|
* C++ integration: cleanup in Linda/Keeper interactionBenoit Germain2024-04-254-150/+164
|
* C++ migration: using KeeperState = Unique<lua_State*>Benoit Germain2024-04-2411-45/+47
|
* C++ migration: push_thread_status converted to a Lane class methodBenoit Germain2024-04-244-22/+20
|
* C++ migration: enum → enum classBenoit Germain2024-04-241-12/+12
|
* ASSERT_L → LUA_ASSERTBenoit Germain2024-04-2410-84/+90
|
* C++ migration: split UniqueKey into UniqueKey+RegistryUniqueKeyBenoit Germain2024-04-2410-59/+74
|
* some dead code elimination and other triflesBenoit Germain2024-04-1622-787/+703
|
* C++ migration: more conversion to InterCopyContext. debugspew indentation is ↵Benoit Germain2024-04-169-176/+231
| | | | managed by a scope object
* C++ migration: inter-state transfer managed by a new class InterCopyContextBenoit Germain2024-04-158-326/+385
|
* C++ migration: all linda operations go through a different lua_CFunction so ↵Benoit Germain2024-04-154-420/+427
| | | | as not to defeat function lookup
* C++ migration: deep userdata API rework. bye bye idfunc, hello DeepFactoryBenoit Germain2024-04-159-314/+318
|
* Merge branch 'C-Implementation'Benoit Germain2024-04-152-1/+2
|\
| * fix keeper state stack accumulating garbage in case of transfer errorsBenoit Germain2024-04-155-2/+12
| |
* | C++ migration: keeper_call returns a std::optionalBenoit Germain2024-04-157-106/+200
| |
* | Merge branch 'master' of https://github.com/LuaLanes/lanesBenoit Germain2024-04-1436-3501/+2093
|\ \
| * | Merge branch 'C-Implementation'Benoit Germain2024-04-113-10/+19
| |\| | | | | | | | | | Since almost everything in C-implementation comes from manual cherry-picking stuff in master, the merge essentially consist in a pure git tree operation to reconnect stuff properly.
| | * Bring all interesting fixes from the C++ implementation back into the C ↵Benoit Germain2024-04-1129-615/+880
| | | | | | | | | | | | implementation
| * | C++ migration: wrap lua type values in an enum class for type safety and ↵Benoit Germain2024-04-104-23/+57
| | | | | | | | | | | | debugging purposes
| * | C++ migration: luaG_inter_copy_* now return an enum class instead of an ↵Benoit Germain2024-04-109-64/+93
| | | | | | | | | | | | anonymous int
| * | C++ migration: fixed a few std::ignoreBenoit Germain2024-04-107-156/+154
| | |
| * | Minor fixesBenoit Germain2024-04-092-107/+106
| | |
| * | C++ migration: [[nodiscard]] everywhere. still have to check all std::ignoreBenoit Germain2024-04-0920-395/+410
| | |
| * | C++ migration: use strong type safety for source and destination states in ↵Benoit Germain2024-04-0919-895/+161
| | | | | | | | | | | | transfer functions
| * | C++ migration: simpler one-time initializationsBenoit Germain2024-04-091-37/+14
| | |
| * | C++ migration: still more threading code cleanup. 'sudo' global moved in the ↵Benoit Germain2024-04-099-68/+67
| | | | | | | | | | | | Universe
| * | C++ migration: YIELD() → std::this_thread::yield. plus more threading code ↵Benoit Germain2024-04-093-319/+193
| | | | | | | | | | | | cleanup
| * | C++ migration: lanes.now_secs uses std::chrono::sytem_clock. plus more enum ↵Benoit Germain2024-04-086-153/+77
| | | | | | | | | | | | class cleanup.
| * | C++ migration: use std::jthread, std::condition_variable, std::chrono.Benoit Germain2024-04-0813-1207/+588
| | | | | | | | | | | | | | | | | | | | | | | | win32 pthread support is gone new setting configure.shutdown_mode for cancellation of free-running threads at shutdown. no more hard thread termination! If a thread doesn't cooperate, an error is raised. lane.status "killed" is gone lane:cancel can't force-kill.
| * | Tweak some test scriptsBenoit Germain2024-04-083-6/+9
| | |