Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | C++ migration: wrap all Lua error raising API functions in a [[noreturn]] ↵ | Benoit Germain | 2024-04-26 | 9 | -90/+128 | |
| | | | | raise_... equivalent | |||||
* | Move LindaFactory in separate files | Benoit Germain | 2024-04-26 | 7 | -152/+205 | |
| | ||||||
* | Expose nil sentinel as lanes.null | Benoit Germain | 2024-04-26 | 1 | -2/+1 | |
| | ||||||
* | 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 | 18 | -728/+634 | |
| | ||||||
* | C++ migration: more conversion to InterCopyContext. debugspew indentation is ↵ | Benoit Germain | 2024-04-16 | 8 | -175/+230 | |
| | | | | managed by a scope object | |||||
* | C++ migration: inter-state transfer managed by a new class InterCopyContext | Benoit Germain | 2024-04-15 | 6 | -319/+373 | |
| | ||||||
* | C++ migration: all linda operations go through a different lua_CFunction so ↵ | Benoit Germain | 2024-04-15 | 3 | -369/+373 | |
| | | | | as not to defeat function lookup | |||||
* | C++ migration: deep userdata API rework. bye bye idfunc, hello DeepFactory | Benoit Germain | 2024-04-15 | 6 | -264/+249 | |
| | ||||||
* | C++ migration: keeper_call returns a std::optional | Benoit Germain | 2024-04-15 | 6 | -91/+141 | |
| | ||||||
* | Merge branch 'master' of https://github.com/LuaLanes/lanes | Benoit Germain | 2024-04-14 | 24 | -2360/+1638 | |
|\ | ||||||
| * | Merge branch 'C-Implementation' | Benoit Germain | 2024-04-11 | 1 | -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 Germain | 2024-04-11 | 17 | -397/+505 | |
| | | | | | | | | | | | | 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 | 1 | -1/+1 | |
| | | | ||||||
| * | | C++ migration: [[nodiscard]] everywhere. still have to check all std::ignore | Benoit Germain | 2024-04-09 | 19 | -256/+271 | |
| | | | ||||||
| * | | C++ migration: use strong type safety for source and destination states in ↵ | Benoit Germain | 2024-04-09 | 17 | -151/+157 | |
| | | | | | | | | | | | | 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 | 11 | -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_flag | Benoit Germain | 2024-04-05 | 1 | -30/+14 | |
| | | | ||||||
| * | | Enable manual control of GC inside keeper states | Benoit Germain | 2024-04-05 | 4 | -13/+64 | |
| | | | ||||||
| * | | C++ migration: more atomics | Benoit Germain | 2024-04-02 | 5 | -91/+94 | |
| | | | ||||||
* | | | Makefile fixes | Benoit Germain | 2024-04-14 | 1 | -2/+2 | |
|/ / | ||||||
* | | 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 | 13 | -186/+234 | |
| | | ||||||
* | | C++ migration: bumped version and updated documentation | Benoit Germain | 2024-03-29 | 1 | -5/+5 | |
| | | ||||||
* | | 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 | |
| | | ||||||
* | | C++ migration: less kludgy Linda name management with a std::variant | Benoit Germain | 2024-03-28 | 3 | -74/+158 | |
| | | ||||||
* | | C++ migration: buildfix for pre-5.4 Lua targets | Benoit Germain | 2024-03-27 | 1 | -0/+1 | |
| | | ||||||
* | | C++ migration:: new helper template lua_newuserdatauv | Benoit Germain | 2024-03-27 | 3 | -52/+59 | |
| | | ||||||
* | | C++ migration: fix deep userdata refcounting bug introduced by std::atomic usage | Benoit Germain | 2024-03-27 | 1 | -3/+2 | |
| | | ||||||
* | | C++ migration: new helper templates lua_tolightuserdata and lua_tofulluserdata | Benoit Germain | 2024-03-27 | 9 | -50/+74 | |
| | |