Roberto Ierusalimschy
|
95c3144393
|
redefine 'l_sprintf' to test correctness of buffer sizes given
to 'snprintf'
|
2015-06-18 11:27:44 -03:00 |
|
Roberto Ierusalimschy
|
a51069202a
|
removed macro 'luai_numinvalidop' (main motivation removed, as folding
does not handle any division by zero by default)
|
2014-12-26 12:44:44 -02:00 |
|
Roberto Ierusalimschy
|
3ae21a352c
|
detail (in test for 'luai_numinvalidop', use a round float)
|
2014-12-19 11:33:06 -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
|
460968353f
|
in test mode, debug library is not predefined (to allow testing
'preloadedlibs')
|
2014-12-06 18:42:58 -02:00 |
|
Roberto Ierusalimschy
|
6df197ec15
|
some functions from test module must be exported
|
2014-11-29 17:45:37 -02:00 |
|
Roberto Ierusalimschy
|
075661ffde
|
new test for macro 'luai_numinvalidop'
|
2014-11-24 12:56:56 -02:00 |
|
Roberto Ierusalimschy
|
798660c9cd
|
deprecated "cast macros" ('luaL_checkint', 'luaL_optint', etc.)
|
2014-10-01 08:54:56 -03:00 |
|
Roberto Ierusalimschy
|
f9037ae8c1
|
'ipairs' respects metamethods
|
2014-07-24 16:33:29 -03:00 |
|
Roberto Ierusalimschy
|
baa0e23456
|
better support for extra user space associated with a Lua state
|
2014-07-24 11:00:16 -03:00 |
|
Roberto Ierusalimschy
|
55a710545c
|
detail (extra byte in LUAI_EXTRASPACE to test proper alignment of
a lua_State)
|
2014-07-23 14:16:50 -03:00 |
|
Roberto Ierusalimschy
|
b3b8580606
|
comments + proper undef of compatibility macros + no need to undef
internal macros (this is the first definition)
|
2014-07-23 13:47:47 -03:00 |
|
Roberto Ierusalimschy
|
3511e186cd
|
ensure size for LUAI_USER_ALIGNMENT_T in tests is larger than the
structures it is aligning (in most architectures)
|
2014-07-18 10:27:45 -03:00 |
|
Roberto Ierusalimschy
|
39929384c6
|
new macro 'luai_userstateclose' (to test it is being called correctly)
|
2013-11-08 15:36:05 -02:00 |
|
Roberto Ierusalimschy
|
d447945685
|
'module'/'luaL_register' and associates are deprecated
|
2010-07-28 12:51:59 -03:00 |
|
Roberto Ierusalimschy
|
4db6f20770
|
ensure that 'luai_userstatethread' is always called (even if
'stack_init' throws a memory error)
|
2010-04-19 14:40:13 -03:00 |
|
Roberto Ierusalimschy
|
d20ff60615
|
new macro LUA_NUMTAGS
|
2010-04-12 13:07:29 -03:00 |
|
Roberto Ierusalimschy
|
8bfc696676
|
missing 'external' in variable declaration
|
2010-01-11 15:33:09 -02:00 |
|
Roberto Ierusalimschy
|
de6fc75d63
|
several configuration options that do not change often moved out of
luaconf.h and into more internal files
|
2009-12-17 10:26:09 -02:00 |
|
Roberto Ierusalimschy
|
2af0d3b459
|
allocator function receives the tag of object being allocated in 'osize'
when 'ptr' is NULL.
|
2009-12-16 14:42:58 -02:00 |
|
Roberto Ierusalimschy
|
15b823ce4f
|
cleaner way to add extra space in a lua state.
|
2009-12-14 13:27:30 -02:00 |
|
Roberto Ierusalimschy
|
062e809e54
|
new macros 'LUAI_DDEC'/'LUAI_DDEF' to better control declarations and
definitions of non-static variables
|
2009-11-19 17:06:52 -02:00 |
|
Roberto Ierusalimschy
|
d3037d97ec
|
several small improvements based on 'ci' being fixed now (including
erasing savedpc from lua_State)
|
2009-04-17 19:00:01 -03:00 |
|
Roberto Ierusalimschy
|
df802dc74b
|
larger alignment requirement helps to uncover some kinds of bugs
|
2008-08-05 16:24:46 -03:00 |
|
Roberto Ierusalimschy
|
4db2cddeee
|
LUA_COMPAT -> LUA_COMPAT_API (more specific)
|
2008-07-18 16:58:10 -03:00 |
|
Roberto Ierusalimschy
|
f9dec5fc84
|
do not use compatibility macros in Lua
|
2008-07-11 14:51:01 -03:00 |
|
Roberto Ierusalimschy
|
93869acb2c
|
"test trick" seems more useful with pointers instead of integers
|
2008-06-23 13:50:34 -03:00 |
|
Roberto Ierusalimschy
|
658e7caf92
|
use prefix in extern names, even those in test files
|
2007-11-12 14:28:45 -02:00 |
|
Roberto Ierusalimschy
|
b7fa64565a
|
27 is not a prime number :(
|
2007-09-30 10:09:43 -03:00 |
|
Roberto Ierusalimschy
|
2b5c1f99e5
|
small simplifications
|
2006-06-05 16:35:57 -03:00 |
|
Roberto Ierusalimschy
|
0fd6466957
|
lua_assert is an internal matter, not to be configured
|
2005-12-27 15:12:00 -02:00 |
|
Roberto Ierusalimschy
|
8dcc6bc532
|
avoid the use of global lock
|
2005-09-14 14:48:57 -03:00 |
|
Roberto Ierusalimschy
|
d987cf1f81
|
new mark LUAI_DATA for extern data
|
2005-06-06 10:30:25 -03:00 |
|
Roberto Ierusalimschy
|
b320d37a80
|
better tests for correctness of `savedpc'
|
2005-05-03 16:01:17 -03:00 |
|
Roberto Ierusalimschy
|
04f657c7f8
|
new protocol to open standard libraries
|
2005-04-13 14:24:20 -03:00 |
|
Roberto Ierusalimschy
|
d872090248
|
small errors in previous `ci' of luaconf.h.
|
2005-03-18 15:55:45 -03:00 |
|
Roberto Ierusalimschy
|
162b66624d
|
no more `lua_userinit' macro
|
2005-01-10 14:31:30 -02:00 |
|
Roberto Ierusalimschy
|
226c57fec0
|
simpler configuration to turn on all asserts
|
2004-09-10 14:30:46 -03:00 |
|
Roberto Ierusalimschy
|
0d9007b642
|
no more LUA_OPNAMES
|
2004-07-16 10:17:00 -03:00 |
|
Roberto Ierusalimschy
|
31f6540fba
|
back with an "open all libs" function
|
2004-07-09 11:29:29 -03:00 |
|
Roberto Ierusalimschy
|
a6179adf12
|
detail
|
2004-06-30 09:58:44 -03:00 |
|
Roberto Ierusalimschy
|
ba9878fcb8
|
lock stuff defined in `luaconf.h'
|
2004-06-02 16:09:21 -03:00 |
|
Roberto Ierusalimschy
|
763b8fba1b
|
more stuff goes to configuration file
|
2004-05-03 09:28:43 -03:00 |
|
Roberto Ierusalimschy
|
b4cd38ba6c
|
new scheme for configuration through `luaconf.h'
|
2004-04-30 17:13:38 -03:00 |
|
Roberto Ierusalimschy
|
48a8d78102
|
new tests to check memory consistency (for incremental GC)
|
2004-03-15 18:04:54 -03:00 |
|
Roberto Ierusalimschy
|
2aaf7394ad
|
more and better tools (assertions & inspectors) to check incremental GC
|
2004-02-16 16:09:52 -03:00 |
|
Roberto Ierusalimschy
|
47fc57a252
|
TObject' renamed to TValue' + other name changes and better assertions
for incremental garbage collection
|
2003-12-10 10:13:36 -02:00 |
|
Roberto Ierusalimschy
|
b97fb932ec
|
Lua kernel does not use malloc/free functions.
|
2003-10-02 17:31:17 -03:00 |
|
Roberto Ierusalimschy
|
38da8c0d7d
|
new facilities to test memory overflow in main.c
|
2002-12-04 15:29:05 -02:00 |
|