458 Commits (5d8ce05b3f6fad79e37ed21c1076e47a322472c6)

Author SHA1 Message Date
Roberto Ierusalimschy 5d8ce05b3f Back to a stackless implementation 4 years ago
Roberto Ierusalimschy 34affe7a63 Fixed bug: 'luaD_callnoyield' called twice in a row 4 years ago
Roberto Ierusalimschy a2195644d8 Fixed bug: invalid 'oldpc' when returning to a function 4 years ago
Roberto Ierusalimschy e1d8770f12 Fixed bug: wrong stack limit when entering a coroutine 4 years ago
Roberto Ierusalimschy eb41999461 Fixed bugs of stack reallocation x GC 4 years ago
Roberto Ierusalimschy 314c6057b7 Avoid any code before locks in the API 4 years ago
Roberto Ierusalimschy 6298903e35 Keep minimum size when shrinking a stack 4 years ago
Roberto Ierusalimschy 17dbaa8639 Improvements in the handling of signals 5 years ago
Roberto Ierusalimschy 46c3587a6f Clearer distinction between types and tags 5 years ago
Roberto Ierusalimschy c1a63c45f8 '__call' metamethod can be any callable object 5 years ago
Roberto Ierusalimschy be73f72fcc New function 'setCstacklimit' 5 years ago
Roberto Ierusalimschy 3cd9b56ae6 Revamp around 'L->nCcalls' count 5 years ago
Roberto Ierusalimschy 0b63d79b36 Details 6 years ago
Roberto Ierusalimschy 3f253f116e Test for dead coroutine moved to 'lua_resume' 6 years ago
Roberto Ierusalimschy 389116d8ab Coroutines do not unwind the stack in case of errors 6 years ago
Roberto Ierusalimschy 0443ad9e28 LUAI_MAXCCALLS renamed LUAI_MAXCSTACK 6 years ago
Roberto Ierusalimschy 4ace93ca65 No more to-be-closed functions 6 years ago
Roberto Ierusalimschy ba7da13ec5 Changes in the control of C-stack overflow 6 years ago
Roberto Ierusalimschy fdc25a1ebf New functions 'lua_resetthread' and 'coroutine.kill' 6 years ago
Roberto Ierusalimschy 3b06f983ae Details 6 years ago
Roberto Ierusalimschy 7e63d3da02 Some bugs with stack reallocation by 'luaF_close' 6 years ago
Roberto Ierusalimschy 34840301b5 To-be-closed variables in the C API 6 years ago
Roberto Ierusalimschy c90176f969 Complete implementation of to-be-closed variables 6 years ago
Roberto Ierusalimschy bd96330d03 First "complete" implementation of to-be-closed variables 6 years ago
Roberto Ierusalimschy 4cd1f4aac0 Towards "to closed" local variables 6 years ago
Roberto Ierusalimschy b114c7d487 Added "cost" for the use of C stack by a coroutine invocation. 6 years ago
Roberto Ierusalimschy 96f9643f33 Bug: wrong 'nCcalls' when resuming a coroutine 6 years ago
Roberto Ierusalimschy 34aa0c5bd7 new macros 'likely'/'unlikely' with hints for jump predictions 7 years ago
Roberto Ierusalimschy 02ed0b2c30 in 'luaD_poscall', there is no need to compute 'firstResult' when 'nres==0' 7 years ago
Roberto Ierusalimschy 4907444db9 'fTransfer' -> 'ftransfer' / 'nTransfer' -> 'ntransfer' 7 years ago
Roberto Ierusalimschy 6480e73599 details (avoid using non-C89 '//' comment) 7 years ago
Roberto Ierusalimschy 8c429311a3 typo in comment 7 years ago
Roberto Ierusalimschy ef8263f81f better names for macros for tags and types. 7 years ago
Roberto Ierusalimschy 422318f677 two new fields 'fTransfer'/'nTransfer' in 'lua_Debug' structure 7 years ago
Roberto Ierusalimschy 104d249ffb in return hook, 'top' must be corrected only if smaller than 'ci->top'. 7 years ago
Roberto Ierusalimschy 0682fe8169 some simplifications/optimizations in returns from Lua functions 7 years ago
Roberto Ierusalimschy b1379936cf vararg back to '...' (but with another implementation) 7 years ago
Roberto Ierusalimschy 4e0de3a43c details 7 years ago
Roberto Ierusalimschy 318a9a5859 new opcode 'PREPVARARG' 7 years ago
Roberto Ierusalimschy 51280ef2ad call hooks for Lua functions called by 'luaV_execute' 7 years ago
Roberto Ierusalimschy dc0ab1e8ca warnings in VS (implicit casts from ptrdiff_t to int) 7 years ago
Roberto Ierusalimschy 89110986d7 bug in tailcall of vararg functions 7 years ago
Roberto Ierusalimschy 53979dfe0d calling a vararg function needs to check GC 7 years ago
Roberto Ierusalimschy ab0a851db4 'luaD_tryfuncTM' can ensure it does not change the stack 7 years ago
Roberto Ierusalimschy 28323aeaa6 by-one error when filling missing arguments in a tail call 7 years ago
Roberto Ierusalimschy 8691612f01 when calling a hook, cannot decrease 'ci->top' (to preserve stack 7 years ago
Roberto Ierusalimschy 1d5b885437 when running Lua code, there is no need to keep 'L->top' "correct"; 7 years ago
Roberto Ierusalimschy 4dc0be950a new macro 'isLuacode' (to distinguish regular Lua code from 7 years ago
Roberto Ierusalimschy b3f924bc69 'Proto->numparams' does not include vararg parameter 7 years ago
Roberto Ierusalimschy 725c15a4ca when shrinking stack, always shrinks the CI list. 7 years ago