Roberto Ierusalimschy
|
cac1ebd1e0
|
detail ('ttisuserdata' renamed to 'ttisfulluserdata')
|
2013-12-04 10:15:22 -02:00 |
|
Roberto Ierusalimschy
|
686e57cf9c
|
GC local pause configurable
|
2013-09-13 13:21:52 -03:00 |
|
Roberto Ierusalimschy
|
06156e7575
|
detail (setmetatable do not need to use a back GC barrier)
|
2013-09-11 17:15:31 -03:00 |
|
Roberto Ierusalimschy
|
af35c7f398
|
upvalues collected by reference count
|
2013-08-27 15:53:35 -03:00 |
|
Roberto Ierusalimschy
|
439d74e29f
|
added 'local' bit (true => object is only refered by local variables)
|
2013-08-16 15:55:49 -03:00 |
|
Roberto Ierusalimschy
|
677d90165f
|
no more generational collection !!!
|
2013-08-05 13:58:28 -03:00 |
|
Roberto Ierusalimschy
|
5519c98655
|
'lua_cvtonum' -> 'lua_strtonum'; converts only strings to numbers
|
2013-07-05 11:29:51 -03:00 |
|
Roberto Ierusalimschy
|
d6f5fb2d2c
|
avoid warning for unary minus over an unsigned value
|
2013-06-20 12:12:43 -03:00 |
|
Roberto Ierusalimschy
|
453450d687
|
new macro 'l_floor' (allows 'floorf' even when other math operations
do not have an 'f' variant)
|
2013-06-20 12:02:49 -03:00 |
|
Roberto Ierusalimschy
|
53210d7e5b
|
correct way (I hope) to convert floats to unsigned int
|
2013-06-14 15:32:45 -03:00 |
|
Roberto Ierusalimschy
|
932e7fb0e1
|
'lua_tounsigned' takes number modulo 2^numbits as a result when
number is a float
(That may change...)
|
2013-06-04 16:34:51 -03:00 |
|
Roberto Ierusalimschy
|
b5ec26101f
|
new API function 'lua_cvtonum' to convert a value (number or string)
to a number, following the rules of the language to create integers
or floats
|
2013-05-14 13:00:11 -03:00 |
|
Roberto Ierusalimschy
|
67532d5a10
|
constant folding and API arithmetic with integers
|
2013-05-02 09:37:24 -03:00 |
|
Roberto Ierusalimschy
|
88bf2f83c0
|
new function 'tointeger' + 'luaV_arith' replaced by 'luaT_trybinTM'
|
2013-04-29 14:12:50 -03:00 |
|
Roberto Ierusalimschy
|
360587f319
|
favoring 'tonumber' over 'nvalue'
|
2013-04-26 16:51:17 -03:00 |
|
Roberto Ierusalimschy
|
4abe99dc34
|
new interface for 'tonumber'
|
2013-04-26 13:03:50 -03:00 |
|
Roberto Ierusalimschy
|
d4e6b75098
|
"integer" keys in tables are now lua_Integer, not 'int'.
|
2013-04-26 12:39:25 -03:00 |
|
Roberto Ierusalimschy
|
01b6fe0cbf
|
new API function 'lua_isinteger'
|
2013-04-25 10:52:49 -03:00 |
|
Roberto Ierusalimschy
|
7a543cfae6
|
|
2013-04-15 12:43:34 -03:00 |
|
Roberto Ierusalimschy
|
8f8665fffa
|
'ttypenv' -> 'ttnov'
|
2013-04-12 16:07:09 -03:00 |
|
Roberto Ierusalimschy
|
75250a237c
|
typos in comments
|
2013-03-16 18:10:18 -03:00 |
|
Roberto Ierusalimschy
|
7ea68d84c4
|
added comment
|
2012-12-05 17:49:55 -02:00 |
|
Roberto Ierusalimschy
|
0e9167bc72
|
missing brackets in 'if' body (no bug, only 'luaC_checkfinalizer' is
called to do nothing)
|
2012-12-05 17:09:23 -02:00 |
|
Roberto Ierusalimschy
|
52f9ccd298
|
removed unreacheable 'lua_unlock'
|
2012-11-04 18:08:17 -02:00 |
|
Roberto Ierusalimschy
|
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'
|
2012-10-19 12:52:46 -03:00 |
|
Roberto Ierusalimschy
|
cf160abcf9
|
no more macro 'changenvalue'
|
2012-09-11 15:21:44 -03:00 |
|
Roberto Ierusalimschy
|
53480f1163
|
details (remove of some extra spaces)
|
2012-08-14 15:12:34 -03:00 |
|
Roberto Ierusalimschy
|
cc2a60ecb7
|
bugs in yields inside debug hooks
|
2012-06-08 12:14:04 -03:00 |
|
Roberto Ierusalimschy
|
21ed264a38
|
compensate for 'GCSTEPSIZE' in GC steps
|
2012-05-23 12:42:27 -03:00 |
|
Roberto Ierusalimschy
|
086da10dac
|
merge of fields 'lastmajormem' (used in gen. mode) and 'estimate'
(used in inc. mode)
|
2012-05-22 14:50:39 -03:00 |
|
Roberto Ierusalimschy
|
398811a313
|
simpler macro 'luaC_condGC' + better 'step' in 'lua_gc' +
micro bug in 'luaC_checkfinalizer' (current sweep object could be
removed from 'allgc' list)
|
2012-05-21 10:18:10 -03:00 |
|
Roberto Ierusalimschy
|
31829ad177
|
test for whether collector is running moved from function to
macro 'luaC_condGC'.
|
2012-05-11 16:22:33 -03:00 |
|
Roberto Ierusalimschy
|
7bcb2462e4
|
comments
|
2011-11-30 10:58:57 -02:00 |
|
Roberto Ierusalimschy
|
3617e04e97
|
'lua_load' has an extra argument 'mode'
|
2011-11-29 13:55:08 -02:00 |
|
Roberto Ierusalimschy
|
b5d7255034
|
small changes to avoid some warnings
|
2011-11-16 16:51:36 -02:00 |
|
Roberto Ierusalimschy
|
166ce15512
|
cannot apply macro 'getstr' over NULL
|
2011-10-31 15:48:51 -02:00 |
|
Roberto Ierusalimschy
|
475e6c5352
|
'lua_setglobal/lua_getglobal' implemented as functions to avoid
problems with stack indices
(e.g., lua_getglobal(L, lua_tostring(L, -1)) )
|
2011-10-24 14:53:05 -02:00 |
|
Roberto Ierusalimschy
|
af00a0772c
|
new functions lua_rawsetp/lua_rawgetp
|
2011-10-24 12:54:05 -02:00 |
|
Roberto Ierusalimschy
|
e24f1ee9ff
|
lint (unreachable code)
|
2011-09-30 09:44:45 -03:00 |
|
Roberto Ierusalimschy
|
ad90447eb6
|
detail: new macros for non-valid values
|
2011-09-26 17:17:27 -03:00 |
|
Roberto Ierusalimschy
|
89b59eee73
|
bug: __newindex metamethod may not work if metatable is its own
metatable + luaV_settable does not create entry when there is a
metamethod (and therefore entry is useless)
|
2011-08-17 17:26:47 -03:00 |
|
Roberto Ierusalimschy
|
92afcf2823
|
no more 'luaH_setstr (used only once) + 'luaH_setint' receives value
to be set.
|
2011-08-09 17:58:29 -03:00 |
|
Roberto Ierusalimschy
|
fd80e63468
|
configuration for NaN trick big-endian + macro 'luai_checknum' to
ensure numbers comming from C are not "improper" (some kinds of
signaling NaNs)
|
2011-06-13 11:13:06 -03:00 |
|
Roberto Ierusalimschy
|
3b44821334
|
stricter control (using tag variants) over closure kinds (Lua x C)
|
2011-06-02 16:31:40 -03:00 |
|
Roberto Ierusalimschy
|
821bd7025e
|
more uniform names for 'equalobj'-related functions
|
2011-05-31 15:27:56 -03:00 |
|
Roberto Ierusalimschy
|
9b7dddad7d
|
no need for two different implementations for equality (one raw and
one with metamethods)
|
2011-05-31 15:24:36 -03:00 |
|
Roberto Ierusalimschy
|
119d5e46d5
|
lua_arith gets no fake operand for unary minus
|
2011-04-05 11:26:23 -03:00 |
|
Roberto Ierusalimschy
|
868ff40339
|
full collection does not restart collector + avoid changing GC
state if an error happens in a step
|
2010-12-29 16:00:23 -02:00 |
|
Roberto Ierusalimschy
|
551b076f1c
|
change in the relationship between totalbytes and GCdebt - luaM_realloc_
is too critical to update two counters
|
2010-12-20 17:40:07 -02:00 |
|
Roberto Ierusalimschy
|
737f119187
|
better control for GC running or stopped
|
2010-12-20 16:17:46 -02:00 |
|