Roberto Ierusalimschy
50334faad6
no more compatibility with (veryyyy) old ref system
14 years ago
Roberto Ierusalimschy
cee7a8e1ec
-DLUA_COMPAT_ALL is the default
14 years ago
Roberto Ierusalimschy
8c21f463ed
'debug' library is loaded by default
14 years ago
Roberto Ierusalimschy
a1952d9c41
'l_tvar' renamed to 'l_tg'
14 years ago
Roberto Ierusalimschy
1a46a713d2
new macro 'l_tvar' to easy the use of mathlib with other floating
types (float and long double)
14 years ago
Roberto Ierusalimschy
23b9ceb0a4
allows larger array parts in tables (no need to restrict it to 2^26)
14 years ago
Roberto Ierusalimschy
0a6a6b9d9d
no more sentinel to detect loops in module dependencies;
usual message for infinite recursion is good enough.
14 years ago
Roberto Ierusalimschy
1b54197491
better error message when light userdata is used instead of a
full userdata
14 years ago
Roberto Ierusalimschy
c97aa9485c
new function 'luaL_setmetatable'
14 years ago
Roberto Ierusalimschy
e885b91326
'luaL_typeerror' deprecated
14 years ago
Roberto Ierusalimschy
fa1f724378
when reading blocks with given size, try to read whole block
at once
14 years ago
Roberto Ierusalimschy
2a966116b1
detail (message)
14 years ago
Roberto Ierusalimschy
43ec354722
added support for conditional use of %Lg when using long double
14 years ago
Roberto Ierusalimschy
700b003fb5
when reading large files, double buffer size at each iteration
14 years ago
Roberto Ierusalimschy
f722ba6890
code should not use "defined" types, but "typedef"s types when they
are available (i.e., after including lua.h) + small changes to make
conversions more portable across diferent types for lua_Number
(long double) and lua_Unsigned (long long unsigned)
14 years ago
Roberto Ierusalimschy
c7d4da8746
correction to allow lua_Unsigned larger than usigned int
14 years ago
Roberto Ierusalimschy
f1629217f1
code for conversion macros moved from luaconf to llimits + 'uint'
renamed to 'unsigned' in those macros
14 years ago
Roberto Ierusalimschy
fdd5f2f7a3
comment typos
14 years ago
Roberto Ierusalimschy
c6ef3e2672
bug: by-one error when creating short source names (luaO_chunkid)
14 years ago
Roberto Ierusalimschy
ba8dca00ac
detail (ununsed parameter)
14 years ago
Roberto Ierusalimschy
9be89a1864
'luaL_checkversion' also checks convertions (number to integer types)
14 years ago
Roberto Ierusalimschy
b9f371a3c2
added another option for ieeeendian
14 years ago
Roberto Ierusalimschy
4834de8427
comment typo
14 years ago
Roberto Ierusalimschy
94043a3a1a
more robust implementation for 'luaO_str2d'
14 years ago
Roberto Ierusalimschy
e642cc4206
correct handling of negative numbers in non-10 bases by 'tonumber'
(e.g., tonumber(-34, 8))
14 years ago
Roberto Ierusalimschy
da57477c3d
added more platforms for ieeeendianess + small comments
14 years ago
Roberto Ierusalimschy
f39034889d
stricter control over number of bits in each operation
14 years ago
Roberto Ierusalimschy
6b053a63cb
added check for architectures with known endianess (only i386 now)
14 years ago
Roberto Ierusalimschy
572e5e6b28
new names for bit functions (mimicking assembler)
14 years ago
Roberto Ierusalimschy
6098e06e09
better organization for coercion functions between lua_Number and
integer types + IEEE trick to be used in most platforms, by default
14 years ago
Roberto Ierusalimschy
c6b64ffe65
new type lua_Unsigned and corresponding projection/injection functions
14 years ago
Roberto Ierusalimschy
4590a89b32
corrected warnings from different compilers (mostly casts and small
details)
14 years ago
Roberto Ierusalimschy
1475cb59bf
version from lhf
14 years ago
Roberto Ierusalimschy
9e8e60dd5f
bitlib renamed to 'bit32' + new function for arithmetic shift
14 years ago
Roberto Ierusalimschy
d72ec210c7
POS_A replaced by POS_Ax (which is more "precise")
14 years ago
Roberto Ierusalimschy
c77baf752c
comment
14 years ago
Roberto Ierusalimschy
a122688091
better error message for 'lua -e -i'
14 years ago
Roberto Ierusalimschy
f3026c36c2
details in opcode list
14 years ago
Roberto Ierusalimschy
cd0ebd0a80
'proto->source' may be NULL (if dump strips debug information)
14 years ago
Roberto Ierusalimschy
8bc33a088c
'os.exit' acceps booleans as status (for EXIT_SUCESS and EXIT_FAILURE)
14 years ago
Roberto Ierusalimschy
c3eb89544f
'luaL_loadlib' accepts Utf8 BOM in the beginning of files
14 years ago
Roberto Ierusalimschy
ffff9a49da
'nresults' in CallInfo now refers to number of results that the current
function returns (and not what it expects from a call)
14 years ago
Roberto Ierusalimschy
b22356e5c5
hexadecimal constants may be floating values too
14 years ago
Roberto Ierusalimschy
a289a62717
'loadin' should not check whether upvalue is called '_ENV',
because its name may be unknown when there is no debug information.
14 years ago
Roberto Ierusalimschy
e3eabcf913
'lua_[gs]etupvalue' may work even without debug information
(that is, without upvalue names)
14 years ago
Roberto Ierusalimschy
0df2238063
name "_ENV" configurable through 'luaconf.h'
14 years ago
Roberto Ierusalimschy
6828f6d427
new parameter 'majorinc' to control frequency of major collections
in generational mode
14 years ago
Roberto Ierusalimschy
daa5fe3e31
'loadin' should accept any value for the environment (not only tables) +
it should check whether chunk has upvalue named '_ENV'
14 years ago
Roberto Ierusalimschy
8d9ea59d28
'pushclosure' -> 'codeclosure' (as there is another 'pushclosure' in
'lvm.c) + small detail
14 years ago
Roberto Ierusalimschy
5e7dbd0b8b
api checks to ensure that thread is OK when using lua_call/lua_pcall
14 years ago