256 Commits (1721d09ac8e55bb4b675cea26cbe6b707fd21a2c)

Author SHA1 Message Date
Roberto Ierusalimschy 438c534ff4 'arg' arguments (previously called 'narg', 'nArg', 'numArg', etc.) 11 years ago
Roberto Ierusalimschy 66d046833d no need to check "bad conversion number->int;" in luaL_checkversion, 12 years ago
Roberto Ierusalimschy 982aa7058f 'luaL_len' returns lua_Integer instead of 'int' 12 years ago
Roberto Ierusalimschy c72fb1cf8e detail (removed 'assert') 12 years ago
Roberto Ierusalimschy 138e69cc55 correct error message for floating-point values out of (integer) range 12 years ago
Roberto Ierusalimschy 0394314c7a avoid using a negative value to test 'lua_tounsigned' 12 years ago
Roberto Ierusalimschy 6fb0b11350 string contatenation handles conversion of integers to strings + 12 years ago
Roberto Ierusalimschy 9c43d6a24e new format "%I" in 'lua_pushfstring' for lua_Integer 12 years ago
Roberto Ierusalimschy af8efcc762 detail (avoid unnecessary "unconst" in cast) 12 years ago
Roberto Ierusalimschy 4082c77ff2 error message for 'bad self' includes original 'extramsg' 12 years ago
Roberto Ierusalimschy 7a3de1aba3 typo in comment 12 years ago
Roberto Ierusalimschy c1a2a646c8 details (no need to use lua_pushfstring for plain strings) 12 years ago
Roberto Ierusalimschy 4dd0622d0c bug in luaL_getsubtable (calling lua_absindex not with original stack) 13 years ago
Roberto Ierusalimschy 4cca1a436d details (using lua_setglobal/lua_getglobal instead of explicit 13 years ago
Roberto Ierusalimschy 3e66d3b4be cleaner code (avoids loop with empty body) 13 years ago
Roberto Ierusalimschy 29a28693e5 'luaL_checkversion' called by 'luaL_setfuncs' 13 years ago
Roberto Ierusalimschy e320b5b672 small bug: format '%d' for lua_Number argument 13 years ago
Roberto Ierusalimschy e2feb886d6 macro 'luaL_getmetatable' seems more appropriate when getting 13 years ago
Roberto Ierusalimschy 7bcb2462e4 comments 13 years ago
Roberto Ierusalimschy 3617e04e97 'lua_load' has an extra argument 'mode' 13 years ago
Roberto Ierusalimschy 6cce5c0601 new function 'luaL_loadfilex' 13 years ago
Roberto Ierusalimschy eda87f1156 in 'luaL_checkstack', include extra stack space in test to allow 13 years ago
Roberto Ierusalimschy 2557107e91 removed unused variable 'found' (in 'findfield') + removed legacy 13 years ago
Roberto Ierusalimschy 470dd56a89 'os.execute' (and similars) should return 'exit' and code in case 14 years ago
Roberto Ierusalimschy ad2531a0ee more complete (and hopefuly more correct) handling of 'sizeof(char)' 14 years ago
Roberto Ierusalimschy 2f128c5130 'luaL_setfuncs' does not need to accept a NULL list. (If there is 14 years ago
Roberto Ierusalimschy 19fbdf6cae 'luaL_findtable' -> 'luaL_getsubtable' 14 years ago
Roberto Ierusalimschy d806710ab5 returns for file-related functions and process-related functions 14 years ago
Roberto Ierusalimschy a10d495b18 'luaL_findtable' returns boolean about whether it created a new 14 years ago
Roberto Ierusalimschy c97aa9485c new function 'luaL_setmetatable' 14 years ago
Roberto Ierusalimschy e885b91326 'luaL_typeerror' deprecated 14 years ago
Roberto Ierusalimschy 2a966116b1 detail (message) 14 years ago
Roberto Ierusalimschy 9be89a1864 'luaL_checkversion' also checks convertions (number to integer types) 14 years ago
Roberto Ierusalimschy c6b64ffe65 new type lua_Unsigned and corresponding projection/injection functions 14 years ago
Roberto Ierusalimschy 4590a89b32 corrected warnings from different compilers (mostly casts and small 14 years ago
Roberto Ierusalimschy c3eb89544f 'luaL_loadlib' accepts Utf8 BOM in the beginning of files 14 years ago
Roberto Ierusalimschy cd6c276e41 use index 0 for header of list of free references 14 years ago
Roberto Ierusalimschy d447945685 'module'/'luaL_register' and associates are deprecated 14 years ago
Roberto Ierusalimschy a9dc7c8828 functions lua_tonumber/lua_tointeger replaced by lua_tonumberx/lua_tointegerx 15 years ago
Roberto Ierusalimschy 7192afafee new module policy: C modules do not create globals and do not register 15 years ago
Roberto Ierusalimschy a139e2e003 old (and complex) luaL_findtable now used only in compatibility code 15 years ago
Roberto Ierusalimschy 79f11fb2bb back with #-comments for binary files 15 years ago
Roberto Ierusalimschy 2c1a5d678d factoring out common code in 'module' and 'luaL_openlib' 15 years ago
Roberto Ierusalimschy e8a2c36909 more comments 15 years ago
Roberto Ierusalimschy 3c39a0e8cb bug: loadfile of binary files read first character twice 15 years ago
Roberto Ierusalimschy 3811e23b32 detail (comment) 15 years ago
Roberto Ierusalimschy e924a7f9ea new API function 'lua_absindex' 15 years ago
Roberto Ierusalimschy dcc070683c avoid reserving LUA_RIDX_LAST slots in any table used by reference 15 years ago
Roberto Ierusalimschy afdb19ac82 no more 'ccall' nor 'cpcall' functions. (With light C functions they 15 years ago
Roberto Ierusalimschy 9100f7479a new implementation for Generic Buffer manipulation (using userdata as 15 years ago