aboutsummaryrefslogtreecommitdiff
path: root/src/universe.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* All Lua headers included just once in _pch.hBenoit Germain2024-06-111-9/+0
|
* Removed .demote_full_userdataBenoit Germain2024-06-101-2/+0
|
* Boyscouting some luaG_ functionsBenoit Germain2024-06-071-1/+1
|
* Use a precompiled header to speed up the buildBenoit Germain2024-06-071-3/+0
|
* New global setting "strip_functions"Benoit Germain2024-06-031-0/+2
|
* Keeper management modernisation and improvementsBenoit Germain2024-05-301-4/+3
| | | | | | | * 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 clang-tidy issues (most notably Microsoft-specific explicit constructor ↵Benoit Germain2024-05-291-12/+13
| | | | calls)
* New Lanes finalizer API lanes.finally()Benoit Germain2024-05-281-0/+3
|
* Process upvalues equal to _G in Lua51 as in other flavorsBenoit Germain2024-05-241-2/+0
|
* DEBUGSPEW_PARAM_COMMA(Universe* U_)Benoit Germain2024-05-231-2/+2
|
* Minor code tweaksBenoit Germain2024-05-171-1/+1
|
* Shuffling code aroundBenoit Germain2024-05-141-32/+4
|
* Moved Lane tracking implementation in a separate fileBenoit Germain2024-05-141-5/+2
|
* Move InterCopyContext implementation in a separate fileBenoit Germain2024-05-131-1/+0
|
* Some more code refactorizationBenoit Germain2024-05-131-0/+36
|
* Progressively applying the coding rulesBenoit Germain2024-05-021-30/+30
|
* Progressively applying the coding rulesBenoit Germain2024-04-301-1/+1
|
* Function parameters L → L_Benoit Germain2024-04-291-12/+12
|
* All headers reformatted with updated clang-format settingsBenoit Germain2024-04-291-14/+7
|
* Formalize a few coding style rules, start to enforce them for constantsBenoit Germain2024-04-261-0/+1
|
* ASSERT_L → LUA_ASSERTBenoit Germain2024-04-241-1/+1
|
* some dead code elimination and other triflesBenoit Germain2024-04-161-6/+7
|
* C++ migration: more conversion to InterCopyContext. debugspew indentation is ↵Benoit Germain2024-04-161-0/+28
| | | | managed by a scope object
* C++ migration: [[nodiscard]] everywhere. still have to check all std::ignoreBenoit Germain2024-04-091-5/+5
|
* C++ migration: still more threading code cleanup. 'sudo' global moved in the ↵Benoit Germain2024-04-091-2/+18
| | | | Universe
* C++ migration: more atomicsBenoit Germain2024-04-021-2/+2
|
* C++ migration: fix some warnings in 32 bits buildsBenoit Germain2024-03-311-1/+1
|
* C++ migration: all enums are enum classBenoit Germain2024-03-291-2/+4
|
* C++ migration: Lane is a proper class with overloaded operator new/deleteBenoit Germain2024-03-291-1/+1
|
* C++ migration: lots of noise, but it's only some minor code cleanupBenoit Germain2024-03-281-3/+3
|
* C++ migration: buildfix for pre-5.4 Lua targetsBenoit Germain2024-03-271-0/+1
|
* C++ migration: templated lua_touserdataBenoit Germain2024-03-261-1/+1
|
* C++ migration: Fix metatable caching bug introduced when converting the ↵Benoit Germain2024-03-261-1/+1
| | | | index to std::atomic
* C++ migration: refactor AllocatorDefinition and ProtectedAllocator into classesBenoit Germain2024-03-261-6/+80
|
* C++ migration: Universe MUTEX_T replaced with std::mutex and std::atomicBenoit Germain2024-03-251-25/+22
|
* C++ migration: removed most typedef, removed uint_tBenoit Germain2024-03-201-10/+5
|
* C++ migration: more NULL → nullptrBenoit Germain2024-03-201-1/+1
|
* C++ migration: UniqueKeyBenoit Germain2024-03-201-2/+1
|
* C++ migration: bool_t → boolBenoit Germain2024-03-201-2/+2
|
* C++ migration: buildfixesBenoit Germain2024-03-191-7/+8
| | | | Essentially, buildfixes when compiling as C++, plus properly marking public API as extern "C"
* new .internal_allocator configuration IUNTESTED)Benoit Germain2023-08-091-0/+2
| | | | new configuration option .internal_allocator to help LuaJIT users. THIS IS YET UNTESTED, USE AT YOUR OWN RISKS.
* moonjit supportBenoit Germain2022-03-091-5/+6
|
* removed explicit calls to malloc/freeBenoit Germain2022-02-071-2/+2
| | | | Lane and linda userdata were allocated with malloc/free, preventing embedders from fully controlling memory operations. Now all internal Lanes allocations go through the master state alloc function.
* Changed all indentations to all whitespacesBenoit Germain2022-02-071-32/+32
| | | | Tabs mess up alignment of stack contents comments, so I'm done with them.
* don't test __lanesignore for POD types (-> slightly faster when trasnfering ↵Benoit Germain2018-11-301-1/+1
| | | | | | lots of data) + more code refactoring
* protect_allocator configure option is gone, long live allocator (more ↵Benoit Germain2018-11-251-0/+26
| | | | embedders-friendly)
* fix an internal error trying to call on_state_create in a lane without any ↵Benoit Germain2018-11-031-0/+2
| | | | | | | libs loaded always duplicate the config structure in new lanes even when no libraries are initialized by the generator
* Fix Lanes build by reorganizing types around a bitBenoit Germain2018-10-251-8/+16
|
* Fix for deep-aware modulesBenoit Germain2017-08-011-0/+66
Don't crash when using a module that creates Lanes-compatible deep userdata. Added a sample deep-aware module.