Roberto Ierusalimschy
|
cbef15f3ea
|
comment (FALLTHROUGH position)
|
2015-06-09 11:21:13 -03:00 |
|
Roberto Ierusalimschy
|
16e8bb360b
|
comment
|
2015-06-09 11:21:00 -03:00 |
|
Roberto Ierusalimschy
|
6628012e9e
|
new release number (5.3.1)
|
2015-06-03 10:03:38 -03:00 |
|
Roberto Ierusalimschy
|
ed1fe28bb8
|
When comparing integers with floats, use float as common type when
possible (i.e., when integer fits in a float without losses); seems
to be more efficient in architectures with native support for used
Lua numbers
|
2015-06-02 16:11:24 -03:00 |
|
Roberto Ierusalimschy
|
6645bb2df4
|
'strcache' elements as arrays of 1 element hints that cache can
be n-way (instead of direct mapped)
|
2015-06-01 13:34:37 -03:00 |
|
Roberto Ierusalimschy
|
02aed045de
|
bug: return hook may not see correct values for active local variables
when function returns
|
2015-05-22 16:32:42 -03:00 |
|
Roberto Ierusalimschy
|
72bd2ef6c5
|
dependencies updated
|
2015-05-22 16:29:43 -03:00 |
|
Roberto Ierusalimschy
|
d39bb51faa
|
bug: interpreter cannot pop activation frame before calling return
hook (as it may want to access local variables active by the end
of the function)
|
2015-05-22 14:48:19 -03:00 |
|
Roberto Ierusalimschy
|
6142e663e4
|
reuse of 'addinfo' by lexical errors
|
2015-05-22 14:45:56 -03:00 |
|
Roberto Ierusalimschy
|
6dc20ff293
|
'l <= r' for numbers has its own function, instead of using
'not (r < l)' (seems to be slightly more efficient)
|
2015-05-20 15:19:11 -03:00 |
|
Roberto Ierusalimschy
|
99391e24ea
|
new configuration macro 'l_mathlim' (simplifies some dependencies
on float type)
|
2015-05-20 14:39:23 -03:00 |
|
Roberto Ierusalimschy
|
0ec12c1bd1
|
new semantics for numerical order (following math regardless
representation)
|
2015-05-20 13:22:55 -03:00 |
|
Roberto Ierusalimschy
|
a71c0ab861
|
detail (removed useless '#include')
|
2015-05-20 13:22:30 -03:00 |
|
Roberto Ierusalimschy
|
04ba6ea83b
|
new semantics for equality int-float
|
2015-04-29 15:27:16 -03:00 |
|
Roberto Ierusalimschy
|
a1935b9cba
|
error message ("too complex" -> "too many registers") + MAXREGS
changed to 255 (no reason not to use maximum allowed)
|
2015-04-29 15:24:11 -03:00 |
|
Roberto Ierusalimschy
|
513c639bf9
|
patch for last bug corrected to be against last released version
(and not against last version in RCS...)
|
2015-04-13 13:13:25 -03:00 |
|
Roberto Ierusalimschy
|
69b5f7a410
|
some details in 'luaO_int2fb' + more consistent use of the locale
decimal point
|
2015-04-11 15:30:08 -03:00 |
|
Roberto Ierusalimschy
|
ae76c39712
|
Bug: suspended '__le' metamethod can give wrong result
|
2015-04-10 14:56:25 -03:00 |
|
Roberto Ierusalimschy
|
0d4a1f71db
|
re-organization of initial configuration options
|
2015-04-10 14:41:04 -03:00 |
|
Roberto Ierusalimschy
|
67bf789462
|
avoid using API functions inside the core
|
2015-04-06 09:23:48 -03:00 |
|
Roberto Ierusalimschy
|
48d0674c2e
|
more consistent use of locale radix character across Lua
|
2015-04-03 15:41:57 -03:00 |
|
Roberto Ierusalimschy
|
6ffe006f5c
|
detail (removed unused macro VARBITS)
|
2015-04-02 18:10:53 -03:00 |
|
Roberto Ierusalimschy
|
4998e852ec
|
new function 'log2' to test 'luaO_ceillog2' (if needed)
|
2015-04-02 18:10:21 -03:00 |
|
Roberto Ierusalimschy
|
65ac789565
|
detail (comment)
|
2015-04-02 18:09:51 -03:00 |
|
Roberto Ierusalimschy
|
cfc84c856d
|
'LUA_REAL_*' -> 'LUA_FLOAT_*' (everywhere else we are using 'float')
|
2015-03-31 09:00:07 -03:00 |
|
Roberto Ierusalimschy
|
63720a4290
|
janitor work (comments, variable names, some other details)
|
2015-03-30 16:51:00 -03:00 |
|
Roberto Ierusalimschy
|
484bf14a6b
|
calls to 'luaC_checkGC' in luaD_precall moved near to 'luaD_checkstack'
(which is what can need memory)
|
2015-03-30 13:05:23 -03:00 |
|
Roberto Ierusalimschy
|
abb2f5511d
|
detail ('b + base' -> 'base + b' to follow all other similar uses)
|
2015-03-30 12:45:01 -03:00 |
|
Roberto Ierusalimschy
|
fcc6e1220e
|
avoid expression with side effect (in debug mode) inside 'sizeof'
|
2015-03-30 12:43:51 -03:00 |
|
Roberto Ierusalimschy
|
3a91274547
|
details (avoid 'lint' warnings)
|
2015-03-30 12:42:59 -03:00 |
|
Roberto Ierusalimschy
|
f2a813ae10
|
details (avoid some 'lint' warnings)
|
2015-03-28 16:16:55 -03:00 |
|
Roberto Ierusalimschy
|
e723c75c02
|
details (avoid 'lint' warnings)
|
2015-03-28 16:14:47 -03:00 |
|
Roberto Ierusalimschy
|
b436ed58a3
|
'clearapihash' -> 'luaS_clearcache' and moved to 'lstring.c' (which
keeps all code related to this cache)
|
2015-03-25 10:42:19 -03:00 |
|
Roberto Ierusalimschy
|
2b37f2150e
|
comments
|
2015-03-14 14:58:57 -03:00 |
|
Roberto Ierusalimschy
|
331632e8d8
|
code detail ('if' -> '?:')
|
2015-03-13 13:24:50 -03:00 |
|
Roberto Ierusalimschy
|
7d930ec694
|
use 'log2' when available
|
2015-03-12 11:04:04 -03:00 |
|
Roberto Ierusalimschy
|
0cf3b6495a
|
'ci_func' don't need to be exported
|
2015-03-11 13:10:41 -03:00 |
|
Roberto Ierusalimschy
|
b66fedadae
|
'lua_pushliteral' implemented with 'lua_pushstring' (to take
advantage of the cache)
|
2015-03-10 11:17:51 -03:00 |
|
Roberto Ierusalimschy
|
fd6e680e21
|
detail
|
2015-03-10 11:15:06 -03:00 |
|
Roberto Ierusalimschy
|
57c0db219b
|
line history keep lines without added 'return'
|
2015-03-09 18:57:05 -03:00 |
|
Roberto Ierusalimschy
|
4ba0cb4580
|
always use macros to operate on lua_Numbers
|
2015-03-07 16:30:16 -03:00 |
|
Roberto Ierusalimschy
|
a30c66f0fc
|
macro 'luai_apicheck'/'api_check' back with a 'lua_State' parameter
(some people use it)
|
2015-03-06 16:49:50 -03:00 |
|
Roberto Ierusalimschy
|
bb4baa73ea
|
allocation function is not exactly API (and cannot raise errors
like other API functions); better not use 'api_check' for cheking it.
|
2015-03-06 16:45:54 -03:00 |
|
Roberto Ierusalimschy
|
d7d44b038d
|
detail (use 'lua_pushliteral' to push an empty string)
|
2015-03-06 16:09:08 -03:00 |
|
Roberto Ierusalimschy
|
297512b34c
|
avoid using 'lua_pushliteral' in a non-zero-terminated string
|
2015-03-05 13:07:46 -03:00 |
|
Roberto Ierusalimschy
|
2ae2e6408e
|
avoid testing for NULL when marking objects that cannot be NULL
|
2015-03-04 10:51:55 -03:00 |
|
Roberto Ierusalimschy
|
a80cada914
|
new cache for interning strings
|
2015-03-04 10:31:21 -03:00 |
|
Roberto Ierusalimschy
|
a00013c8d0
|
'point2int' -> 'point2uint' (to reflect its actual result type)
|
2015-03-03 16:53:13 -03:00 |
|
Roberto Ierusalimschy
|
b9a1f27250
|
do not attempt emergency collection while building state (it is
useless, and state can be inconsistent)
|
2015-03-03 15:18:29 -03:00 |
|
Roberto Ierusalimschy
|
29aed28802
|
detail (use 'luaS_newliteral' when possible)
|
2015-03-03 15:17:04 -03:00 |
|