Commit History

Autor SHA1 Mensaxe Data
  Roberto Ierusalimschy 9c196bebad detail (wrong comment about LUAI_GCPAUSE) %!s(int64=15) %!d(string=hai) anos
  Roberto Ierusalimschy 28b2566c97 'lua_assert' not visible from libraries %!s(int64=15) %!d(string=hai) anos
  Roberto Ierusalimschy caf74dd731 'cpcall' renamed to 'ccall' as it does not do a protected call %!s(int64=15) %!d(string=hai) anos
  Roberto Ierusalimschy 62840c5fad 'ipairs' is deprecated %!s(int64=15) %!d(string=hai) anos
  Roberto Ierusalimschy 5ca7cdd709 for compatibility only: 'module' changes the first upvalue of %!s(int64=15) %!d(string=hai) anos
  Roberto Ierusalimschy 1514e49d43 avoid using function environments in C libraries (as it probably will %!s(int64=15) %!d(string=hai) anos
  Roberto Ierusalimschy 22ef84b6c8 '_ENV' name permanently stored in global state for easier access %!s(int64=15) %!d(string=hai) anos
  Roberto Ierusalimschy 63a2b62468 must include 'string.h' because a macro uses 'strlen' %!s(int64=15) %!d(string=hai) anos
  Roberto Ierusalimschy 489253d753 better definitions for lua_[gs]etglobal + less uses of ENVIRONINDEX %!s(int64=15) %!d(string=hai) anos
  Roberto Ierusalimschy 25c557ec63 first version of _ENV; no more global variables %!s(int64=15) %!d(string=hai) anos
  Roberto Ierusalimschy f292760f12 small optimization in luaL_addlstring (avoid adding chars one by one) %!s(int64=15) %!d(string=hai) anos
  Roberto Ierusalimschy 1124cb1247 first step towards _ENV: all chunks have an puvalues _ENV with the %!s(int64=15) %!d(string=hai) anos
  Roberto Ierusalimschy c295147874 when finding a 'name' for a function, handle the case when the function %!s(int64=15) %!d(string=hai) anos
  Roberto Ierusalimschy e560ac4862 when searching for a variable name, look existing upvalues before %!s(int64=15) %!d(string=hai) anos
  Roberto Ierusalimschy 915a9a912c just in case, better to flush error messages %!s(int64=15) %!d(string=hai) anos
  Roberto Ierusalimschy ae0a5e2142 new option '*L' for io.read + options for io.lines %!s(int64=15) %!d(string=hai) anos
  Roberto Ierusalimschy 347f0c33d1 avoid 'continue' unless necessary %!s(int64=15) %!d(string=hai) anos
  Roberto Ierusalimschy 622e448710 removed useless test (argv[i] cannot be NULL when i<argc) %!s(int64=15) %!d(string=hai) anos
  Roberto Ierusalimschy 0fe2576a39 new instructions to optimize indexing on upvalues %!s(int64=15) %!d(string=hai) anos
  Roberto Ierusalimschy d08d237a49 detail: in loadfile read function, no need to return NULL on EOF; %!s(int64=15) %!d(string=hai) anos
  Roberto Ierusalimschy 64a7ec987c avoid using 'ungetc' in loadfile %!s(int64=15) %!d(string=hai) anos
  Roberto Ierusalimschy 4274738e81 new macro 'luai_writestringerror' %!s(int64=15) %!d(string=hai) anos
  Roberto Ierusalimschy 0d7d559dcc no need to flush either stderr or \n-terminated outputs %!s(int64=15) %!d(string=hai) anos
  Roberto Ierusalimschy af512ad6da use of 'conventional' names for shift and rotate operations + %!s(int64=15) %!d(string=hai) anos
  Roberto Ierusalimschy d27108ccd5 removed support for '#fist-line comment' on binary files (as binary %!s(int64=15) %!d(string=hai) anos
  Roberto Ierusalimschy a838b3b496 better usage messages, showing entire offending argument %!s(int64=15) %!d(string=hai) anos
  Roberto Ierusalimschy 4c54cd3a10 when yielding, original 'func' value must be kept and restored so %!s(int64=15) %!d(string=hai) anos
  Roberto Ierusalimschy c8ff7de7f0 field 'oldtop' renamed to 'extra', as it can be used for other %!s(int64=15) %!d(string=hai) anos
  Roberto Ierusalimschy 3bae8e047c typo (thanks to Gavin) %!s(int64=15) %!d(string=hai) anos
  Roberto Ierusalimschy 4f5f2fe367 new function 'luaL_cpcall' %!s(int64=15) %!d(string=hai) anos