Commit History

Autor SHA1 Mensaxe Data
  Roberto Ierusalimschy 5bc91c6405 no more one environment per thread: all threads share a single global %!s(int64=16) %!d(string=hai) anos
  Roberto Ierusalimschy a5382b763c new function lua_copy %!s(int64=16) %!d(string=hai) anos
  Roberto Ierusalimschy ba21aa8b2b 'cpcall' must ensure correct environment for called function %!s(int64=16) %!d(string=hai) anos
  Roberto Ierusalimschy bed2cb725a initialize g->estimate (just in case) %!s(int64=16) %!d(string=hai) anos
  Roberto Ierusalimschy a650378822 'cpcall' reimplemented as a predefined value in the registry %!s(int64=16) %!d(string=hai) anos
  Roberto Ierusalimschy 67cae2854c 'lua_mainthread' replaced by new preregistered value LUA_RIDX_MAINTHREAD %!s(int64=16) %!d(string=hai) anos
  Roberto Ierusalimschy f76f4cb79d new way to control stack overflow, controling only total size of the stack %!s(int64=16) %!d(string=hai) anos
  Roberto Ierusalimschy 1d6ebce296 new function 'lua_version' (so that 'checkversion' can be implemented %!s(int64=16) %!d(string=hai) anos
  Roberto Ierusalimschy 9423e22aa3 no more L->base + ci->base only for Lua functions (C functions may use %!s(int64=16) %!d(string=hai) anos
  Roberto Ierusalimschy e091a254df new way to GC stacks: the entire stack must be correct all the times; %!s(int64=16) %!d(string=hai) anos
  Roberto Ierusalimschy d3037d97ec several small improvements based on 'ci' being fixed now (including %!s(int64=16) %!d(string=hai) anos
  Roberto Ierusalimschy c6b442bd36 'luaM_freearray' does not need array type as argument %!s(int64=16) %!d(string=hai) anos
  Roberto Ierusalimschy 4f88418170 'CallInfo' stack implemented as double-linked list instead of an array %!s(int64=16) %!d(string=hai) anos
  Roberto Ierusalimschy ba484b9eb1 yielding across lua_call (first version) %!s(int64=16) %!d(string=hai) anos
  Roberto Ierusalimschy d2ebdc045b new macro 'lua_checkversion' to check whether core and application are %!s(int64=16) %!d(string=hai) anos
  Roberto Ierusalimschy d07abcc6c7 finalizers always called protected %!s(int64=16) %!d(string=hai) anos
  Roberto Ierusalimschy f94cd2201c better control of call status through CallInfo %!s(int64=17) %!d(string=hai) anos
  Roberto Ierusalimschy 394646891c new field 'status' in CallInfo structure %!s(int64=17) %!d(string=hai) anos
  Roberto Ierusalimschy 0c8f5fc2fd simplification in the handling of finalizers: no more 'tmudata' list + %!s(int64=17) %!d(string=hai) anos
  Roberto Ierusalimschy e2b366c760 userdata with finalizers are kept in a separated list %!s(int64=17) %!d(string=hai) anos
  Roberto Ierusalimschy a73930228a more options for 'kinds' of Garbage Collection %!s(int64=17) %!d(string=hai) anos
  Roberto Ierusalimschy 5e8dd55574 first implementation of ephemerons %!s(int64=18) %!d(string=hai) anos
  Roberto Ierusalimschy 0e961ad47a some changes toward ephemerons %!s(int64=18) %!d(string=hai) anos
  Roberto Ierusalimschy afa0d0ac0d new constant LUA_OK %!s(int64=19) %!d(string=hai) anos
  Roberto Ierusalimschy a7c9e45c64 avoid trailing white spaces %!s(int64=19) %!d(string=hai) anos
  Roberto Ierusalimschy 93bf618504 BUG: there is only one C stack, so nCcalls must be global %!s(int64=19) %!d(string=hai) anos
  Roberto Ierusalimschy 3ca9af51a4 emergency garbage collector (core forces a GC when allocation fails) %!s(int64=19) %!d(string=hai) anos
  Roberto Ierusalimschy c408158047 only destroy state after running all finalizers %!s(int64=19) %!d(string=hai) anos
  Roberto Ierusalimschy d31c04c049 missing macros 'luai_userstate*' %!s(int64=20) %!d(string=hai) anos
  Roberto Ierusalimschy 361a9adba7 smaller initial tables (for programs that create many states) %!s(int64=20) %!d(string=hai) anos