240 Commits (6e899850b9178f934829c36aecb77cb2b9be6a05)

Author SHA1 Message Date
Roberto Ierusalimschy 924bbe020b bigger limits 26 years ago
Roberto Ierusalimschy 7808ea3a5f new implementation for '*' in patterns + new option '+' 26 years ago
Roberto Ierusalimschy d9d04a9274 "read_pattern" could lock when reading a lookahead from stdin. 26 years ago
Roberto Ierusalimschy de04533dc0 better the old way, using upvalues to keep iotag. 26 years ago
Roberto Ierusalimschy bf7f85d609 GC of files is tricky when Lua is being closed... 26 years ago
Roberto Ierusalimschy d6ff06751a new functions openfile and closefile; 26 years ago
Roberto Ierusalimschy 82ad0d5770 details 26 years ago
Roberto Ierusalimschy 78edc241e9 details about debug info. 26 years ago
Roberto Ierusalimschy 5a8bb00df4 storing chunk "sources" instead of "filenames". 26 years ago
Roberto Ierusalimschy bb5627f3a4 better control over calls to _ALERT and _ERRORMESSAGE (to avoid error 26 years ago
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