3947 Commits (115087344797d0aafb23f4fe5b902fdebd2c3310)
 

Author SHA1 Message Date
Roberto Ierusalimschy 1150873447 'luaC_newobj' does not handle special cases; only special case 11 years ago
Roberto Ierusalimschy 79ab21be90 more invariants added to memory check 11 years ago
Roberto Ierusalimschy d3bbb34c24 back to open hashing for the string table (but with a different 11 years ago
Roberto Ierusalimschy 0ad15fc100 better (and correct!) control of 'maybedead' 11 years ago
Roberto Ierusalimschy aeff4f79fa local collection now calls finalizers 11 years ago
Roberto Ierusalimschy 1bf4faec64 new GC state to sweep 'localgc' list + small changes in sweep control 11 years ago
Roberto Ierusalimschy 8ef9e8460e bug (GC can collect long identifier during parser) + change (using 11 years ago
Roberto Ierusalimschy 4f292d753c bug: GC can collect a long string still in use during parser 11 years ago
Roberto Ierusalimschy 26629d0af1 details (a few casts moved from macro invocation to macro definition) 11 years ago
Roberto Ierusalimschy b5e75fde4e bug: local collection must clear rest of stack 11 years ago
Roberto Ierusalimschy 9a871dd3db tables and userdata all go to local list, too 11 years ago
Roberto Ierusalimschy 90972ff136 LOCALBLACK changed to LOCALMARK and used also to control whether object 11 years ago
Roberto Ierusalimschy af35c7f398 upvalues collected by reference count 11 years ago
Roberto Ierusalimschy 742b7377d3 Lua closures go to local, too 11 years ago
Roberto Ierusalimschy 50955e27f5 C functions and strings now go to the local list; first version 11 years ago
Roberto Ierusalimschy 33c49f7fa0 some details over new implementation of string table 11 years ago
Roberto Ierusalimschy 0df6635711 "fixed" objects kept in a separated list (instead of being kept in 11 years ago
Roberto Ierusalimschy ae800656c9 change in string table: string table is now independent of GC lists; all 11 years ago
Roberto Ierusalimschy 8c68863960 initial size of string table (MINSTRTABSIZE) should be large enough 11 years ago
Roberto Ierusalimschy 8f6b80aa1d GC bits SEPARATED and FINALIZEDBIT mixed in FINALIZEDBIT (with simpler 11 years ago
Roberto Ierusalimschy 9eff921f8f "barrier" for link prototype->cache changed to be consistent with 11 years ago
Roberto Ierusalimschy 8e6b7ef9ab new function 'isgclocal' + test for GC consistency of prototype's caches 11 years ago
Roberto Ierusalimschy caceeab750 'next' field for tables changed from pointer to integer (for better 11 years ago
Roberto Ierusalimschy 3991312b94 details 11 years ago
Roberto Ierusalimschy 439d74e29f added 'local' bit (true => object is only refered by local variables) 11 years ago
Roberto Ierusalimschy 3679d33b02 barrier conditions rewritten to test first 'isblack' and then 'iswhite' 11 years ago
Roberto Ierusalimschy 78b941039d change to allow collector to stop when it goes to the atomic phase 11 years ago
Roberto Ierusalimschy 623e388bb4 double-linked list of all upvalues elliminated and changed to a 11 years ago
Roberto Ierusalimschy 677d90165f no more generational collection !!! 11 years ago
Roberto Ierusalimschy 4244da96bf 'debug.subtype' -> 'math.type' (to distinguish integers and floats) 11 years ago
Roberto Ierusalimschy fcf99bf788 'math.isfloat' replaced by 'debug.subtype' 11 years ago
Roberto Ierusalimschy 98d76cdcae bug: Wrong error message in some short-cut expressions 11 years ago
Roberto Ierusalimschy 2f8c51a552 use unsigneds for unary minus, too 11 years ago
Roberto Ierusalimschy b5f5fcd782 use different constants (instead of different values for the same constant) 11 years ago
Roberto Ierusalimschy 2ef9bcfd11 avoid undefined shift of LUA_NBITS in rotate operation 11 years ago
Roberto Ierusalimschy 5fa680d47f no need for type 'b_uint' (lua_Unsigned must have at least 32 bits) 11 years ago
Roberto Ierusalimschy 48735da0d0 When loading a file, Lua may call the reader function again after 12 years ago
Roberto Ierusalimschy 2b4bd21585 'tonumber': base must be a number 12 years ago
Roberto Ierusalimschy beff5b078a 'tonumber': does not accept numbers when given a base + convertion from 12 years ago
Roberto Ierusalimschy 5519c98655 'lua_cvtonum' -> 'lua_strtonum'; converts only strings to numbers 12 years ago
Roberto Ierusalimschy cbe164191c new function 'ifloor' 12 years ago
Roberto Ierusalimschy 66d046833d no need to check "bad conversion number->int;" in luaL_checkversion, 12 years ago
Roberto Ierusalimschy 15fdbd26fe 'numbits' moved from 'math' to 'debug' library 12 years ago
Roberto Ierusalimschy 2b4975dca7 LUA_SMALL_* changed to LUA_*SIZE + added support for long double + better 12 years ago
Roberto Ierusalimschy e39da66c8c macro 'lua_strx2number' does not need to be global 12 years ago
Roberto Ierusalimschy 483c2ccd0f avoid using raw representation of numbers for hashing, as number may 12 years ago
Roberto Ierusalimschy 982aa7058f 'luaL_len' returns lua_Integer instead of 'int' 12 years ago
Roberto Ierusalimschy 80cdf39d0e avoid using 'modf' in the implementation of 'math.modf', to avoid 12 years ago
Roberto Ierusalimschy 45f3797a5b 'long' may have more than 32 bits in some machines; use 'int' for 12 years ago
Roberto Ierusalimschy de6e5a5919 small bugs uncovered in a 64-bit machine (where 'long' has 64 bits) 12 years ago