aboutsummaryrefslogtreecommitdiff
path: root/loadlib.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* loaders receive an extra argument returned by the searcherRoberto Ierusalimschy2011-03-011-23/+32
| | | | (typically the file name)
* trying to avoid assumption that sizeof(char)==1Roberto Ierusalimschy2011-02-071-2/+2
|
* optional argument 'sep' to 'searchpath'Roberto Ierusalimschy2011-01-071-5/+9
|
* no more sentinel to detect loops in module dependencies;Roberto Ierusalimschy2010-11-101-12/+3
| | | | usual message for infinite recursion is good enough.
* new function 'luaL_setmetatable'Roberto Ierusalimschy2010-11-101-3/+2
|
* detail (ununsed parameter)Roberto Ierusalimschy2010-10-291-3/+3
|
* name "_ENV" configurable through 'luaconf.h'Roberto Ierusalimschy2010-09-071-2/+2
|
* detail: registry._PRELOAD must be a table, no need to checkRoberto Ierusalimschy2010-08-021-3/+1
|
* 'module'/'luaL_register' and associates are deprecatedRoberto Ierusalimschy2010-07-281-5/+15
|
* environment variables consulted by Lua may be version-specificRoberto Ierusalimschy2010-07-251-11/+19
|
* new module policy: C modules do not create globals and do not registerRoberto Ierusalimschy2010-07-021-2/+2
| | | | | | themselves with 'require' (let 'require' do its work); new auxiliary functions luaL_newlib/luaL_newlibtable/luaL_setfuncs/luaL_requiref. Old luaL_register will be deprecated.
* old (and complex) luaL_findtable now used only in compatibility codeRoberto Ierusalimschy2010-06-301-4/+4
| | | | inside lauxlib.c
* no more support for old Mac OS systemsRoberto Ierusalimschy2010-06-181-87/+3
|
* use ANSI versions of DLL functions in WindowsRoberto Ierusalimschy2010-06-131-4/+4
|
* factoring out common code in 'module' and 'luaL_openlib'Roberto Ierusalimschy2010-05-311-14/+4
|
* for compatibility only: 'module' changes the first upvalue ofRoberto Ierusalimschy2010-03-191-4/+8
| | | | calling function to affect its environment
* avoid using function environments in C libraries (as it probably willRoberto Ierusalimschy2010-03-171-11/+10
| | | | be deprecated)
* HINSTANCE -> HMODULE (they are the same thing, but the MS documentationRoberto Ierusalimschy2010-01-131-4/+12
| | | | | uses the latter) + LoadLibrary -> LoadLibraryEx with optional arguments, to allow the option LOAD_WITH_ALTERED_SEARCH_PATH
* on 64-bit machines, an address may not fit into a 'long', so itRoberto Ierusalimschy2010-01-131-2/+2
| | | | | is better to convert from pointer to void to pointer to function directly, even if ANSI C does not like it.
* 'searchpath' changes dots into directory separatorsRoberto Ierusalimschy2010-01-111-2/+2
|
* conversion from pointer to void to pointer to function seems moreRoberto Ierusalimschy2010-01-111-2/+2
| | | | | | "correct" if done through an integral type (because conversions between pointers and numbers are allowed, only "implementation defined").
* include of 'windows.h' moved to where it is neededRoberto Ierusalimschy2010-01-111-1/+2
|
* Dynamic C functions should be created with the global table as theirRoberto Ierusalimschy2010-01-111-2/+4
| | | | initial environments
* "-"-trick in C packages now accept name-v13...Roberto Ierusalimschy2010-01-111-7/+14
|
* no need to use two different defines (LUA_DL_DLOPEN and LUA_USE_DLOPEN)Roberto Ierusalimschy2010-01-061-3/+3
|
* comments + small detailsRoberto Ierusalimschy2010-01-041-16/+14
|
* no more pseudoindex LUA_GLOBALSINDEX; global table now accessibleRoberto Ierusalimschy2009-12-221-4/+5
| | | | through registry
* macro name change: LUA_PATH->LUA_PATH_VAR, LUA_CPATH->LUA_CPATH_VAR,Roberto Ierusalimschy2009-12-171-22/+22
| | | | LUA_PATHSEP->LUA_PATH_SEP, LUA_EXECDIR->LUA_EXEC_DIR
* several configuration options that do not change often moved out ofRoberto Ierusalimschy2009-12-171-1/+38
| | | | luaconf.h and into more internal files
* new mark LUAMOD_API for all luaopen_* functionsRoberto Ierusalimschy2009-11-241-2/+2
|
* 'module' returns the new module (to be used with lexical environments)Roberto Ierusalimschy2009-11-161-2/+2
|
* new function lua_copyRoberto Ierusalimschy2009-10-051-3/+2
|
* "bug": lua_createtable with sizes changed (array <-> record)Roberto Ierusalimschy2009-09-071-2/+2
|
* avoid using 'UNUSED' (not defined outside the kernel)Roberto Ierusalimschy2009-07-151-5/+5
|
* added "\n" at the end of 'package.config' (so that the stringRoberto Ierusalimschy2009-06-041-2/+2
| | | | is a sequence of complete lines)
* 'loadlib(lib, "*")' loads 'lib' with global names exported to allRoberto Ierusalimschy2009-03-261-13/+20
|
* change in error messageRoberto Ierusalimschy2008-08-061-3/+2
|
* bug: 'module' now checks that is caller is a Lua functionRoberto Ierusalimschy2008-08-051-5/+8
|
* new function 'package.searchpath'Roberto Ierusalimschy2007-12-121-11/+29
|
* clearing some old compatibility codeRoberto Ierusalimschy2007-06-211-5/+1
|
* BUG: loadlib should not use Lua internals (lobject.h)Roberto Ierusalimschy2007-03-261-7/+7
|
* new constant LUA_OKRoberto Ierusalimschy2006-10-101-4/+2
|
* avoid trailing white spacesRoberto Ierusalimschy2006-09-111-3/+3
|
* small bug: should not use string after popping itRoberto Ierusalimschy2006-07-031-3/+4
|
* detailsRoberto Ierusalimschy2006-06-221-5/+5
|
* environment variable names should be configurableRoberto Ierusalimschy2006-04-101-5/+1
|
* small optimizations (lua_newtable -> lua_createtable)Roberto Ierusalimschy2005-12-291-5/+5
|
* (much) better error messages for 'require'Roberto Ierusalimschy2005-12-191-18/+32
|
* clearer error message for uninstalled loadlibRoberto Ierusalimschy2005-12-071-6/+3
|
* avoid comparisons between (void *) and (int *)Roberto Ierusalimschy2005-10-171-5/+6
|