280 Commits (7d4828cc9fdc982ec713922777e77240892474e8)

Author SHA1 Message Date
Roberto Ierusalimschy af850484a9 default metatable can be NULL 21 years ago
Roberto Ierusalimschy 1d10acb355 incremental GC phases 21 years ago
Roberto Ierusalimschy 366e4af3c9 towards incremental GC 21 years ago
Roberto Ierusalimschy b97fb932ec Lua kernel does not use malloc/free functions. 21 years ago
Roberto Ierusalimschy 7dae7899b1 main thread and global state are allocated in a single block 21 years ago
Roberto Ierusalimschy 522407e23a we do not need a default panic (that does nothing anyway...) 22 years ago
Roberto Ierusalimschy fa26d294ae new way to control `pc' of running functions 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 69dd9461e5 bug: GC metamethod calls could mess C/Lua stack syncronization 22 years ago
Roberto Ierusalimschy e75a6ae9ee `defaultmeta' is always empty, but registry needs some space for 22 years ago
Roberto Ierusalimschy 6f207b15fb resist errors in finalizers during lua_close 22 years ago
Roberto Ierusalimschy 754c630754 details 22 years ago
Roberto Ierusalimschy 27c6b4d422 each .c file defines its own name 22 years ago
Roberto Ierusalimschy 2d2d45976c separated control over C recursion level 22 years ago
Roberto Ierusalimschy ddc144e4d2 keep L->ci->base in L->base for faster access 22 years ago
Roberto Ierusalimschy d404f0c276 global_State must be deallocated (and so allocated) with NULL also 22 years ago
Roberto Ierusalimschy be762f38bd better organization of "malloc responsabilities" 22 years ago
Roberto Ierusalimschy 43013b39cc new representation for hooks (to allow asynchronous calls to sethook) 22 years ago
Roberto Ierusalimschy 41fd639cab documentation for write barriers 22 years ago
Roberto Ierusalimschy 2f91f95d94 better control over GCObjects 22 years ago
Roberto Ierusalimschy e356a43dc0 C needs "union" (unlike C++) 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 fdafd4f4a8 new structure for collectable objects, sharing a common header 23 years ago
Roberto Ierusalimschy ecc7769de2 names... 23 years ago
Roberto Ierusalimschy 5016f43aa4 (much) cleaner way to control function states 23 years ago
Roberto Ierusalimschy a2fa48a570 new (old?) error handling scheme 23 years ago
Roberto Ierusalimschy 8b2b8790b5 small bug: basic `ci' must have a valid func (base - 1) 23 years ago
Roberto Ierusalimschy 4e23699aa6 new implementation for error handling 23 years ago
Roberto Ierusalimschy e5146fb01f CallInfo has different fields for C functions and Lua functions 23 years ago
Roberto Ierusalimschy 39b2d58c39 new interface for debug hooks 23 years ago
Roberto Ierusalimschy 1dbe708aa8 new protocol for error handling 23 years ago
Roberto Ierusalimschy 000d081fd0 warnings from other compilers 23 years ago
Roberto Ierusalimschy ff91b355f4 no more use of stdio inside the core (except for `tostring'...) 23 years ago
Roberto Ierusalimschy 01f1ac36b1 `global' tables (registry, etc.) stored in proper place, not in the stack 23 years ago
Roberto Ierusalimschy dea6b6da94 new function `lua_vpushstr' to replace uses of `sprintf' 23 years ago
Roberto Ierusalimschy 751cd867d3 new way to handle errors 23 years ago
Roberto Ierusalimschy 383e8b9e77 use of a common `dummynode' for all empty tables 23 years ago
Roberto Ierusalimschy f388ee4a82 new way to handle errors 23 years ago
Roberto Ierusalimschy c11d374c59 `panic' function configurable via API 23 years ago
Roberto Ierusalimschy 63a614e145 some improvements in stack control 23 years ago
Roberto Ierusalimschy 71c716e5a8 avoid C identifiers beginning with '_' 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 b0a5e156b8 no more maximum stack size 23 years ago
Roberto Ierusalimschy e01f5e6809 better order of record fields for 64-bit machines 23 years ago
Roberto Ierusalimschy d6fd33e76f `eventtable' renamed to `metatable' 23 years ago
Roberto Ierusalimschy 50e2952593 first version of dynamic stack 23 years ago