Commit History

Author SHA1 Message Date
  Roberto Ierusalimschy ae27be40c9 better check for overflows in 'table.move' (removes restriction that 10 years ago
  Roberto Ierusalimschy 28fdbcf393 added include for 'lprefix.h', for stuff that must be added before 10 years ago
  Roberto Ierusalimschy bdf566a8a3 `name' in comments changed to 'name' 10 years ago
  Roberto Ierusalimschy f97c64d7bf macros 'LUA_QL'/'LUA_QL' deprecated 10 years ago
  Roberto Ierusalimschy 6384475ec4 'luaL_getmetafield' returns type of metafield (instead of a boolean) 11 years ago
  Roberto Ierusalimschy 7f1a2ad699 new functions 'lua_geti/lua_seti' (non raw) 11 years ago
  Roberto Ierusalimschy a1ab5ab396 'table.copy' -> 'table.move' + optional parameter moved to the end + 11 years ago
  Roberto Ierusalimschy 3ccbae84d2 added some casts between integral types (to avoid warnings) 11 years ago
  Roberto Ierusalimschy 03bbe1baf1 first implementation for 'table.copy' 11 years ago
  Roberto Ierusalimschy a9af12bbe7 Table library now respects '__index'/'__newindex' metamethods 11 years ago
  Roberto Ierusalimschy 17159b491c more direct implementation of 'table.pack' 11 years ago
  Roberto Ierusalimschy b390d7c168 detail (avoid "casting down" in case lua_Integer is smaller than int) 11 years ago
  Roberto Ierusalimschy 9737832641 'int' -> 'lua_Integer' in several functions 11 years ago
  Roberto Ierusalimschy 315c5bf7b7 bug: compiler could optimize away overflow check (+ changing indices 11 years ago
  Roberto Ierusalimschy da4811238a details (typos in comments) 11 years ago
  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) 14 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