65 Commits (a8f8c7fd80a5c7e630fd4bf7f858d05024f6b434)

Author SHA1 Message Date
Roberto Ierusalimschy 15a3738b49 no need to handle 0 as a special case in 'table.remove' 12 years ago
Roberto Ierusalimschy f4e762f688 better error checking for 'table.insert' and 'table.remove' 12 years ago
Roberto Ierusalimschy ece042fef0 'table.pack' does not return 'n' (may be confusing when 13 years ago
Roberto Ierusalimschy 50cddefeeb lint (wrong identation) 13 years ago
Roberto Ierusalimschy 79cbc3468c removed and deprecated functions really removed from the code base 14 years ago
Roberto Ierusalimschy ee37ee50d6 'table.pack' also returns 'n' + 'deprecated' changed to 'removed' 14 years ago
Roberto Ierusalimschy fe0d54d37e table library respects '#' metamethods 14 years ago
Roberto Ierusalimschy 5b33e39855 removed deprecated functions getn-foreach-foreachi 14 years ago
Roberto Ierusalimschy 4590a89b32 corrected warnings from different compilers (mostly casts and small 14 years ago
Roberto Ierusalimschy 7192afafee new module policy: C modules do not create globals and do not register 15 years ago
Roberto Ierusalimschy 489253d753 better definitions for lua_[gs]etglobal + less uses of ENVIRONINDEX 15 years ago
Roberto Ierusalimschy 193ce46970 table.pack was locking last result, avoiding its collection 15 years ago
Roberto Ierusalimschy 0dc09cb42e 'unpack' moved to table library (and therefore "renamed" to 15 years ago
Roberto Ierusalimschy 3cb343efd6 code for error message for 'setn' removed 15 years ago
Roberto Ierusalimschy c3a6f3fa1c 'lua_objlen' replaced by 'lua_rawlen', 'lua_len', and 'luaL_len' 15 years ago
Roberto Ierusalimschy a4472490bc new 'table.pack' function 15 years ago
Roberto Ierusalimschy 93695db903 'table.maxn' deprecated 15 years ago
Roberto Ierusalimschy a6f465f558 new mark LUAMOD_API for all luaopen_* functions 15 years ago
Roberto Ierusalimschy ec52149485 'lua_lessthan' replaced by more generic 'lua_compare' 16 years ago
Roberto Ierusalimschy 6d0ae11c57 'context' added to suspendable calls 16 years ago
Roberto Ierusalimschy ba484b9eb1 yielding across lua_call (first version) 16 years ago
Roberto Ierusalimschy ffdca3522e 'table.sort' detects invalid order function before calling it 17 years ago
Roberto Ierusalimschy 843d53aabb 'table.concat' may get confused with too large limits 17 years ago
Roberto Ierusalimschy 9f0d62ad9f BUG: table.remove removes last element of a table when given 17 years ago
Roberto Ierusalimschy 80b4753539 better error message for 'concat' 17 years ago
Roberto Ierusalimschy 791d8d8585 detail 18 years ago
Roberto Ierusalimschy e85515958b clearing some old compatibility code 18 years ago
Roberto Ierusalimschy 056b6a8ef4 more robust implementation for table.insert 19 years ago
Roberto Ierusalimschy 053e873145 new macro luaL_opt to avoid evaluating defaults when no needed 19 years ago
Roberto Ierusalimschy 0fae476ed4 new function 'table.maxn' 19 years ago
Roberto Ierusalimschy 3390f9a35a detail 19 years ago
Roberto Ierusalimschy 5e8a9e324c luaL_openlib -> luaL_register, luaL_putchar -> luaL_addchar 20 years ago
Roberto Ierusalimschy 80ac5e83fd details (alphabetical order for list of functions) 20 years ago
Roberto Ierusalimschy c2f065f405 detail 20 years ago
Roberto Ierusalimschy 67578ec51f several small details 20 years ago
Roberto Ierusalimschy c2bb9abcec better quotes for strings in error messages 20 years ago
Roberto Ierusalimschy ade585bdf9 no more LUA_FIRSTINDEX 20 years ago
Roberto Ierusalimschy 9ffae705ee new "primitive" getn 20 years ago
Roberto Ierusalimschy 70751dd27c details 20 years ago
Roberto Ierusalimschy 5e4ea9a831 `setn' returns its "self" (the table) 21 years ago
Roberto Ierusalimschy b072e4ea0b `tinsert' and `tremove' also use LUA_FIRSTINDEX 21 years ago
Roberto Ierusalimschy 7e41612eb2 code parameterized by LUA_FIRSTINDEX (first index of an array) 21 years ago
Roberto Ierusalimschy b4cd38ba6c new scheme for configuration through `luaconf.h' 21 years ago
Roberto Ierusalimschy f04fe526cd new functions `lua_tointeger' and lua_pushinteger' 21 years ago
Roberto Ierusalimschy 0d88545b82 warnings from several compilers (mainly typecasts when lua_Number is float) 22 years ago
Roberto Ierusalimschy 034de1fe73 new names for functions that open C libraries 22 years ago
Roberto Ierusalimschy 41ed3c4771 getn/setn in C moved to lauxlib 22 years ago
Roberto Ierusalimschy 32fd039bb5 `openlib' functions return new module 22 years ago
Roberto Ierusalimschy 27c6b4d422 each .c file defines its own name 22 years ago
Roberto Ierusalimschy 097edd3884 better names for auxiliar functions 22 years ago