Roberto Ierusalimschy
fe0d54d37e
table library respects '#' metamethods
2010-12-17 10:15:34 -02:00
Roberto Ierusalimschy
5b33e39855
removed deprecated functions getn-foreach-foreachi
2010-11-23 15:21:14 -02:00
Roberto Ierusalimschy
4590a89b32
corrected warnings from different compilers (mostly casts and small
...
details)
2010-10-25 17:01:37 -02:00
Roberto Ierusalimschy
7192afafee
new module policy: C modules do not create globals and do not register
...
themselves with 'require' (let 'require' do its work); new auxiliary
functions luaL_newlib/luaL_newlibtable/luaL_setfuncs/luaL_requiref.
Old luaL_register will be deprecated.
2010-07-02 08:38:13 -03:00
Roberto Ierusalimschy
489253d753
better definitions for lua_[gs]etglobal + less uses of ENVIRONINDEX
2010-03-13 00:57:46 -03:00
Roberto Ierusalimschy
193ce46970
table.pack was locking last result, avoiding its collection
2010-01-13 17:59:10 -02:00
Roberto Ierusalimschy
0dc09cb42e
'unpack' moved to table library (and therefore "renamed" to
...
'table.unpack'.
2009-12-28 14:30:31 -02:00
Roberto Ierusalimschy
3cb343efd6
code for error message for 'setn' removed
2009-12-18 14:53:12 -02:00
Roberto Ierusalimschy
c3a6f3fa1c
'lua_objlen' replaced by 'lua_rawlen', 'lua_len', and 'luaL_len'
2009-12-17 14:20:01 -02:00
Roberto Ierusalimschy
a4472490bc
new 'table.pack' function
2009-12-07 13:50:27 -02:00
Roberto Ierusalimschy
93695db903
'table.maxn' deprecated
2009-11-26 15:35:13 -02:00
Roberto Ierusalimschy
a6f465f558
new mark LUAMOD_API for all luaopen_* functions
2009-11-24 10:05:44 -02:00
Roberto Ierusalimschy
ec52149485
'lua_lessthan' replaced by more generic 'lua_compare'
2009-06-17 14:53:50 -03:00
Roberto Ierusalimschy
6d0ae11c57
'context' added to suspendable calls
2009-03-23 11:26:12 -03:00
Roberto Ierusalimschy
ba484b9eb1
yielding across lua_call (first version)
2009-03-10 14:14:37 -03:00
Roberto Ierusalimschy
ffdca3522e
'table.sort' detects invalid order function before calling it
...
for nil elements
2008-04-07 15:43:00 -03:00
Roberto Ierusalimschy
843d53aabb
'table.concat' may get confused with too large limits
2008-02-14 14:03:27 -02:00
Roberto Ierusalimschy
9f0d62ad9f
BUG: table.remove removes last element of a table when given
...
an out-of-bound index
2007-11-26 14:57:33 -02:00
Roberto Ierusalimschy
80b4753539
better error message for 'concat'
2007-09-12 17:53:24 -03:00
Roberto Ierusalimschy
791d8d8585
detail
2007-06-21 10:50:53 -03:00
Roberto Ierusalimschy
e85515958b
clearing some old compatibility code
2007-06-21 10:48:04 -03:00
Roberto Ierusalimschy
056b6a8ef4
more robust implementation for table.insert
2005-10-23 15:38:15 -02:00
Roberto Ierusalimschy
053e873145
new macro luaL_opt to avoid evaluating defaults when no needed
2005-10-21 11:47:42 -02:00
Roberto Ierusalimschy
0fae476ed4
new function 'table.maxn'
2005-09-20 14:56:47 -03:00
Roberto Ierusalimschy
3390f9a35a
detail
2005-08-26 14:36:32 -03:00
Roberto Ierusalimschy
5e8a9e324c
luaL_openlib -> luaL_register, luaL_putchar -> luaL_addchar
2005-08-15 11:12:32 -03:00
Roberto Ierusalimschy
80ac5e83fd
details (alphabetical order for list of functions)
2005-07-12 11:32:08 -03:00
Roberto Ierusalimschy
c2f065f405
detail
2005-07-11 15:48:02 -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
ade585bdf9
no more LUA_FIRSTINDEX
2005-03-28 14:17:53 -03:00
Roberto Ierusalimschy
9ffae705ee
new "primitive" getn
2005-03-16 13:58:41 -03:00
Roberto Ierusalimschy
70751dd27c
details
2004-12-07 16:31:16 -02:00
Roberto Ierusalimschy
5e4ea9a831
`setn' returns its "self" (the table)
2004-06-15 10:37:21 -03:00
Roberto Ierusalimschy
b072e4ea0b
tinsert' and
tremove' also use LUA_FIRSTINDEX
2004-05-10 15:06:14 -03:00
Roberto Ierusalimschy
7e41612eb2
code parameterized by LUA_FIRSTINDEX (first index of an array)
2004-05-10 14:50:51 -03:00
Roberto Ierusalimschy
b4cd38ba6c
new scheme for configuration through `luaconf.h'
2004-04-30 17:13:38 -03:00
Roberto Ierusalimschy
f04fe526cd
new functions `lua_tointeger' and lua_pushinteger'
2003-10-07 17:13:41 -03:00
Roberto Ierusalimschy
0d88545b82
warnings from several compilers (mainly typecasts when lua_Number is float)
2003-04-03 10:35:34 -03:00
Roberto Ierusalimschy
034de1fe73
new names for functions that open C libraries
2003-03-11 09:24:34 -03:00
Roberto Ierusalimschy
41ed3c4771
getn/setn in C moved to lauxlib
2003-01-27 11:46:16 -02:00
Roberto Ierusalimschy
32fd039bb5
`openlib' functions return new module
2002-12-20 08:26:33 -02:00
Roberto Ierusalimschy
27c6b4d422
each .c file defines its own name
2002-12-04 15:38:31 -02:00
Roberto Ierusalimschy
097edd3884
better names for auxiliar functions
2002-11-14 13:41:38 -02:00
Roberto Ierusalimschy
5c5d9b2703
back to `__mode' metafield to specify weakness
2002-11-14 10:01:35 -02:00
Roberto Ierusalimschy
0fd91b1b08
optional limits for table.concat
2002-10-23 16:08:23 -03:00
Roberto Ierusalimschy
d477e4ffd6
detail
2002-10-04 11:30:31 -03:00
Roberto Ierusalimschy
2e38c6ae5a
luadebug.h' content now is included in
lua.h'
2002-08-06 15:01:50 -03:00
Roberto Ierusalimschy
634344d61f
new API for weak mode
2002-08-06 14:06:56 -03:00
Roberto Ierusalimschy
0436c96866
C++ warning
2002-07-08 13:51:20 -03:00