aboutsummaryrefslogtreecommitdiff
path: root/loslib.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-03-03new option '*L' for io.read + options for io.linesRoberto Ierusalimschy1-24/+48
2010-02-27avoid 'continue' unless necessaryRoberto Ierusalimschy2-59/+59
2010-02-27removed useless test (argv[i] cannot be NULL when i<argc)Roberto Ierusalimschy1-2/+1
2010-02-26new instructions to optimize indexing on upvaluesRoberto Ierusalimschy8-31/+89
2010-02-18detail: in loadfile read function, no need to return NULL on EOF;Roberto Ierusalimschy1-2/+2
size ==0 is enough to signal EOF.
2010-02-18avoid using 'ungetc' in loadfileRoberto Ierusalimschy1-7/+15
2010-02-18new macro 'luai_writestringerror'Roberto Ierusalimschy4-18/+25
2010-02-11no need to flush either stderr or \n-terminated outputsRoberto Ierusalimschy1-4/+1
2010-02-11use of 'conventional' names for shift and rotate operations +Roberto Ierusalimschy1-7/+27
right/left versions for them
2010-02-11removed support for '#fist-line comment' on binary files (as binaryRoberto Ierusalimschy1-14/+2
files do not have lines...)
2010-02-09better usage messages, showing entire offending argumentRoberto Ierusalimschy1-8/+11
2010-02-09when yielding, original 'func' value must be kept and restored soRoberto Ierusalimschy1-7/+6
that 'poscall' puts results in the right slot.
2010-02-09field 'oldtop' renamed to 'extra', as it can be used for otherRoberto Ierusalimschy2-4/+4
purposes
2010-02-05typo (thanks to Gavin)Roberto Ierusalimschy1-2/+2
2010-01-21new function 'luaL_cpcall'Roberto Ierusalimschy5-23/+25
2010-01-21typo in commentRoberto Ierusalimschy1-2/+2
2010-01-21better messages for invalid optionsRoberto Ierusalimschy1-8/+10
2010-01-15__unm metamethod gets nil as its 2nd parameterRoberto Ierusalimschy1-1/+2
2010-01-13table.pack was locking last result, avoiding its collectionRoberto Ierusalimschy1-1/+3
2010-01-13HINSTANCE -> HMODULE (they are the same thing, but the MS documentationRoberto Ierusalimschy1-4/+12
uses the latter) + LoadLibrary -> LoadLibraryEx with optional arguments, to allow the option LOAD_WITH_ALTERED_SEARCH_PATH
2010-01-13warnings that are not compatible with C++ separated from other warningRoberto Ierusalimschy1-9/+12
options
2010-01-13"no value" added to array luaT_typenames + occurrences of "userdata"Roberto Ierusalimschy5-23/+20
in that array unified in a single address
2010-01-13correct error message when yielding from outside a coroutineRoberto Ierusalimschy1-3/+7
2010-01-13on 64-bit machines, an address may not fit into a 'long', so itRoberto Ierusalimschy1-2/+2
is better to convert from pointer to void to pointer to function directly, even if ANSI C does not like it.
2010-01-12missing standard definesRoberto Ierusalimschy1-1/+4
2010-01-11'searchpath' changes dots into directory separatorsRoberto Ierusalimschy1-2/+2
2010-01-11added casts from int to enumerations to follow C++ rulesRoberto Ierusalimschy2-6/+7
2010-01-11removed useless initializationRoberto Ierusalimschy1-2/+2
2010-01-11conversion from pointer to void to pointer to function seems moreRoberto Ierusalimschy1-2/+2
"correct" if done through an integral type (because conversions between pointers and numbers are allowed, only "implementation defined").
2010-01-11missing 'external' in variable declarationRoberto Ierusalimschy1-2/+2
2010-01-11pathes corrected to 5.2Roberto Ierusalimschy1-3/+3
2010-01-11corrected copyright notice to 2010Roberto Ierusalimschy1-3/+3
2010-01-11include of 'windows.h' moved to where it is neededRoberto Ierusalimschy2-3/+3
2010-01-11Dynamic C functions should be created with the global table as theirRoberto Ierusalimschy1-2/+4
initial environments
2010-01-11changed macro lua_number2int for Windows (added brackets; some recentRoberto Ierusalimschy1-2/+3
compilers complain about the old format) + added missing definition for 'lua_number2int' in Windows case.
2010-01-11"-"-trick in C packages now accept name-v13...Roberto Ierusalimschy1-7/+14
2010-01-11removed old prototype for 'luaI_openlib' (which does not exist anymore)Roberto Ierusalimschy1-3/+1
2010-01-08better may to force recompilation when makefile changesRoberto Ierusalimschy1-47/+48
2010-01-08'setobj' must assing fields one by one, to allow trick of usingRoberto Ierusalimschy1-3/+5
pad space in table keys
2010-01-08removed parentheses around some function names in their definitionsRoberto Ierusalimschy1-3/+3
2010-01-06some changes in compatibility macros: added LUA_COMPAT_ALL + compatibilityRoberto Ierusalimschy1-50/+43
macros from lua.h and lauxlib.h moved to luaconf.h
2010-01-06compatibility code removed or moved to luaconf.hRoberto Ierusalimschy1-7/+1
2010-01-06compatibility code moved to luaconf.hRoberto Ierusalimschy1-28/+4
2010-01-06new debug info 'isvararg' and 'nparams'Roberto Ierusalimschy3-8/+25
2010-01-06no need to use two different defines (LUA_DL_DLOPEN and LUA_USE_DLOPEN)Roberto Ierusalimschy1-3/+3
2010-01-06again changing macro to function to save a few bytesRoberto Ierusalimschy1-5/+9
2010-01-05macro 'luaY_checklimit' changed into a function (and renamed 'checklimit').Roberto Ierusalimschy1-10/+12
It makes no sense to trade space for time in the parser.
2010-01-05field 'nups' in struct 'lua_Debug' changed from 'int' to 'unsignedRoberto Ierusalimschy1-2/+2
char' to save some space (even C functions cannot have more than maxchar upvalues).
2010-01-04new api_check that 'pcallk' cannot be called inside hooksRoberto Ierusalimschy1-1/+3
2010-01-04reorganization of switch in function 'match' (details)Roberto Ierusalimschy1-18/+18