Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Renamed allocator.h → allocator.hpp, cancel.h → cancel.hpp, keeper.h → ↵ | Benoit Germain | 2024-10-28 | 1 | -90/+0 |
| | | | | keeper.hpp, tools.h → tools.hpp | ||||
* | Renamed uniquekey.h → uniquekey.hpp | Benoit Germain | 2024-10-28 | 1 | -1/+1 |
| | |||||
* | Make Unique even stronger | Benoit Germain | 2024-10-24 | 1 | -1/+1 |
| | |||||
* | Fix/suppress MSVC /Wall warnings | Benoit Germain | 2024-10-16 | 1 | -2/+2 |
| | |||||
* | Sprinkling StackIndex all over the place | Benoit Germain | 2024-10-08 | 1 | -5/+5 |
| | |||||
* | Internal improvements: new strong types StackIndex and KeeperIndex | Benoit Germain | 2024-10-07 | 1 | -1/+2 |
| | |||||
* | Change linda:limit() | Benoit Germain | 2024-06-26 | 1 | -0/+1 |
| | | | | | | * 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 | ||||
* | More char* -> std::string_view conversions | Benoit Germain | 2024-06-14 | 1 | -2/+2 |
| | |||||
* | More fixes to make clang happy | Benoit Germain | 2024-06-14 | 1 | -1/+1 |
| | |||||
* | All Lua headers included just once in _pch.h | Benoit Germain | 2024-06-11 | 1 | -9/+0 |
| | |||||
* | Use a precompiled header to speed up the build | Benoit Germain | 2024-06-07 | 1 | -5/+0 |
| | |||||
* | Code boyscouting | Benoit Germain | 2024-06-07 | 1 | -1/+1 |
| | |||||
* | Moved keeper functions around | Benoit Germain | 2024-06-04 | 1 | -6/+6 |
| | |||||
* | Keeper management modernisation and improvements | Benoit Germain | 2024-05-30 | 1 | -5/+48 |
| | | | | | | | * 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 | ||||
* | Fix __lanesignore | Benoit Germain | 2024-05-22 | 1 | -1/+0 |
| | |||||
* | Shuffling code around | Benoit Germain | 2024-05-14 | 1 | -3/+2 |
| | |||||
* | Progressively applying the coding rules | Benoit Germain | 2024-05-13 | 1 | -1/+1 |
| | |||||
* | Move InterCopyContext implementation in a separate file | Benoit Germain | 2024-05-13 | 1 | -1/+0 |
| | |||||
* | Progressively applying the coding rules | Benoit Germain | 2024-05-02 | 1 | -1/+1 |
| | |||||
* | Progressively applying the coding rules | Benoit Germain | 2024-04-30 | 1 | -3/+3 |
| | |||||
* | Progressively applying the coding rules | Benoit Germain | 2024-04-29 | 1 | -2/+2 |
| | |||||
* | Function parameters L → L_ | Benoit Germain | 2024-04-29 | 1 | -11/+11 |
| | |||||
* | All headers reformatted with updated clang-format settings | Benoit Germain | 2024-04-29 | 1 | -1/+2 |
| | |||||
* | Formalize a few coding style rules, start to enforce them for constants | Benoit Germain | 2024-04-26 | 1 | -2/+2 |
| | |||||
* | C++ integration: cleanup in Linda/Keeper interaction | Benoit Germain | 2024-04-25 | 1 | -5/+2 |
| | |||||
* | C++ migration: using KeeperState = Unique<lua_State*> | Benoit Germain | 2024-04-24 | 1 | -3/+5 |
| | |||||
* | C++ migration: split UniqueKey into UniqueKey+RegistryUniqueKey | Benoit Germain | 2024-04-24 | 1 | -1/+1 |
| | |||||
* | C++ migration: deep userdata API rework. bye bye idfunc, hello DeepFactory | Benoit Germain | 2024-04-15 | 1 | -1/+1 |
| | |||||
* | C++ migration: keeper_call returns a std::optional | Benoit Germain | 2024-04-15 | 1 | -2/+4 |
| | |||||
* | C++ migration: [[nodiscard]] everywhere. still have to check all std::ignore | Benoit Germain | 2024-04-09 | 1 | -13/+13 |
| | |||||
* | C++ migration: use strong type safety for source and destination states in ↵ | Benoit Germain | 2024-04-09 | 1 | -1/+1 |
| | | | | transfer functions | ||||
* | C++ migration: still more threading code cleanup. 'sudo' global moved in the ↵ | Benoit Germain | 2024-04-09 | 1 | -1/+1 |
| | | | | Universe | ||||
* | C++ migration: use std::jthread, std::condition_variable, std::chrono. | Benoit Germain | 2024-04-08 | 1 | -4/+6 |
| | | | | | | | | 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. | ||||
* | Enable manual control of GC inside keeper states | Benoit Germain | 2024-04-05 | 1 | -0/+1 |
| | |||||
* | C++ migration: all enums are enum class | Benoit Germain | 2024-03-29 | 1 | -1/+1 |
| | |||||
* | C++ migration: Linda is a proper class with overloaded operator new/delete | Benoit Germain | 2024-03-28 | 1 | -4/+4 |
| | |||||
* | C++ migration: STACK_GROW is no longer a macro, sanitized and fixed warnings ↵ | Benoit Germain | 2024-03-22 | 1 | -21/+21 |
| | | | | in keeper.cpp | ||||
* | C++ migration: removed most typedef, removed uint_t | Benoit Germain | 2024-03-20 | 1 | -10/+6 |
| | |||||
* | C++ migration: UniqueKey | Benoit Germain | 2024-03-20 | 1 | -1/+1 |
| | |||||
* | C++ migration: buildfixes | Benoit Germain | 2024-03-19 | 1 | -4/+8 |
| | | | | Essentially, buildfixes when compiling as C++, plus properly marking public API as extern "C" | ||||
* | new .internal_allocator configuration IUNTESTED) | Benoit Germain | 2023-08-09 | 1 | -1/+1 |
| | | | | new configuration option .internal_allocator to help LuaJIT users. THIS IS YET UNTESTED, USE AT YOUR OWN RISKS. | ||||
* | Changed all indentations to all whitespaces | Benoit Germain | 2022-02-07 | 1 | -5/+5 |
| | | | | Tabs mess up alignment of stack contents comments, so I'm done with them. | ||||
* | Make sure any linda operation that can raise an error won't ever leave a ↵ | Benoit Germain | 2018-11-08 | 1 | -0/+1 |
| | | | | mutex unreleased | ||||
* | Improve LuaJIT-x64 compatibility | Benoit Germain | 2018-10-30 | 1 | -1/+3 |
| | | | | | Restrict internal "light userdata constants" to 47 significant bits when compiling against LuaJIT-x64 | ||||
* | More MinGW buildfixes (I hope) | Benoit Germain | 2018-10-25 | 1 | -1/+3 |
| | |||||
* | Fix Lanes build by reorganizing types around a bit | Benoit Germain | 2018-10-25 | 1 | -7/+16 |
| | |||||
* | Fix 64 bits compilation warnings | Benoit Germain | 2016-11-21 | 1 | -3/+3 |
| | |||||
* | linda:send() improvements | Benoit Germain | 2014-02-27 | 1 | -0/+2 |
| | | | | | | | | | * Bumped version to 3.9.3 * new exposed variable linda.null that exposes the internal NIL_SENTINEL marker * linda:send() interprets send key linda.null as authorization to silently send a single nil when not provided with anything to send (useful when sending results of a function that can return nothing) | ||||
* | Multiverse compatibility | Benoit Germain | 2014-02-26 | 1 | -8/+14 |
| | | | | | | | | | | | | | | | * bumped version to 3.9.2 * Internal rework: the whole Lanes engine now works "per universe" to allow concurrent Lanes execution in more than one embedded master state * this universe is a full userdata created in the master state, selfdestruct_gc is the __gc for this userdata * most of what was initialized only once is now per-universe * Fixed potential crashes at desinit if problems occur during keeper states initialisation * Fixed require() not always serialized properly * Raise an error instead of crashing on deep userdata prelude memory allocation failure * Added forgotten mutex desinitialisation at universe shutdown | ||||
* | Lanes init crash fix | Benoit Germain | 2014-02-18 | 1 | -9/+2 |
| | | | | | | | | | | | * bumped version to 3.9.1 * keeper array is allocated with master state's alloc function instead of malloc()/free() * prevent application crash when specifying a very large number of keepers in the configuration options * removed some keeper desinit legacy dead code * any error occuring during one-time inits is raised outside the one-time mutex protected code region |