Roberto Ierusalimschy
|
c16a35d669
|
lua_stackspace' replaced by lua_checkstack'
|
2002-03-07 15:15:10 -03:00 |
|
Roberto Ierusalimschy
|
8f837e83b2
|
using `ci->top' to control acceptable indices in C calls
|
2002-03-07 15:14:29 -03:00 |
|
Roberto Ierusalimschy
|
6658b9588f
|
details
|
2002-03-07 15:11:51 -03:00 |
|
Roberto Ierusalimschy
|
457d88eaaa
|
configurable minimum size for the string table
|
2002-03-05 13:22:54 -03:00 |
|
Roberto Ierusalimschy
|
8a1a512c64
|
lu_byte is enough for those fields (maxstack < 256)
|
2002-03-05 09:42:47 -03:00 |
|
Roberto Ierusalimschy
|
6b0c38c2e7
|
`inline' of tonumber
|
2002-03-04 18:33:09 -03:00 |
|
Roberto Ierusalimschy
|
1a3f175640
|
small optimization
|
2002-03-04 18:32:34 -03:00 |
|
Roberto Ierusalimschy
|
88c7b574cb
|
`luaA_index' is a local macro now
|
2002-03-04 18:29:41 -03:00 |
|
Roberto Ierusalimschy
|
51bf91a970
|
detail
|
2002-03-04 12:40:04 -03:00 |
|
Roberto Ierusalimschy
|
1b6315ba10
|
not all unfinished strings with "..." end in EOF
|
2002-03-04 12:27:14 -03:00 |
|
Roberto Ierusalimschy
|
3b001d9a9d
|
more tests for boolean API
|
2002-03-04 12:26:56 -03:00 |
|
Roberto Ierusalimschy
|
c36b5cc726
|
detail
|
2002-02-15 13:15:10 -02:00 |
|
Roberto Ierusalimschy
|
2c1eb62a08
|
get error messages from luaL_errstr
|
2002-02-14 20:23:43 -02:00 |
|
Roberto Ierusalimschy
|
63e2d92123
|
no more -DOLD_ANSI option + details
|
2002-02-14 19:49:33 -02:00 |
|
Roberto Ierusalimschy
|
e966dd93be
|
towards next version...
|
2002-02-14 19:48:32 -02:00 |
|
Roberto Ierusalimschy
|
2f8e3c5543
|
prints any results returned by chunk
|
2002-02-14 19:47:50 -02:00 |
|
Roberto Ierusalimschy
|
b0a5e156b8
|
no more maximum stack size
|
2002-02-14 19:47:29 -02:00 |
|
Roberto Ierusalimschy
|
ac178ee478
|
new constructor syntax + new generic `for'
|
2002-02-14 19:46:58 -02:00 |
|
Roberto Ierusalimschy
|
1e602a61b3
|
new generic `for'
|
2002-02-14 19:46:43 -02:00 |
|
Roberto Ierusalimschy
|
57fb51f975
|
luaH_next' works like next'
|
2002-02-14 19:46:13 -02:00 |
|
Roberto Ierusalimschy
|
1c423d2661
|
LFIELDS_PER_FLUSH is an opcode detail
|
2002-02-14 19:43:01 -02:00 |
|
Roberto Ierusalimschy
|
b3ffaca638
|
details
|
2002-02-14 19:41:53 -02:00 |
|
Roberto Ierusalimschy
|
bee86e23be
|
luaH_next' works like next' + better hash for pointers
|
2002-02-14 19:41:08 -02:00 |
|
Roberto Ierusalimschy
|
0056ed4135
|
better(?) order for types (nil == 0)
|
2002-02-14 19:40:29 -02:00 |
|
Roberto Ierusalimschy
|
e01f5e6809
|
better order of record fields for 64-bit machines
|
2002-02-08 20:42:41 -02:00 |
|
Roberto Ierusalimschy
|
cbfc581990
|
details.
|
2002-02-08 20:41:50 -02:00 |
|
Roberto Ierusalimschy
|
d3651c1d88
|
`getstr' now gives const char *
|
2002-02-08 20:41:09 -02:00 |
|
Roberto Ierusalimschy
|
57a7baafb9
|
error message compatible with incomplete lines of lua.c
|
2002-02-08 20:40:27 -02:00 |
|
Roberto Ierusalimschy
|
252e01e398
|
`setlocale' may be used to query the current locale
|
2002-02-08 20:39:56 -02:00 |
|
Roberto Ierusalimschy
|
87b0e3d477
|
no more `lua_istrue' function
|
2002-02-08 20:39:36 -02:00 |
|
Roberto Ierusalimschy
|
cb50fcf42d
|
incomplete lines (by lhf)
|
2002-02-07 15:27:12 -02:00 |
|
Roberto Ierusalimschy
|
c6a108e012
|
test for lua_pushbool
|
2002-02-07 15:26:33 -02:00 |
|
Roberto Ierusalimschy
|
d5ceb369b1
|
boolean type must be 0 or 1
|
2002-02-07 15:26:10 -02:00 |
|
Roberto Ierusalimschy
|
86a4de256e
|
no more lua_[gs]etstr
|
2002-02-07 15:25:36 -02:00 |
|
Roberto Ierusalimschy
|
53aaee6ee6
|
comments
|
2002-02-07 15:25:12 -02:00 |
|
Roberto Ierusalimschy
|
67bda7e136
|
details.
|
2002-02-07 15:24:05 -02:00 |
|
Roberto Ierusalimschy
|
7c8f1823e7
|
bug: true 1 != true 2 + no more lua_getstr + some new macros
|
2002-02-07 15:22:53 -02:00 |
|
Roberto Ierusalimschy
|
ca181f31e4
|
line number in listcode (and tests for replace)
|
2002-02-05 20:40:05 -02:00 |
|
Roberto Ierusalimschy
|
38b0e6128d
|
simpler implementation for `for' loops
|
2002-02-05 20:39:12 -02:00 |
|
Roberto Ierusalimschy
|
addbe8c8b0
|
protected execution of `resume'
|
2002-02-05 20:38:37 -02:00 |
|
Roberto Ierusalimschy
|
6bb5cb1cbd
|
comments
|
2002-02-05 20:37:26 -02:00 |
|
Roberto Ierusalimschy
|
d070506a25
|
new function luaL_errstr
|
2002-02-05 20:36:52 -02:00 |
|
Roberto Ierusalimschy
|
0a87d9d334
|
new function `lua_replace'
|
2002-02-05 20:35:58 -02:00 |
|
Roberto Ierusalimschy
|
f856fdeabd
|
details
|
2002-01-30 15:28:05 -02:00 |
|
Roberto Ierusalimschy
|
653977a0ac
|
callhook can be static
|
2002-01-30 15:27:53 -02:00 |
|
Roberto Ierusalimschy
|
d6fd33e76f
|
eventtable' renamed to metatable'
|
2002-01-30 15:26:44 -02:00 |
|
Roberto Ierusalimschy
|
50e2952593
|
first version of dynamic stack
|
2002-01-25 20:14:54 -02:00 |
|
Roberto Ierusalimschy
|
b217ae644e
|
details
|
2002-01-25 20:14:09 -02:00 |
|
Roberto Ierusalimschy
|
a048cc9676
|
nil is a `valid' eventtable
|
2002-01-25 19:55:41 -02:00 |
|
Roberto Ierusalimschy
|
eb262bc617
|
2^15 does not fit in a 16-bit int
|
2002-01-25 19:51:33 -02:00 |
|
Roberto Ierusalimschy
|
74907fb71e
|
OP_LOADINT can be done by OP_LOADK
|
2002-01-25 19:50:39 -02:00 |
|
Roberto Ierusalimschy
|
b38e594ed7
|
small improvements
|
2002-01-18 15:39:40 -02:00 |
|
Roberto Ierusalimschy
|
448517e47e
|
no more linehook field in CallInfo
|
2002-01-18 15:39:06 -02:00 |
|
Roberto Ierusalimschy
|
931ee346e3
|
legacy declaration
|
2002-01-18 15:38:13 -02:00 |
|
Roberto Ierusalimschy
|
dea98702c9
|
preparations for stack reallocation
|
2002-01-16 20:04:50 -02:00 |
|
Roberto Ierusalimschy
|
7ab7703b53
|
cleaner semantics for test instructions (skips)
|
2002-01-16 20:03:57 -02:00 |
|
Roberto Ierusalimschy
|
566310fa04
|
small optimization
|
2002-01-16 20:02:46 -02:00 |
|
Roberto Ierusalimschy
|
6272c843de
|
yield' passes its arguments to resume'
|
2002-01-11 18:27:41 -02:00 |
|
Roberto Ierusalimschy
|
5d14ce612b
|
details
|
2002-01-11 18:27:11 -02:00 |
|
Roberto Ierusalimschy
|
d56d4cf776
|
distinct functions to create/destroy states and threads
|
2002-01-11 18:26:52 -02:00 |
|
Roberto Ierusalimschy
|
b7ae43d457
|
detail
|
2002-01-11 18:23:01 -02:00 |
|
Roberto Ierusalimschy
|
f083812c02
|
first implementation of coroutines
|
2002-01-09 20:02:47 -02:00 |
|
Roberto Ierusalimschy
|
3533382a1e
|
dependencies updated
|
2002-01-09 19:59:24 -02:00 |
|
Roberto Ierusalimschy
|
ea2a75d19e
|
new macro lua_userstateopen
|
2002-01-09 19:51:06 -02:00 |
|
Roberto Ierusalimschy
|
b3bb0f132b
|
new interface for weak modes
|
2002-01-09 19:50:35 -02:00 |
|
Roberto Ierusalimschy
|
facfec0687
|
small optimizations
|
2002-01-03 15:42:57 -02:00 |
|
Roberto Ierusalimschy
|
34df9976a9
|
some compatibility macros
|
2002-01-03 15:28:58 -02:00 |
|
Roberto Ierusalimschy
|
cfaa8fbf1d
|
better check for option in `strfind'
|
2002-01-03 15:27:43 -02:00 |
|
Roberto Ierusalimschy
|
f42cc90d2d
|
some warnings
|
2001-12-21 15:31:35 -02:00 |
|
Roberto Ierusalimschy
|
9d2e454d6f
|
BUG: seg. fault when rawget/rawset get extra arguments
|
2001-12-21 15:30:31 -02:00 |
|
Roberto Ierusalimschy
|
09e15692f3
|
rename of lua_isnull to lua_isnone
|
2001-12-20 19:27:12 -02:00 |
|
Roberto Ierusalimschy
|
42754c0f15
|
small optimizations
|
2001-12-20 19:26:52 -02:00 |
|
Roberto Ierusalimschy
|
18afb90349
|
first version of stackless Lua
|
2001-12-20 13:13:38 -02:00 |
|
Roberto Ierusalimschy
|
22dd271cbb
|
another bug in next (when n is a power of 2)
|
2001-12-19 16:11:00 -02:00 |
|
Roberto Ierusalimschy
|
e04f7ed450
|
first version of Lua "stackless"
|
2001-12-18 18:52:30 -02:00 |
|
Roberto Ierusalimschy
|
101cee3032
|
LUA_ERRERR also cannot generate error message
|
2001-12-13 16:11:02 -02:00 |
|
Roberto Ierusalimschy
|
eb7312d9be
|
comments
|
2001-12-13 16:10:55 -02:00 |
|
Roberto Ierusalimschy
|
21259a50e1
|
run GC tag methods in protected mod
|
2001-12-12 15:47:33 -02:00 |
|
Roberto Ierusalimschy
|
9aff171f3b
|
new type `boolean'
|
2001-12-11 20:48:44 -02:00 |
|
Roberto Ierusalimschy
|
ed9be5e1f0
|
reentrant implementation of garbage collection
|
2001-12-11 14:52:57 -02:00 |
|
Roberto Ierusalimschy
|
9d801f43d4
|
details
|
2001-12-10 20:12:08 -02:00 |
|
Roberto Ierusalimschy
|
e043b72a55
|
simpler way to collect userdata
|
2001-12-10 20:11:23 -02:00 |
|
Roberto Ierusalimschy
|
a4c35a3269
|
it doesn't pay to optimize absence when it is an error
|
2001-12-10 20:10:30 -02:00 |
|
Roberto Ierusalimschy
|
9cd36059ad
|
new API functions lua_getstr/lua_setstr
|
2001-12-10 20:09:51 -02:00 |
|
Roberto Ierusalimschy
|
592a309177
|
tag system replaced by event tables
|
2001-12-05 18:15:18 -02:00 |
|
Roberto Ierusalimschy
|
413fc7334b
|
new implementation for lua upvalues (sugested by E.T.): simpler and solves
a bug for multi-stacks
|
2001-11-29 18:22:22 -02:00 |
|
Roberto Ierusalimschy
|
fca0a12e23
|
avoid clashing names between macros and fields
|
2001-11-29 18:21:46 -02:00 |
|
Roberto Ierusalimschy
|
72659a0605
|
no more explicit support for wide-chars; too much troble...
|
2001-11-28 18:13:13 -02:00 |
|
Roberto Ierusalimschy
|
dfaf8c5291
|
details
|
2001-11-27 18:56:47 -02:00 |
|
Roberto Ierusalimschy
|
657f65211a
|
bug: `next' did not work for numeric indices
|
2001-11-16 14:29:51 -02:00 |
|
Roberto Ierusalimschy
|
39395e1211
|
`luaX_syntaxerror' does not need to be public
|
2001-11-16 14:29:10 -02:00 |
|
Roberto Ierusalimschy
|
26bf2adace
|
optimizations for space in LClosures and time cleanning weak tables
|
2001-11-06 19:41:53 -02:00 |
|
Roberto Ierusalimschy
|
fd48dcc7c8
|
details.
|
2001-11-06 19:41:43 -02:00 |
|
Roberto Ierusalimschy
|
617008f552
|
field G renamed to _G to avoid problemas with bugged macro-systems
(there is a macro named G too)
|
2001-11-06 19:40:51 -02:00 |
|
Roberto Ierusalimschy
|
ec9d8308b4
|
global table is also pseudo-index
|
2001-10-31 18:31:38 -02:00 |
|
Roberto Ierusalimschy
|
af59848219
|
tables of globals accessible through pseudo-index in C API
|
2001-10-31 17:58:11 -02:00 |
|
Roberto Ierusalimschy
|
46347d768e
|
`ref' support goes to auxlib
|
2001-10-31 17:40:14 -02:00 |
|
Roberto Ierusalimschy
|
36eb665859
|
no more refs, upvalues; lexical scoping;pseudo-indices
|
2001-10-31 16:06:05 -02:00 |
|
Roberto Ierusalimschy
|
070204300c
|
more consistent names for auxlib functions
|
2001-10-26 15:33:30 -02:00 |
|
Roberto Ierusalimschy
|
21aa7e55f2
|
optimization for array part of a Table
|
2001-10-25 17:14:14 -02:00 |
|