Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Formalize a few coding style rules, start to enforce them for constants | Benoit Germain | 2024-04-26 | 18 | -225/+251 |
| | |||||
* | C++ integration: cleanup in Linda/Keeper interaction | Benoit Germain | 2024-04-25 | 4 | -150/+164 |
| | |||||
* | C++ migration: using KeeperState = Unique<lua_State*> | Benoit Germain | 2024-04-24 | 11 | -45/+47 |
| | |||||
* | C++ migration: push_thread_status converted to a Lane class method | Benoit Germain | 2024-04-24 | 4 | -22/+20 |
| | |||||
* | C++ migration: enum → enum class | Benoit Germain | 2024-04-24 | 1 | -12/+12 |
| | |||||
* | ASSERT_L → LUA_ASSERT | Benoit Germain | 2024-04-24 | 10 | -84/+90 |
| | |||||
* | C++ migration: split UniqueKey into UniqueKey+RegistryUniqueKey | Benoit Germain | 2024-04-24 | 10 | -59/+74 |
| | |||||
* | some dead code elimination and other trifles | Benoit Germain | 2024-04-16 | 22 | -787/+703 |
| | |||||
* | C++ migration: more conversion to InterCopyContext. debugspew indentation is ↵ | Benoit Germain | 2024-04-16 | 9 | -176/+231 |
| | | | | managed by a scope object | ||||
* | C++ migration: inter-state transfer managed by a new class InterCopyContext | Benoit Germain | 2024-04-15 | 8 | -326/+385 |
| | |||||
* | C++ migration: all linda operations go through a different lua_CFunction so ↵ | Benoit Germain | 2024-04-15 | 4 | -420/+427 |
| | | | | as not to defeat function lookup | ||||
* | C++ migration: deep userdata API rework. bye bye idfunc, hello DeepFactory | Benoit Germain | 2024-04-15 | 9 | -314/+318 |
| | |||||
* | Merge branch 'C-Implementation' | Benoit Germain | 2024-04-15 | 2 | -1/+2 |
|\ | |||||
| * | fix keeper state stack accumulating garbage in case of transfer errors | Benoit Germain | 2024-04-15 | 5 | -2/+12 |
| | | |||||
* | | C++ migration: keeper_call returns a std::optional | Benoit Germain | 2024-04-15 | 7 | -106/+200 |
| | | |||||
* | | Merge branch 'master' of https://github.com/LuaLanes/lanes | Benoit Germain | 2024-04-14 | 36 | -3501/+2093 |
|\ \ | |||||
| * | | Merge branch 'C-Implementation' | Benoit Germain | 2024-04-11 | 3 | -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 Germain | 2024-04-11 | 29 | -615/+880 |
| | | | | | | | | | | | | implementation | ||||
| * | | C++ migration: wrap lua type values in an enum class for type safety and ↵ | Benoit Germain | 2024-04-10 | 4 | -23/+57 |
| | | | | | | | | | | | | debugging purposes | ||||
| * | | C++ migration: luaG_inter_copy_* now return an enum class instead of an ↵ | Benoit Germain | 2024-04-10 | 9 | -64/+93 |
| | | | | | | | | | | | | anonymous int | ||||
| * | | C++ migration: fixed a few std::ignore | Benoit Germain | 2024-04-10 | 7 | -156/+154 |
| | | | |||||
| * | | Minor fixes | Benoit Germain | 2024-04-09 | 2 | -107/+106 |
| | | | |||||
| * | | C++ migration: [[nodiscard]] everywhere. still have to check all std::ignore | Benoit Germain | 2024-04-09 | 20 | -395/+410 |
| | | | |||||
| * | | C++ migration: use strong type safety for source and destination states in ↵ | Benoit Germain | 2024-04-09 | 19 | -895/+161 |
| | | | | | | | | | | | | transfer functions | ||||
| * | | C++ migration: simpler one-time initializations | Benoit Germain | 2024-04-09 | 1 | -37/+14 |
| | | | |||||
| * | | C++ migration: still more threading code cleanup. 'sudo' global moved in the ↵ | Benoit Germain | 2024-04-09 | 9 | -68/+67 |
| | | | | | | | | | | | | Universe | ||||
| * | | C++ migration: YIELD() → std::this_thread::yield. plus more threading code ↵ | Benoit Germain | 2024-04-09 | 3 | -319/+193 |
| | | | | | | | | | | | | cleanup | ||||
| * | | C++ migration: lanes.now_secs uses std::chrono::sytem_clock. plus more enum ↵ | Benoit Germain | 2024-04-08 | 6 | -153/+77 |
| | | | | | | | | | | | | class cleanup. | ||||
| * | | C++ migration: use std::jthread, std::condition_variable, std::chrono. | Benoit Germain | 2024-04-08 | 13 | -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 scripts | Benoit Germain | 2024-04-08 | 3 | -6/+9 |
| | | | |||||
| * | | C++ migration: one-time inits are sequenced with std::atomic_flag | Benoit Germain | 2024-04-05 | 1 | -30/+14 |
| | | | |||||
| * | | Enable manual control of GC inside keeper states | Benoit Germain | 2024-04-05 | 8 | -73/+119 |
| | | | |||||
| * | | tweak cancel.lua to enable individual tests. fix "hook" test for LuaJIT ↵ | Benoit Germain | 2024-04-04 | 1 | -10/+24 |
| | | | | | | | | | | | | (need "line" hook instead of "count" to work as expected) | ||||
| * | | tweaks to basic.lua and linda_perf.lua | Benoit Germain | 2024-04-04 | 2 | -40/+77 |
| | | | |||||
| * | | C++ migration: more atomics | Benoit Germain | 2024-04-02 | 5 | -91/+94 |
| | | | |||||
* | | | Makefile fixes | Benoit Germain | 2024-04-14 | 2 | -3/+3 |
|/ / | |||||
* | | C++ migration: fix some warnings in 32 bits builds | Benoit Germain | 2024-03-31 | 5 | -22/+16 |
| | | |||||
* | | C++ migration: make sure to always create the lane handle userdata | Benoit Germain | 2024-03-30 | 1 | -42/+69 |
| | | |||||
* | | C++ migration: all enums are enum class | Benoit Germain | 2024-03-29 | 15 | -196/+244 |
| | | |||||
* | | C++ migration: bumped version and updated documentation | Benoit Germain | 2024-03-29 | 2 | -63/+36 |
| | | |||||
* | | C++ migration: parallelize lane setup and OS thread warmup | Benoit Germain | 2024-03-29 | 3 | -102/+146 |
| | | |||||
* | | C++ migration: Lane is a proper class with overloaded operator new/delete | Benoit Germain | 2024-03-29 | 5 | -65/+76 |
| | | |||||
* | | C++ migration: improved UniqueKey interface | Benoit Germain | 2024-03-28 | 11 | -124/+125 |
| | | |||||
* | | C++ migration: lots of noise, but it's only some minor code cleanup | Benoit Germain | 2024-03-28 | 6 | -746/+773 |
| | | |||||
* | | linda.batched is now a lightuserdata instead of a string. plus some ↵ | Benoit Germain | 2024-03-28 | 2 | -352/+335 |
| | | | | | | | | reformatting. | ||||
* | | C++ migration: Linda is a proper class with overloaded operator new/delete | Benoit Germain | 2024-03-28 | 4 | -29/+34 |
| | | |||||
* | | C++ migration: cleanup usage of lua_error and luaL_error | Benoit Germain | 2024-03-28 | 8 | -35/+44 |
| | | |||||
* | | tweak cancel.lua test file to be able to cherry-pick tests with command line ↵ | Benoit Germain | 2024-03-28 | 1 | -88/+103 |
| | | | | | | | | arguments | ||||
* | | C++ migration: less kludgy Linda name management with a std::variant | Benoit Germain | 2024-03-28 | 5 | -75/+168 |
| | | |||||
* | | updated perftest.lua | Benoit Germain | 2024-03-27 | 1 | -32/+42 |
| | |