Roberto Ierusalimschy
|
5cdec7d124
|
added "\n" at the end of 'package.config' (so that the string
is a sequence of complete lines)
|
16 years ago |
Roberto Ierusalimschy
|
9423e22aa3
|
no more L->base + ci->base only for Lua functions (C functions may use
'func')
|
16 years ago |
Roberto Ierusalimschy
|
57f8414de1
|
small bug in 'luaV_concat' (L->top was left incorrect in some cases)
|
16 years ago |
Roberto Ierusalimschy
|
139d562861
|
type of 'luai_ctype_' array changed to unsigned (safer for bitwise
operations)
|
16 years ago |
Roberto Ierusalimschy
|
eea6d10866
|
details (use ci->base instead of L->base when possible)
|
16 years ago |
Roberto Ierusalimschy
|
019ebcb85f
|
errors in finalizers are propagated with code LUA_ERRGCMM (ERRor in
__gc MetaMethod)
|
16 years ago |
Roberto Ierusalimschy
|
889284ebd0
|
hexadecimal escape sequences in strings + better error messages for
bad decimal escape sequences
|
16 years ago |
Roberto Ierusalimschy
|
6956331093
|
new macro 'zungetc'
|
16 years ago |
Roberto Ierusalimschy
|
92479f1a8b
|
new property 'lisupper' (needed to compute values for hexa digits)
|
16 years ago |
Roberto Ierusalimschy
|
e67dc3a227
|
'symbexec' merged with 'getobjname' (as only use for symbolic execution
now is to find a "good" name for an object)
|
16 years ago |
Roberto Ierusalimschy
|
0cc3add9f8
|
variable renaming: 'lualibs' -> 'loadedlibs'; 'luareqlibs' ->
'preloadedlibs'
|
16 years ago |
Roberto Ierusalimschy
|
71c2eeff98
|
comments
|
16 years ago |
Roberto Ierusalimschy
|
d7bc346d7a
|
no more code checking
|
16 years ago |
Roberto Ierusalimschy
|
673c456cba
|
resize string hash table only when new size is smaller than current one
|
16 years ago |
Roberto Ierusalimschy
|
ea44570883
|
hash table for strings is rehashed in place
|
16 years ago |
Roberto Ierusalimschy
|
e091a254df
|
new way to GC stacks: the entire stack must be correct all the times;
the 'dead' part of a stack (after the top) must have only nil's, so
that 'top' may go up without cleaning the stack.
|
16 years ago |
Roberto Ierusalimschy
|
58c3aa8b5f
|
malicious zero-length string in binary code may segfault Lua +
wrong code generation for some particular boolean expressions
|
16 years ago |
Roberto Ierusalimschy
|
c1f78ff3d3
|
unused arguments removed
|
16 years ago |
Roberto Ierusalimschy
|
e5249b9fb5
|
'exit' changed to 'abort' in case of panic (+ some extra comments)
'abort' seems more in line with panic ("abnormal termination")
|
16 years ago |
Roberto Ierusalimschy
|
d3037d97ec
|
several small improvements based on 'ci' being fixed now (including
erasing savedpc from lua_State)
|
16 years ago |
Roberto Ierusalimschy
|
c6b442bd36
|
'luaM_freearray' does not need array type as argument
|
16 years ago |
Roberto Ierusalimschy
|
4f88418170
|
'CallInfo' stack implemented as double-linked list instead of an array
|
16 years ago |
Roberto Ierusalimschy
|
311e9f3ceb
|
'nresults' is saved in CallInfo from the caller, not the called
|
16 years ago |
Roberto Ierusalimschy
|
8775f25830
|
new function 'T.makeCfunc' (for later use)
|
16 years ago |
Roberto Ierusalimschy
|
70a63fa5ad
|
first implementation of yieldable 'pcall'
|
16 years ago |
Roberto Ierusalimschy
|
fffbaede75
|
detail
|
16 years ago |
Roberto Ierusalimschy
|
ae9ad6c694
|
added comment explaining why the 'feof' test when loading a file
|
16 years ago |
Roberto Ierusalimschy
|
83d2dbb15d
|
Lua will abort anyway, so 'panic' does not need to.
|
16 years ago |
Roberto Ierusalimschy
|
4e43741943
|
in 'lua_call', avoid preparing a continuation when thread cannot yield.
|
16 years ago |
Roberto Ierusalimschy
|
a274596ecc
|
avoid making 'lastfree' an invalid pointer
|
16 years ago |
Roberto Ierusalimschy
|
7e9bc41fe7
|
'loadlib(lib, "*")' loads 'lib' with global names exported to all
|
16 years ago |
Roberto Ierusalimschy
|
b1e1c15ced
|
small bug: EOZ is a valid character to be tested
|
16 years ago |
Roberto Ierusalimschy
|
3dbf305408
|
no more support for old-style varargs
|
16 years ago |
Roberto Ierusalimschy
|
6d0ae11c57
|
'context' added to suspendable calls
|
16 years ago |
Roberto Ierusalimschy
|
3ca739b418
|
'math.random' uses lua_Number to manage its arguments (there is no
reason to lose range).
|
16 years ago |
Roberto Ierusalimschy
|
9e613b8583
|
missing argument to 'assert' raises "assertion failed" error
|
16 years ago |
Roberto Ierusalimschy
|
9428ec42d0
|
new optional argument to 'load', to control allowed modes (binary or
textual chunks)
|
16 years ago |
Roberto Ierusalimschy
|
6ffcf21367
|
ctype 'lalpha' includes '_' (as '_' behaves as a letter from the
point of view of Lua)
|
16 years ago |
Roberto Ierusalimschy
|
6427c61e7c
|
added macro 'lisxdigit' (just in case :)
|
16 years ago |
Roberto Ierusalimschy
|
ba484b9eb1
|
yielding across lua_call (first version)
|
16 years ago |
Roberto Ierusalimschy
|
f9d015523e
|
better notes about some opcodes (comments only)
|
16 years ago |
Roberto Ierusalimschy
|
1817dfc301
|
initial separation, in CallInfo, of what is relevant only to Lua
functions or only to C functions
|
16 years ago |
Roberto Ierusalimschy
|
7837e34e56
|
new states have a reasonable panic function +
testC may run code on different threads +
rename of some testC operations ('rawcall'->'call', 'call'->'pcall')
|
16 years ago |
Roberto Ierusalimschy
|
910310d3ba
|
if thread has no error handling, try main thread handler before panicking
|
16 years ago |
Roberto Ierusalimschy
|
facfcd497f
|
detail
|
16 years ago |
Roberto Ierusalimschy
|
b403317325
|
error functions search global space for a name for a function when
no other name is available
|
16 years ago |
Roberto Ierusalimschy
|
9bf05e7364
|
code section 'Traceback' moved to the beginning of the file
|
16 years ago |
Roberto Ierusalimschy
|
e39e758a73
|
closing a "popen" file returns the process exit status
|
16 years ago |
Roberto Ierusalimschy
|
5438d77221
|
global array of ctypes renamed to 'luai_ctype_' (extern names must
use a "lua" prefix...)
|
16 years ago |
Roberto Ierusalimschy
|
6905ae900b
|
Lua now uses "homemade" lctype (instead of ctype.h from ANSI C)
|
16 years ago |