Roberto Ierusalimschy
|
0cc3add9f8
variable renaming: 'lualibs' -> 'loadedlibs'; 'luareqlibs' ->
|
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;
|
16 years ago |
Roberto Ierusalimschy
|
58c3aa8b5f
malicious zero-length string in binary code may segfault Lua +
|
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)
|
16 years ago |
Roberto Ierusalimschy
|
d3037d97ec
several small improvements based on 'ci' being fixed now (including
|
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
|
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
|
16 years ago |
Roberto Ierusalimschy
|
6ffcf21367
ctype 'lalpha' includes '_' (as '_' behaves as a letter from the
|
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 |