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
|
6f207b15fb
|
resist errors in finalizers during lua_close
|
2003-02-10 15:32:50 -02:00 |
|
Roberto Ierusalimschy
|
dd8edecae1
|
new functions to manipulate upvales (get/setupvalue)
|
2002-12-19 09:11:55 -02:00 |
|
Roberto Ierusalimschy
|
27c6b4d422
|
each .c file defines its own name
|
2002-12-04 15:38:31 -02:00 |
|
Roberto Ierusalimschy
|
c75c3cfd19
|
avoid names `str...' (may conflict with string.h)
|
2002-12-02 10:06:10 -02:00 |
|
Roberto Ierusalimschy
|
e47baca75a
|
warnings from Visual C++
|
2002-11-25 10:38:47 -02:00 |
|
Roberto Ierusalimschy
|
dbc5451bea
|
comments
|
2002-11-22 16:01:46 -02:00 |
|
Roberto Ierusalimschy
|
5142e630bf
|
new macro `condhardstacktests' to control hard stack tests
|
2002-11-21 15:19:11 -02:00 |
|
Roberto Ierusalimschy
|
2e4e888de0
|
Lua functions must have a frame or a saved pc.
|
2002-11-21 13:46:20 -02:00 |
|
Roberto Ierusalimschy
|
aff97fffc4
|
C functions cannot increase its top without filling the stack
|
2002-11-21 12:17:15 -02:00 |
|
Roberto Ierusalimschy
|
43013b39cc
|
new representation for hooks (to allow asynchronous calls to sethook)
|
2002-11-18 09:01:55 -02:00 |
|
Roberto Ierusalimschy
|
5c5d9b2703
|
back to `__mode' metafield to specify weakness
|
2002-11-14 10:01:35 -02:00 |
|
Roberto Ierusalimschy
|
3010eb0536
|
all objects with several children (tables, closures, stacks, prototypes)
go to `gray' queue
|
2002-11-13 09:49:19 -02:00 |
|
Roberto Ierusalimschy
|
ac27b7a842
|
avoid traversing extra elements when cleaning weak tables
|
2002-11-11 09:52:43 -02:00 |
|
Roberto Ierusalimschy
|
dff9be4224
|
new macros to distinguish different types of object moves (for future GC
evolution).
|
2002-11-07 13:37:10 -02:00 |
|
Roberto Ierusalimschy
|
96e15b8501
|
threads now are real Lua objects, subject to garbage collection
|
2002-10-25 17:05:28 -03:00 |
|
Roberto Ierusalimschy
|
81bc5711a8
|
only one instance of registry and default metatable per global state
|
2002-10-22 14:58:14 -03:00 |
|
Roberto Ierusalimschy
|
b3d0682fb9
|
use of different buffers for scanner and concatenation
|
2002-10-08 15:46:08 -03:00 |
|
Roberto Ierusalimschy
|
6fb0fd5063
|
avoid `reclearing' weak tables
|
2002-09-19 16:54:22 -03:00 |
|
Roberto Ierusalimschy
|
afe1305b1a
|
avoid luaS_resize (which may need extra memory) during `main' activities
|
2002-09-05 16:57:40 -03:00 |
|
Roberto Ierusalimschy
|
4964e7c8a0
|
details
|
2002-09-02 16:54:49 -03:00 |
|
Roberto Ierusalimschy
|
fdafd4f4a8
|
new structure for collectable objects, sharing a common header
|
2002-08-30 16:09:21 -03:00 |
|
Roberto Ierusalimschy
|
ecc7769de2
|
names...
|
2002-08-16 17:00:28 -03:00 |
|
Roberto Ierusalimschy
|
da19c436cc
|
cleaning the stage for generational collection
|
2002-08-16 11:45:55 -03:00 |
|
Roberto Ierusalimschy
|
634344d61f
|
new API for weak mode
|
2002-08-06 14:06:56 -03:00 |
|
Roberto Ierusalimschy
|
5037196f6f
|
new macros `ttis*'
|
2002-08-05 11:50:39 -03:00 |
|
Roberto Ierusalimschy
|
79c8edb6c4
|
new names for light userdata operations
|
2002-07-17 13:25:13 -03:00 |
|
Roberto Ierusalimschy
|
39b2d58c39
|
new interface for debug hooks
|
2002-07-08 15:21:33 -03:00 |
|
Roberto Ierusalimschy
|
1ede98157d
|
strings are always `strong' in weaktables
|
2002-07-04 14:58:02 -03:00 |
|
Roberto Ierusalimschy
|
9f4b5b5232
|
weak keys are removed only after finalization
|
2002-07-01 14:06:58 -03:00 |
|
Roberto Ierusalimschy
|
9d6556fd87
|
userdata are removed from weaktables before invoking their GC fallbacks
|
2002-06-25 16:17:42 -03:00 |
|
Roberto Ierusalimschy
|
2394604d10
|
assertion may fail when closing a state
|
2002-06-24 14:19:43 -03:00 |
|
Roberto Ierusalimschy
|
3941af53ad
|
first implementation of independent global table per function
|
2002-06-20 17:41:46 -03:00 |
|
Roberto Ierusalimschy
|
01f1ac36b1
|
`global' tables (registry, etc.) stored in proper place, not in the stack
|
2002-05-08 14:34:23 -03:00 |
|
Roberto Ierusalimschy
|
383e8b9e77
|
use of a common `dummynode' for all empty tables
|
2002-04-23 12:04:39 -03:00 |
|
Roberto Ierusalimschy
|
237969724f
|
support for light' userdata + simpler support for boxed' udata
|
2002-04-05 15:54:31 -03:00 |
|
Roberto Ierusalimschy
|
0b9b53e21c
|
details
|
2002-03-26 15:55:50 -03:00 |
|
Roberto Ierusalimschy
|
19ac0fadc9
|
don't need to mark the stacks twice ;-)
|
2002-03-20 15:54:29 -03:00 |
|
Roberto Ierusalimschy
|
ca2ceef659
|
simpler solution for finalizing udata
|
2002-03-20 15:37:28 -03:00 |
|
Roberto Ierusalimschy
|
8f837e83b2
|
using `ci->top' to control acceptable indices in C calls
|
2002-03-07 15:14:29 -03:00 |
|
Roberto Ierusalimschy
|
457d88eaaa
|
configurable minimum size for the string table
|
2002-03-05 13:22:54 -03:00 |
|
Roberto Ierusalimschy
|
1a3f175640
|
small optimization
|
2002-03-04 18:32:34 -03:00 |
|
Roberto Ierusalimschy
|
d6fd33e76f
|
eventtable' renamed to metatable'
|
2002-01-30 15:26:44 -02:00 |
|
Roberto Ierusalimschy
|
50e2952593
|
first version of dynamic stack
|
2002-01-25 20:14:54 -02:00 |
|
Roberto Ierusalimschy
|
d56d4cf776
|
distinct functions to create/destroy states and threads
|
2002-01-11 18:26:52 -02:00 |
|
Roberto Ierusalimschy
|
b3bb0f132b
|
new interface for weak modes
|
2002-01-09 19:50:35 -02:00 |
|
Roberto Ierusalimschy
|
e04f7ed450
|
first version of Lua "stackless"
|
2001-12-18 18:52:30 -02:00 |
|
Roberto Ierusalimschy
|
21259a50e1
|
run GC tag methods in protected mod
|
2001-12-12 15:47:33 -02:00 |
|
Roberto Ierusalimschy
|
9aff171f3b
|
new type `boolean'
|
2001-12-11 20:48:44 -02:00 |
|
Roberto Ierusalimschy
|
ed9be5e1f0
|
reentrant implementation of garbage collection
|
2001-12-11 14:52:57 -02:00 |
|