summaryrefslogtreecommitdiff
path: root/iolib.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* a file handle must be a userdata.Roberto Ierusalimschy1997-06-271-1/+1
|
* new method to handle current files, with global variablesRoberto Ierusalimschy1997-06-261-33/+56
| | | | _INPUT and _OUTPUT.
* new interface to "lua_seterrormethod" and "lua_settagmethod", toRoberto Ierusalimschy1997-06-191-1/+2
| | | | allow the use of Lua functions too.
* error message always shows file names.Roberto Ierusalimschy1997-06-181-3/+6
|
* "lua_getobjname" must return "tag-method" and not "fallback".Roberto Ierusalimschy1997-06-171-1/+1
|
* udata is just void * again, so there is no point for function "getbyte".Roberto Ierusalimschy1997-06-091-45/+0
|
* correction of name (and "iternal" was wrong, any way).Roberto Ierusalimschy1997-04-301-1/+1
|
* one cannot "create" a userdata.Roberto Ierusalimschy1997-04-081-2/+2
|
* luaL check functions do not need the function name (it can beRoberto Ierusalimschy1997-04-061-17/+16
| | | | accessed via luadebug interface).
* better error messages;Roberto Ierusalimschy1997-04-041-6/+6
| | | | better names for some API functions.
* new function "getintmethod"Roberto Ierusalimschy1997-04-021-4/+5
|
* "getbyte" returns userdata size when called without second parameter.Roberto Ierusalimschy1997-04-021-6/+10
|
* first version of "setglobal" and "getglobal" internal methods.Roberto Ierusalimschy1997-03-311-1/+1
|
* new (internal?) functions to manipulate userdataRoberto Ierusalimschy1997-03-261-3/+44
|
* files now have proper tags.Roberto Ierusalimschy1997-03-201-5/+8
|
* new header 'auxlib.h' + new function luaL_verrorRoberto Ierusalimschy1997-03-181-6/+6
|
* new module 'auxlib' centralizes functions to get/check parameters.Roberto Ierusalimschy1997-03-171-12/+12
|
* skips can be nested (why not?).Roberto Ierusalimschy1997-03-051-3/+9
|
* useless include.Roberto Ierusalimschy1996-11-221-1/+0
|
* BUG: ISO chars are negative, ISO ints are not.Roberto Ierusalimschy1996-11-201-2/+3
|
* although an ANSI function, some systems do not offer "strerror"Roberto Ierusalimschy1996-11-011-0/+4
|
* new parameters for "read" and "write". BIG CHANGE.Roberto Ierusalimschy1996-11-011-438/+124
|
* some compilers do not accept "stdin"/"stdout" as constants.Roberto Ierusalimschy1996-10-161-2/+3
|
* "pushnil" is not needed (default return is nil).Roberto Ierusalimschy1996-08-011-23/+6
|
* small correction.Roberto Ierusalimschy1996-05-271-2/+2
|
* variables which contain string lengths must be long (if they also mayRoberto Ierusalimschy1996-05-221-13/+15
| | | | be negative) or size_t.
* small corrections.Roberto Ierusalimschy1996-05-031-3/+2
|
* new function "luaI_openlib" to help open libs.Roberto Ierusalimschy1996-04-301-22/+22
|
* "stat" is not ansi.Roberto Ierusalimschy1996-04-231-7/+3
|
* "exit" has an optional parameter of status.Roberto Ierusalimschy1996-04-221-4/+3
|
* functions "lua_is..." consider coercions.Roberto Ierusalimschy1996-03-191-3/+4
|
* new functions "rename" and "tmpname".Roberto Ierusalimschy1996-03-141-16/+26
|
* small corrections.Roberto Ierusalimschy1996-03-121-26/+4
|
* function "write_quoted" rewritten more clearly.Roberto Ierusalimschy1996-02-221-16/+7
|
* more appropriate error message for "date"Roberto Ierusalimschy1996-02-161-2/+2
|
* a backslash followed by a newline allows the newline to go intoRoberto Ierusalimschy1996-02-091-6/+2
| | | | a string.
* new function "date", replaces old "date" and "time".Roberto Ierusalimschy1996-02-091-36/+22
|
* new option "q" in function "write", to write literal strings.Roberto Ierusalimschy1996-02-051-6/+38
|
* "read('s')" was "eating" delimiter.Roberto Ierusalimschy1996-01-291-3/+3
|
* add_char now is global.Roberto Ierusalimschy1996-01-221-40/+36
| | | | time returns week-day.
* bug: "read" with format MUST read given number of chars (if file endsRoberto Ierusalimschy1996-01-121-5/+17
| | | | | before that reports an error, returning nil). "readuntil" can be called with nil or no parameters to read until EOF.
* "read" must return 'nil' on EOF.Roberto Ierusalimschy1995-11-101-1/+6
|
* re-implementation of functions "write" and "read"Roberto Ierusalimschy1995-11-101-253/+256
|
* print_stack now gets a parameter (file to print);Roberto Ierusalimschy1995-11-031-115/+64
| | | | small changes.
* functions now may be declared with any "var" as a name;Roberto Ierusalimschy1995-10-261-13/+26
| | | | | therefore they do not have a "baptism" name. Changes in debug API to acomodate that.
* small changes in the format of debug information.Roberto Ierusalimschy1995-10-231-4/+5
|
* new module luadebug.h.Roberto Ierusalimschy1995-10-171-2/+31
|
* bug. "fgets" reads n-1 chars.Roberto Ierusalimschy1995-10-111-2/+2
|
* new option for "writeto" and "readfrom", to allow piped I/O onRoberto Ierusalimschy1995-10-041-31/+38
| | | | machines that support it.
* function "stat" needs "sys/types.h"Roberto Ierusalimschy1995-02-061-1/+2
|