Mirror of the amazing lua scripting language
#lua #script #scripting #script-engine #embed #embedded #script-language

Roberto Ierusalimschy 9423e22aa3 no more L->base + ci->base only for Lua functions (C functions may use %!s(int64=16) %!d(string=hai) anos
bugs 58c3aa8b5f malicious zero-length string in binary code may segfault Lua + %!s(int64=16) %!d(string=hai) anos
lapi.c 9423e22aa3 no more L->base + ci->base only for Lua functions (C functions may use %!s(int64=16) %!d(string=hai) anos
lapi.h fffbaede75 detail %!s(int64=16) %!d(string=hai) anos
lauxlib.c ae9ad6c694 added comment explaining why the 'feof' test when loading a file %!s(int64=16) %!d(string=hai) anos
lauxlib.h 547e47649f 'luaL_typeerror' spelled right %!s(int64=16) %!d(string=hai) anos
lbaselib.c 70a63fa5ad first implementation of yieldable 'pcall' %!s(int64=16) %!d(string=hai) anos
lcode.c 4d7469b610 avoid constant folding for -0 (to avoid it colapsing to 0) %!s(int64=17) %!d(string=hai) anos
lcode.h 9e58e0df8f some cleaning %!s(int64=17) %!d(string=hai) anos
lctype.c 139d562861 type of 'luai_ctype_' array changed to unsigned (safer for bitwise %!s(int64=16) %!d(string=hai) anos
lctype.h 139d562861 type of 'luai_ctype_' array changed to unsigned (safer for bitwise %!s(int64=16) %!d(string=hai) anos
ldblib.c 82749b765e 'db_errorfb' changed to 'db_traceback' for consistency %!s(int64=16) %!d(string=hai) anos
ldebug.c 9423e22aa3 no more L->base + ci->base only for Lua functions (C functions may use %!s(int64=16) %!d(string=hai) anos
ldebug.h d7bc346d7a no more code checking %!s(int64=16) %!d(string=hai) anos
ldo.c 9423e22aa3 no more L->base + ci->base only for Lua functions (C functions may use %!s(int64=16) %!d(string=hai) anos
ldo.h 4f88418170 'CallInfo' stack implemented as double-linked list instead of an array %!s(int64=16) %!d(string=hai) anos
ldump.c 1ceec74370 useless test removed (pointed by lint) %!s(int64=17) %!d(string=hai) anos
lfunc.c c6b442bd36 'luaM_freearray' does not need array type as argument %!s(int64=16) %!d(string=hai) anos
lfunc.h 8718fda9b2 added LUAI_FUNC to functions not in the API %!s(int64=20) %!d(string=hai) anos
lgc.c 019ebcb85f errors in finalizers are propagated with code LUA_ERRGCMM (ERRor in %!s(int64=16) %!d(string=hai) anos
lgc.h e091a254df new way to GC stacks: the entire stack must be correct all the times; %!s(int64=16) %!d(string=hai) anos
linit.c 0cc3add9f8 variable renaming: 'lualibs' -> 'loadedlibs'; 'luareqlibs' -> %!s(int64=16) %!d(string=hai) anos
liolib.c e39e758a73 closing a "popen" file returns the process exit status %!s(int64=16) %!d(string=hai) anos
llex.c 889284ebd0 hexadecimal escape sequences in strings + better error messages for %!s(int64=16) %!d(string=hai) anos
llex.h 3138afbe2e parser should not call 'luaX_lexerror' %!s(int64=18) %!d(string=hai) anos
llimits.h a7c9e45c64 avoid trailing white spaces %!s(int64=19) %!d(string=hai) anos
lmathlib.c 3ca739b418 'math.random' uses lua_Number to manage its arguments (there is no %!s(int64=16) %!d(string=hai) anos
lmem.c bd869c7b31 details %!s(int64=19) %!d(string=hai) anos
lmem.h c6b442bd36 'luaM_freearray' does not need array type as argument %!s(int64=16) %!d(string=hai) anos
loadlib.c 7e9bc41fe7 'loadlib(lib, "*")' loads 'lib' with global names exported to all %!s(int64=16) %!d(string=hai) anos
lobject.c 57f8414de1 small bug in 'luaV_concat' (L->top was left incorrect in some cases) %!s(int64=16) %!d(string=hai) anos
lobject.h 3dbf305408 no more support for old-style varargs %!s(int64=16) %!d(string=hai) anos
lopcodes.c 84b3daebbd generic for coded as two dedicated instructions to simplify resumption %!s(int64=17) %!d(string=hai) anos
lopcodes.h f9d015523e better notes about some opcodes (comments only) %!s(int64=16) %!d(string=hai) anos
loslib.c 5d09be4832 by default, 'os.exit' closes current state %!s(int64=17) %!d(string=hai) anos
lparser.c d7bc346d7a no more code checking %!s(int64=16) %!d(string=hai) anos
lparser.h 198be23f36 added structure for local-variable information to allow extra %!s(int64=17) %!d(string=hai) anos
lstate.c 9423e22aa3 no more L->base + ci->base only for Lua functions (C functions may use %!s(int64=16) %!d(string=hai) anos
lstate.h 9423e22aa3 no more L->base + ci->base only for Lua functions (C functions may use %!s(int64=16) %!d(string=hai) anos
lstring.c ea44570883 hash table for strings is rehashed in place %!s(int64=16) %!d(string=hai) anos
lstring.h 8718fda9b2 added LUAI_FUNC to functions not in the API %!s(int64=20) %!d(string=hai) anos
lstrlib.c cbf0c7a103 check for invalid use of '%' in replacement string in 'string.gsub' %!s(int64=16) %!d(string=hai) anos
ltable.c c6b442bd36 'luaM_freearray' does not need array type as argument %!s(int64=16) %!d(string=hai) anos
ltable.h 3ca9af51a4 emergency garbage collector (core forces a GC when allocation fails) %!s(int64=19) %!d(string=hai) anos
ltablib.c 6d0ae11c57 'context' added to suspendable calls %!s(int64=16) %!d(string=hai) anos
ltests.c 9423e22aa3 no more L->base + ci->base only for Lua functions (C functions may use %!s(int64=16) %!d(string=hai) anos
ltests.h d3037d97ec several small improvements based on 'ci' being fixed now (including %!s(int64=16) %!d(string=hai) anos
ltm.c fe0838cd1c tables and strings respect __len metamethod %!s(int64=18) %!d(string=hai) anos
ltm.h fe0838cd1c tables and strings respect __len metamethod %!s(int64=18) %!d(string=hai) anos
lua.c f36e319658 'fputs' changed to 'luai_writestring' + use of 'lua_checkversion' %!s(int64=16) %!d(string=hai) anos
lua.h 019ebcb85f errors in finalizers are propagated with code LUA_ERRGCMM (ERRor in %!s(int64=16) %!d(string=hai) anos
luaconf.h 3dbf305408 no more support for old-style varargs %!s(int64=16) %!d(string=hai) anos
lualib.h a7c9e45c64 avoid trailing white spaces %!s(int64=19) %!d(string=hai) anos
lundump.c d7bc346d7a no more code checking %!s(int64=16) %!d(string=hai) anos
lundump.h 2753134a38 new versions by lhf %!s(int64=20) %!d(string=hai) anos
lvm.c 9423e22aa3 no more L->base + ci->base only for Lua functions (C functions may use %!s(int64=16) %!d(string=hai) anos
lvm.h 57f8414de1 small bug in 'luaV_concat' (L->top was left incorrect in some cases) %!s(int64=16) %!d(string=hai) anos
lzio.c eca9fa02d2 small improvement %!s(int64=20) %!d(string=hai) anos
lzio.h 6956331093 new macro 'zungetc' %!s(int64=16) %!d(string=hai) anos
makefile 6905ae900b Lua now uses "homemade" lctype (instead of ctype.h from ANSI C) %!s(int64=16) %!d(string=hai) anos