Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Minor tweaksv3.16.1 | Benoit Germain | 2023-08-16 | 1 | -2/+3 |
| | |||||
* | new .internal_allocator configuration IUNTESTED) | Benoit Germain | 2023-08-09 | 1 | -5/+33 |
| | | | | new configuration option .internal_allocator to help LuaJIT users. THIS IS YET UNTESTED, USE AT YOUR OWN RISKS. | ||||
* | moonjit support | Benoit Germain | 2022-03-09 | 1 | -2/+2 |
| | |||||
* | Bug in __lanesclone with 3 parameters mechanism fixed (index was wrong in ↵ | valid-ptr | 2022-03-01 | 1 | -4/+4 |
| | | | | inter_copy_function); Some comments improved | ||||
* | __lanesclone is now called only once with 3 parameters dest, source, size -> ↵ | Benoit Germain | 2022-02-08 | 1 | -116/+104 |
| | | | | BREAKS CUSTOM DEEP USERDATA API | ||||
* | removed explicit calls to malloc/free | Benoit Germain | 2022-02-07 | 1 | -6/+14 |
| | | | | 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 whitespaces | Benoit Germain | 2022-02-07 | 1 | -1654/+1654 |
| | | | | Tabs mess up alignment of stack contents comments, so I'm done with them. | ||||
* | fix function transfer with lua_dump for Lua 5.4 failing for functions big ↵ | Benoit Germain | 2021-07-08 | 1 | -14/+26 |
| | | | | enough to necessitate a buffer reallocation | ||||
* | fix stack overflow when transfering a clonable userdata referencing itself ↵ | Benoit Germain | 2021-06-26 | 1 | -77/+177 |
| | | | | through a uservalue | ||||
* | correctly transfer the uservalue of a deep userdata | Benoit Germain | 2021-06-24 | 1 | -397/+1 |
| | |||||
* | __lanesclone now receives the original as light userdata the first time it ↵ | Benoit Germain | 2021-06-23 | 1 | -4/+6 |
| | | | | is called | ||||
* | Moved cancellation code in separate files | Benoit Germain | 2019-04-22 | 1 | -2/+2 |
| | |||||
* | Fix clonable userdata uservalue transfer | Benoit Germain | 2018-11-30 | 1 | -5/+4 |
| | |||||
* | don't test __lanesignore for POD types (-> slightly faster when trasnfering ↵ | Benoit Germain | 2018-11-30 | 1 | -66/+98 |
| | | | | | | lots of data) + more code refactoring | ||||
* | Split a megafunction in smaller parts | Benoit Germain | 2018-11-28 | 1 | -234/+259 |
| | |||||
* | Lua 5.4 support | Benoit Germain | 2018-11-27 | 1 | -17/+74 |
| | |||||
* | protect_allocator configure option is gone, long live allocator (more ↵ | Benoit Germain | 2018-11-25 | 1 | -10/+99 |
| | | | | embedders-friendly) | ||||
* | finish registry access revamp | Benoit Germain | 2018-11-23 | 1 | -7/+5 |
| | |||||
* | Fix a buffer overrun | Benoit Germain | 2018-11-23 | 1 | -1/+1 |
| | |||||
* | Raise an error instead of crashing when attempting to transfer a non-deep ↵ | Benoit Germain | 2018-11-23 | 1 | -1/+8 |
| | | | | full userdata | ||||
* | More DEBUGSPEW logging | Benoit Germain | 2018-11-21 | 1 | -33/+89 |
| | |||||
* | Internal code tweaks | Benoit Germain | 2018-11-19 | 1 | -48/+59 |
| | | | | | | * Registry access code utility macros * CONFIG_REGKEY and LOOKUP_REGKEY are now lightuserdata instead of strings * Stack checking debug macros improvements | ||||
* | fix a bunch of compilation warnings (issue #157) | Benoit Germain | 2018-11-11 | 1 | -63/+66 |
| | |||||
* | __lanesclone mechanism should actually work now | Benoit Germain | 2018-11-07 | 1 | -16/+73 |
| | |||||
* | Little bugfix for __lanesclone support | Benoit Germain | 2018-11-07 | 1 | -5/+8 |
| | | | | | Don't fall back to the light userdata demotion when cloning succeeded (cloning still doesn't work yet) | ||||
* | Fix compilation warning glitches | Benoit Germain | 2018-11-05 | 1 | -1/+1 |
| | |||||
* | fix an internal error trying to call on_state_create in a lane without any ↵ | Benoit Germain | 2018-11-03 | 1 | -31/+16 |
| | | | | | | | libs loaded always duplicate the config structure in new lanes even when no libraries are initialized by the generator | ||||
* | Improve LuaJIT-x64 compatibility | Benoit Germain | 2018-10-30 | 1 | -3/+4 |
| | | | | | Restrict internal "light userdata constants" to 47 significant bits when compiling against LuaJIT-x64 | ||||
* | Merge changes | Benoit Germain | 2018-10-29 | 1 | -67/+86 |
|\ | |||||
| * | More MinGW buildfixes (I hope) | Benoit Germain | 2018-10-25 | 1 | -13/+13 |
| | | |||||
| * | Fix Lanes build by reorganizing types around a bit | Benoit Germain | 2018-10-25 | 1 | -28/+28 |
| | | |||||
| * | verbose_error improvements | Benoit Germain | 2018-07-09 | 1 | -36/+55 |
| | | | | | | | | | | | | * Fix a stack overflow when copying large tables with verbose_errors option enabled * Support for integer formatting in verbose errors | ||||
* | | add support for deep userdata cloning | Benoit Germain | 2018-10-29 | 1 | -92/+107 |
|/ | |||||
* | Deep userdata improvements | Benoit Germain | 2017-08-02 | 1 | -1/+1 |
| | | | | | Support for user-provided __gc Improved example | ||||
* | Fix for deep-aware modules | Benoit Germain | 2017-08-01 | 1 | -38/+10 |
| | | | | | | Don't crash when using a module that creates Lanes-compatible deep userdata. Added a sample deep-aware module. | ||||
* | Merge pull request #126 from aidanholm/master | Benoit Germain | 2017-06-05 | 1 | -1/+1 |
|\ | | | | | Fix build with USE_DEBUG_SPEW | ||||
| * | Fix build with USE_DEBUG_SPEW | Aidan Holm | 2016-12-13 | 1 | -1/+1 |
| | | |||||
* | | Table transfer improvements | Benoit Germain | 2017-06-05 | 1 | -91/+227 |
| | | | | | | | | | | | | | | | | * new API function lanes.register( "name", module) to manually register a module table after it was required * Transfering registered module tables will link the equivalent in the destination state instead of cloning it * bumped version to 3.11 | ||||
* | | prepare the way for module table lookup | Benoit Germain | 2017-05-16 | 1 | -99/+91 |
| | | | | | | | | | | | | | | Add tables when populating lookup databases. The idea is, when transfering a known table, to perform a lookup in the destination for the equivalent table instead of cloning the original (not implemented yet). | ||||
* | | Some code formatting and other non-changes | Benoit Germain | 2017-05-12 | 1 | -50/+52 |
| | | |||||
* | | Suppress a #pragma message | Benoit Germain | 2017-05-10 | 1 | -1/+1 |
| | | |||||
* | | Improve LuaJIT support | Benoit Germain | 2017-05-10 | 1 | -6/+13 |
|/ | | | | | | | * better LuaJIT-specific headers detection * add LuaJIT-specific libraries when known * properly raise an error when attempting to transfer a LUAT_CDATA value * some compilationg warning fixes | ||||
* | Added __lanesignore field for metatables | Ilya Uvarenkov | 2016-04-20 | 1 | -1/+17 |
| | |||||
* | Fix standard library lists for Lua 5.3 | mpeterv | 2015-04-12 | 1 | -0/+5 |
| | | | | | Fixes crash on require under Lua 5.3 without LUA_COMPAT_5_2. Fixes utf8 library not loaded under Lua 5.3. | ||||
* | Merge pull request #115 from mpeterv/fix-lua-dump | Benoit Germain | 2015-04-12 | 1 | -2/+2 |
|\ | | | | | Do not strip debug info of dumped functions on Lua 5.3 | ||||
| * | Do not strip debug info of dumped functions on Lua 5.3 | mpeterv | 2015-02-25 | 1 | -2/+2 |
| | | |||||
* | | Apply _ENV-related logic to Lua 5.3 | mpeterv | 2015-02-25 | 1 | -5/+5 |
|/ | | | | It was only applied to Lua 5.2. | ||||
* | preliminary Lua 5.3 support | Benoit Germain | 2014-12-16 | 1 | -5/+4 |
| | | | | Untested, but it might just work :). | ||||
* | fix lookup of globals created by on_state_create | Benoit Germain | 2014-07-08 | 1 | -0/+19 |
| | | | | | | * Postponed _G scan for function lookup database to after on_state_create invocation * Fixed a crash when USE_DEBUG_SPEW == 1 | ||||
* | Deep userdata changes | Benoit Germain | 2014-06-17 | 1 | -468/+4 |
| | | | | | | | | | * bumped version to 3.9.6 * separate deep userdata code in a dedicated file to allow external modules to implement Lanes-compatible deep userdata without requiring a binary dependency against the Lanes module. because of this linda_id function(eDO_metatable) must push 2 values on the stack: a metatable and a deep version string obtained from luaG_pushdeepversion() |