Roberto Ierusalimschy
|
070204300c
|
more consistent names for auxlib functions
|
2001-10-26 15:33:30 -02:00 |
Roberto Ierusalimschy
|
b840a7518d
|
details
|
2001-10-02 13:43:29 -03:00 |
Roberto Ierusalimschy
|
e1d072571e
|
better syntax for type casts
|
2001-08-31 16:46:07 -03:00 |
Roberto Ierusalimschy
|
45b173cbf8
|
warnings/details
|
2001-07-21 21:59:36 -03:00 |
Roberto Ierusalimschy
|
6c8e652aa6
|
use macros for 'getc'
|
2001-07-16 17:24:48 -03:00 |
Roberto Ierusalimschy
|
ae1cf64348
|
better names for type-related functions
|
2001-07-12 15:11:58 -03:00 |
Roberto Ierusalimschy
|
a264fd089e
|
small bug in read_chars (fread x eof)
|
2001-07-12 11:59:14 -03:00 |
Roberto Ierusalimschy
|
61a036eaa5
|
new macro to control format for `read"*n"'
|
2001-06-28 11:45:44 -03:00 |
Roberto Ierusalimschy
|
9559c111a3
|
new `read' option `*u' (read-until) + simpler implementation for `read'
|
2001-06-22 10:49:42 -03:00 |
Roberto Ierusalimschy
|
4905fdd135
|
C++ warning
|
2001-06-08 13:48:32 -03:00 |
Roberto Ierusalimschy
|
65c289b046
|
details
|
2001-06-07 10:46:29 -03:00 |
Roberto Ierusalimschy
|
d5b83ead90
|
new implementation for userdatas, without `keys'
|
2001-06-06 15:00:19 -03:00 |
Roberto Ierusalimschy
|
572a69b6af
|
name changes
|
2001-04-23 13:35:45 -03:00 |
Roberto Ierusalimschy
|
dd3a63c205
|
new way to handle `profiles'
|
2001-03-26 11:31:49 -03:00 |
Roberto Ierusalimschy
|
6d4db86888
|
open functions are lua_Cfunctions
|
2001-03-06 17:09:38 -03:00 |
Roberto Ierusalimschy
|
35023355f2
|
details for wchar
|
2001-02-23 14:28:12 -03:00 |
Roberto Ierusalimschy
|
39b7978329
|
first (big) step to support wide chars
|
2001-02-23 14:17:25 -03:00 |
Roberto Ierusalimschy
|
52ee91dd73
|
better encapsulation of some types
|
2001-02-22 14:15:18 -03:00 |
Roberto Ierusalimschy
|
dc17a9cc24
|
new semantics for pushuserdata
|
2001-02-09 17:52:54 -02:00 |
Roberto Ierusalimschy
|
e70e6a3b7a
|
<read(0)> tests for EOF
|
2001-02-09 14:25:50 -02:00 |
Roberto Ierusalimschy
|
1f917e709c
|
better use of extra include files (both for tests and for old_ansi)
|
2001-02-06 14:01:29 -02:00 |
Roberto Ierusalimschy
|
7e3d3e1f70
|
details
|
2001-02-02 17:02:40 -02:00 |
Roberto Ierusalimschy
|
9b45439860
|
details
|
2001-01-26 12:16:24 -02:00 |
Roberto Ierusalimschy
|
bce6572579
|
new macros + new names to facilitate compilation of threaded version
|
2001-01-26 09:45:51 -02:00 |
Roberto Ierusalimschy
|
a53d9b66ca
|
first implementation for type names
|
2001-01-25 14:45:36 -02:00 |
Roberto Ierusalimschy
|
f2c451d745
|
all accesses to TObjects done through macros
|
2001-01-18 13:59:09 -02:00 |
Roberto Ierusalimschy
|
321c7fb6f8
|
details
|
2001-01-11 16:59:20 -02:00 |
Roberto Ierusalimschy
|
4ff5545709
|
new macro pushliteral
|
2001-01-10 14:58:11 -02:00 |
Roberto Ierusalimschy
|
6af005ec20
|
bug: when `read' fails it must return nil (and not no value)
|
2000-12-22 15:32:28 -02:00 |
Roberto Ierusalimschy
|
1db05793a0
|
`time' does not need to correct its table argument (use `date' for that)
|
2000-12-22 14:57:13 -02:00 |
Roberto Ierusalimschy
|
af97be026b
|
new function for time and date
|
2000-12-18 11:42:19 -02:00 |
Roberto Ierusalimschy
|
4894c27962
|
lua_Number defined in lua.h (1st version)
|
2000-12-04 16:33:40 -02:00 |
Roberto Ierusalimschy
|
35d6b15057
|
some cleaning
|
2000-11-23 11:49:35 -02:00 |
Roberto Ierusalimschy
|
67c1afff59
|
lua_settagmethod does not return old tag method
|
2000-10-31 11:10:24 -02:00 |
Roberto Ierusalimschy
|
2cbbf3933a
|
new macro LUALIB_API (so the lib can be a separate DLL)
|
2000-10-27 14:15:53 -02:00 |
Roberto Ierusalimschy
|
89f98c0995
|
in function `read_file', realloc() doesn't free the buffer if it can't
allocate new memory
|
2000-10-26 10:53:55 -02:00 |
Roberto Ierusalimschy
|
b892f0a877
|
new API function `createuserdata'
|
2000-10-26 10:47:05 -02:00 |
Roberto Ierusalimschy
|
64eecc0b82
|
new macro LUA_API
|
2000-10-20 14:39:03 -02:00 |
Roberto Ierusalimschy
|
f6834f4393
|
new API function `lua_type' + new type lua_Type
|
2000-10-02 17:10:55 -03:00 |
Roberto Ierusalimschy
|
f9dd50cefc
|
`read("*w")' should return nil at EOF
|
2000-09-22 15:14:06 -03:00 |
Roberto Ierusalimschy
|
620d22f2a0
|
new API function lua_rawget
|
2000-09-14 11:09:31 -03:00 |
Roberto Ierusalimschy
|
f45cba42b5
|
details for OLD_ANSI
|
2000-09-13 17:12:14 -03:00 |
Roberto Ierusalimschy
|
5d033f33eb
|
details in ERRORMESSAGE
|
2000-09-12 15:41:55 -03:00 |
Roberto Ierusalimschy
|
c1f725ba4a
|
read patterns (deprecated) use new auxlib's buffer system
|
2000-09-12 10:58:37 -03:00 |
Roberto Ierusalimschy
|
d1c351857d
|
ERRORMESSAGE uses auxlib's buffer to build message string
|
2000-09-12 10:48:34 -03:00 |
Roberto Ierusalimschy
|
8060193702
|
`lauxlib' is now part of the libraries (not used by core Lua)
|
2000-09-11 17:29:27 -03:00 |
Roberto Ierusalimschy
|
787a78f83e
|
new scheme for buffers
|
2000-09-11 14:38:42 -03:00 |
Roberto Ierusalimschy
|
6e80c1cde1
|
new version for API
|
2000-09-05 16:33:32 -03:00 |
Roberto Ierusalimschy
|
f0b3cd1d6f
|
new API functions `pop', `insert', and `move'
|
2000-08-31 17:23:40 -03:00 |
Roberto Ierusalimschy
|
10b4799ce5
|
details
|
2000-08-31 10:30:10 -03:00 |
Roberto Ierusalimschy
|
a97f29f154
|
explicit stack control in the API
|
2000-08-29 17:43:28 -03:00 |
Roberto Ierusalimschy
|
ac12f4db4b
|
C upvalues are the last arguments to a function
|
2000-08-29 11:33:31 -03:00 |
Roberto Ierusalimschy
|
9fdf73bc9a
|
first version for new API
|
2000-08-28 14:57:04 -03:00 |
Roberto Ierusalimschy
|
e662e0f1cd
|
simpler way to access _INPUT and _OUTPUT
|
2000-08-22 14:47:17 -03:00 |
Roberto Ierusalimschy
|
ddc8d94a08
|
new name for `lua_[sg]etglobaltable'
|
2000-08-14 16:18:14 -03:00 |
Roberto Ierusalimschy
|
e238efc536
|
default now is multi-state
|
2000-08-09 16:16:57 -03:00 |
Roberto Ierusalimschy
|
52062684e1
|
better control over use of `errno'
|
2000-06-20 14:13:21 -03:00 |
Roberto Ierusalimschy
|
1de5587184
|
`lua.h' is included before any other Lua header file
|
2000-06-12 10:52:05 -03:00 |
Roberto Ierusalimschy
|
f63d7753b8
|
files are closed when collected (again)
|
2000-05-30 15:55:16 -03:00 |
Roberto Ierusalimschy
|
8e617985fa
|
functions `for...' and `raw...' are obsolete now
|
2000-05-26 16:17:57 -03:00 |
Roberto Ierusalimschy
|
ef62b340e0
|
code cleaner for 16 bits.
|
2000-05-24 10:54:49 -03:00 |
Roberto Ierusalimschy
|
44b71ca816
|
defines for _ERRORMESSAGE and _ALERT
|
2000-05-09 11:50:16 -03:00 |
Roberto Ierusalimschy
|
2ae9c856cf
|
more uniform names
|
2000-04-24 18:05:11 -03:00 |
Roberto Ierusalimschy
|
556a89e537
|
new names for debug types
|
2000-03-30 14:19:48 -03:00 |
Roberto Ierusalimschy
|
5f3c5ace95
|
message detail
|
2000-03-22 13:24:13 -03:00 |
Roberto Ierusalimschy
|
6759299880
|
new implementation for handling I/O tags + setglobal TM for tracing
changes in _INPUT/_OUTPUT
|
2000-03-20 16:13:45 -03:00 |
Roberto Ierusalimschy
|
3c9d999424
|
many details (most by lhf).
|
2000-03-03 11:58:26 -03:00 |
Roberto Ierusalimschy
|
74f1c3d025
|
small changes for "clean C"
|
2000-02-08 14:39:42 -02:00 |
Roberto Ierusalimschy
|
2877bad4c2
|
new debug API (first version)
|
2000-01-19 10:00:45 -02:00 |
Roberto Ierusalimschy
|
bcdbdaccc3
|
more debug information (still with bug for tag methods...)
|
1999-12-30 16:28:40 -02:00 |
Roberto Ierusalimschy
|
fb60283974
|
better error messages
|
1999-12-28 09:52:49 -02:00 |
Roberto Ierusalimschy
|
5b08fcd5a1
|
no more "lua" in error messages
|
1999-12-27 11:04:53 -02:00 |
Roberto Ierusalimschy
|
7d1499ba88
|
new macro luaL_openl
|
1999-11-22 15:39:51 -02:00 |
Roberto Ierusalimschy
|
29ede6aa13
|
first implementation of multiple states (reentrant code).
|
1999-11-22 11:12:07 -02:00 |
Roberto Ierusalimschy
|
a7fa7bafc8
|
new warnings with option "-W" (gcc)
|
1999-11-09 15:59:35 -02:00 |
Roberto Ierusalimschy
|
80b39d83c3
|
default `success' for exit is more useful.
|
1999-10-26 09:00:12 -02:00 |
Roberto Ierusalimschy
|
910836fb53
|
warnings from Visual C++
|
1999-10-19 11:33:22 -02:00 |
Roberto Ierusalimschy
|
cca78b5c71
|
Visual C++ warning
|
1999-10-11 14:06:01 -02:00 |
Roberto Ierusalimschy
|
d435b7acd8
|
read patterns are deprecated; new option `read(n)' to read n bytes.
|
1999-10-07 17:18:36 -02:00 |
Roberto Ierusalimschy
|
a8a75fb7ab
|
details
|
1999-09-13 16:42:02 -03:00 |
Roberto Ierusalimschy
|
c787dccd9b
|
"const" !!!
|
1999-08-16 17:52:00 -03:00 |
Roberto Ierusalimschy
|
21843f022a
|
writeto, readfrom, and closefile must return an error code when
closing a file.
|
1999-08-10 10:05:16 -03:00 |
Roberto Ierusalimschy
|
4bbe0679a8
|
variables _INPUT and _OUTPUT should be read as rawglobal.
|
1999-07-22 16:35:50 -03:00 |
Roberto Ierusalimschy
|
88b65da4d7
|
simplifications.
|
1999-06-23 10:48:39 -03:00 |
Roberto Ierusalimschy
|
924bbe020b
|
bigger limits
|
1999-05-14 09:24:04 -03:00 |
Roberto Ierusalimschy
|
7808ea3a5f
|
new implementation for '*' in patterns + new option '+'
|
1999-05-05 16:23:11 -03:00 |
Roberto Ierusalimschy
|
d9d04a9274
|
"read_pattern" could lock when reading a lookahead from stdin.
|
1999-04-14 17:40:32 -03:00 |
Roberto Ierusalimschy
|
de04533dc0
|
better the old way, using upvalues to keep iotag.
|
1999-04-05 16:47:05 -03:00 |
Roberto Ierusalimschy
|
bf7f85d609
|
GC of files is tricky when Lua is being closed...
|
1999-03-26 10:48:26 -03:00 |
Roberto Ierusalimschy
|
d6ff06751a
|
new functions openfile and closefile;
new way to keep file handle tags.
|
1999-03-16 17:07:54 -03:00 |
Roberto Ierusalimschy
|
82ad0d5770
|
details
|
1999-03-11 15:59:19 -03:00 |
Roberto Ierusalimschy
|
78edc241e9
|
details about debug info.
|
1999-03-05 17:45:01 -03:00 |
Roberto Ierusalimschy
|
5a8bb00df4
|
storing chunk "sources" instead of "filenames".
|
1999-03-04 18:23:39 -03:00 |
Roberto Ierusalimschy
|
bb5627f3a4
|
better control over calls to _ALERT and _ERRORMESSAGE (to avoid error
loops)
|
1999-02-22 11:17:24 -03:00 |
Roberto Ierusalimschy
|
b22baf386d
|
Lua cannot have static variables.
|
1999-02-05 13:22:43 -02:00 |
Roberto Ierusalimschy
|
8278468041
|
comments
|
1999-01-04 10:41:12 -02:00 |
Roberto Ierusalimschy
|
766e67ef3b
|
to avoid warnings about "typecast" (Visual C++)
|
1998-12-28 11:44:54 -02:00 |
Roberto Ierusalimschy
|
63166c0ca0
|
new implementation of function "read", with predifined options.
|
1998-12-27 18:21:28 -02:00 |
Roberto Ierusalimschy
|
e4830ddce3
|
new option "mode" in "readfrom", "writeto" and "appendto" (for
binary files).
|
1998-11-20 13:41:43 -02:00 |
Roberto Ierusalimschy
|
ce9609296c
|
function "luaL_argerror" prints wrong argument number (from a user's point
of view) when functions have upvalues.
|
1998-09-07 15:59:59 -03:00 |
Roberto Ierusalimschy
|
b04294d3d8
|
details.
|
1998-08-30 17:25:24 -03:00 |
Roberto Ierusalimschy
|
ee22af5ced
|
new functions "seek" and "flush".
|
1998-08-24 17:14:56 -03:00 |
Roberto Ierusalimschy
|
cc117253c8
|
new implementation for error handling: on error, function _ERRORMESSAGE
is called, which in turn calls _ALERT to write a message to stderr.
|
1998-08-21 14:43:44 -03:00 |
Roberto Ierusalimschy
|
955a811aa1
|
category for "setlocale" is given by name
|
1998-06-18 14:04:28 -03:00 |
Roberto Ierusalimschy
|
02134b4a87
|
name: lua_pushCclosure -> lua_pushcclosure.
|
1998-06-05 19:17:44 -03:00 |
Roberto Ierusalimschy
|
bdb1db4d37
|
"read" more efficient when reading lines and whole files ('.*')
|
1998-06-02 18:20:54 -03:00 |
Roberto Ierusalimschy
|
abc6eac404
|
new function "clock"
|
1998-05-20 19:21:35 -03:00 |
Roberto Ierusalimschy
|
daa937c043
|
pattern-matching support for '\0'.
|
1998-03-24 17:14:25 -03:00 |
Roberto Ierusalimschy
|
043c2ac258
|
new names for "lua_pushlstr" and "lua_getstrlen"
|
1998-03-06 15:47:42 -03:00 |
Roberto Ierusalimschy
|
88a2023c32
|
support for strings with '\0'
|
1998-03-06 13:54:42 -03:00 |
Roberto Ierusalimschy
|
26679b1a48
|
back to upavalues as extra arguments for C closures; this way it's
trivial to make currying.
|
1998-01-07 14:26:48 -02:00 |
Roberto Ierusalimschy
|
da96eb2cce
|
some details related to OLD_ANSI
|
1997-12-26 16:38:16 -02:00 |
Roberto Ierusalimschy
|
4e91384e14
|
sorting the includes...
|
1997-12-18 17:11:43 -02:00 |
Roberto Ierusalimschy
|
de79e7fc58
|
back to "lua_upvalue"... (seems better choice)
|
1997-12-18 16:32:39 -02:00 |
Roberto Ierusalimschy
|
502343b402
|
new scheme for buffers, centralized in auxlib.
|
1997-12-17 18:48:58 -02:00 |
Roberto Ierusalimschy
|
80b3d28f4a
|
details (mainly error messages)
|
1997-12-09 11:50:08 -02:00 |
Roberto Ierusalimschy
|
b42cc6a4d2
|
no more protected global variables; using upvalues to store tags.
|
1997-11-28 10:40:37 -02:00 |
Roberto Ierusalimschy
|
024528e0c2
|
global variables starting with '.' are protected in Lua (temporarily at
least...)
|
1997-11-27 13:59:44 -02:00 |
Roberto Ierusalimschy
|
6153200bc2
|
make sure there is no mem problems, using %.ns instead of %s for luaV_error.
|
1997-11-19 16:16:33 -02:00 |
Roberto Ierusalimschy
|
592a3f289b
|
first implementation of centralized global state.
|
1997-11-19 15:29:23 -02:00 |
Roberto Ierusalimschy
|
45cad43c3f
|
"lua_open": now lua has an explicit open operation.
|
1997-11-04 13:27:53 -02:00 |
Roberto Ierusalimschy
|
b7567b6673
|
"read" & "write" may receive a file handler as first argument
|
1997-10-30 18:29:09 -02:00 |
Roberto Ierusalimschy
|
3c820d622e
|
better control over closed files
|
1997-09-23 11:12:44 -03:00 |
Roberto Ierusalimschy
|
451124005b
|
Standard I/O (and system) library
|
1997-09-16 16:25:59 -03:00 |