Roberto Ierusalimschy
|
d438e1379d
|
insertion of ".0" in floats with integer values done by "luaL_tolstring",
not by the core
|
11 years ago |
Roberto Ierusalimschy
|
1721d09ac8
|
still accepts initial '=' for expressions, for compatibility with old
versions (and old habits...)
|
11 years ago |
Roberto Ierusalimschy
|
2f3da00e51
|
added support for UTF-8 escapes
|
11 years ago |
Roberto Ierusalimschy
|
5a73e3ad9e
|
simpler way to create messages for errors in escape sequences
|
11 years ago |
Roberto Ierusalimschy
|
86dd8bf3f5
|
no more 'L' in macros "luai_num*" (several places that use those macros
cannot throw errors anyway...)
|
11 years ago |
Roberto Ierusalimschy
|
67c5de9283
|
comment
|
11 years ago |
Roberto Ierusalimschy
|
0a850e641d
|
larger limit + better error messages for loop detection in inheritance
|
11 years ago |
Roberto Ierusalimschy
|
916bd874ad
|
added explicit default options to string.pack/unpack functions
|
11 years ago |
Roberto Ierusalimschy
|
cd848cab6b
|
first implementation for string.pack/unpackfloat + try not to assume
that chars have 8 bits
|
11 years ago |
Roberto Ierusalimschy
|
29256e8960
|
first implementation of string.packint/string.unpackint
|
11 years ago |
Roberto Ierusalimschy
|
438c534ff4
|
'arg' arguments (previously called 'narg', 'nArg', 'numArg', etc.)
renamed all to 'arg'
|
11 years ago |
Roberto Ierusalimschy
|
1ea2d20f74
|
first implementation of '<<', '>>', and '~' (bitwise not)
|
11 years ago |
Roberto Ierusalimschy
|
f5133aa1a5
|
small change in handling of unary operations
|
11 years ago |
Roberto Ierusalimschy
|
c0edab0f6d
|
first implementation of bitwise operators '&' (band), '|' (bor),
and '~' (bxor)
|
11 years ago |
Roberto Ierusalimschy
|
a948054a19
|
new order for binary operations (grouping them by type of result)
|
11 years ago |
Roberto Ierusalimschy
|
a8f8c7fd80
|
integer exponentiation with negative exponent is invalid
|
11 years ago |
Roberto Ierusalimschy
|
1a19893d6f
|
new "calculator mode"; no need to add '=' to print expressions
|
11 years ago |
Roberto Ierusalimschy
|
88e23f508c
|
details
|
11 years ago |
Roberto Ierusalimschy
|
c8585efc78
|
use goto to implement a tail call in 'reallymarkobject'
|
11 years ago |
Roberto Ierusalimschy
|
16493b777f
|
'lua_sethook' returns void
|
11 years ago |
Roberto Ierusalimschy
|
cac1ebd1e0
|
detail ('ttisuserdata' renamed to 'ttisfulluserdata')
|
11 years ago |
Roberto Ierusalimschy
|
73c5515e00
|
details (comments)
|
11 years ago |
Roberto Ierusalimschy
|
e34c35abcf
|
new bug: Resuming the running coroutine makes it unyieldable
|
11 years ago |
Roberto Ierusalimschy
|
7a8eb83b4a
|
bug: attempting to resume the running coroutine makes it unyieldable
|
11 years ago |
Roberto Ierusalimschy
|
ab5fa213b3
|
added patch for last bug
|
11 years ago |
Roberto Ierusalimschy
|
39929384c6
|
new macro 'luai_userstateclose' (to test it is being called correctly)
|
11 years ago |
Roberto Ierusalimschy
|
de7cf8e63a
|
bug: should call 'luai_userstateclose' only when 'luai_userstateopen'
has been called before
|
11 years ago |
Roberto Ierusalimschy
|
124598917f
|
"./?/init.lua" added to default path
|
11 years ago |
Roberto Ierusalimschy
|
c5fcba1a17
|
detail (changing some names of macros)
|
11 years ago |
Roberto Ierusalimschy
|
4c6dfc342b
|
CallInfo lists shrinks together with their associated stacks
|
11 years ago |
Roberto Ierusalimschy
|
686e57cf9c
|
GC local pause configurable
|
11 years ago |
Roberto Ierusalimschy
|
06156e7575
|
detail (setmetatable do not need to use a back GC barrier)
|
11 years ago |
Roberto Ierusalimschy
|
2e2c109daf
|
type of 'refcount' changed to lu_mem (to ensure there will be no
overflows)
|
11 years ago |
Roberto Ierusalimschy
|
6ca7b63bce
|
check for shrinking string table done only at the end of a GC cycle
|
11 years ago |
Roberto Ierusalimschy
|
4eeb1831be
|
new names and better order for GC states (sweep first lists that
can have dead objects)
|
11 years ago |
Roberto Ierusalimschy
|
dd373a8f66
|
threads are kept in a separated GC list, linked after the main thread
|
11 years ago |
Roberto Ierusalimschy
|
7061fe1d56
|
detail: 'sweepstep' checks end of phase after calling 'sweeplist', so
that phases with small lists return 0 at the first call to 'sweepstep'
|
11 years ago |
Roberto Ierusalimschy
|
d8aa8dd97e
|
objects in list 'tobefnz' have a GC life-cycle like all others
(specifically they are cleaned during sweep phase)
|
11 years ago |
Roberto Ierusalimschy
|
1150873447
|
'luaC_newobj' does not handle special cases; only special case
now is threads, which do not use 'luaC_newobj' anymore.
|
11 years ago |
Roberto Ierusalimschy
|
79ab21be90
|
more invariants added to memory check
|
11 years ago |
Roberto Ierusalimschy
|
d3bbb34c24
|
back to open hashing for the string table (but with a different
'hnext' field, to strings are still collected like all other
objects)
|
11 years ago |
Roberto Ierusalimschy
|
0ad15fc100
|
better (and correct!) control of 'maybedead'
|
11 years ago |
Roberto Ierusalimschy
|
aeff4f79fa
|
local collection now calls finalizers
|
11 years ago |
Roberto Ierusalimschy
|
1bf4faec64
|
new GC state to sweep 'localgc' list + small changes in sweep control
|
11 years ago |
Roberto Ierusalimschy
|
8ef9e8460e
|
bug (GC can collect long identifier during parser) + change (using
a single constant table for all functions in a chunk)
|
11 years ago |
Roberto Ierusalimschy
|
4f292d753c
|
bug: GC can collect a long string still in use during parser
|
11 years ago |
Roberto Ierusalimschy
|
26629d0af1
|
details (a few casts moved from macro invocation to macro definition)
|
11 years ago |
Roberto Ierusalimschy
|
b5e75fde4e
|
bug: local collection must clear rest of stack
|
11 years ago |
Roberto Ierusalimschy
|
9a871dd3db
|
tables and userdata all go to local list, too
|
11 years ago |
Roberto Ierusalimschy
|
90972ff136
|
LOCALBLACK changed to LOCALMARK and used also to control whether object
is in 'localgc' list + luaC_newobj by default puts object in 'localgc'
list
|
11 years ago |