229 Commits (1aa4f69b51a92dc4f5c9d35925b9977d35650679)

Author SHA1 Message Date
Roberto Ierusalimschy c94f11d783 'IntPoint' -> 'point2int' + ensure that casted value fits in 11 years ago
Roberto Ierusalimschy 14929f5764 use appropriate macros to convert GCObject to specific types 11 years ago
Roberto Ierusalimschy c98f195eb9 function 'luaV_numtointeger' changed to a global macro 11 years ago
Roberto Ierusalimschy 037a70dfea cast_u2s/cast_s2u renamed l_castS2U/l_castU2S to be configurable from 11 years ago
Roberto Ierusalimschy 8f961da3db macros cast_integer/cast_unsigned replaced by cast_u2s/cast_s2u, that 11 years ago
Roberto Ierusalimschy 675530c4d8 maximum size of array part of a table now is restricted not only by 11 years ago
Roberto Ierusalimschy 607be77ec8 some details to avoid warnings 11 years ago
Roberto Ierusalimschy 86dd8bf3f5 no more 'L' in macros "luai_num*" (several places that use those macros 11 years ago
Roberto Ierusalimschy 1150873447 'luaC_newobj' does not handle special cases; only special case 11 years ago
Roberto Ierusalimschy 26629d0af1 details (a few casts moved from macro invocation to macro definition) 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 caceeab750 'next' field for tables changed from pointer to integer (for better 11 years ago
Roberto Ierusalimschy 453450d687 new macro 'l_floor' (allows 'floorf' even when other math operations 12 years ago
Roberto Ierusalimschy 188192ce9a 'luai_hashnum' "inlined" into 'hashfloat' 12 years ago
Roberto Ierusalimschy d630daca1a "legal" way to convert a float to an integer in C 12 years ago
Roberto Ierusalimschy 88bf2f83c0 new function 'tointeger' + 'luaV_arith' replaced by 'luaT_trybinTM' 12 years ago
Roberto Ierusalimschy d4e6b75098 "integer" keys in tables are now lua_Integer, not 'int'. 12 years ago
Roberto Ierusalimschy 07f861385e first steps in the support of integers: basic representation + table indexing + basic API ops (tointeger/pushinteger) + equality + a few extra stuff 12 years ago
Roberto Ierusalimschy 8287a0db55 detail 12 years ago
Roberto Ierusalimschy 054c20cd5b spaces -> tabs in #defines 13 years ago
Roberto Ierusalimschy 678c1255c9 random seed used in the hash of all strings to avoid intentional 13 years ago
Roberto Ierusalimschy a4b96ce9a3 first implementation of long strings 13 years ago
Roberto Ierusalimschy 9f1a8dbdd3 'eqstr' -> 'luaS_eqstr' 13 years ago
Roberto Ierusalimschy e21b26a964 avoid 'return' "to avoid warnings" 13 years ago
Roberto Ierusalimschy 217b65e6d9 avoid some warnings about converting 32-bit shifts into 64-bit results 13 years ago
Roberto Ierusalimschy 9caf5b4f79 lint (unused definition) 13 years ago
Roberto Ierusalimschy 87912786af dead objects are not collectable. 13 years ago
Roberto Ierusalimschy 68ce878292 cannot compute 'mainposition' before checking whether key is nil 13 years ago
Roberto Ierusalimschy 89b59eee73 bug: __newindex metamethod may not work if metatable is its own 13 years ago
Roberto Ierusalimschy 92afcf2823 no more 'luaH_setstr (used only once) + 'luaH_setint' receives value 13 years ago
Roberto Ierusalimschy 817f8674af avoid warning about -unsigned value 14 years ago
Roberto Ierusalimschy f62565abea avoid warnings with -Wstrict-overflow 14 years ago
Roberto Ierusalimschy 3b44821334 stricter control (using tag variants) over closure kinds (Lua x C) 14 years ago
Roberto Ierusalimschy 821bd7025e more uniform names for 'equalobj'-related functions 14 years ago
Roberto Ierusalimschy 9b7dddad7d no need for two different implementations for equality (one raw and 14 years ago
Roberto Ierusalimschy c9ce754e38 comment 14 years ago
Roberto Ierusalimschy 1ffdd0bc7a detail (should use macro 'ttisdeadkey') 14 years ago
Roberto Ierusalimschy 23b9ceb0a4 allows larger array parts in tables (no need to restrict it to 2^26) 14 years ago
Roberto Ierusalimschy d9ea6eca7c macro 'key2tal' replaced by 'gkey' (as both were equal) 15 years ago
Roberto Ierusalimschy 3819c30e55 better names for barrier macros 15 years ago
Roberto Ierusalimschy 53f9499f7f "light C function" is a better name than "C-function pointer" 15 years ago
Roberto Ierusalimschy 7dfa4cd655 first implementation of light C functions 15 years ago
Roberto Ierusalimschy d394d5536a new macro 'eqstr' 15 years ago
Roberto Ierusalimschy 0bbdddc86b allocator function receives the tag of object being allocated in 'osize' 15 years ago
Roberto Ierusalimschy 3c4d970a7b comment typos 15 years ago
Roberto Ierusalimschy 2e5ef6a9fb new macro 'isdummy' 15 years ago
Roberto Ierusalimschy 49a67c6d3f new macro 'NILCONSTANT' to initialize nil constants 15 years ago
Roberto Ierusalimschy 9756f56354 better control over accesses to TValue fields 15 years ago
Roberto Ierusalimschy f6ed285cf2 new hash for doubles based on frexp, to avoid low-level tricks 15 years ago