Roberto Ierusalimschy
|
1f259be52a
|
'getcode' -> 'getinstruction'
|
2016-01-05 14:22:37 -02:00 |
|
Roberto Ierusalimschy
|
1a44e82200
|
'luaV_fastget' only treats the real fast case (table with a non-nil
value at given key, so that it does not need to check metamethods)
|
2016-01-05 14:07:21 -02:00 |
|
Roberto Ierusalimschy
|
a272fa66f0
|
bug: Metatable may access its own dealocated field when
it has a self reference in __newindex + some refactoring
|
2016-01-04 14:44:50 -02:00 |
|
Roberto Ierusalimschy
|
b12b635a90
|
more refactoring
|
2016-01-04 11:40:57 -02:00 |
|
Roberto Ierusalimschy
|
7cd7c2e0a1
|
Metatable may access its own dealocated field when
it has a self reference in __newindex.
|
2016-01-04 11:35:56 -02:00 |
|
Roberto Ierusalimschy
|
07cf8415e3
|
more comments + reordeing of union inside 'expdesc' to allow
static initialization of a VKINT value
|
2015-12-30 16:16:13 -02:00 |
|
Roberto Ierusalimschy
|
c0836dda74
|
avoid empty macro arguments (invalid in C89)
|
2015-12-21 11:02:14 -02:00 |
|
Roberto Ierusalimschy
|
384d1b47b0
|
comments (*lots* of them) + asserts
|
2015-12-18 11:53:36 -02:00 |
|
Roberto Ierusalimschy
|
19770b03a9
|
comments. (More explanation about kinds of expressions.)
|
2015-12-17 13:44:50 -02:00 |
|
Roberto Ierusalimschy
|
a01eba657e
|
reordering of some functions + 'code_label' renamed to 'code_loadbool'
|
2015-12-17 13:02:44 -02:00 |
|
Roberto Ierusalimschy
|
b7446ea88d
|
detail ('while' -> 'for') in 'luaK_patchclose'
|
2015-12-17 12:52:53 -02:00 |
|
Roberto Ierusalimschy
|
a051b3323e
|
comments (about hooks vs signals)
|
2015-12-16 14:40:07 -02:00 |
|
Roberto Ierusalimschy
|
c4e01c568a
|
make 'hook' volatile (as it may be changed in signal handling)
|
2015-12-16 14:39:38 -02:00 |
|
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...)
|
2015-12-14 09:59:27 -02:00 |
|
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!)
|
2015-12-14 09:57:38 -02:00 |
|
Roberto Ierusalimschy
|
656b3cea1b
|
using 'sig_atomic_t' for 'hookmask' (as it can be changed inside
a signal)
|
2015-12-14 09:54:49 -02:00 |
|
Roberto Ierusalimschy
|
2d1d57bc18
|
comments
|
2015-12-14 09:53:27 -02:00 |
|
Roberto Ierusalimschy
|
03412af06e
|
detail (removed fixed argument to function 'callallpendingfinalizers')
|
2015-12-10 16:12:30 -02:00 |
|
Roberto Ierusalimschy
|
542dbd4c65
|
detail (moving bodies of 'while' to a separate line)
|
2015-12-09 13:21:28 -02:00 |
|
Roberto Ierusalimschy
|
c25d59a6bd
|
format "%s" in 'string.format' accepts embedded zeros when it
has no modifiers
|
2015-11-25 14:28:17 -02:00 |
|
Roberto Ierusalimschy
|
5936eb16d8
|
randomness in 'table.sort' used only when needed (big imbalance in
partition result) + small refactoring
|
2015-11-25 10:48:57 -02:00 |
|
Roberto Ierusalimschy
|
7dc3ca7b8e
|
handling 'clock_t' and 'time_t' correctly in ISO C point of view
|
2015-11-24 14:54:32 -02:00 |
|
Roberto Ierusalimschy
|
71344b5cac
|
easy the way to accept other modifiers for 'mode' in 'io.open'
|
2015-11-23 09:36:11 -02:00 |
|
Roberto Ierusalimschy
|
f230898ad6
|
tiny code refactoring in 'luaS_hash'
|
2015-11-23 09:32:51 -02:00 |
|
Roberto Ierusalimschy
|
3feb702df8
|
ensure argument to 'string.format("%s")' does not contain zeros
|
2015-11-23 09:31:21 -02:00 |
|
Roberto Ierusalimschy
|
c5112f7b15
|
details (comments)
|
2015-11-23 09:30:45 -02:00 |
|
Roberto Ierusalimschy
|
c231a5e2b6
|
using unsigned int (instead of int) in 'table.sort' to avoid overflows
(when computing the pivot and in original table size)
|
2015-11-23 09:17:31 -02:00 |
|
Roberto Ierusalimschy
|
dc9ac5b8c2
|
details (merging declarations with initialization)
|
2015-11-23 09:09:27 -02:00 |
|
Roberto Ierusalimschy
|
146508b28e
|
randomness in pivot for 'table.sort' done by a macro (easier to change)
|
2015-11-20 10:30:20 -02:00 |
|
Roberto Ierusalimschy
|
d103312661
|
details (typos in comments)
|
2015-11-19 17:16:22 -02:00 |
|
Roberto Ierusalimschy
|
2e8f8a18e4
|
detail
|
2015-11-17 14:00:28 -02:00 |
|
Roberto Ierusalimschy
|
f5b0459aba
|
details
|
2015-11-13 15:19:46 -02:00 |
|
Roberto Ierusalimschy
|
d682b3c9ec
|
added separator for bugs in 5.3.1
|
2015-11-13 15:19:07 -02:00 |
|
Roberto Ierusalimschy
|
fc085aa627
|
new release number (5.3.2)
|
2015-11-13 15:18:42 -02:00 |
|
Roberto Ierusalimschy
|
9a5d6aedb7
|
trying to optimize a little 'luaD_poscall'
|
2015-11-13 11:24:26 -02:00 |
|
Roberto Ierusalimschy
|
89e3a84344
|
removed field 'n' from 'CallInfo' (not being used right now)
|
2015-11-13 10:16:51 -02:00 |
|
Roberto Ierusalimschy
|
04587b6256
|
macro with empty argument can be seen as macro with no argument; better
to avoid that
|
2015-11-12 16:08:58 -02:00 |
|
Roberto Ierusalimschy
|
bde03eeb48
|
in 'table.sort': tighter checks for invalid order function +
"random" pivot for larger intervals (to avoid attacks with
bad data)
|
2015-11-12 16:07:25 -02:00 |
|
Roberto Ierusalimschy
|
330d426ffd
|
avoid the use of deprecated functions 'luaL_checkunsigned'/
'lua_pushunsigned'
|
2015-11-11 17:08:09 -02:00 |
|
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
|
2015-11-06 14:07:14 -02:00 |
|
Roberto Ierusalimschy
|
5100bc8aa1
|
no need for a special case to get long strings (not that common)
|
2015-11-03 16:35:21 -02:00 |
|
Roberto Ierusalimschy
|
ebb2afa54b
|
allow 'set' macros to be used when 'L' is not available (as it was
needed only for assertions)
|
2015-11-03 16:33:10 -02:00 |
|
Roberto Ierusalimschy
|
7485512384
|
added comment and assert about dead keys
|
2015-11-03 16:10:44 -02:00 |
|
Roberto Ierusalimschy
|
46de77b219
|
bug: despite its name, 'luaH_getstr' did not work for strings in
general, but only for short strings
|
2015-11-03 13:47:30 -02:00 |
|
Roberto Ierusalimschy
|
d356183402
|
new function 'luaS_hashlongstr'
|
2015-11-03 13:36:01 -02:00 |
|
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
|
2015-11-02 16:48:49 -02:00 |
|
Roberto Ierusalimschy
|
ff1289a361
|
in 'luaD_call', use two functions instead of one with fixed boolean
argument
|
2015-11-02 16:48:07 -02:00 |
|
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
|
2015-11-02 14:19:29 -02:00 |
|
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)
|
2015-11-02 14:09:30 -02:00 |
|
Roberto Ierusalimschy
|
33b366ec32
|
added counters for total and individual CallInfo entries (to allow
better syncronization between CallInfo size and stack size)
|
2015-11-02 14:01:41 -02:00 |
|