30 Commits (bf6d2ccf92768be938aaac0a0bfc87833b793e8f)

Author SHA1 Message Date
Roberto Ierusalimschy b22baf386d Lua cannot have static variables. 26 years ago
Roberto Ierusalimschy 8278468041 comments 26 years ago
Roberto Ierusalimschy 766e67ef3b to avoid warnings about "typecast" (Visual C++) 26 years ago
Roberto Ierusalimschy 63166c0ca0 new implementation of function "read", with predifined options. 26 years ago
Roberto Ierusalimschy e4830ddce3 new option "mode" in "readfrom", "writeto" and "appendto" (for 26 years ago
Roberto Ierusalimschy ce9609296c function "luaL_argerror" prints wrong argument number (from a user's point 27 years ago
Roberto Ierusalimschy b04294d3d8 details. 27 years ago
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