Roberto Ierusalimschy
|
9e613b8583
|
missing argument to 'assert' raises "assertion failed" error
|
2009-03-16 13:30:50 -03:00 |
|
Roberto Ierusalimschy
|
9428ec42d0
|
new optional argument to 'load', to control allowed modes (binary or
textual chunks)
|
2009-03-13 12:50:03 -03:00 |
|
Roberto Ierusalimschy
|
6ffcf21367
|
ctype 'lalpha' includes '_' (as '_' behaves as a letter from the
point of view of Lua)
|
2009-03-11 10:27:32 -03:00 |
|
Roberto Ierusalimschy
|
6427c61e7c
|
added macro 'lisxdigit' (just in case :)
|
2009-03-10 14:42:33 -03:00 |
|
Roberto Ierusalimschy
|
ba484b9eb1
|
yielding across lua_call (first version)
|
2009-03-10 14:14:37 -03:00 |
|
Roberto Ierusalimschy
|
f9d015523e
|
better notes about some opcodes (comments only)
|
2009-03-09 12:27:56 -03:00 |
|
Roberto Ierusalimschy
|
1817dfc301
|
initial separation, in CallInfo, of what is relevant only to Lua
functions or only to C functions
|
2009-03-04 10:32:29 -03:00 |
|
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')
|
2009-03-03 15:52:36 -03:00 |
|
Roberto Ierusalimschy
|
910310d3ba
|
if thread has no error handling, try main thread handler before panicking
|
2009-03-03 15:51:24 -03:00 |
|
Roberto Ierusalimschy
|
facfcd497f
|
detail
|
2009-03-02 13:34:23 -03:00 |
|
Roberto Ierusalimschy
|
b403317325
|
error functions search global space for a name for a function when
no other name is available
|
2009-02-27 15:18:19 -03:00 |
|
Roberto Ierusalimschy
|
9bf05e7364
|
code section 'Traceback' moved to the beginning of the file
|
2009-02-27 15:17:13 -03:00 |
|
Roberto Ierusalimschy
|
e39e758a73
|
closing a "popen" file returns the process exit status
|
2009-02-20 10:50:27 -03:00 |
|
Roberto Ierusalimschy
|
5438d77221
|
global array of ctypes renamed to 'luai_ctype_' (extern names must
use a "lua" prefix...)
|
2009-02-20 10:11:15 -03:00 |
|
Roberto Ierusalimschy
|
6905ae900b
|
Lua now uses "homemade" lctype (instead of ctype.h from ANSI C)
|
2009-02-19 14:33:51 -03:00 |
|
Roberto Ierusalimschy
|
ada82930fd
|
"homemade" version of ctype.h
|
2009-02-19 14:18:25 -03:00 |
|
Roberto Ierusalimschy
|
f36e319658
|
'fputs' changed to 'luai_writestring' + use of 'lua_checkversion'
|
2009-02-19 14:15:35 -03:00 |
|
Roberto Ierusalimschy
|
0cea28a785
|
better error messages for 'lua_checkversion'
|
2009-02-19 14:15:13 -03:00 |
|
Roberto Ierusalimschy
|
d2ebdc045b
|
new macro 'lua_checkversion' to check whether core and application are
compatible
|
2009-02-18 14:20:56 -03:00 |
|
Roberto Ierusalimschy
|
81ede6bfce
|
using light userdata to represent "remote" states
|
2009-02-18 11:52:51 -03:00 |
|
Roberto Ierusalimschy
|
2b579b4b83
|
panic mode does not reset stack (so that panic function can gather
debug information from it)
|
2009-02-18 11:52:03 -03:00 |
|
Roberto Ierusalimschy
|
a1d0e1a11a
|
'log10' is deprecated now
|
2009-02-18 10:17:10 -03:00 |
|
Roberto Ierusalimschy
|
8975739839
|
better precision for log(x, 10)
|
2009-02-18 10:06:05 -03:00 |
|
Roberto Ierusalimschy
|
d07abcc6c7
|
finalizers always called protected
|
2009-02-17 16:47:58 -03:00 |
|
Roberto Ierusalimschy
|
189378142a
|
buffer creation ensures buffer space plus MINSTACK in the stack
|
2009-02-17 11:31:16 -03:00 |
|
Roberto Ierusalimschy
|
82749b765e
|
'db_errorfb' changed to 'db_traceback' for consistency
|
2009-02-17 10:21:28 -03:00 |
|
Roberto Ierusalimschy
|
2b590aea40
|
no more '__len' metamethod for strings
|
2009-02-16 17:09:28 -03:00 |
|
Roberto Ierusalimschy
|
547e47649f
|
'luaL_typeerror' spelled right
|
2009-02-13 17:39:34 -02:00 |
|
Roberto Ierusalimschy
|
41dd32e18e
|
comment (should not use 'go trhough' when simply using multiple labels)
|
2009-02-11 16:25:20 -02:00 |
|
Roberto Ierusalimschy
|
5d3cc5def8
|
'writestring' changed into a configurable macro
|
2009-02-07 10:23:15 -02:00 |
|
Roberto Ierusalimschy
|
53db607963
|
avoid using 'fputs' in 'print' to avoid problems with embedded zeros
|
2009-02-06 16:38:47 -02:00 |
|
Roberto Ierusalimschy
|
cbf0c7a103
|
check for invalid use of '%' in replacement string in 'string.gsub'
|
2009-02-03 17:39:19 -02:00 |
|
Roberto Ierusalimschy
|
4c399c5dfb
|
detail (MAXSRC changed to LUA_IDSIZE)
|
2008-12-26 09:55:57 -02:00 |
|
Roberto Ierusalimschy
|
b472098493
|
concat TM can yield
|
2008-11-06 10:43:51 -02:00 |
|
Roberto Ierusalimschy
|
84b3daebbd
|
generic for coded as two dedicated instructions to simplify resumption
|
2008-10-30 13:39:30 -02:00 |
|
Roberto Ierusalimschy
|
f6978173e0
|
yields accross metamethods and for iterators (except for __concat)
|
2008-10-28 14:53:16 -02:00 |
|
Roberto Ierusalimschy
|
e02483dbc0
|
whole build depends on 'makefile' itself + better format for warning
options
|
2008-10-28 14:52:00 -02:00 |
|
Roberto Ierusalimschy
|
9e58e0df8f
|
some cleaning
|
2008-10-28 10:55:00 -02:00 |
|
Roberto Ierusalimschy
|
690efef3de
|
detail (added 'UNUSED' to unused argument)
|
2008-10-28 10:54:25 -02:00 |
|
Roberto Ierusalimschy
|
b9e92c8b0d
|
updating header dependencies
|
2008-10-03 13:40:56 -03:00 |
|
Roberto Ierusalimschy
|
4376c9bc5f
|
more specific test to avoid calling luaF_close when function returns
|
2008-09-09 10:53:02 -03:00 |
|
Roberto Ierusalimschy
|
f94cd2201c
|
better control of call status through CallInfo
|
2008-08-26 10:27:42 -03:00 |
|
Roberto Ierusalimschy
|
fdbb243ff9
|
first steps towards yielding through longjump
|
2008-08-13 14:02:42 -03:00 |
|
Roberto Ierusalimschy
|
c1565c16ed
|
small bug: lua_resume returning LUA_YIELD is not an error
|
2008-08-13 14:02:12 -03:00 |
|
Roberto Ierusalimschy
|
394646891c
|
new field 'status' in CallInfo structure
|
2008-08-13 14:01:33 -03:00 |
|
Roberto Ierusalimschy
|
d69aa51088
|
added missing parentheses around function names
|
2008-08-13 11:08:49 -03:00 |
|
Roberto Ierusalimschy
|
afe849c9b4
|
change in error message
|
2008-08-06 10:38:32 -03:00 |
|
Roberto Ierusalimschy
|
ccd678ea3e
|
'module' may change the environment of a C function +
internal macro 'svalue' is wrong
|
2008-08-06 10:32:45 -03:00 |
|
Roberto Ierusalimschy
|
bb92ef23cb
|
bug: string at the end of TString must consider the entire TString
entity, not only its 'tsv' part
|
2008-08-05 16:26:23 -03:00 |
|
Roberto Ierusalimschy
|
bb48f456d9
|
bug: 'module' now checks that is caller is a Lua function
|
2008-08-05 16:25:42 -03:00 |
|