223 Commits (78f9635111ec647719bb1b1622b1cb6f47ef1be1)

Author SHA1 Message Date
Roberto Ierusalimschy ee22af5ced new functions "seek" and "flush". 27 years ago
Roberto Ierusalimschy cc117253c8 new implementation for error handling: on error, function _ERRORMESSAGE 27 years ago
Roberto Ierusalimschy 955a811aa1 category for "setlocale" is given by name 27 years ago
Roberto Ierusalimschy 02134b4a87 name: lua_pushCclosure -> lua_pushcclosure. 27 years ago
Roberto Ierusalimschy bdb1db4d37 "read" more efficient when reading lines and whole files ('.*') 27 years ago
Roberto Ierusalimschy abc6eac404 new function "clock" 27 years ago
Roberto Ierusalimschy daa937c043 pattern-matching support for '\0'. 27 years ago
Roberto Ierusalimschy 043c2ac258 new names for "lua_pushlstr" and "lua_getstrlen" 27 years ago
Roberto Ierusalimschy 88a2023c32 support for strings with '\0' 27 years ago
Roberto Ierusalimschy 26679b1a48 back to upavalues as extra arguments for C closures; this way it's 27 years ago
Roberto Ierusalimschy da96eb2cce some details related to OLD_ANSI 27 years ago
Roberto Ierusalimschy 4e91384e14 sorting the includes... 27 years ago
Roberto Ierusalimschy de79e7fc58 back to "lua_upvalue"... (seems better choice) 27 years ago
Roberto Ierusalimschy 502343b402 new scheme for buffers, centralized in auxlib. 27 years ago
Roberto Ierusalimschy 80b3d28f4a details (mainly error messages) 27 years ago
Roberto Ierusalimschy b42cc6a4d2 no more protected global variables; using upvalues to store tags. 27 years ago
Roberto Ierusalimschy 024528e0c2 global variables starting with '.' are protected in Lua (temporarily at 27 years ago
Roberto Ierusalimschy 6153200bc2 make sure there is no mem problems, using %.ns instead of %s for luaV_error. 27 years ago
Roberto Ierusalimschy 592a3f289b first implementation of centralized global state. 27 years ago
Roberto Ierusalimschy 45cad43c3f "lua_open": now lua has an explicit open operation. 27 years ago
Roberto Ierusalimschy b7567b6673 "read" & "write" may receive a file handler as first argument 27 years ago
Roberto Ierusalimschy 3c820d622e better control over closed files 28 years ago
Roberto Ierusalimschy 451124005b Standard I/O (and system) library 28 years ago
Roberto Ierusalimschy 8f3df1d471 small details. 28 years ago
Roberto Ierusalimschy 7820a47184 LOCALE support 28 years ago
Roberto Ierusalimschy 20a48a818f a file handle must be a userdata. 28 years ago
Roberto Ierusalimschy da585783e3 new method to handle current files, with global variables 28 years ago
Roberto Ierusalimschy 88f020b626 new interface to "lua_seterrormethod" and "lua_settagmethod", to 28 years ago
Roberto Ierusalimschy e931c7c0f6 error message always shows file names. 28 years ago
Roberto Ierusalimschy 2a1da64872 "lua_getobjname" must return "tag-method" and not "fallback". 28 years ago
Roberto Ierusalimschy 33ace03b5a udata is just void * again, so there is no point for function "getbyte". 28 years ago
Roberto Ierusalimschy 4aade854bb correction of name (and "iternal" was wrong, any way). 28 years ago
Roberto Ierusalimschy f93704728f one cannot "create" a userdata. 28 years ago
Roberto Ierusalimschy 3a9516ffc8 luaL check functions do not need the function name (it can be 28 years ago
Roberto Ierusalimschy 42fa305649 better error messages; 28 years ago
Roberto Ierusalimschy 075b7918c3 new function "getintmethod" 28 years ago
Roberto Ierusalimschy 4355e1afcd "getbyte" returns userdata size when called without second parameter. 28 years ago
Roberto Ierusalimschy efaaf99c42 first version of "setglobal" and "getglobal" internal methods. 28 years ago
Roberto Ierusalimschy 264f8c5e7b new (internal?) functions to manipulate userdata 28 years ago
Roberto Ierusalimschy 052a1cc46c files now have proper tags. 28 years ago
Roberto Ierusalimschy 2de803c250 new header 'auxlib.h' + new function luaL_verror 28 years ago
Roberto Ierusalimschy eea734aa88 new module 'auxlib' centralizes functions to get/check parameters. 28 years ago
Roberto Ierusalimschy ec422ec7d0 skips can be nested (why not?). 28 years ago
Roberto Ierusalimschy 6a9efa8b8e useless include. 28 years ago
Roberto Ierusalimschy 169870e37d BUG: ISO chars are negative, ISO ints are not. 28 years ago
Roberto Ierusalimschy 389e808c60 although an ANSI function, some systems do not offer "strerror" 28 years ago
Roberto Ierusalimschy 450465c4d4 new parameters for "read" and "write". BIG CHANGE. 28 years ago
Roberto Ierusalimschy 37bf74efb7 some compilers do not accept "stdin"/"stdout" as constants. 28 years ago
Roberto Ierusalimschy f025b0d160 "pushnil" is not needed (default return is nil). 29 years ago
Roberto Ierusalimschy 9a1948e67d small correction. 29 years ago