Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | must include 'string.h' because a macro uses 'strlen' | Roberto Ierusalimschy | 2010-03-13 | 1 | -1/+2 |
| | |||||
* | better definitions for lua_[gs]etglobal + less uses of ENVIRONINDEX | Roberto Ierusalimschy | 2010-03-13 | 4 | -23/+28 |
| | |||||
* | first version of _ENV; no more global variables | Roberto Ierusalimschy | 2010-03-12 | 12 | -124/+52 |
| | |||||
* | small optimization in luaL_addlstring (avoid adding chars one by one) | Roberto Ierusalimschy | 2010-03-12 | 1 | -3/+14 |
| | | | | (suggested by Chuck Coffing) | ||||
* | first step towards _ENV: all chunks have an puvalues _ENV with the | Roberto Ierusalimschy | 2010-03-08 | 3 | -13/+33 |
| | | | | global table | ||||
* | when finding a 'name' for a function, handle the case when the function | Roberto Ierusalimschy | 2010-03-05 | 1 | -2/+5 |
| | | | | is a for iterator | ||||
* | when searching for a variable name, look existing upvalues before | Roberto Ierusalimschy | 2010-03-04 | 1 | -20/+32 |
| | | | | goingg to upper levels | ||||
* | just in case, better to flush error messages | Roberto Ierusalimschy | 2010-03-03 | 1 | -2/+3 |
| | |||||
* | new option '*L' for io.read + options for io.lines | Roberto Ierusalimschy | 2010-03-03 | 1 | -24/+48 |
| | |||||
* | avoid 'continue' unless necessary | Roberto Ierusalimschy | 2010-02-27 | 2 | -59/+59 |
| | |||||
* | removed useless test (argv[i] cannot be NULL when i<argc) | Roberto Ierusalimschy | 2010-02-27 | 1 | -2/+1 |
| | |||||
* | new instructions to optimize indexing on upvalues | Roberto Ierusalimschy | 2010-02-26 | 8 | -31/+89 |
| | |||||
* | detail: in loadfile read function, no need to return NULL on EOF; | Roberto Ierusalimschy | 2010-02-18 | 1 | -2/+2 |
| | | | | size ==0 is enough to signal EOF. | ||||
* | avoid using 'ungetc' in loadfile | Roberto Ierusalimschy | 2010-02-18 | 1 | -7/+15 |
| | |||||
* | new macro 'luai_writestringerror' | Roberto Ierusalimschy | 2010-02-18 | 4 | -18/+25 |
| | |||||
* | no need to flush either stderr or \n-terminated outputs | Roberto Ierusalimschy | 2010-02-11 | 1 | -4/+1 |
| | |||||
* | use of 'conventional' names for shift and rotate operations + | Roberto Ierusalimschy | 2010-02-11 | 1 | -7/+27 |
| | | | | right/left versions for them | ||||
* | removed support for '#fist-line comment' on binary files (as binary | Roberto Ierusalimschy | 2010-02-11 | 1 | -14/+2 |
| | | | | files do not have lines...) | ||||
* | better usage messages, showing entire offending argument | Roberto Ierusalimschy | 2010-02-09 | 1 | -8/+11 |
| | |||||
* | when yielding, original 'func' value must be kept and restored so | Roberto Ierusalimschy | 2010-02-09 | 1 | -7/+6 |
| | | | | that 'poscall' puts results in the right slot. | ||||
* | field 'oldtop' renamed to 'extra', as it can be used for other | Roberto Ierusalimschy | 2010-02-09 | 2 | -4/+4 |
| | | | | purposes | ||||
* | typo (thanks to Gavin) | Roberto Ierusalimschy | 2010-02-05 | 1 | -2/+2 |
| | |||||
* | new function 'luaL_cpcall' | Roberto Ierusalimschy | 2010-01-21 | 5 | -23/+25 |
| | |||||
* | typo in comment | Roberto Ierusalimschy | 2010-01-21 | 1 | -2/+2 |
| | |||||
* | better messages for invalid options | Roberto Ierusalimschy | 2010-01-21 | 1 | -8/+10 |
| | |||||
* | __unm metamethod gets nil as its 2nd parameter | Roberto Ierusalimschy | 2010-01-15 | 1 | -1/+2 |
| | |||||
* | table.pack was locking last result, avoiding its collection | Roberto Ierusalimschy | 2010-01-13 | 1 | -1/+3 |
| | |||||
* | HINSTANCE -> HMODULE (they are the same thing, but the MS documentation | Roberto Ierusalimschy | 2010-01-13 | 1 | -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 warning | Roberto Ierusalimschy | 2010-01-13 | 1 | -9/+12 |
| | | | | options | ||||
* | "no value" added to array luaT_typenames + occurrences of "userdata" | Roberto Ierusalimschy | 2010-01-13 | 5 | -23/+20 |
| | | | | in that array unified in a single address | ||||
* | correct error message when yielding from outside a coroutine | Roberto Ierusalimschy | 2010-01-13 | 1 | -3/+7 |
| | |||||
* | on 64-bit machines, an address may not fit into a 'long', so it | Roberto Ierusalimschy | 2010-01-13 | 1 | -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 defines | Roberto Ierusalimschy | 2010-01-12 | 1 | -1/+4 |
| | |||||
* | 'searchpath' changes dots into directory separators | Roberto Ierusalimschy | 2010-01-11 | 1 | -2/+2 |
| | |||||
* | added casts from int to enumerations to follow C++ rules | Roberto Ierusalimschy | 2010-01-11 | 2 | -6/+7 |
| | |||||
* | removed useless initialization | Roberto Ierusalimschy | 2010-01-11 | 1 | -2/+2 |
| | |||||
* | conversion from pointer to void to pointer to function seems more | Roberto Ierusalimschy | 2010-01-11 | 1 | -2/+2 |
| | | | | | | "correct" if done through an integral type (because conversions between pointers and numbers are allowed, only "implementation defined"). | ||||
* | missing 'external' in variable declaration | Roberto Ierusalimschy | 2010-01-11 | 1 | -2/+2 |
| | |||||
* | pathes corrected to 5.2 | Roberto Ierusalimschy | 2010-01-11 | 1 | -3/+3 |
| | |||||
* | corrected copyright notice to 2010 | Roberto Ierusalimschy | 2010-01-11 | 1 | -3/+3 |
| | |||||
* | include of 'windows.h' moved to where it is needed | Roberto Ierusalimschy | 2010-01-11 | 2 | -3/+3 |
| | |||||
* | Dynamic C functions should be created with the global table as their | Roberto Ierusalimschy | 2010-01-11 | 1 | -2/+4 |
| | | | | initial environments | ||||
* | changed macro lua_number2int for Windows (added brackets; some recent | Roberto Ierusalimschy | 2010-01-11 | 1 | -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 Ierusalimschy | 2010-01-11 | 1 | -7/+14 |
| | |||||
* | removed old prototype for 'luaI_openlib' (which does not exist anymore) | Roberto Ierusalimschy | 2010-01-11 | 1 | -3/+1 |
| | |||||
* | better may to force recompilation when makefile changes | Roberto Ierusalimschy | 2010-01-08 | 1 | -47/+48 |
| | |||||
* | 'setobj' must assing fields one by one, to allow trick of using | Roberto Ierusalimschy | 2010-01-08 | 1 | -3/+5 |
| | | | | pad space in table keys | ||||
* | removed parentheses around some function names in their definitions | Roberto Ierusalimschy | 2010-01-08 | 1 | -3/+3 |
| | |||||
* | some changes in compatibility macros: added LUA_COMPAT_ALL + compatibility | Roberto Ierusalimschy | 2010-01-06 | 1 | -50/+43 |
| | | | | macros from lua.h and lauxlib.h moved to luaconf.h | ||||
* | compatibility code removed or moved to luaconf.h | Roberto Ierusalimschy | 2010-01-06 | 1 | -7/+1 |
| |