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
|
7964f7cbbd
|
more complete information for coroutine errors
|
2003-02-10 08:21:31 -02:00 |
|
Roberto Ierusalimschy
|
75f73172c4
|
bug: `resume' was checking the wrong value for stack overflow
|
2002-12-20 07:55:56 -02:00 |
|
Roberto Ierusalimschy
|
acf62ddfbe
|
"load*" creates chunk with same global table than caller
|
2002-12-06 15:05:15 -02:00 |
|
Roberto Ierusalimschy
|
27c6b4d422
|
each .c file defines its own name
|
2002-12-04 15:38:31 -02:00 |
|
Roberto Ierusalimschy
|
76de732745
|
avoid non-raw accesses to globals when variable may not exist
|
2002-12-04 13:38:25 -02:00 |
|
Roberto Ierusalimschy
|
1f55dbc699
|
details
|
2002-11-26 10:53:29 -02:00 |
|
Roberto Ierusalimschy
|
8954bdc706
|
new `coroutine.status' function
|
2002-11-26 06:45:36 -02:00 |
|
Roberto Ierusalimschy
|
9b1c586b2f
|
renaming stringdump' -> string.dump'
|
2002-11-25 15:33:33 -02:00 |
|
Roberto Ierusalimschy
|
dbc5451bea
|
comments
|
2002-11-22 16:01:46 -02:00 |
|
Roberto Ierusalimschy
|
18765d900e
|
messages
|
2002-11-18 09:20:01 -02:00 |
|
Roberto Ierusalimschy
|
097edd3884
|
better names for auxiliar functions
|
2002-11-14 13:41:38 -02:00 |
|
Roberto Ierusalimschy
|
5c5d9b2703
|
back to `__mode' metafield to specify weakness
|
2002-11-14 10:01:35 -02:00 |
|
Roberto Ierusalimschy
|
63633c5b5f
|
better name for `lua_movethread'
|
2002-11-07 13:39:23 -02:00 |
|
Roberto Ierusalimschy
|
118347d8c3
|
new API for coroutines
|
2002-11-06 17:08:00 -02:00 |
|
Roberto Ierusalimschy
|
7e0f880bc5
|
C++ demands cast from void to specific types
|
2002-10-25 18:36:54 -03:00 |
|
Roberto Ierusalimschy
|
118e9cd843
|
new facility for dumping chunks
|
2002-10-25 18:31:28 -03:00 |
|
Roberto Ierusalimschy
|
96e15b8501
|
threads now are real Lua objects, subject to garbage collection
|
2002-10-25 17:05:28 -03:00 |
|
Roberto Ierusalimschy
|
92a2ef9dca
|
field `__globals' protect global tables
|
2002-10-22 16:41:08 -03:00 |
|
Roberto Ierusalimschy
|
32a5d96dfc
|
`setmetatable' cannot change protected objects
|
2002-09-16 16:49:45 -03:00 |
|
Roberto Ierusalimschy
|
1bdde38bd2
|
no more newlines at the end of error messages
|
2002-09-05 16:45:42 -03:00 |
|
Roberto Ierusalimschy
|
9998082839
|
external messages add their own extra information
|
2002-08-08 17:08:41 -03:00 |
|
Roberto Ierusalimschy
|
4664f2e927
|
any Lua closure has a table of globals (not only active functions)
|
2002-08-06 15:54:18 -03:00 |
|
Roberto Ierusalimschy
|
2e38c6ae5a
|
luadebug.h' content now is included in lua.h'
|
2002-08-06 15:01:50 -03:00 |
|
Roberto Ierusalimschy
|
634344d61f
|
new API for weak mode
|
2002-08-06 14:06:56 -03:00 |
|
Roberto Ierusalimschy
|
a2fa48a570
|
new (old?) error handling scheme
|
2002-08-06 12:32:22 -03:00 |
|
Roberto Ierusalimschy
|
2dcc31574f
|
new function xpcall
|
2002-08-05 11:46:02 -03:00 |
|
Roberto Ierusalimschy
|
79c8edb6c4
|
new names for light userdata operations
|
2002-07-17 13:25:13 -03:00 |
|
Roberto Ierusalimschy
|
1ede98157d
|
strings are always `strong' in weaktables
|
2002-07-04 14:58:02 -03:00 |
|
Roberto Ierusalimschy
|
aa3da1605c
|
`newproxy' uses its own weaktable
|
2002-07-01 16:23:58 -03:00 |
|
Roberto Ierusalimschy
|
5fabed21a1
|
getglobals(0) is the C global table
|
2002-06-26 17:36:17 -03:00 |
|
Roberto Ierusalimschy
|
f67ccfbdeb
|
no more `lua_getn' function
|
2002-06-26 16:28:44 -03:00 |
|
Roberto Ierusalimschy
|
88607acc2c
|
details
|
2002-06-26 13:37:23 -03:00 |
|
Roberto Ierusalimschy
|
25dc9b7faf
|
new functions dofile' and pairs'; correct way to check proxies
|
2002-06-25 16:19:33 -03:00 |
|
Roberto Ierusalimschy
|
1a4c428d6d
|
new function `newproxy'
|
2002-06-24 14:23:16 -03:00 |
|
Roberto Ierusalimschy
|
3941af53ad
|
first implementation of independent global table per function
|
2002-06-20 17:41:46 -03:00 |
|
Roberto Ierusalimschy
|
1dbe708aa8
|
new protocol for error handling
|
2002-06-18 12:19:27 -03:00 |
|
Roberto Ierusalimschy
|
eb3de8768a
|
rawcall' -> upcall' (unprotected call)
|
2002-06-13 10:44:50 -03:00 |
|
Roberto Ierusalimschy
|
864c96f36c
|
new fallback for equality `__eq'
|
2002-06-13 10:39:55 -03:00 |
|
Roberto Ierusalimschy
|
f1c43bbe19
|
new function `xpcall' (at least for now...)
|
2002-06-06 09:39:48 -03:00 |
|
Roberto Ierusalimschy
|
5b8ee9fa8d
|
new names for standard libraries
|
2002-06-05 14:24:04 -03:00 |
|
Roberto Ierusalimschy
|
6dd0b6c62b
|
details
|
2002-06-05 13:59:21 -03:00 |
|
Roberto Ierusalimschy
|
ad7103ea3a
|
lua_load* defined in auxlib (and so renamed to luaL_load*)
|
2002-06-03 17:11:41 -03:00 |
|
Roberto Ierusalimschy
|
f53fd8d5f5
|
_ALERT is a private afair of lua.c
|
2002-05-16 16:09:19 -03:00 |
|
Roberto Ierusalimschy
|
955def0348
|
new names for string formating functions
|
2002-05-16 15:39:46 -03:00 |
|
Roberto Ierusalimschy
|
8da6fe62d8
|
`nexti' returns correct indices
|
2002-05-13 10:10:58 -03:00 |
|
Roberto Ierusalimschy
|
71144e3ff0
|
errors `return' int, to avoid warnings
+ home-made `sprintf' (first version)
|
2002-05-06 16:05:10 -03:00 |
|
Roberto Ierusalimschy
|
85dcb411a8
|
all textual errors go through `luaL_verror'
|
2002-05-02 14:12:27 -03:00 |
|
Roberto Ierusalimschy
|
751cd867d3
|
new way to handle errors
|
2002-05-01 17:48:12 -03:00 |
|