313 Commits (011850a8f86f514d1ba2ebf7a9411c8036b917f4)

Author SHA1 Message Date
Roberto Ierusalimschy 84910e04e2 better implementation for 'hash_search', without using 'size_t' 8 years ago
Roberto Ierusalimschy 3d879fbc5d reimplementation of 'luaH_getn', trying to handle numeric limits 8 years ago
Roberto Ierusalimschy b1b7790f7c detail ('1' -> '1u' in unsigned operation) 8 years ago
Roberto Ierusalimschy 7b1fba69b7 using 'lastfree == NULL' to signal that table is using the dummy 8 years ago
Roberto Ierusalimschy d103312661 details (typos in comments) 9 years ago
Roberto Ierusalimschy 5100bc8aa1 no need for a special case to get long strings (not that common) 9 years ago
Roberto Ierusalimschy 7485512384 added comment and assert about dead keys 9 years ago
Roberto Ierusalimschy 46de77b219 bug: despite its name, 'luaH_getstr' did not work for strings in 9 years ago
Roberto Ierusalimschy 8950e0c049 avoid possibility of subtle arith. overflow 9 years ago
Roberto Ierusalimschy 2de3361c6c detail 9 years ago
Roberto Ierusalimschy cbef15f3ea comment (FALLTHROUGH position) 10 years ago
Roberto Ierusalimschy a71c0ab861 detail (removed useless '#include') 10 years ago
Roberto Ierusalimschy 65ac789565 detail (comment) 10 years ago
Roberto Ierusalimschy 63720a4290 janitor work (comments, variable names, some other details) 10 years ago
Roberto Ierusalimschy 3a91274547 details (avoid 'lint' warnings) 10 years ago
Roberto Ierusalimschy a00013c8d0 'point2int' -> 'point2uint' (to reflect its actual result type) 10 years ago
Roberto Ierusalimschy 81245b1ad5 'numisinteger' (for table keys) replaced by 'luaV_tointeger' (old 10 years ago
Roberto Ierusalimschy 397ce11996 make 'hashfloat' configurable 10 years ago
Roberto Ierusalimschy 419e2cb01d detail (file does not need 'string.h') 10 years ago
Roberto Ierusalimschy e0306e386f some changes in 'hashfloat' to avoid undefined (in ISO C) numerical 10 years ago
Roberto Ierusalimschy 7e2015a46d size of short strings stored in a single byte, to reduce the size 10 years ago
Roberto Ierusalimschy 3c55790ebe 'setkey' -> 'setnodekey' (to avoid conflicts with POSIX) 10 years ago
Roberto Ierusalimschy 28fdbcf393 added include for 'lprefix.h', for stuff that must be added before 10 years ago
Roberto Ierusalimschy bdf566a8a3 `name' in comments changed to 'name' 10 years ago
Roberto Ierusalimschy 463edee2fd 'lua_numtointeger' -> 'lua_numbertointeger' 10 years ago
Roberto Ierusalimschy f97c64d7bf macros 'LUA_QL'/'LUA_QL' deprecated 10 years ago
Roberto Ierusalimschy 3a15c7ce43 size for array part of a table ('sizearray') changed from 'int' to 10 years ago
Roberto Ierusalimschy f5c690b684 details in comments 10 years ago
Roberto Ierusalimschy 07c7fdb9df simpler definition for 'setobj' (trust the compiler for the assignment) 10 years ago
Roberto Ierusalimschy ca41b43f53 type 'TString' refers directly to the structure inside the union 10 years ago
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