Roberto Ierusalimschy
|
c8da3fbc35
|
in traceback names, give preference to 'name' over '_G.name'
|
2014-12-13 15:47:58 -02:00 |
|
Roberto Ierusalimschy
|
c96cd1c647
|
reinsertion-control macro renamed: lconfig_h -> luaconf_h
|
2014-12-12 09:49:32 -02:00 |
|
Roberto Ierusalimschy
|
57e91b4159
|
correct computation for limit in 'getnum'
|
2014-12-11 12:03:07 -02:00 |
|
Roberto Ierusalimschy
|
ef7d29c666
|
better limits for 'sting.rep' and 'string.packsize'
|
2014-12-11 11:40:40 -02:00 |
|
Roberto Ierusalimschy
|
81ecaf6178
|
new specifiers in 'strftime' are defined in C99 (not Posix)
|
2014-12-10 13:42:42 -02:00 |
|
Roberto Ierusalimschy
|
27ab59bc16
|
'ipairs' needs an argument
|
2014-12-10 10:26:42 -02:00 |
|
Roberto Ierusalimschy
|
bd8ce7e331
|
macro 'LUA_C89_NUMBERS' makes a little easier to use C89 numerical types
|
2014-12-10 09:56:55 -02:00 |
|
Roberto Ierusalimschy
|
5c519a69d3
|
new function 'string.packsize'
|
2014-12-10 09:36:03 -02:00 |
|
Roberto Ierusalimschy
|
6f54b07663
|
give preference to global names in tracebacks
|
2014-12-10 09:31:32 -02:00 |
|
Roberto Ierusalimschy
|
741ad97e92
|
new parameter for testC instruction 'pcall' (error handler)
|
2014-12-10 09:30:51 -02:00 |
|
Roberto Ierusalimschy
|
b4633c586b
|
error handler does not need to be a function (can be a callable
object)
|
2014-12-10 09:30:09 -02:00 |
|
Roberto Ierusalimschy
|
5fae2a5b05
|
redefinition of LUAI_MAXSTACK to make stack-overflow tests run faster
|
2014-12-09 15:17:40 -02:00 |
|
Roberto Ierusalimschy
|
36efa6a6b9
|
no more 'preloadedlibs' when opening libraries (as it is dead code now)
|
2014-12-09 13:00:17 -02:00 |
|
Roberto Ierusalimschy
|
c6e74e41c9
|
handle case where function was called as a hook
|
2014-12-08 13:48:23 -02:00 |
|
Roberto Ierusalimschy
|
6909b5a2b4
|
In 'debug.gethook', does not query hook table (which may not exist) if
there is no hook set
|
2014-12-08 13:47:25 -02:00 |
|
Roberto Ierusalimschy
|
594d7266af
|
'assert' checks that it has (at least) one parameter + 'assert' ensures
it passes only one value to 'error'
|
2014-12-08 13:26:55 -02:00 |
|
Roberto Ierusalimschy
|
ab4a890d04
|
use 'namewhat' when building a traceback
|
2014-12-08 13:26:09 -02:00 |
|
Roberto Ierusalimschy
|
64e25a6186
|
avoid octal numerals
|
2014-12-08 13:12:07 -02:00 |
|
Roberto Ierusalimschy
|
460968353f
|
in test mode, debug library is not predefined (to allow testing
'preloadedlibs')
|
2014-12-06 18:42:58 -02:00 |
|
Roberto Ierusalimschy
|
32a1f54b9a
|
no more default size for option 'c' in pack/unpack
|
2014-12-04 14:25:40 -02:00 |
|
Roberto Ierusalimschy
|
6df197ec15
|
some functions from test module must be exported
|
2014-11-29 17:45:37 -02:00 |
|
Roberto Ierusalimschy
|
177807f21e
|
casts ('(int)' -> 'cast_int')
|
2014-11-29 15:38:33 -02:00 |
|
Roberto Ierusalimschy
|
92f02fff11
|
bug: lua_tounsignedx must cast to lua_Unsigned (of course...)
|
2014-11-29 15:24:05 -02:00 |
|
Roberto Ierusalimschy
|
125296c83d
|
next release won't be beta
|
2014-11-28 17:13:39 -02:00 |
|
Roberto Ierusalimschy
|
9c41d9d1df
|
removed unneeded barrier ('from' must be white)
|
2014-11-27 16:41:43 -02:00 |
|
Roberto Ierusalimschy
|
ad79eafe86
|
details (comments)
|
2014-11-25 16:21:57 -02:00 |
|
Roberto Ierusalimschy
|
fd179ab4b8
|
clearer notation for "compare" instruction
|
2014-11-25 12:51:33 -02:00 |
|
Roberto Ierusalimschy
|
bf163ea7f0
|
bug ('#3' causes seg. fault in 5.3-beta) + comments + 'codearith' ->
'codeexpval' (confusion about what operations function accept was
one of the reasons for the bug)
|
2014-11-24 12:59:22 -02:00 |
|
Roberto Ierusalimschy
|
075661ffde
|
new test for macro 'luai_numinvalidop'
|
2014-11-24 12:56:56 -02:00 |
|
Roberto Ierusalimschy
|
db5ac2fa0d
|
detail (buffer in 'LoadF' is related to files)
|
2014-11-21 10:17:58 -02:00 |
|
Roberto Ierusalimschy
|
1735c05ac7
|
avoid memory errors while a file is locked (when reading a line)
|
2014-11-21 10:17:33 -02:00 |
|
Roberto Ierusalimschy
|
5fbd40dbe5
|
'x//y' extended to floats
|
2014-11-21 10:15:57 -02:00 |
|
Roberto Ierusalimschy
|
049cf14cf9
|
'x//y' extended to floats + more comments about module and floor
division operations
|
2014-11-21 10:15:00 -02:00 |
|
Roberto Ierusalimschy
|
5d628519d3
|
simpler definition for 'luaV_tonumber_'
|
2014-11-19 13:05:15 -02:00 |
|
Roberto Ierusalimschy
|
244646bdf7
|
detail (LUAL_BUFFERSIZE has a larger variation among different
platforms)
|
2014-11-19 13:00:42 -02:00 |
|
Roberto Ierusalimschy
|
5bdfefd3a5
|
allows calling luaL_checkstack with no message (in runC)
|
2014-11-14 16:15:17 -02:00 |
|
Roberto Ierusalimschy
|
5873786e27
|
small bug (error of "chunk has too many lines" might use 't.token'
before reading the first token)
|
2014-11-14 14:06:09 -02:00 |
|
Roberto Ierusalimschy
|
cb59019f58
|
uses return value from luaL_getmetatable
|
2014-11-12 11:32:27 -02:00 |
|
Roberto Ierusalimschy
|
52c0f9575b
|
uses return value from lua_getfield
|
2014-11-12 11:31:51 -02:00 |
|
Roberto Ierusalimschy
|
4fde357130
|
details (matching parameter names with manual)
|
2014-11-12 11:30:15 -02:00 |
|
Roberto Ierusalimschy
|
e5fd1e5fe2
|
details (match parameter names with lua.h and manual)
|
2014-11-12 11:28:54 -02:00 |
|
Roberto Ierusalimschy
|
87b179e71d
|
detail (use new returned value from 'lua_getglobal' )
|
2014-11-11 17:41:27 -02:00 |
|
Roberto Ierusalimschy
|
b401d37188
|
detail (to avoid a "to avoid warnings" return)
|
2014-11-11 17:40:20 -02:00 |
|
Roberto Ierusalimschy
|
6624ccff26
|
independent code for 'printstack' + test for panic function can
ran code there
|
2014-11-11 15:15:06 -02:00 |
|
Roberto Ierusalimschy
|
9a38c08011
|
no need to ensure any stack space for panic function + some changes
in 'tryfuncTM' (small simplification)
|
2014-11-11 15:13:39 -02:00 |
|
Roberto Ierusalimschy
|
be87789a6c
|
details
|
2014-11-11 15:08:19 -02:00 |
|
Roberto Ierusalimschy
|
d1d1ddec1e
|
details
|
2014-11-10 16:41:19 -02:00 |
|
Roberto Ierusalimschy
|
bfa0898312
|
bug: memory error in panic mode does not push error message on
the stack + stack check in tryfuncTM + comments
|
2014-11-10 15:42:04 -02:00 |
|
Roberto Ierusalimschy
|
79b0d05480
|
new function 'T.checkpanic' (to check panic errors)
|
2014-11-10 15:41:36 -02:00 |
|
Roberto Ierusalimschy
|
779381fe9e
|
detail (comment)
|
2014-11-10 15:24:43 -02:00 |
|