Roberto Ierusalimschy
|
3e977f02ac
|
added a few comments
|
11 years ago |
Roberto Ierusalimschy
|
a73da6112d
|
deprecated library throws an error if called (instead of silently
not loading itself)
|
11 years ago |
Roberto Ierusalimschy
|
6a5d87771f
|
added lots of new comments + small changes in code
|
11 years ago |
Roberto Ierusalimschy
|
15e8405731
|
'LUA_COMPAT_ALL' -> 'LUA_COMPAT_5_1'/'LUA_COMPAT_5_2' + "@*" in
comments replaced by "@@". ("@*" is too distracting)
|
11 years ago |
Roberto Ierusalimschy
|
fd1672ba98
|
avoid non-conformant pointer arithmetic in api check for 'lua_rotate'
|
11 years ago |
Roberto Ierusalimschy
|
1ddb251d86
|
using a more conventional handling of stack space in 'io_readline'
|
11 years ago |
Roberto Ierusalimschy
|
f8daddba50
|
added a compat option (although it will be off by default) to
the addition of '.0' to float->string conversions
|
11 years ago |
Roberto Ierusalimschy
|
e58ef8d0bb
|
missing macro 'LUAMOD_API' in function to open library
|
11 years ago |
Roberto Ierusalimschy
|
e3b9569e04
|
function 'reverse' uses appropriate variants of 'setobj' for better
documentation
|
11 years ago |
Roberto Ierusalimschy
|
8b66040e34
|
several functions deprecated (cosh, sinh, atanh, pow, frexp, ldexp)
|
11 years ago |
Roberto Ierusalimschy
|
965993da07
|
comments added to 'lua_rotate'
|
11 years ago |
Roberto Ierusalimschy
|
5a5a834975
|
new API function 'lua_rotate'
|
11 years ago |
Roberto Ierusalimschy
|
45c430eac0
|
addition of '.0' to float representation done by the kernel
|
11 years ago |
Roberto Ierusalimschy
|
27d9219cf3
|
no more integer exponentiation
|
11 years ago |
Roberto Ierusalimschy
|
12bd01c567
|
added comments to several functions
|
11 years ago |
Roberto Ierusalimschy
|
626124d2d8
|
old POSIX systems need '<sys/types.h>' for 'off_t'
|
11 years ago |
Roberto Ierusalimschy
|
5018104a60
|
better error message for unfinished long strings/comments
|
11 years ago |
Roberto Ierusalimschy
|
ec11d132db
|
comments
|
11 years ago |
Roberto Ierusalimschy
|
06dc893f88
|
in 'for' loops, make the limit an integer whenever initial value and
step are integers
|
11 years ago |
Roberto Ierusalimschy
|
a09bd59615
|
'T.totalmem' accepts 0 for unlimited memory
|
11 years ago |
Roberto Ierusalimschy
|
42ff788e53
|
comments
|
11 years ago |
Roberto Ierusalimschy
|
1bd70a8e40
|
new function 'lua_isyieldable' (and 'coroutine.isyieldable')
|
11 years ago |
Roberto Ierusalimschy
|
ef83457427
|
updated several 'fix' fields
|
11 years ago |
Roberto Ierusalimschy
|
4833fb8273
|
marks for releases 5.2.2 and 5.2.3 + correction in last bug's description
|
11 years ago |
Roberto Ierusalimschy
|
77e7ebca0a
|
better alignments (for 64-bit arquitectures) for structures 'Table' and
'TString'
|
11 years ago |
Roberto Ierusalimschy
|
6d5324f92f
|
'math.fmod' handles integers as integers
|
11 years ago |
Roberto Ierusalimschy
|
4fe11ae232
|
'lua_getuservalue' returns type of user value
|
11 years ago |
Roberto Ierusalimschy
|
c549d4fe64
|
'lua_strtonum' (and 'luaO_str2num') now return string size, instead of
receiving it
|
11 years ago |
Roberto Ierusalimschy
|
ddff6ecf30
|
function 'limittointeger' no needed (now that 'tointeger_aux' handles
integers too)
|
11 years ago |
Roberto Ierusalimschy
|
6b630c0fa0
|
debug.numbits replaced by debug.Csize
|
11 years ago |
Roberto Ierusalimschy
|
1a6ef098b0
|
'luaO_str2d' + 'luaO_str2int' replaced by 'luaO_str2num' plus proper
conversion from strings to integers
|
11 years ago |
Roberto Ierusalimschy
|
5388aa9fc0
|
'luaO_str2d' + 'luaO_str2int' replaced by 'luaO_str2num' (which converts
to float or integer according to the string syntax)
|
11 years ago |
Roberto Ierusalimschy
|
b123a88673
|
merge of common parts from 'limittointeger' and 'luaV_tointeger_'
|
11 years ago |
Roberto Ierusalimschy
|
ffa43df3cd
|
'setnvalue' -> 'setfltvalue' (for consitency with 'fltvalue')
|
11 years ago |
Roberto Ierusalimschy
|
9c4398de8f
|
'for' loop tries to convert limit to integer when initial value and
step are integers
|
11 years ago |
Roberto Ierusalimschy
|
a0d4f0fc8a
|
template for 'mkstemp' is configurable (via LUA_TMPNAMTEMPLATE)
|
11 years ago |
Roberto Ierusalimschy
|
68616c6669
|
using lua_Unsigned (instead of lua_Integer) for bit manipulation
|
11 years ago |
Roberto Ierusalimschy
|
e98ba351ce
|
n^-m gives float result (instead of error)
|
11 years ago |
Roberto Ierusalimschy
|
cbe4998bc2
|
'math.random(n,m)' interval restricted in size, to avoid using conversion
between 'double' and 'unsigned' (which can be slow and unreliable)
|
11 years ago |
Roberto Ierusalimschy
|
0172c9552c
|
comment
|
11 years ago |
Roberto Ierusalimschy
|
3d4913f703
|
back to larger sizes for 'dumpint/undumpint' (small Lua should
be able to dump/undump long-long integers)
|
11 years ago |
Roberto Ierusalimschy
|
c27ef1b79c
|
correct integer limits for Windows + small adjustments for short
option
|
11 years ago |
Roberto Ierusalimschy
|
4422b97472
|
keep 'luaL_checkversion_' with its signature in version 5.2, for
correct error messages in case of version mixings
|
11 years ago |
Roberto Ierusalimschy
|
2f02d264e9
|
initial '*' in 'io.read' formats is deprecated
|
11 years ago |
Roberto Ierusalimschy
|
037a70dfea
|
cast_u2s/cast_s2u renamed l_castS2U/l_castU2S to be configurable from
outside (mostly for testing)
|
11 years ago |
Roberto Ierusalimschy
|
8f961da3db
|
macros cast_integer/cast_unsigned replaced by cast_u2s/cast_s2u, that
should be used only between lua_Integer and lua_Unsigned
|
11 years ago |
Roberto Ierusalimschy
|
5c46b7b8cf
|
instructions in 'runC' sorted alphabetically + new instructions
'tointeger'/'tounsigned'
|
11 years ago |
Roberto Ierusalimschy
|
a2c094fe2d
|
size of strings in 'string.rep' should be limited by the size of
lua_Integer, not of 'int'
|
11 years ago |
Roberto Ierusalimschy
|
f767f29d87
|
using predefined limits (instead of computing min/max values for each
type) + some comments
|
11 years ago |
Roberto Ierusalimschy
|
675530c4d8
|
maximum size of array part of a table now is restricted not only by
the size of an 'int', but also by the size of a 'lua_Integer'
|
11 years ago |