Roberto Ierusalimschy
|
1527d8f00d
GC called after errors now are called after showing error message (to
|
17 years ago |
Roberto Ierusalimschy
|
8efaf8af81
added a comment about warnings for __attribute__(visibility) in some
|
17 years ago |
Roberto Ierusalimschy
|
c3525610fe
bug: when closing the state, 'luaC_separateudata' might mark
|
17 years ago |
Roberto Ierusalimschy
|
7ba62e2985
code reorganization (only changed comments and order of functions)
|
17 years ago |
Roberto Ierusalimschy
|
8fd28611d5
outdated comment
|
17 years ago |
Roberto Ierusalimschy
|
93869acb2c
"test trick" seems more useful with pointers instead of integers
|
17 years ago |
Roberto Ierusalimschy
|
480a1da34a
when error is 'bad self' original message probably makes no sense, so
|
17 years ago |
Roberto Ierusalimschy
|
59e2973335
removed static variable lua_state (not used)
|
17 years ago |
Roberto Ierusalimschy
|
5d09be4832
by default, 'os.exit' closes current state
|
17 years ago |
Roberto Ierusalimschy
|
860e285f31
'luaL_gsub' moved into 'testC' (all auxlib should be tested through 'testC')
|
17 years ago |
Roberto Ierusalimschy
|
eb8ac6e2a0
'luaL_testudata' does not leave garbage on the stack in case of failure
|
17 years ago |
Roberto Ierusalimschy
|
b1203e036d
'posrelat' avoids problems with -(-2^31)
|
17 years ago |
Roberto Ierusalimschy
|
92a0d4c67f
extra options in 'testC' for newmetatable and testudata
|
17 years ago |
Roberto Ierusalimschy
|
5fa55df2ca
updated years in some comments/strings
|
17 years ago |
Roberto Ierusalimschy
|
a3af42de8e
patch for "blow stack" bug
|
17 years ago |
Roberto Ierusalimschy
|
198be23f36
added structure for local-variable information to allow extra
|
17 years ago |
Roberto Ierusalimschy
|
24359ae294
'string.find' cannot find things after subject's end
|
17 years ago |
Roberto Ierusalimschy
|
6c84722afa
make default GC behavior a little more agressive
|
17 years ago |
Roberto Ierusalimschy
|
facb0519a0
two bugs: invalid boolean values in constant table + too deep recursion
|
17 years ago |
Roberto Ierusalimschy
|
ffdca3522e
'table.sort' detects invalid order function before calling it
|
17 years ago |
Roberto Ierusalimschy
|
4d7469b610
avoid constant folding for -0 (to avoid it colapsing to 0)
|
17 years ago |
Roberto Ierusalimschy
|
2b84e36b93
patches for some bugs
|
17 years ago |
Roberto Ierusalimschy
|
85bda9eef5
bugs: precheck must use check (instead of assert) and ensures that
|
17 years ago |
Roberto Ierusalimschy
|
a4d3080fe3
SETLIST extra argument now is an "instruction" (OP_EXTRAARG)
|
17 years ago |
Roberto Ierusalimschy
|
5627d51e05
corrected error message ("too many constants" -> "too many functions")
|
17 years ago |
Roberto Ierusalimschy
|
e64b0cada8
several bugs related to precompiled code
|
17 years ago |
Roberto Ierusalimschy
|
7316d61a66
'coroutine.running' should work for the main thread too
|
17 years ago |
Roberto Ierusalimschy
|
e2b366c760
userdata with finalizers are kept in a separated list
|
17 years ago |
Roberto Ierusalimschy
|
fa19baab7f
proxies must be created with a __gc field in their metatables to work
|
17 years ago |
Roberto Ierusalimschy
|
2f8351fe48
turn off optimizations when testing
|
17 years ago |