473 Commits (9cf3299fafa41718e3cb260cc94d1d29bba6335b)

Author SHA1 Message Date
Roberto Ierusalimschy ecf5730c0c (much) smarter way to clear weak tables 22 years ago
Roberto Ierusalimschy 572a69df78 Lua does not need all those different types... 22 years ago
Roberto Ierusalimschy 0d88545b82 warnings from several compilers (mainly typecasts when lua_Number is float) 22 years ago
Roberto Ierusalimschy ab9e062928 name changes to avoid name collision between macros and variables 22 years ago
Roberto Ierusalimschy 7a40cdbda0 different variables for number of upvalues and size of upvalue array 22 years ago
Roberto Ierusalimschy 6f207b15fb resist errors in finalizers during lua_close 22 years ago
Roberto Ierusalimschy dd8edecae1 new functions to manipulate upvales (get/setupvalue) 22 years ago
Roberto Ierusalimschy 27c6b4d422 each .c file defines its own name 22 years ago
Roberto Ierusalimschy c75c3cfd19 avoid names `str...' (may conflict with string.h) 22 years ago
Roberto Ierusalimschy e47baca75a warnings from Visual C++ 22 years ago
Roberto Ierusalimschy dbc5451bea comments 22 years ago
Roberto Ierusalimschy 5142e630bf new macro `condhardstacktests' to control hard stack tests 22 years ago
Roberto Ierusalimschy 2e4e888de0 Lua functions must have a frame or a saved pc. 22 years ago
Roberto Ierusalimschy aff97fffc4 C functions cannot increase its top without filling the stack 22 years ago
Roberto Ierusalimschy 43013b39cc new representation for hooks (to allow asynchronous calls to sethook) 22 years ago
Roberto Ierusalimschy 5c5d9b2703 back to `__mode' metafield to specify weakness 22 years ago
Roberto Ierusalimschy 3010eb0536 all objects with several children (tables, closures, stacks, prototypes) 22 years ago
Roberto Ierusalimschy ac27b7a842 avoid traversing extra elements when cleaning weak tables 22 years ago
Roberto Ierusalimschy dff9be4224 new macros to distinguish different types of object moves (for future GC 22 years ago
Roberto Ierusalimschy 96e15b8501 threads now are real Lua objects, subject to garbage collection 22 years ago
Roberto Ierusalimschy 81bc5711a8 only one instance of registry and default metatable per global state 22 years ago
Roberto Ierusalimschy b3d0682fb9 use of different buffers for scanner and concatenation 22 years ago
Roberto Ierusalimschy 6fb0fd5063 avoid `reclearing' weak tables 22 years ago
Roberto Ierusalimschy afe1305b1a avoid luaS_resize (which may need extra memory) during `main' activities 22 years ago
Roberto Ierusalimschy 4964e7c8a0 details 23 years ago
Roberto Ierusalimschy fdafd4f4a8 new structure for collectable objects, sharing a common header 23 years ago
Roberto Ierusalimschy ecc7769de2 names... 23 years ago
Roberto Ierusalimschy da19c436cc cleaning the stage for generational collection 23 years ago
Roberto Ierusalimschy 634344d61f new API for weak mode 23 years ago
Roberto Ierusalimschy 5037196f6f new macros `ttis*' 23 years ago
Roberto Ierusalimschy 79c8edb6c4 new names for light userdata operations 23 years ago
Roberto Ierusalimschy 39b2d58c39 new interface for debug hooks 23 years ago
Roberto Ierusalimschy 1ede98157d strings are always `strong' in weaktables 23 years ago
Roberto Ierusalimschy 9f4b5b5232 weak keys are removed only after finalization 23 years ago
Roberto Ierusalimschy 9d6556fd87 userdata are removed from weaktables before invoking their GC fallbacks 23 years ago
Roberto Ierusalimschy 2394604d10 assertion may fail when closing a state 23 years ago
Roberto Ierusalimschy 3941af53ad first implementation of independent global table per function 23 years ago
Roberto Ierusalimschy 01f1ac36b1 `global' tables (registry, etc.) stored in proper place, not in the stack 23 years ago
Roberto Ierusalimschy 383e8b9e77 use of a common `dummynode' for all empty tables 23 years ago
Roberto Ierusalimschy 237969724f support for `light' userdata + simpler support for `boxed' udata 23 years ago
Roberto Ierusalimschy 0b9b53e21c details 23 years ago
Roberto Ierusalimschy 19ac0fadc9 don't need to mark the stacks twice ;-) 23 years ago
Roberto Ierusalimschy ca2ceef659 simpler solution for finalizing udata 23 years ago
Roberto Ierusalimschy 8f837e83b2 using `ci->top' to control acceptable indices in C calls 23 years ago
Roberto Ierusalimschy 457d88eaaa configurable minimum size for the string table 23 years ago
Roberto Ierusalimschy 1a3f175640 small optimization 23 years ago
Roberto Ierusalimschy d6fd33e76f `eventtable' renamed to `metatable' 23 years ago
Roberto Ierusalimschy 50e2952593 first version of dynamic stack 23 years ago
Roberto Ierusalimschy d56d4cf776 distinct functions to create/destroy states and threads 23 years ago
Roberto Ierusalimschy b3bb0f132b new interface for weak modes 23 years ago