Roberto Ierusalimschy
|
19770b03a9
|
comments. (More explanation about kinds of expressions.)
|
9 years ago |
Roberto Ierusalimschy
|
a01eba657e
|
reordering of some functions + 'code_label' renamed to 'code_loadbool'
|
9 years ago |
Roberto Ierusalimschy
|
b7446ea88d
|
detail ('while' -> 'for') in 'luaK_patchclose'
|
9 years ago |
Roberto Ierusalimschy
|
a051b3323e
|
comments (about hooks vs signals)
|
9 years ago |
Roberto Ierusalimschy
|
c4e01c568a
|
make 'hook' volatile (as it may be changed in signal handling)
|
9 years ago |
Roberto Ierusalimschy
|
bda090b961
|
comments + small code changes around stack usage when 'luaL_checkstack'
raises an error (and needs the stack to create the error message...)
|
9 years ago |
Roberto Ierusalimschy
|
e383941652
|
in 'table.sort': 'typedef' for type of indices + removed stack check
(recursion is in the C stack, not in the Lua stack!)
|
9 years ago |
Roberto Ierusalimschy
|
656b3cea1b
|
using 'sig_atomic_t' for 'hookmask' (as it can be changed inside
a signal)
|
9 years ago |
Roberto Ierusalimschy
|
2d1d57bc18
|
comments
|
9 years ago |
Roberto Ierusalimschy
|
03412af06e
|
detail (removed fixed argument to function 'callallpendingfinalizers')
|
9 years ago |
Roberto Ierusalimschy
|
542dbd4c65
|
detail (moving bodies of 'while' to a separate line)
|
9 years ago |
Roberto Ierusalimschy
|
c25d59a6bd
|
format "%s" in 'string.format' accepts embedded zeros when it
has no modifiers
|
9 years ago |
Roberto Ierusalimschy
|
5936eb16d8
|
randomness in 'table.sort' used only when needed (big imbalance in
partition result) + small refactoring
|
9 years ago |
Roberto Ierusalimschy
|
7dc3ca7b8e
|
handling 'clock_t' and 'time_t' correctly in ISO C point of view
|
9 years ago |
Roberto Ierusalimschy
|
71344b5cac
|
easy the way to accept other modifiers for 'mode' in 'io.open'
|
9 years ago |
Roberto Ierusalimschy
|
f230898ad6
|
tiny code refactoring in 'luaS_hash'
|
9 years ago |
Roberto Ierusalimschy
|
3feb702df8
|
ensure argument to 'string.format("%s")' does not contain zeros
|
9 years ago |
Roberto Ierusalimschy
|
c5112f7b15
|
details (comments)
|
9 years ago |
Roberto Ierusalimschy
|
c231a5e2b6
|
using unsigned int (instead of int) in 'table.sort' to avoid overflows
(when computing the pivot and in original table size)
|
9 years ago |
Roberto Ierusalimschy
|
dc9ac5b8c2
|
details (merging declarations with initialization)
|
9 years ago |
Roberto Ierusalimschy
|
146508b28e
|
randomness in pivot for 'table.sort' done by a macro (easier to change)
|
9 years ago |
Roberto Ierusalimschy
|
d103312661
|
details (typos in comments)
|
9 years ago |
Roberto Ierusalimschy
|
2e8f8a18e4
|
detail
|
9 years ago |
Roberto Ierusalimschy
|
f5b0459aba
|
details
|
9 years ago |
Roberto Ierusalimschy
|
d682b3c9ec
|
added separator for bugs in 5.3.1
|
9 years ago |
Roberto Ierusalimschy
|
fc085aa627
|
new release number (5.3.2)
|
9 years ago |
Roberto Ierusalimschy
|
9a5d6aedb7
|
trying to optimize a little 'luaD_poscall'
|
9 years ago |
Roberto Ierusalimschy
|
89e3a84344
|
removed field 'n' from 'CallInfo' (not being used right now)
|
9 years ago |
Roberto Ierusalimschy
|
04587b6256
|
macro with empty argument can be seen as macro with no argument; better
to avoid that
|
9 years ago |
Roberto Ierusalimschy
|
bde03eeb48
|
in 'table.sort': tighter checks for invalid order function +
"random" pivot for larger intervals (to avoid attacks with
bad data)
|
9 years ago |
Roberto Ierusalimschy
|
330d426ffd
|
avoid the use of deprecated functions 'luaL_checkunsigned'/
'lua_pushunsigned'
|
9 years ago |
Roberto Ierusalimschy
|
02340375be
|
janitor work on 'table.sort': added comments, partition code moved
to a separated function, code conventions updated, etc. No changes
at all in the logic/algorithm
|
9 years ago |
Roberto Ierusalimschy
|
5100bc8aa1
|
no need for a special case to get long strings (not that common)
|
9 years ago |
Roberto Ierusalimschy
|
ebb2afa54b
|
allow 'set' macros to be used when 'L' is not available (as it was
needed only for assertions)
|
9 years ago |
Roberto Ierusalimschy
|
7485512384
|
added comment and assert about dead keys
|
9 years ago |
Roberto Ierusalimschy
|
46de77b219
|
bug: despite its name, 'luaH_getstr' did not work for strings in
general, but only for short strings
|
9 years ago |
Roberto Ierusalimschy
|
d356183402
|
new function 'luaS_hashlongstr'
|
9 years ago |
Roberto Ierusalimschy
|
e61ee8a036
|
in 'luaD_call', use two functions instead of one with fixed boolean
argument + stack error handling in 'luaD_call' moved to a separated
function
|
9 years ago |
Roberto Ierusalimschy
|
ff1289a361
|
in 'luaD_call', use two functions instead of one with fixed boolean
argument
|
9 years ago |
Roberto Ierusalimschy
|
cd73f3ccc5
|
now that we have a counter for CallInfos, use it for a more
accurate value for the memory used by a thread
|
9 years ago |
Roberto Ierusalimschy
|
8c1fb91802
|
macro 'incr_top' replaced by function 'luaD_inctop'. (It is not used
in critical time pathes, can save a few bytes without the macro)
|
9 years ago |
Roberto Ierusalimschy
|
33b366ec32
|
added counters for total and individual CallInfo entries (to allow
better syncronization between CallInfo size and stack size)
|
9 years ago |
Roberto Ierusalimschy
|
c5363a1b58
|
in 'luaD_precall', in vararg functions, complete missing parameters
only after moving them to final place (avoids checking the stack
again)
|
9 years ago |
Roberto Ierusalimschy
|
332a06bbd1
|
'luaO_pushvfstring' now uses 'incr_top' to increment top.
|
9 years ago |
Roberto Ierusalimschy
|
ffd0d1232d
|
using more "conventional" loops in 'luaD_poscall' (probably a little
more efficient?)
|
9 years ago |
Roberto Ierusalimschy
|
07a2dcacbf
|
flag CIST_REENTRY changed to CIST_FRESH (its negation); fresh invocations
seem to be less frequent than reentries. (So, avoid setting flag on
the frequent case.)
|
9 years ago |
Roberto Ierusalimschy
|
c874abac98
|
with 'fast tracks', there is no need to do raw accesses in 'ipairs'
|
9 years ago |
Roberto Ierusalimschy
|
789e423b32
|
corrected comparisons of signed (int) with unsigned (size_t)
|
9 years ago |
Roberto Ierusalimschy
|
96ec8671b1
|
macro 'buff2num' replaced by its body (it caused more harm than good
to readability)
|
9 years ago |
Roberto Ierusalimschy
|
cc3a42b190
|
option 'c' in 'string.pack' accepts any string size (truncating
if larger and padding if smaller)
|
9 years ago |