304 Commits (64d5df77721da0183360d50da8d68663526bfa6a)

Author SHA1 Message Date
Roberto Ierusalimschy 2643da67c6 error messages from 'lua_resume' must be generated in protected mode, 15 years ago
Roberto Ierusalimschy 3e41afcec5 extra api checks for number of returns of C functions and for lua_yield 15 years ago
Roberto Ierusalimschy b0f2b288a6 new scheme for debug info about tail calls: no more 'fake' stack entries, 15 years ago
Roberto Ierusalimschy 2d5931ebc8 ensure that reader function cannot yield during parsing 15 years ago
Roberto Ierusalimschy 35fa276099 parser/scanner keep GC running 15 years ago
Roberto Ierusalimschy 5bc91c6405 no more one environment per thread: all threads share a single global 15 years ago
Roberto Ierusalimschy 916587508c parser keeps list of active local variables in a single dynamic array, 15 years ago
Roberto Ierusalimschy 5938212748 information about upvalues (where they come from) kept in Proto structure, 15 years ago
Roberto Ierusalimschy 0e45ffb8e4 first implementation of 'lua_yieldk' (yield with continuation) 15 years ago
Roberto Ierusalimschy f76f4cb79d new way to control stack overflow, controling only total size of the stack 16 years ago
Roberto Ierusalimschy 9423e22aa3 no more L->base + ci->base only for Lua functions (C functions may use 16 years ago
Roberto Ierusalimschy 019ebcb85f errors in finalizers are propagated with code LUA_ERRGCMM (ERRor in 16 years ago
Roberto Ierusalimschy e091a254df new way to GC stacks: the entire stack must be correct all the times; 16 years ago
Roberto Ierusalimschy e5249b9fb5 'exit' changed to 'abort' in case of panic (+ some extra comments) 16 years ago
Roberto Ierusalimschy d3037d97ec several small improvements based on 'ci' being fixed now (including 16 years ago
Roberto Ierusalimschy 4f88418170 'CallInfo' stack implemented as double-linked list instead of an array 16 years ago
Roberto Ierusalimschy 311e9f3ceb 'nresults' is saved in CallInfo from the caller, not the called 16 years ago
Roberto Ierusalimschy 70a63fa5ad first implementation of yieldable 'pcall' 16 years ago
Roberto Ierusalimschy 3dbf305408 no more support for old-style varargs 16 years ago
Roberto Ierusalimschy 6d0ae11c57 'context' added to suspendable calls 16 years ago
Roberto Ierusalimschy ba484b9eb1 yielding across lua_call (first version) 16 years ago
Roberto Ierusalimschy 1817dfc301 initial separation, in CallInfo, of what is relevant only to Lua 16 years ago
Roberto Ierusalimschy 910310d3ba if thread has no error handling, try main thread handler before panicking 16 years ago
Roberto Ierusalimschy 2b579b4b83 panic mode does not reset stack (so that panic function can gather 16 years ago
Roberto Ierusalimschy b472098493 concat TM can yield 16 years ago
Roberto Ierusalimschy 84b3daebbd generic for coded as two dedicated instructions to simplify resumption 16 years ago
Roberto Ierusalimschy f6978173e0 yields accross metamethods and for iterators (except for __concat) 16 years ago
Roberto Ierusalimschy f94cd2201c better control of call status through CallInfo 16 years ago
Roberto Ierusalimschy fdbb243ff9 first steps towards yielding through longjump 16 years ago
Roberto Ierusalimschy e7c989baf1 avoid calling "tail return" hooks if the hook itself turns off the event 17 years ago
Roberto Ierusalimschy 5f4f0d4a63 no more optimization to avoid LOADNIL at function start 18 years ago
Roberto Ierusalimschy afa0d0ac0d new constant LUA_OK 18 years ago
Roberto Ierusalimschy d1ef7e0ec6 avoid local "pc" in interpreter loop (tricky optimization with no real gain) 18 years ago
Roberto Ierusalimschy a7c9e45c64 avoid trailing white spaces 18 years ago
Roberto Ierusalimschy c473818017 avoid "too complex" conditional expression (some compilers get confused...) 18 years ago
Roberto Ierusalimschy 93bf618504 BUG: there is only one C stack, so nCcalls must be global 18 years ago
Roberto Ierusalimschy 3ca9af51a4 emergency garbage collector (core forces a GC when allocation fails) 19 years ago
Roberto Ierusalimschy a62fca1ebb BUG: debug hooks may get wrong when mixed with coroutines 19 years ago
Roberto Ierusalimschy c505f341d6 small changes in casts 19 years ago
Roberto Ierusalimschy 201288b4df small bug 19 years ago
Roberto Ierusalimschy b3f81f1d1d small bug when debugging dead threads 19 years ago
Roberto Ierusalimschy 37b49aa451 detail 19 years ago
Roberto Ierusalimschy 2d2f955763 detail 19 years ago
Roberto Ierusalimschy 98296f6b45 some bugs related to stack reallocation 19 years ago
Roberto Ierusalimschy 23b79c5945 small changes to facilitate external C coroutines 19 years ago
Roberto Ierusalimschy 6fcd334ca0 small improvements 19 years ago
Roberto Ierusalimschy 44b19075c0 small changes (to easy integration with Coco) 20 years ago
Roberto Ierusalimschy 575637319e better recovery at panic 20 years ago
Roberto Ierusalimschy 34aac33c15 detail 20 years ago
Roberto Ierusalimschy bf2b342ac1 better control for compatibility code for varargs 20 years ago