aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* better messages for invalid optionsRoberto Ierusalimschy2010-01-211-8/+10
|
* __unm metamethod gets nil as its 2nd parameterRoberto Ierusalimschy2010-01-151-1/+2
|
* table.pack was locking last result, avoiding its collectionRoberto Ierusalimschy2010-01-131-1/+3
|
* 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
* warnings that are not compatible with C++ separated from other warningRoberto Ierusalimschy2010-01-131-9/+12
| | | | options
* "no value" added to array luaT_typenames + occurrences of "userdata"Roberto Ierusalimschy2010-01-135-23/+20
| | | | in that array unified in a single address
* correct error message when yielding from outside a coroutineRoberto Ierusalimschy2010-01-131-3/+7
|
* 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.
* missing standard definesRoberto Ierusalimschy2010-01-121-1/+4
|
* 'searchpath' changes dots into directory separatorsRoberto Ierusalimschy2010-01-111-2/+2
|
* added casts from int to enumerations to follow C++ rulesRoberto Ierusalimschy2010-01-112-6/+7
|
* removed useless initializationRoberto 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").
* missing 'external' in variable declarationRoberto Ierusalimschy2010-01-111-2/+2
|
* pathes corrected to 5.2Roberto Ierusalimschy2010-01-111-3/+3
|
* corrected copyright notice to 2010Roberto Ierusalimschy2010-01-111-3/+3
|
* include of 'windows.h' moved to where it is neededRoberto Ierusalimschy2010-01-112-3/+3
|
* Dynamic C functions should be created with the global table as theirRoberto Ierusalimschy2010-01-111-2/+4
| | | | initial environments
* changed macro lua_number2int for Windows (added brackets; some recentRoberto Ierusalimschy2010-01-111-2/+3
| | | | | compilers complain about the old format) + added missing definition for 'lua_number2int' in Windows case.
* "-"-trick in C packages now accept name-v13...Roberto Ierusalimschy2010-01-111-7/+14
|
* removed old prototype for 'luaI_openlib' (which does not exist anymore)Roberto Ierusalimschy2010-01-111-3/+1
|
* better may to force recompilation when makefile changesRoberto Ierusalimschy2010-01-081-47/+48
|
* 'setobj' must assing fields one by one, to allow trick of usingRoberto Ierusalimschy2010-01-081-3/+5
| | | | pad space in table keys
* removed parentheses around some function names in their definitionsRoberto Ierusalimschy2010-01-081-3/+3
|
* some changes in compatibility macros: added LUA_COMPAT_ALL + compatibilityRoberto Ierusalimschy2010-01-061-50/+43
| | | | macros from lua.h and lauxlib.h moved to luaconf.h
* compatibility code removed or moved to luaconf.hRoberto Ierusalimschy2010-01-061-7/+1
|
* compatibility code moved to luaconf.hRoberto Ierusalimschy2010-01-061-28/+4
|
* new debug info 'isvararg' and 'nparams'Roberto Ierusalimschy2010-01-063-8/+25
|
* no need to use two different defines (LUA_DL_DLOPEN and LUA_USE_DLOPEN)Roberto Ierusalimschy2010-01-061-3/+3
|
* again changing macro to function to save a few bytesRoberto Ierusalimschy2010-01-061-5/+9
|
* macro 'luaY_checklimit' changed into a function (and renamed 'checklimit').Roberto Ierusalimschy2010-01-051-10/+12
| | | | It makes no sense to trade space for time in the parser.
* field 'nups' in struct 'lua_Debug' changed from 'int' to 'unsignedRoberto Ierusalimschy2010-01-051-2/+2
| | | | | char' to save some space (even C functions cannot have more than maxchar upvalues).
* new api_check that 'pcallk' cannot be called inside hooksRoberto Ierusalimschy2010-01-041-1/+3
|
* reorganization of switch in function 'match' (details)Roberto Ierusalimschy2010-01-041-18/+18
|
* comments + small detailsRoberto Ierusalimschy2010-01-041-16/+14
|
* 'unpack' moved to table library (and therefore "renamed" toRoberto Ierusalimschy2009-12-283-21/+33
| | | | 'table.unpack'.
* 'lua_cpcall' is deprecated + other small changes in 'pmain' (commentsRoberto Ierusalimschy2009-12-221-31/+28
| | | | and reordering to check arguments before running any Lua code)
* 'lua_cpcall' is deprecatedRoberto Ierusalimschy2009-12-223-6/+14
|
* no more pseudoindex LUA_GLOBALSINDEX; global table now accessibleRoberto Ierusalimschy2009-12-2212-53/+63
| | | | through registry
* code for error message for 'setn' removedRoberto Ierusalimschy2009-12-181-7/+1
|
* missing parentheses around 'lua_version' + moving typdef's beforeRoberto Ierusalimschy2009-12-181-10/+10
| | | | the extra include
* 'lua_objlen' replaced by 'lua_rawlen', 'lua_len', and 'luaL_len'Roberto Ierusalimschy2009-12-1711-42/+69
|
* allocator function receives the tag of object being allocated in 'osize'Roberto Ierusalimschy2009-12-178-52/+59
| | | | when 'ptr' is NULL.
* yet more options moved from luaconf.h into internal filesRoberto Ierusalimschy2009-12-173-44/+48
|
* macro name change: LUA_INIT->LUA_INIT_VARRoberto Ierusalimschy2009-12-171-5/+5
|
* 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
* more options moved from luaconf.h into internal filesRoberto Ierusalimschy2009-12-173-36/+53
|
* removed export of function only for cocoRoberto Ierusalimschy2009-12-172-9/+6
|
* several configuration options that do not change often moved out ofRoberto Ierusalimschy2009-12-1710-267/+215
| | | | luaconf.h and into more internal files
* allocator function receives the tag of object being allocated in 'osize'Roberto Ierusalimschy2009-12-162-5/+5
| | | | when 'ptr' is NULL.