146 Commits (3e6818ca87b8d7aa007e6992295956a92bb89de4)

Author SHA1 Message Date
Roberto Ierusalimschy e7a9c45a48 trying to avoid assumption that sizeof(char)==1 14 years ago
Roberto Ierusalimschy 67feed49f1 optional argument 'sep' to 'searchpath' 14 years ago
Roberto Ierusalimschy 0a6a6b9d9d no more sentinel to detect loops in module dependencies; 14 years ago
Roberto Ierusalimschy c97aa9485c new function 'luaL_setmetatable' 14 years ago
Roberto Ierusalimschy ba8dca00ac detail (ununsed parameter) 14 years ago
Roberto Ierusalimschy 0df2238063 name "_ENV" configurable through 'luaconf.h' 14 years ago
Roberto Ierusalimschy fd4b4a2a68 detail: registry._PRELOAD must be a table, no need to check 14 years ago
Roberto Ierusalimschy d447945685 'module'/'luaL_register' and associates are deprecated 14 years ago
Roberto Ierusalimschy 73b0a3451d environment variables consulted by Lua may be version-specific 14 years ago
Roberto Ierusalimschy 7192afafee new module policy: C modules do not create globals and do not register 15 years ago
Roberto Ierusalimschy a139e2e003 old (and complex) luaL_findtable now used only in compatibility code 15 years ago
Roberto Ierusalimschy bef5980744 no more support for old Mac OS systems 15 years ago
Roberto Ierusalimschy 9f48712c15 use ANSI versions of DLL functions in Windows 15 years ago
Roberto Ierusalimschy 2c1a5d678d factoring out common code in 'module' and 'luaL_openlib' 15 years ago
Roberto Ierusalimschy 5ca7cdd709 for compatibility only: 'module' changes the first upvalue of 15 years ago
Roberto Ierusalimschy 1514e49d43 avoid using function environments in C libraries (as it probably will 15 years ago
Roberto Ierusalimschy b678f246a4 HINSTANCE -> HMODULE (they are the same thing, but the MS documentation 15 years ago
Roberto Ierusalimschy 900b7d4514 on 64-bit machines, an address may not fit into a 'long', so it 15 years ago
Roberto Ierusalimschy e4b4623abc 'searchpath' changes dots into directory separators 15 years ago
Roberto Ierusalimschy d320c908d0 conversion from pointer to void to pointer to function seems more 15 years ago
Roberto Ierusalimschy 572b94bbcb include of 'windows.h' moved to where it is needed 15 years ago
Roberto Ierusalimschy 692209fa8d Dynamic C functions should be created with the global table as their 15 years ago
Roberto Ierusalimschy a541ada194 "-"-trick in C packages now accept name-v13... 15 years ago
Roberto Ierusalimschy 8cd395564c no need to use two different defines (LUA_DL_DLOPEN and LUA_USE_DLOPEN) 15 years ago
Roberto Ierusalimschy 35e729fa6d comments + small details 15 years ago
Roberto Ierusalimschy f84b575cfa no more pseudoindex LUA_GLOBALSINDEX; global table now accessible 15 years ago
Roberto Ierusalimschy 2108754e46 macro name change: LUA_PATH->LUA_PATH_VAR, LUA_CPATH->LUA_CPATH_VAR, 15 years ago
Roberto Ierusalimschy de6fc75d63 several configuration options that do not change often moved out of 15 years ago
Roberto Ierusalimschy a6f465f558 new mark LUAMOD_API for all luaopen_* functions 15 years ago
Roberto Ierusalimschy 95020afb63 'module' returns the new module (to be used with lexical environments) 15 years ago
Roberto Ierusalimschy a5382b763c new function lua_copy 15 years ago
Roberto Ierusalimschy 4b44793dc5 "bug": lua_createtable with sizes changed (array <-> record) 15 years ago
Roberto Ierusalimschy a5f68589c0 avoid using 'UNUSED' (not defined outside the kernel) 16 years ago
Roberto Ierusalimschy 5cdec7d124 added "\n" at the end of 'package.config' (so that the string 16 years ago
Roberto Ierusalimschy 7e9bc41fe7 'loadlib(lib, "*")' loads 'lib' with global names exported to all 16 years ago
Roberto Ierusalimschy afe849c9b4 change in error message 16 years ago
Roberto Ierusalimschy bb48f456d9 bug: 'module' now checks that is caller is a Lua function 16 years ago
Roberto Ierusalimschy bc82b4d78a new function 'package.searchpath' 17 years ago
Roberto Ierusalimschy 8d3dd04137 clearing some old compatibility code 18 years ago
Roberto Ierusalimschy df50c84ee0 BUG: loadlib should not use Lua internals (lobject.h) 18 years ago
Roberto Ierusalimschy afa0d0ac0d new constant LUA_OK 18 years ago
Roberto Ierusalimschy a7c9e45c64 avoid trailing white spaces 18 years ago
Roberto Ierusalimschy c7b89dd280 small bug: should not use string after popping it 19 years ago
Roberto Ierusalimschy ee41bc03ab details 19 years ago
Roberto Ierusalimschy 672bb67ee6 environment variable names should be configurable 19 years ago
Roberto Ierusalimschy bfdcbbcd76 small optimizations (lua_newtable -> lua_createtable) 19 years ago
Roberto Ierusalimschy 0561f71f0f (much) better error messages for 'require' 19 years ago
Roberto Ierusalimschy 6cd461633d clearer error message for uninstalled loadlib 19 years ago
Roberto Ierusalimschy 5511bf6b9d avoid comparisons between (void *) and (int *) 19 years ago
Roberto Ierusalimschy 522481a788 avoid some warnings 19 years ago