Roberto Ierusalimschy
|
64a7ec987c
|
avoid using 'ungetc' in loadfile
|
15 years ago |
Roberto Ierusalimschy
|
4274738e81
|
new macro 'luai_writestringerror'
|
15 years ago |
Roberto Ierusalimschy
|
0d7d559dcc
|
no need to flush either stderr or \n-terminated outputs
|
15 years ago |
Roberto Ierusalimschy
|
af512ad6da
|
use of 'conventional' names for shift and rotate operations +
right/left versions for them
|
15 years ago |
Roberto Ierusalimschy
|
d27108ccd5
|
removed support for '#fist-line comment' on binary files (as binary
files do not have lines...)
|
15 years ago |
Roberto Ierusalimschy
|
a838b3b496
|
better usage messages, showing entire offending argument
|
15 years ago |
Roberto Ierusalimschy
|
4c54cd3a10
|
when yielding, original 'func' value must be kept and restored so
that 'poscall' puts results in the right slot.
|
15 years ago |
Roberto Ierusalimschy
|
c8ff7de7f0
|
field 'oldtop' renamed to 'extra', as it can be used for other
purposes
|
15 years ago |
Roberto Ierusalimschy
|
3bae8e047c
|
typo (thanks to Gavin)
|
15 years ago |
Roberto Ierusalimschy
|
4f5f2fe367
|
new function 'luaL_cpcall'
|
15 years ago |
Roberto Ierusalimschy
|
01586d539e
|
typo in comment
|
15 years ago |
Roberto Ierusalimschy
|
c8ab34ab7a
|
better messages for invalid options
|
15 years ago |
Roberto Ierusalimschy
|
36ab1ee10c
|
__unm metamethod gets nil as its 2nd parameter
|
15 years ago |
Roberto Ierusalimschy
|
193ce46970
|
table.pack was locking last result, avoiding its collection
|
15 years ago |
Roberto Ierusalimschy
|
b678f246a4
|
HINSTANCE -> HMODULE (they are the same thing, but the MS documentation
uses the latter) + LoadLibrary -> LoadLibraryEx with optional arguments,
to allow the option LOAD_WITH_ALTERED_SEARCH_PATH
|
15 years ago |
Roberto Ierusalimschy
|
f270e7f044
|
warnings that are not compatible with C++ separated from other warning
options
|
15 years ago |
Roberto Ierusalimschy
|
070d3743a7
|
"no value" added to array luaT_typenames + occurrences of "userdata"
in that array unified in a single address
|
15 years ago |
Roberto Ierusalimschy
|
0c7de97d47
|
correct error message when yielding from outside a coroutine
|
15 years ago |
Roberto Ierusalimschy
|
900b7d4514
|
on 64-bit machines, an address may not fit into a 'long', so it
is better to convert from pointer to void to pointer to function
directly, even if ANSI C does not like it.
|
15 years ago |
Roberto Ierusalimschy
|
91f0b20a0e
|
missing standard defines
|
15 years ago |
Roberto Ierusalimschy
|
e4b4623abc
|
'searchpath' changes dots into directory separators
|
15 years ago |
Roberto Ierusalimschy
|
cef96b73e1
|
added casts from int to enumerations to follow C++ rules
|
15 years ago |
Roberto Ierusalimschy
|
427e01eb63
|
removed useless initialization
|
15 years ago |
Roberto Ierusalimschy
|
d320c908d0
|
conversion from pointer to void to pointer to function seems more
"correct" if done through an integral type (because conversions
between pointers and numbers are allowed, only "implementation
defined").
|
15 years ago |
Roberto Ierusalimschy
|
8bfc696676
|
missing 'external' in variable declaration
|
15 years ago |
Roberto Ierusalimschy
|
97a35e70af
|
pathes corrected to 5.2
|
15 years ago |
Roberto Ierusalimschy
|
03b556b963
|
corrected copyright notice to 2010
|
15 years ago |
Roberto Ierusalimschy
|
572b94bbcb
|
include of 'windows.h' moved to where it is needed
|
15 years ago |
Roberto Ierusalimschy
|
692209fa8d
|
Dynamic C functions should be created with the global table as their
initial environments
|
15 years ago |
Roberto Ierusalimschy
|
953d499ea2
|
changed macro lua_number2int for Windows (added brackets; some recent
compilers complain about the old format) + added missing definition
for 'lua_number2int' in Windows case.
|
15 years ago |
Roberto Ierusalimschy
|
a541ada194
|
"-"-trick in C packages now accept name-v13...
|
15 years ago |
Roberto Ierusalimschy
|
55d3138397
|
removed old prototype for 'luaI_openlib' (which does not exist anymore)
|
15 years ago |
Roberto Ierusalimschy
|
e74e56f2b1
|
better may to force recompilation when makefile changes
|
15 years ago |
Roberto Ierusalimschy
|
1ebf109c53
|
'setobj' must assing fields one by one, to allow trick of using
pad space in table keys
|
15 years ago |
Roberto Ierusalimschy
|
f75be1cb28
|
removed parentheses around some function names in their definitions
|
15 years ago |
Roberto Ierusalimschy
|
16d2ad88fe
|
some changes in compatibility macros: added LUA_COMPAT_ALL + compatibility
macros from lua.h and lauxlib.h moved to luaconf.h
|
15 years ago |
Roberto Ierusalimschy
|
f3a6815000
|
compatibility code removed or moved to luaconf.h
|
15 years ago |
Roberto Ierusalimschy
|
19f8c87375
|
compatibility code moved to luaconf.h
|
15 years ago |
Roberto Ierusalimschy
|
5bcfe0c700
|
new debug info 'isvararg' and 'nparams'
|
15 years ago |
Roberto Ierusalimschy
|
8cd395564c
|
no need to use two different defines (LUA_DL_DLOPEN and LUA_USE_DLOPEN)
|
15 years ago |
Roberto Ierusalimschy
|
389c890ed3
|
again changing macro to function to save a few bytes
|
15 years ago |
Roberto Ierusalimschy
|
e3866afa97
|
macro 'luaY_checklimit' changed into a function (and renamed 'checklimit').
It makes no sense to trade space for time in the parser.
|
15 years ago |
Roberto Ierusalimschy
|
25189b420d
|
field 'nups' in struct 'lua_Debug' changed from 'int' to 'unsigned
char' to save some space (even C functions cannot have more than
maxchar upvalues).
|
15 years ago |
Roberto Ierusalimschy
|
cec25167d1
|
new api_check that 'pcallk' cannot be called inside hooks
|
15 years ago |
Roberto Ierusalimschy
|
1fd4c482a0
|
reorganization of switch in function 'match' (details)
|
15 years ago |
Roberto Ierusalimschy
|
35e729fa6d
|
comments + small details
|
15 years ago |
Roberto Ierusalimschy
|
0dc09cb42e
|
'unpack' moved to table library (and therefore "renamed" to
'table.unpack'.
|
15 years ago |
Roberto Ierusalimschy
|
cc1cbd19a0
|
'lua_cpcall' is deprecated + other small changes in 'pmain' (comments
and reordering to check arguments before running any Lua code)
|
15 years ago |
Roberto Ierusalimschy
|
cb3f95d516
|
'lua_cpcall' is deprecated
|
15 years ago |
Roberto Ierusalimschy
|
f84b575cfa
|
no more pseudoindex LUA_GLOBALSINDEX; global table now accessible
through registry
|
15 years ago |