This website requires JavaScript.
3c9e29f56d
details
Roberto Ierusalimschy
1999-12-03 09:26:23 -02:00
72afb6debb
modifications by lhf
Roberto Ierusalimschy
1999-12-02 17:11:51 -02:00
b097076678
missing include
Roberto Ierusalimschy
1999-12-02 14:41:29 -02:00
8223ff473f
lua_Object is a pointer to the stack (because now the stack doen't move)
Roberto Ierusalimschy
1999-12-02 14:24:45 -02:00
fe237ad808
fixed stack; first version.
Roberto Ierusalimschy
1999-12-01 17:50:08 -02:00
3181dfefee
details
Roberto Ierusalimschy
1999-11-30 11:06:50 -02:00
764e095d7f
object' and string' are very busy names...
Roberto Ierusalimschy
1999-11-29 17:31:29 -02:00
2b3ea61342
mistake in change for multi-state (gc threshold was not corrected)
Roberto Ierusalimschy
1999-11-29 17:12:07 -02:00
49af08e3e7
new name for lua_equal(obj); LUA_NOOBJECT is equal to LUA_NOOBJECT
Roberto Ierusalimschy
1999-11-29 17:11:36 -02:00
c5fa0895e9
table sizes don't need to be primes; power of 2 gives the same performance.
Roberto Ierusalimschy
1999-11-29 14:38:48 -02:00
d015f1fc02
table sizes don't need to be primes; power of 2 gives the same performance.
Roberto Ierusalimschy
1999-11-26 16:59:20 -02:00
790690a223
new way to keep function arguments (with StkId instead of copy)
Roberto Ierusalimschy
1999-11-26 16:53:03 -02:00
33b8a01032
new way to code CALLs + passing multiple arguments between function calls
Roberto Ierusalimschy
1999-11-25 16:59:43 -02:00
d29ce75737
new signature for function luaD_call (old luaD_calln)
Roberto Ierusalimschy
1999-11-25 16:58:51 -02:00
878ef96127
comment
Roberto Ierusalimschy
1999-11-25 16:44:02 -02:00
e5743adb21
macros key', val', and `node' don't need the state
Roberto Ierusalimschy
1999-11-23 11:58:02 -02:00
514783de9d
simpler without `init_hash'
Roberto Ierusalimschy
1999-11-22 16:24:50 -02:00
7d1499ba88
new macro luaL_openl
Roberto Ierusalimschy
1999-11-22 15:39:51 -02:00
29ede6aa13
first implementation of multiple states (reentrant code).
Roberto Ierusalimschy
1999-11-22 11:12:07 -02:00
951897c093
last warnings in Visual C
Roberto Ierusalimschy
1999-11-16 10:50:48 -02:00
a34677e4f4
details
Roberto Ierusalimschy
1999-11-12 11:54:44 -02:00
573372665a
new API function `lua_equalobj'
Roberto Ierusalimschy
1999-11-11 15:02:40 -02:00
a6755e2f1a
BUG: `strfind' does not handle \0 in plain search.
Roberto Ierusalimschy
1999-11-11 14:45:04 -02:00
a4628a02cf
better ways to test lock mechanism
Roberto Ierusalimschy
1999-11-10 13:41:11 -02:00
0c725b2492
buffer can shrink when too big
Roberto Ierusalimschy
1999-11-10 13:40:46 -02:00
d915cf4f9d
ways to measure number of `blocks' for GC + details
Roberto Ierusalimschy
1999-11-10 13:39:35 -02:00
53fb65d394
better implementation of `lua_ref' (much better...)
Roberto Ierusalimschy
1999-11-10 13:37:50 -02:00
a7fa7bafc8
new warnings with option "-W" (gcc)
Roberto Ierusalimschy
1999-11-09 15:59:35 -02:00
cde179b369
new implementation for global variable values (separated from strings)
Roberto Ierusalimschy
1999-11-04 15:23:12 -02:00
80b39d83c3
default `success' for exit is more useful.
Roberto Ierusalimschy
1999-10-26 09:00:12 -02:00
5a48255c9f
invariant tests over tables performed externally, through a built-in function (when DEBUG is ion).
Roberto Ierusalimschy
1999-10-26 08:53:40 -02:00
bbab974717
details (comments)
Roberto Ierusalimschy
1999-10-25 11:35:44 -02:00
910836fb53
warnings from Visual C++
Roberto Ierusalimschy
1999-10-19 11:33:22 -02:00
8e7451512f
some more `const's
Roberto Ierusalimschy
1999-10-14 17:46:57 -02:00
4e9f2d13d5
new implementation of hash tables.
Roberto Ierusalimschy
1999-10-14 17:13:31 -02:00
b6ebbb2fee
better assertions.
Roberto Ierusalimschy
1999-10-14 15:53:35 -02:00
c5fee7615e
new implementation for string hashing, with chaining.
Roberto Ierusalimschy
1999-10-11 14:13:42 -02:00
cca78b5c71
Visual C++ warning
Roberto Ierusalimschy
1999-10-11 14:06:01 -02:00
d435b7acd8
read patterns are deprecated; new option `read(n)' to read n bytes.
Roberto Ierusalimschy
1999-10-07 17:18:36 -02:00
63ccf42397
new API function 'lua_type'.
Roberto Ierusalimschy
1999-10-07 17:04:30 -02:00
1942b58609
details
Roberto Ierusalimschy
1999-10-05 16:33:43 -02:00
4343420d4d
simplified version of `gc' tag method (only for userdata now).
Roberto Ierusalimschy
1999-10-04 15:51:04 -02:00
1f7103e05d
implementation of lua_ref (previously in module `lmem').
Roberto Ierusalimschy
1999-10-04 15:50:24 -02:00
dcc10accea
temporary version
Roberto Ierusalimschy
1999-09-29 09:56:22 -03:00
e2fc5aa684
checks table size only when element is a new one
Roberto Ierusalimschy
1999-09-28 09:27:06 -03:00
d53e2d2386
details
Roberto Ierusalimschy
1999-09-27 15:00:25 -03:00
cf9a22396c
"luaH_set" only needs to check size when key is new
Roberto Ierusalimschy
1999-09-22 11:38:45 -03:00
17374d2daa
put_luaObjectonTop' must be public (to be used by lfback.c), and so it must have a "public" name: luaA_putObjectOnTop'
Roberto Ierusalimschy
1999-09-21 13:10:13 -03:00
04265655a8
compatibility with old fallback system now provided by external module
Roberto Ierusalimschy
1999-09-20 11:57:29 -03:00
e10788b2ff
reorganization of `stat' function.
Roberto Ierusalimschy
1999-09-20 11:15:18 -03:00
7eb2f18621
remove of some useless #includes
Roberto Ierusalimschy
1999-09-17 13:53:54 -03:00
a8a75fb7ab
details
Roberto Ierusalimschy
1999-09-13 16:42:02 -03:00
ae3ecc2d4a
tonumber'e1' and tonumber(' ', x), for x!=10, gave 0 instead of nil.
Roberto Ierusalimschy
1999-09-08 17:45:18 -03:00
2e13cd77ab
new interface for `luaO_strtod', which now checks signal, too.
Roberto Ierusalimschy
1999-09-06 17:34:18 -03:00
ff9c0da783
test first the most common case.
Roberto Ierusalimschy
1999-09-06 17:19:22 -03:00
f7fe04d4b7
details.
Roberto Ierusalimschy
1999-09-06 12:24:46 -03:00
82699d0c4f
new interface for `luaO_strtod', which now checks signal, too.
Roberto Ierusalimschy
1999-09-06 10:55:09 -03:00
88866208f0
luaL_arg_check' always has an extramsg'.
Roberto Ierusalimschy
1999-09-06 10:13:03 -03:00
7d365a5c7a
in the (old) expression << ls->fs->f->consts[checkname(ls)] >>, checkname could realloc f->consts.
Roberto Ierusalimschy
1999-09-02 10:13:22 -03:00
52a206366d
bug: in the (old) expression << ls->fs->f->consts[checkname(ls)] >>, checkname could realloc f->consts.
Roberto Ierusalimschy
1999-09-02 10:13:22 -03:00
b2c89ed2d2
new mechanism to access argv from a script
Roberto Ierusalimschy
1999-08-18 14:40:54 -03:00
2a03170ebd
random(0) and random(x,0) are wrong (0 is read as no argument!).
Roberto Ierusalimschy
1999-08-18 11:40:51 -03:00
05f55cc062
more warning checking (mainly related to const strings).
Roberto Ierusalimschy
1999-08-17 17:21:52 -03:00
c787dccd9b
"const" !!!
Roberto Ierusalimschy
1999-08-16 17:52:00 -03:00
b44e35b773
new constants LUA_NOREF and LUA_REFNIL.
Roberto Ierusalimschy
1999-08-11 14:00:59 -03:00
21843f022a
writeto, readfrom, and closefile must return an error code when closing a file.
Roberto Ierusalimschy
1999-08-10 10:05:16 -03:00
900257e814
char-set may contain '%]'
Roberto Ierusalimschy
1999-08-10 09:55:56 -03:00
a82c8185bc
details
Roberto Ierusalimschy
1999-08-10 09:55:47 -03:00
4bbe0679a8
variables _INPUT and _OUTPUT should be read as rawglobal.
Roberto Ierusalimschy
1999-07-22 16:35:50 -03:00
438598aeea
details.
Roberto Ierusalimschy
1999-07-22 16:35:41 -03:00
e9a670695a
details
Roberto Ierusalimschy
1999-07-22 16:29:42 -03:00
16024861bd
new format for numbers in precompiled code (as strings)
Roberto Ierusalimschy
1999-07-08 09:43:23 -03:00
3f43aaa23f
new RedHat defines PI :-(
Roberto Ierusalimschy
1999-07-07 14:54:08 -03:00
3b4c831ca9
some systems do not reset signal handlers when a signal happens
Roberto Ierusalimschy
1999-07-02 15:22:38 -03:00
3fdab3981b
no more automatic setlocale.
Roberto Ierusalimschy
1999-06-24 16:42:02 -03:00
88b65da4d7
simplifications.
Roberto Ierusalimschy
1999-06-23 10:48:39 -03:00
521b38532a
better interfaces for luaD_calln (x luaD_call)
Roberto Ierusalimschy
1999-06-22 17:37:23 -03:00
36b6fe8d17
better treatment for arbitrary limits
Roberto Ierusalimschy
1999-06-17 14:04:03 -03:00
d4dce57f5c
cannot assign to unlimited variables, because it causes overflow in the number of returns of a function.
Roberto Ierusalimschy
1999-06-16 10:35:01 -03:00
5c19ed2a13
bigger limit for number of local variables and upvalues
Roberto Ierusalimschy
1999-06-16 10:22:04 -03:00
5caf7f4a33
tremove erases its previous last element (to avoid locking potential garbagge).
Roberto Ierusalimschy
1999-05-27 17:21:03 -03:00
3b533ea7c7
foreach, foreachi, foreachvar points to function in stack when stack can be reallocated.
Roberto Ierusalimschy
1999-05-24 14:53:49 -03:00
995775e1cb
tighter control on the stack when debugging
Roberto Ierusalimschy
1999-05-24 14:53:03 -03:00
abfc885079
when debugging, move and erase old blocks to realloc.
Roberto Ierusalimschy
1999-05-24 14:51:05 -03:00
613b60c156
detail
Roberto Ierusalimschy
1999-05-21 16:54:06 -03:00
cdd0fe9946
some C compilers cannot initialize a local struct
Roberto Ierusalimschy
1999-05-21 16:41:49 -03:00
bc8619342a
better control of stack size (only for DEBUG).
Roberto Ierusalimschy
1999-05-21 14:23:15 -03:00
48326500d0
longer marks when controling memory leaks
Roberto Ierusalimschy
1999-05-20 17:43:06 -03:00
c8d219798a
lhf
Roberto Ierusalimschy
1999-05-17 11:12:01 -03:00
34695d4f4a
details (message text)
Roberto Ierusalimschy
1999-05-14 09:24:20 -03:00
924bbe020b
bigger limits
Roberto Ierusalimschy
1999-05-14 09:24:04 -03:00
3aa500b524
new pattern item '+'
Roberto Ierusalimschy
1999-05-11 17:46:28 -03:00
f1861ee210
no more beta
Roberto Ierusalimschy
1999-05-11 17:29:19 -03:00
705eae9fe4
there is no need for a size for Cblocks
Roberto Ierusalimschy
1999-05-11 17:08:20 -03:00
6eb1399a1c
array Cblocks should grow dynamically
Roberto Ierusalimschy
1999-05-11 11:19:32 -03:00
c390f73e3b
block must always have a power-of-2 size (even at the limit)
Roberto Ierusalimschy
1999-05-11 11:18:40 -03:00
73308c7605
warnings by clinio
Roberto Ierusalimschy
1999-05-10 10:54:01 -03:00
288fa05602
opcodes with LONGARG do not use byte variants.
Roberto Ierusalimschy
1999-05-06 11:41:41 -03:00
7808ea3a5f
new implementation for '*' in patterns + new option '+'
Roberto Ierusalimschy
1999-05-05 16:23:11 -03:00
732741b62f
cannot use (i=i+1)
Roberto Ierusalimschy
1999-05-05 16:21:57 -03:00