aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move InterCopyContext implementation in a separate fileBenoit Germain2024-05-1318-1464/+1488
|
* Linda API changesBenoit Germain2024-05-138-62/+69
| | | | | * 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
* Some more code refactorizationBenoit Germain2024-05-139-192/+223
|
* API changesBenoit Germain2024-05-131-2/+4
| | | | | * lanes.sleep accepts 'indefinitely'. * settings.with_timers is false by default
* New lane generator option opt_tbl.nameBenoit Germain2024-05-133-61/+97
|
* 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-039-111/+83
|
* 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-023-25/+26
|
* Progressively applying the coding rulesBenoit Germain2024-05-0213-215/+213
|
* 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-3015-2600/+2060
|
* Progressively applying the coding rulesBenoit Germain2024-04-2911-267/+321
|
* 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-2914-129/+124
|
* C++ migration: wrap all Lua error raising API functions in a [[noreturn]] ↵Benoit Germain2024-04-269-90/+128
| | | | raise_... equivalent
* Move LindaFactory in separate filesBenoit Germain2024-04-267-152/+205
|
* 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-1618-728/+634
|
* C++ migration: more conversion to InterCopyContext. debugspew indentation is ↵Benoit Germain2024-04-168-175/+230
| | | | managed by a scope object
* C++ migration: inter-state transfer managed by a new class InterCopyContextBenoit Germain2024-04-156-319/+373
|
* C++ migration: all linda operations go through a different lua_CFunction so ↵Benoit Germain2024-04-153-369/+373
| | | | as not to defeat function lookup
* C++ migration: deep userdata API rework. bye bye idfunc, hello DeepFactoryBenoit Germain2024-04-156-264/+249
|
* C++ migration: keeper_call returns a std::optionalBenoit Germain2024-04-156-91/+141
|
* Merge branch 'master' of https://github.com/LuaLanes/lanesBenoit Germain2024-04-1424-2360/+1638
|\
| * Merge branch 'C-Implementation'Benoit Germain2024-04-111-1/+1
| |\ | | | | | | | | | 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-1117-397/+505
| | | | | | | | | | | | 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-091-1/+1
| | |
| * | C++ migration: [[nodiscard]] everywhere. still have to check all std::ignoreBenoit Germain2024-04-0919-256/+271
| | |
| * | C++ migration: use strong type safety for source and destination states in ↵Benoit Germain2024-04-0917-151/+157
| | | | | | | | | | | | 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-0811-1171/+555
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | C++ migration: one-time inits are sequenced with std::atomic_flagBenoit Germain2024-04-051-30/+14
| | |