summaryrefslogtreecommitdiff
path: root/lua.c
Commit message (Collapse)AuthorAgeFilesLines
* detail (typos in comments)Roberto Ierusalimschy2014-06-301-3/+3
|
* var-arguments to the script come from 'arg' table (not from originalRoberto Ierusalimschy2014-06-261-10/+16
| | | | 'argv' array)
* lots of janitor work (including comments) + 'arg' table createdRoberto Ierusalimschy2014-06-051-153/+223
| | | | | before running any script + changes in the parameters and return of 'collectargs'
* more uniformity for defining system-dependent featuresRoberto Ierusalimschy2014-02-261-10/+23
|
* still accepts initial '=' for expressions, for compatibility with oldRoberto Ierusalimschy2014-02-051-2/+5
| | | | versions (and old habits...)
* new "calculator mode"; no need to add '=' to print expressionsRoberto Ierusalimschy2013-12-161-18/+40
|
* detail (changing some names of macros)Roberto Ierusalimschy2013-10-071-7/+7
|
* pops the string from 'get_prompt' only after using itRoberto Ierusalimschy2012-09-291-3/+4
|
* spaces -> tabs in #definesRoberto Ierusalimschy2012-05-231-9/+9
|
* details (using lua_setglobal/lua_getglobal instead of explicitRoberto Ierusalimschy2012-04-201-10/+5
| | | | use of the global table)
* new way to handle -E option (write a mark in the registry to avoidv5.2.0v5-2-0Roberto Ierusalimschy2011-12-121-16/+7
| | | | reading environment variables)
* new option '-E' to avoid environment variablesRoberto Ierusalimschy2011-08-171-5/+25
|
* detail (using array instead of several variables to keep track ofRoberto Ierusalimschy2011-08-041-10/+17
| | | | enabled command-line options)
* correct length for LUA_COPYRIGHT (without trailing '\0')Roberto Ierusalimschy2011-06-161-2/+2
|
* new macro 'luai_writeline' to print newlines (and flush 'stdout')Roberto Ierusalimschy2011-05-261-3/+4
|
* more complete (and hopefuly more correct) handling of 'sizeof(char)'Roberto Ierusalimschy2011-05-031-2/+2
|
* macro 'mark' renamed 'EOFMARK' ('mark' is too easy to confict, e.g.Roberto Ierusalimschy2011-03-141-4/+4
| | | | in alllua.c)
* detail in 'print_usage'Roberto Ierusalimschy2011-02-071-6/+4
|
* 'printf' replaced by 'luai_writestring'Roberto Ierusalimschy2010-12-031-2/+2
|
* corrected warnings from different compilers (mostly casts and smallRoberto Ierusalimschy2010-10-251-2/+2
| | | | details)
* better error message for 'lua -e -i'Roberto Ierusalimschy2010-10-181-5/+6
|
* environment variables consulted by Lua may be version-specificRoberto Ierusalimschy2010-07-251-5/+13
|
* comand-line option '-l' creates global with given name afterRoberto Ierusalimschy2010-07-021-9/+18
| | | | requiring module
* no more 'ccall' nor 'cpcall' functions. (With light C functions theyRoberto Ierusalimschy2010-04-141-2/+3
| | | | are obsolete.)
* better definitions for lua_[gs]etglobal + less uses of ENVIRONINDEXRoberto Ierusalimschy2010-03-131-5/+5
|
* removed useless test (argv[i] cannot be NULL when i<argc)Roberto Ierusalimschy2010-02-271-2/+1
|
* new macro 'luai_writestringerror'Roberto Ierusalimschy2010-02-181-8/+11
|
* no need to flush either stderr or \n-terminated outputsRoberto Ierusalimschy2010-02-111-4/+1
|
* better usage messages, showing entire offending argumentRoberto Ierusalimschy2010-02-091-8/+11
|
* new function 'luaL_cpcall'Roberto Ierusalimschy2010-01-211-7/+4
|
* better messages for invalid optionsRoberto Ierusalimschy2010-01-211-8/+10
|
* '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)
* no more pseudoindex LUA_GLOBALSINDEX; global table now accessibleRoberto Ierusalimschy2009-12-221-5/+5
| | | | through registry
* 'lua_objlen' replaced by 'lua_rawlen', 'lua_len', and 'luaL_len'Roberto Ierusalimschy2009-12-171-3/+5
|
* macro name change: LUA_INIT->LUA_INIT_VARRoberto Ierusalimschy2009-12-171-5/+5
|
* several configuration options that do not change often moved out ofRoberto Ierusalimschy2009-12-171-1/+64
| | | | luaconf.h and into more internal files
* avoid using deprecated macros lua_[gs]etglobalRoberto Ierusalimschy2009-12-111-4/+4
|
* 'notail' -> 'noextrachars' ('notail' may confuse with tail calls)Roberto Ierusalimschy2009-11-241-5/+5
|
* avoid an unprotected call to 'lua_tostring' which theoretically mayRoberto Ierusalimschy2009-08-101-2/+14
| | | | cause a panicked exit
* calls with LUA_MULTRET may leave no free slots in the stackRoberto Ierusalimschy2009-07-151-1/+2
|
* 'checkversion' implemented in the auxiliary libraryRoberto Ierusalimschy2009-06-181-2/+2
|
* 'fputs' changed to 'luai_writestring' + use of 'lua_checkversion'Roberto Ierusalimschy2009-02-191-2/+3
|
* do not use compatibility macros in LuaRoberto Ierusalimschy2008-07-111-2/+2
|
* message from -v option goes to stdout, as it is not an error messageRoberto Ierusalimschy2008-06-261-2/+2
|
* GC called after errors now are called after showing error message (toRoberto Ierusalimschy2008-06-261-3/+3
| | | | avoid problems when there are other errors during GC itself)
* stand-alone error-message detailsRoberto Ierusalimschy2007-09-051-3/+3
|
* detail (LUA_COPYRIGHT includes release number)Roberto Ierusalimschy2007-08-071-2/+2
|
* traceback function moved to auxlibRoberto Ierusalimschy2007-06-221-20/+7
|
* error handler in 'lua.c' tries '__tostring' metamethod if errorRoberto Ierusalimschy2007-04-261-16/+23
| | | | message is not a string
* new constant LUA_OKRoberto Ierusalimschy2006-10-101-24/+26
|