summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* allows calling luaL_checkstack with no message (in runC)Roberto Ierusalimschy2014-11-141-2/+5
|
* small bug (error of "chunk has too many lines" might use 't.token'Roberto Ierusalimschy2014-11-141-2/+3
| | | | before reading the first token)
* uses return value from luaL_getmetatableRoberto Ierusalimschy2014-11-121-3/+2
|
* uses return value from lua_getfieldRoberto Ierusalimschy2014-11-121-3/+3
|
* details (matching parameter names with manual)Roberto Ierusalimschy2014-11-121-10/+11
|
* details (match parameter names with lua.h and manual)Roberto Ierusalimschy2014-11-121-12/+12
|
* detail (use new returned value from 'lua_getglobal' )Roberto Ierusalimschy2014-11-111-3/+2
|
* detail (to avoid a "to avoid warnings" return)Roberto Ierusalimschy2014-11-111-10/+8
|
* independent code for 'printstack' + test for panic function canRoberto Ierusalimschy2014-11-111-17/+21
| | | | ran code there
* no need to ensure any stack space for panic function + some changesRoberto Ierusalimschy2014-11-111-16/+12
| | | | in 'tryfuncTM' (small simplification)
* detailsRoberto Ierusalimschy2014-11-111-3/+3
|
* detailsRoberto Ierusalimschy2014-11-101-7/+11
|
* bug: memory error in panic mode does not push error message onRoberto Ierusalimschy2014-11-101-2/+14
| | | | the stack + stack check in tryfuncTM + comments
* new function 'T.checkpanic' (to check panic errors)Roberto Ierusalimschy2014-11-101-1/+52
|
* detail (comment)Roberto Ierusalimschy2014-11-101-2/+2
|
* luaL_loadbuffer replaced by luaL_loadstring (to test luaL_loadstring)Roberto Ierusalimschy2014-11-101-4/+11
| | | | + 'rawgetp'/'rawsetp' added to C interpreter
* added missing cases for debug info about tag methods +Roberto Ierusalimschy2014-11-101-17/+20
| | | | better error message for bitwise operators
* better error message for bitwise operators (they are not arithmetic...)Roberto Ierusalimschy2014-11-102-5/+8
|
* using address instead of string for key for table 'CLIBS' in theRoberto Ierusalimschy2014-11-101-6/+10
| | | | registry
* using address key (light userdata) for hook table, instead ofRoberto Ierusalimschy2014-11-101-12/+12
| | | | string
* removed unneeded test (result of b_str2int is already checkedRoberto Ierusalimschy2014-11-101-3/+1
| | | | against length)
* details (error messages)Roberto Ierusalimschy2014-11-081-4/+3
|
* detail (line break)Roberto Ierusalimschy2014-11-081-3/+2
|
* when checking thread consistency, check its entire stack (alwaysRoberto Ierusalimschy2014-11-071-4/+4
| | | | the entire stack must have valid values)
* cleaner test for overflow for range of 'math.random'Roberto Ierusalimschy2014-11-071-3/+3
|
* detailRoberto Ierusalimschy2014-11-051-2/+2
|
* more direct way to fill sign-extension extra bytes when packingRoberto Ierusalimschy2014-11-051-13/+29
| | | | integers with sizes larger than lua_Integer + added comments
* removed repeated flags (-Wall/-Wdisabled-optimization) + removed flagRoberto Ierusalimschy2014-11-051-73/+77
| | | | | -Wcast-align (Lua does some unconventional casts) + added flag -std=c99 + added file lprefix.h in dependency lists
* no need to cast '*s' to unsigned char when we know it is a digit +Roberto Ierusalimschy2014-11-041-4/+4
| | | | no need to call 'luaO_hexavalue' for decimal digits
* added macro for configuring padding value in 'string.pack'Roberto Ierusalimschy2014-11-041-6/+12
|
* macro to change method of conversion from float to integer (make itRoberto Ierusalimschy2014-11-031-6/+15
| | | | use floor intead of requiring an exact integral value)
* Definitions for Lua code that must come before any other header fileRoberto Ierusalimschy2014-11-031-0/+39
|
* keep "#include <windows.h>" in this file, but without theRoberto Ierusalimschy2014-11-031-1/+3
| | | | | previous requirement that it must be included before any other header file (it doesn't seem to matter)
* Windows uses "LONGLONG" option, even not having long long (it has __int64)Roberto Ierusalimschy2014-11-021-12/+17
|
* comments (references to "ANSI C" changed to "ISO C", which is theRoberto Ierusalimschy2014-11-028-20/+19
| | | | international name
* added include for 'lprefix.h', for stuff that must be added beforeRoberto Ierusalimschy2014-11-0235-145/+198
| | | | any other header file
* 'lua_load' sets _ENV for any chunk with upvalues (not just thoseRoberto Ierusalimschy2014-10-311-2/+2
| | | | with exactly one upvalue)
* LUA_WIN -> LUA_USE_WINDOWSRoberto Ierusalimschy2014-10-312-5/+5
|
* new option '=' (native endian) for pack/unpackRoberto Ierusalimschy2014-10-311-1/+2
|
* comments (a few extra quotes around identifiers)Roberto Ierusalimschy2014-10-306-17/+17
|
* default changed from C89 to C99 + extra tests before using C99Roberto Ierusalimschy2014-10-301-82/+92
| | | | | features (when possible) + LUA_32BITS use 'int' when possible ('long' can be 64 bits)
* Better organization of definitions in categories + removedRoberto Ierusalimschy2014-10-291-170/+165
| | | | | | | '_CRT_SECURE_NO_WARNINGS' (useless there) + LUA_ENV/luai_writestring/ luai_writeline/luai_writestringerror/LUA_INT32/LUAI_UMEM/LUAI_MEM moved to other places (no need to be in luaconf.h) + changed definition for LUAL_BUFFERSIZE
* configurations for types 'lu_mem'/'l_mem'/'Instruction' moved to hereRoberto Ierusalimschy2014-10-291-14/+26
| | | | | (from 'luaconf.h'), as they are not needed by the API and probably will not be changed
* definitions for 'luai_writestring'/'luai_writeline'/'luai_writestringerror'Roberto Ierusalimschy2014-10-295-21/+46
| | | | | moved to 'lauxlib.h' (they do not need to be stable or configurable) + prefixes changed from 'luai_' to 'lua_' (they are not part of the core)
* definition for 'LUA_ENV' moved from 'luaconf.h' to here (no need toRoberto Ierusalimschy2014-10-291-1/+5
| | | | be visible outside Lua + no need for easy redefinitions)
* added comment and assert about an (impossible) division by zeroRoberto Ierusalimschy2014-10-291-3/+6
|
* small simplifications in code for 'lua_strx2number'Roberto Ierusalimschy2014-10-281-15/+13
|
* detailRoberto Ierusalimschy2014-10-281-2/+2
|
* removed useless 'include math.h'Roberto Ierusalimschy2014-10-281-2/+1
|
* commentRoberto Ierusalimschy2014-10-281-2/+2
|