Roberto Ierusalimschy
|
9423e22aa3
|
no more L->base + ci->base only for Lua functions (C functions may use
'func')
|
2009-06-01 16:09:26 -03:00 |
|
Roberto Ierusalimschy
|
57f8414de1
|
small bug in 'luaV_concat' (L->top was left incorrect in some cases)
|
2009-05-27 14:11:27 -03:00 |
|
Roberto Ierusalimschy
|
eea6d10866
|
details (use ci->base instead of L->base when possible)
|
2009-05-22 12:19:54 -03:00 |
|
Roberto Ierusalimschy
|
d7bc346d7a
|
no more code checking
|
2009-04-30 14:42:21 -03:00 |
|
Roberto Ierusalimschy
|
d3037d97ec
|
several small improvements based on 'ci' being fixed now (including
erasing savedpc from lua_State)
|
2009-04-17 19:00:01 -03:00 |
|
Roberto Ierusalimschy
|
4f88418170
|
'CallInfo' stack implemented as double-linked list instead of an array
|
2009-04-17 11:28:06 -03:00 |
|
Roberto Ierusalimschy
|
ba484b9eb1
|
yielding across lua_call (first version)
|
2009-03-10 14:14:37 -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
|
facfcd497f
|
detail
|
2009-03-02 13:34:23 -03:00 |
|
Roberto Ierusalimschy
|
2b590aea40
|
no more '__len' metamethod for strings
|
2009-02-16 17:09:28 -03: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
|
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
|
a4d3080fe3
|
SETLIST extra argument now is an "instruction" (OP_EXTRAARG)
|
2008-04-02 14:38:54 -03:00 |
|
Roberto Ierusalimschy
|
fe0838cd1c
|
tables and strings respect __len metamethod
|
2007-09-10 14:59:32 -03:00 |
|
Roberto Ierusalimschy
|
6c042e17b1
|
avoid boolean equality (tricky for some compilers)
|
2007-06-19 16:48:15 -03:00 |
|
Roberto Ierusalimschy
|
1a455acc81
|
two small bugs: some metamethods do not accept callable non-function
objects + __concat converts numbers to strings before calling metamethod
|
2007-03-26 12:56:23 -03:00 |
|
Roberto Ierusalimschy
|
08f902cf49
|
better documentation for auxiliary functions (that should be called only
through specific macros).
|
2007-02-09 11:04:52 -02:00 |
|
Roberto Ierusalimschy
|
569a326931
|
small optimization for ""..x
|
2006-09-19 11:06:45 -03:00 |
|
Roberto Ierusalimschy
|
d1ef7e0ec6
|
avoid local "pc" in interpreter loop (tricky optimization with no real gain)
|
2006-09-19 10:57:50 -03:00 |
|
Roberto Ierusalimschy
|
a7c9e45c64
|
avoid trailing white spaces
|
2006-09-11 11:07:24 -03:00 |
|
Roberto Ierusalimschy
|
dfe2f1eeff
|
macros luai_num* take a state L (when available) as argument, to allow
them to generate errors (and other facilities)
|
2006-08-07 16:14:30 -03:00 |
|
Roberto Ierusalimschy
|
fa0c03aaa6
|
details
|
2006-07-14 13:22:24 -03:00 |
|
Roberto Ierusalimschy
|
3ca9af51a4
|
emergency garbage collector (core forces a GC when allocation fails)
|
2006-07-11 12:53:29 -03:00 |
|
Roberto Ierusalimschy
|
e2dc5f5d15
|
extra assertion
|
2006-06-05 12:58:59 -03:00 |
|
Roberto Ierusalimschy
|
9e6e43984d
|
details
|
2006-01-23 17:51:43 -02:00 |
|
Roberto Ierusalimschy
|
dd1221582b
|
details
|
2006-01-10 10:50:00 -02:00 |
|
Roberto Ierusalimschy
|
c505f341d6
|
small changes in casts
|
2005-12-22 14:19:56 -02:00 |
|
Roberto Ierusalimschy
|
a160266c3d
|
details
|
2005-11-01 14:08:45 -02:00 |
|
Roberto Ierusalimschy
|
8e48ebb638
|
no more L in numer-operator macros (some functions that use those macros
have no access to L)
|
2005-10-24 15:37:52 -02:00 |
|
Roberto Ierusalimschy
|
cd12ab2597
|
details (more uniform coding)
|
2005-10-13 09:21:26 -03:00 |
|
Roberto Ierusalimschy
|
a77413acd0
|
include of math.h depends on luaconf
|
2005-10-03 11:01:26 -03:00 |
|
Roberto Ierusalimschy
|
6dd3a73ca2
|
detail (macro evaluates twice its arguments)
|
2005-09-09 15:23:35 -03:00 |
|
Roberto Ierusalimschy
|
3b19af44b0
|
new method to handle tests without values (negative values)
|
2005-08-29 17:49:21 -03:00 |
|
Roberto Ierusalimschy
|
98296f6b45
|
some bugs related to stack reallocation
|
2005-08-24 13:15:49 -03:00 |
|
Roberto Ierusalimschy
|
6fcd334ca0
|
small improvements
|
2005-08-22 15:54:49 -03:00 |
|
Roberto Ierusalimschy
|
42a662334a
|
simpler implementation for unary minus
|
2005-08-10 17:20:13 -03:00 |
|
Roberto Ierusalimschy
|
44b19075c0
|
small changes (to easy integration with Coco)
|
2005-08-09 16:49:04 -03:00 |
|
Roberto Ierusalimschy
|
894cd31c52
|
#string is primitive
|
2005-08-09 14:42:02 -03:00 |
|
Roberto Ierusalimschy
|
ee1edd5734
|
detail
|
2005-07-05 11:31:20 -03:00 |
|
Roberto Ierusalimschy
|
5fa2bec1f0
|
bug: current line should work for call hook
|
2005-06-13 11:15:22 -03:00 |
|
Roberto Ierusalimschy
|
90de38bf1f
|
warnings in VS .Net
|
2005-05-31 11:25:18 -03:00 |
|
Roberto Ierusalimschy
|
f21e9c172f
|
details
|
2005-05-20 12:53:42 -03:00 |
|
Roberto Ierusalimschy
|
67578ec51f
|
several small details
|
2005-05-17 16:49:15 -03:00 |
|
Roberto Ierusalimschy
|
c2bb9abcec
|
better quotes for strings in error messages
|
2005-05-16 18:19:00 -03:00 |
|
Roberto Ierusalimschy
|
65f4a0f636
|
no more compatibility code for traversing tables
|
2005-05-04 17:42:28 -03:00 |
|
Roberto Ierusalimschy
|
d5fd44d747
|
corrected definition of lua_number2int for Windows
|
2005-05-03 16:30:17 -03:00 |
|