fa6ea831b3
macro 'nvalue' removed (direct conversion from integer to double, without an intermediate variable, can cause "excessive precision"
Roberto Ierusalimschy2013-05-06 14:17:09 -03:00
b22a4280c6
macro 'nvalue' removed + cast to void added to avoid warnings with 'clang'
Roberto Ierusalimschy2013-05-06 14:17:09 -03:00
c37b7b3cca
bug: garbage collector can trigger too many times in recursive loops, because it was not computing the size of CallInfo structures in threads
Roberto Ierusalimschy2013-04-26 15:26:49 -03:00
e381c582de
integer handling for order comparisons, power, and modulo operations
Roberto Ierusalimschy2013-04-25 16:12:41 -03:00
9600c60df3
functions 'get_equalTM' and 'call_orderTM' moved to other files to make 'lvm.c' smaller
Roberto Ierusalimschy2013-04-25 13:07:52 -03:00
32bf6c9b27
functions 'traceexec', 'callTM', and 'call_binTM' moved to other files to make 'lvm.c' a little smaller
Roberto Ierusalimschy2013-04-25 12:59:42 -03:00
fa3b126a23
BUG: stack overflow in vararg functions with many fixed parameters called with few arguments
Roberto Ierusalimschy2013-04-19 18:05:04 -03:00
1294b09d8e
first implementation of literal integers (no constant folding yet)
Roberto Ierusalimschy2013-04-16 15:46:28 -03:00
44358e0206
extra trim applied to 'replace' argument (in case lua_Unsigned is larger than 32 bits)
Roberto Ierusalimschy2013-04-16 15:39:37 -03:00
07f861385e
first steps in the support of integers: basic representation + table indexing + basic API ops (tointeger/pushinteger) + equality + a few extra stuff
Roberto Ierusalimschy2013-04-15 12:44:46 -03:00
49c1607157
_FILE_OFFSET_BITS usually also needs _LARGEFILE_SOURCE + easier to use default definition for 'l_fseek' in ansi systems
Roberto Ierusalimschy2013-04-11 15:34:06 -03:00
c8e96d6e91
logic for checking mode for 'fopen' moved to macro 'lua_checkmode'
Roberto Ierusalimschy2013-03-21 10:57:27 -03:00
0e9167bc72
missing brackets in 'if' body (no bug, only 'luaC_checkfinalizer' is called to do nothing)
Roberto Ierusalimschy2012-12-05 17:09:23 -02:00
65e31fb179
Bug: load/loadfile returns wrong result when given an environment for a binary chunk with no upvalues
Roberto Ierusalimschy2012-12-03 18:18:02 -02:00
bc84180d12
error message in 'os.rename' does not include file name, because error may be caused both by 'fromname' or 'toname'
Roberto Ierusalimschy2012-10-19 12:54:02 -03:00
ad5da6ba14
API functions get acceptable indices except when not possible (when they modify the value at that index) + new macro 'ispseudo' + specific test 'api_checkstackindex'
Roberto Ierusalimschy2012-10-19 12:52:46 -03:00
86b39206d9
open upvalues cannot be old if thread is not old; when thread is old, their list is not traversed anymore, and therefore can contain dead elements.
Roberto Ierusalimschy2012-10-03 09:36:46 -03:00
d58ce8106e
macro 'lua_number2unsigned' also needs proper definition if lua_Number is float
Roberto Ierusalimschy2012-10-02 14:32:44 -03:00
31f7d553e4
LUA_CORE condition removed from definition of some 'tricks' (as it controlled only a few other defines) + MS_ASMTRICK renamed to LUA_MSASMTRICK
Roberto Ierusalimschy2012-10-01 11:14:45 -03:00
adaba04059
'pcall' may not restore previous error function when inside coroutines + Check for garbage collector in function calls does not cover all paths
Roberto Ierusalimschy2012-10-01 11:05:31 -03:00
b157f3546e
BUG: 'pcall' may not restore previous error function when inside coroutines
Roberto Ierusalimschy2012-10-01 11:05:04 -03:00
ae1d318822
small bug: generational mode is always in 'propagate' mode only outside the collector: during collection of course it must go to other modes.
Roberto Ierusalimschy2012-09-11 09:53:08 -03:00
2dc91ca5ee
checks garbage collector every time it calls a function (as the stack can grow and so allocates more memory)
Roberto Ierusalimschy2012-08-28 15:30:45 -03:00
a3e1c40d6d
remove of unecessary luaD_checkstack. (In some cases, C should ensure stack space; in others, Lua can use the extra slots for temporary values.)
Roberto Ierusalimschy2012-08-16 14:34:28 -03:00
233eac4d3a
detail (avoid being picky about conversion from 'unsigned char' to 'int')
Roberto Ierusalimschy2012-08-06 10:36:34 -03:00
6625cbecd1
Bug: Some patterns can overflow the C stack, due to recursion (Took the opportunity to refactor function 'match')
Roberto Ierusalimschy2012-07-31 14:48:42 -03:00
4fc15bbfb7
major collections in generational mode are triggered by comparison with the memory estimate from last major collection
Roberto Ierusalimschy2012-07-02 10:40:05 -03:00
78d9865900
bugs: Internal Lua values may escape through the debug API + Problems when yielding from debug hooks
Roberto Ierusalimschy2012-06-11 14:49:37 -03:00