Roberto Ierusalimschy
|
17f695157c
|
define a `lua_isthread' for completeness
|
2003-07-07 10:30:57 -03:00 |
|
Roberto Ierusalimschy
|
b93f67f2ce
|
detail
|
2003-06-10 09:36:26 -03:00 |
|
Roberto Ierusalimschy
|
60aa01d8f7
|
fully-weak tables are more efficient
|
2003-05-16 15:59:08 -03:00 |
|
Roberto Ierusalimschy
|
ecf5730c0c
|
(much) smarter way to clear weak tables
|
2003-05-16 15:58:39 -03:00 |
|
Roberto Ierusalimschy
|
b10bfd4934
|
comments
|
2003-05-15 16:46:03 -03:00 |
|
Roberto Ierusalimschy
|
176cd7d1a3
|
`#!' is detected by loadfile, not by the lexer
|
2003-05-15 09:20:24 -03:00 |
|
Roberto Ierusalimschy
|
859c7f7ce0
|
LUA_SIGNATURE is public
|
2003-05-15 09:20:04 -03:00 |
|
Roberto Ierusalimschy
|
56c5e749cc
|
no more compatibility code (`lua_pushupvalues')
|
2003-05-14 18:10:07 -03:00 |
|
Roberto Ierusalimschy
|
9ec9a012e7
|
details
|
2003-05-14 18:09:53 -03:00 |
|
Roberto Ierusalimschy
|
dae99205cf
|
no more compatibility code
|
2003-05-14 18:06:56 -03:00 |
|
Roberto Ierusalimschy
|
9eb0f25a29
|
no more compatibility code for 4.0
|
2003-05-14 18:02:39 -03:00 |
|
Roberto Ierusalimschy
|
f93051155c
|
ok to use #elif' and #if defined()'
|
2003-05-14 18:01:53 -03:00 |
|
Roberto Ierusalimschy
|
524ae9fc3d
|
new function `setvbuf'
|
2003-05-14 16:03:43 -03:00 |
|
Roberto Ierusalimschy
|
0ddedaee92
|
new function `string.reverse'
|
2003-05-14 11:35:54 -03:00 |
|
Roberto Ierusalimschy
|
5cc448386a
|
new syntax: `... [= name]'
|
2003-05-14 09:32:46 -03:00 |
|
Roberto Ierusalimschy
|
c116dcb92b
|
better information about instruction behavior (use of arguments)
|
2003-05-14 09:09:12 -03:00 |
|
Roberto Ierusalimschy
|
6d268b0b00
|
new semantics for "for" local variables
|
2003-05-13 17:15:59 -03:00 |
|
Roberto Ierusalimschy
|
c767747191
|
new (internal) macros for error handling
|
2003-05-13 16:22:19 -03:00 |
|
Roberto Ierusalimschy
|
f966404ed6
|
simpler implementation for valid/acceptable indices
|
2003-05-09 17:16:54 -03:00 |
|
Roberto Ierusalimschy
|
ee07ad346d
|
`getn' doesn't need this field (values cannot be nil)
|
2003-05-07 13:02:16 -03:00 |
|
Roberto Ierusalimschy
|
fee9e473f2
|
inlining of `luaV_gettable' were too complex (dirty)
|
2003-05-05 15:39:57 -03:00 |
|
Roberto Ierusalimschy
|
82dfacbcf7
|
detail
|
2003-04-30 17:24:38 -03:00 |
|
Roberto Ierusalimschy
|
26097b6c4b
|
uses integers as keys to standard i/o files
|
2003-04-30 17:15:55 -03:00 |
|
Roberto Ierusalimschy
|
f1f8f0ca22
|
simpler way to check maximum gc threshold
|
2003-04-28 16:58:06 -03:00 |
|
Roberto Ierusalimschy
|
bcc5f1406b
|
test function for lua_setgcthreshold
|
2003-04-28 16:58:06 -03:00 |
|
Roberto Ierusalimschy
|
b1b752fb2b
|
comments
|
2003-04-28 16:57:50 -03:00 |
|
Roberto Ierusalimschy
|
572a69df78
|
Lua does not need all those different types...
|
2003-04-28 16:26:16 -03:00 |
|
Roberto Ierusalimschy
|
943c82b376
|
avoid unnecessary call to log2 on too large indices
|
2003-04-28 10:31:46 -03:00 |
|
Roberto Ierusalimschy
|
17149b7d43
|
avoid warnings (Instruction' may not fit into an int')
|
2003-04-28 10:31:06 -03:00 |
|
Roberto Ierusalimschy
|
01b303c87e
|
simpler log2 implementation
|
2003-04-28 10:30:14 -03:00 |
|
Roberto Ierusalimschy
|
762c737037
|
last changes by lhf
|
2003-04-10 14:39:41 -03:00 |
|
Roberto Ierusalimschy
|
de57dc2653
|
new scheme to control `loadlib' configuration (default for dlopen
implementation is not to include it)
|
2003-04-07 17:11:53 -03:00 |
|
Roberto Ierusalimschy
|
d1df829f8d
|
lua_getmetatable must accept any acceptable index
|
2003-04-07 11:36:08 -03:00 |
|
Roberto Ierusalimschy
|
2ad947fe03
|
new test options for luaL_getn/setn
|
2003-04-07 11:35:00 -03:00 |
|
Roberto Ierusalimschy
|
f0cc013afa
|
luaL_getn/setn must operate correctly over negative indices
|
2003-04-07 11:35:00 -03:00 |
|
Roberto Ierusalimschy
|
0d88545b82
|
warnings from several compilers (mainly typecasts when lua_Number is float)
|
2003-04-03 10:35:34 -03:00 |
|
Roberto Ierusalimschy
|
f84c5a5fc6
|
avoid conflicts in (re)definition of `isatty'
|
2003-04-03 10:34:42 -03:00 |
|
Roberto Ierusalimschy
|
05d35d8f3c
|
comments
|
2003-04-02 10:09:14 -03:00 |
|
Roberto Ierusalimschy
|
3a6230ef7c
|
error-message format
|
2003-04-01 14:52:31 -03:00 |
|
Roberto Ierusalimschy
|
a424a112b5
|
clearance of debuging code (left by mistake)
|
2003-03-31 10:00:25 -03:00 |
|
Roberto Ierusalimschy
|
b858161fbc
|
new hash method for lua_Number (double) (due to a performance problem)
|
2003-03-24 11:18:42 -03:00 |
|
Roberto Ierusalimschy
|
80bac182db
|
do not mix --help' with --'
|
2003-03-24 09:40:01 -03:00 |
|
Roberto Ierusalimschy
|
30a411ab3c
|
chars from zio are always unsigned
|
2003-03-24 09:39:34 -03:00 |
|
Roberto Ierusalimschy
|
5bb5a1831d
|
details
|
2003-03-20 17:26:33 -03:00 |
|
Roberto Ierusalimschy
|
b518d14071
|
bug: zio mixes a 255 as first char in a buffer with EOZ
|
2003-03-20 13:00:56 -03:00 |
|
Roberto Ierusalimschy
|
15dbb53461
|
towards 5.0 final
|
2003-03-19 18:27:30 -03:00 |
|
Roberto Ierusalimschy
|
abc304f9da
|
avoid name colision (for alllua.c)
|
2003-03-19 18:24:04 -03:00 |
|
Roberto Ierusalimschy
|
1a553f9199
|
better error messages
|
2003-03-19 18:16:12 -03:00 |
|
Roberto Ierusalimschy
|
0ca225d33a
|
better error message
|
2003-03-19 18:15:18 -03:00 |
|
Roberto Ierusalimschy
|
70e2b7ab86
|
name changes to avoid name collision between macros and variables
|
2003-03-19 18:14:53 -03:00 |
|
Roberto Ierusalimschy
|
5a144e891a
|
__globals' -> __fenv'
|
2003-03-19 18:14:34 -03:00 |
|
Roberto Ierusalimschy
|
b12776f29c
|
`luaL_getmetafield' was leaving extra value on the stack
|
2003-03-18 15:48:31 -03:00 |
|
Roberto Ierusalimschy
|
ab9e062928
|
name changes to avoid name collision between macros and variables
|
2003-03-18 09:50:04 -03:00 |
|
Roberto Ierusalimschy
|
81cdbabf09
|
detail (change place of a prototype)
|
2003-03-18 09:31:39 -03:00 |
|
Roberto Ierusalimschy
|
40cfb0691e
|
new auxiliary functions for `type' manipulation
|
2003-03-18 09:25:32 -03:00 |
|
Roberto Ierusalimschy
|
9b7af7e45b
|
tests for Windows version
|
2003-03-18 09:25:01 -03:00 |
|
Roberto Ierusalimschy
|
2e66248f8a
|
unused argument
|
2003-03-18 09:24:38 -03:00 |
|
Roberto Ierusalimschy
|
79db75101e
|
detail
|
2003-03-18 09:24:26 -03:00 |
|
Roberto Ierusalimschy
|
b0c40e2405
|
first version of `loadlib'
|
2003-03-17 10:04:58 -03:00 |
|
Roberto Ierusalimschy
|
4734e2de05
|
`loadlib' now an official library
|
2003-03-17 10:01:48 -03:00 |
|
Roberto Ierusalimschy
|
7ea180af6e
|
detail
|
2003-03-14 16:08:11 -03:00 |
|
Roberto Ierusalimschy
|
05d567d52e
|
io.input'/io.output' always return current file
|
2003-03-14 16:00:16 -03:00 |
|
Roberto Ierusalimschy
|
d8a3a00d84
|
`string.find' also accepts out-of-range indices
|
2003-03-14 15:59:53 -03:00 |
|
Roberto Ierusalimschy
|
c9ea94ec92
|
out-of-bound upvalues (in C) are acceptable indices
|
2003-03-14 15:59:21 -03:00 |
|
Roberto Ierusalimschy
|
fa4b4c1100
|
loadstring/loadfile use global environment + setfenv(0) changes
global environment
|
2003-03-11 15:17:43 -03:00 |
|
Roberto Ierusalimschy
|
4039bf457d
|
^ operator is defined by global `__pow'
|
2003-03-11 09:30:37 -03:00 |
|
Roberto Ierusalimschy
|
034de1fe73
|
new names for functions that open C libraries
|
2003-03-11 09:24:34 -03:00 |
|
Roberto Ierusalimschy
|
430d6db928
|
LUA_PATH components may have multiple interrogation marks
|
2003-03-11 09:08:13 -03:00 |
|
Roberto Ierusalimschy
|
7c3857cded
|
comments
|
2003-03-07 10:21:31 -03:00 |
|
Roberto Ierusalimschy
|
8ce6f0b418
|
avoid including system headers after program headers
|
2003-03-06 16:37:42 -03:00 |
|
Roberto Ierusalimschy
|
572bddc0b0
|
LUA_USETMPNAME -> USE_TMPNAME
|
2003-03-06 16:36:44 -03:00 |
|
Roberto Ierusalimschy
|
3684f67771
|
details (text of an error message)
|
2003-03-06 16:36:16 -03:00 |
|
Roberto Ierusalimschy
|
69dd9461e5
|
bug: GC metamethod calls could mess C/Lua stack syncronization
|
2003-02-28 16:45:15 -03:00 |
|
Roberto Ierusalimschy
|
6b6bc532a4
|
better error message for (deprecated) "%global"
|
2003-02-28 14:19:47 -03:00 |
|
Roberto Ierusalimschy
|
ea16ee41a8
|
no more attempt to optimize GC when parsing new modules (too complex)
|
2003-02-28 12:42:08 -03:00 |
|
Roberto Ierusalimschy
|
60d11ec316
|
by default, gcc does not get tmpname
|
2003-02-27 09:39:05 -03:00 |
|
Roberto Ierusalimschy
|
e1a424e8a3
|
avoid the identifier index' (clashes with BSD index' function)
|
2003-02-27 09:33:07 -03:00 |
|
Roberto Ierusalimschy
|
59ce42dbd5
|
detail
|
2003-02-27 09:32:30 -03:00 |
|
Roberto Ierusalimschy
|
92f6e0c1bf
|
no-nonsense debug information about tail calls
|
2003-02-27 08:52:30 -03:00 |
|
Roberto Ierusalimschy
|
5cd99b82b7
|
set/getenvtable' -> set/getfenv'
|
2003-02-24 13:54:20 -03:00 |
|
Roberto Ierusalimschy
|
07e210e655
|
`require' returns value returned by package
|
2003-02-24 13:50:41 -03:00 |
|
Roberto Ierusalimschy
|
feb724c122
|
ULONG_MAX>>10 may not fit into an int (old bug)
|
2003-02-21 16:00:14 -03:00 |
|
Roberto Ierusalimschy
|
67f9a2a98f
|
details
|
2003-02-20 17:12:39 -03:00 |
|
Roberto Ierusalimschy
|
c4f9c887fc
|
expressions too complex for an ARM compiler...
|
2003-02-19 07:28:58 -03:00 |
|
Roberto Ierusalimschy
|
9866fb0ef1
|
set/getglobals' -> set/getenvtable'
|
2003-02-18 13:13:15 -03:00 |
|
Roberto Ierusalimschy
|
60c83ded30
|
small optimization for sizes of array constructors
|
2003-02-18 13:02:56 -03:00 |
|
Roberto Ierusalimschy
|
07948c3181
|
restore _REQUIREDNAME after requiring a file
|
2003-02-18 13:02:13 -03:00 |
|
Roberto Ierusalimschy
|
dce9a49a08
|
final version
|
2003-02-18 13:01:57 -03:00 |
|
Roberto Ierusalimschy
|
15db58a2f5
|
create arg table with correct size
|
2003-02-13 14:08:47 -02:00 |
|
Roberto Ierusalimschy
|
d6826dbc80
|
simpler way to count uses
|
2003-02-13 14:08:32 -02:00 |
|
Roberto Ierusalimschy
|
e75a6ae9ee
|
`defaultmeta' is always empty, but registry needs some space for
names and numbers (references)
|
2003-02-13 14:07:57 -02:00 |
|
Roberto Ierusalimschy
|
2866fb2dd0
|
reset _REQUIREDNAME after loading module
|
2003-02-13 14:07:37 -02:00 |
|
Roberto Ierusalimschy
|
4b6f436d67
|
unpack' uses getn' to get table size
|
2003-02-12 07:11:01 -02:00 |
|
Roberto Ierusalimschy
|
8f105d6b59
|
string.byte returns nil if index is out-of-range
|
2003-02-12 07:10:41 -02:00 |
|
Roberto Ierusalimschy
|
2fef8c772b
|
auxiliary function to check userdata with types
|
2003-02-11 13:32:31 -02:00 |
|
Roberto Ierusalimschy
|
7285fa393b
|
use C names for C types
|
2003-02-11 13:31:50 -02:00 |
|
Roberto Ierusalimschy
|
5085f09ce5
|
small optimizations
|
2003-02-11 13:24:52 -02:00 |
|
Roberto Ierusalimschy
|
d674626392
|
compatibility with '%' syntax is optional
|
2003-02-11 08:49:53 -02:00 |
|
Roberto Ierusalimschy
|
7a40cdbda0
|
different variables for number of upvalues and size of upvalue array
(makes code clearer)
|
2003-02-11 08:46:24 -02:00 |
|
Roberto Ierusalimschy
|
3cdeacbbfb
|
reference system also uses getn/setn (plus small corrections)
|
2003-02-11 07:44:38 -02:00 |
|