904 Commits (bf6d2ccf92768be938aaac0a0bfc87833b793e8f)
 

Author SHA1 Message Date
Roberto Ierusalimschy dc90d4bce3 when handling signals (^C), deep old hook values. 26 years ago
Roberto Ierusalimschy f5bc671030 "goto" for tail recursion changed to "while" 26 years ago
Roberto Ierusalimschy d7294c6de8 double hashing for string tables. 26 years ago
Roberto Ierusalimschy 63a752f961 small improvements. 26 years ago
Roberto Ierusalimschy 03d38b66fd new sort algorithm. 26 years ago
Roberto Ierusalimschy b9c9ccfbb4 function "move" for tables is better implemented with some "inside 26 years ago
Roberto Ierusalimschy b94110a68f bug: "format" does not check size of format item (such as "%00000...00000d"). 26 years ago
Roberto Ierusalimschy 8278468041 comments 26 years ago
Roberto Ierusalimschy 4fbb2531b3 don´t need the "+1", the "%" is enough to garantee r<1. 26 years ago
Roberto Ierusalimschy 59f8e6fb77 details ("settable") 26 years ago
Roberto Ierusalimschy 05d89b5c05 new option for function "random": random(a,b) returns a<=x<=b 26 years ago
Roberto Ierusalimschy fe5c41fb8a new functions "tinsert" and "tremove" 26 years ago
Roberto Ierusalimschy 9a45543841 tables are better manipulated via "Hash *" instead of "TObject" or 26 years ago
Roberto Ierusalimschy 766e67ef3b to avoid warnings about "typecast" (Visual C++) 26 years ago
Roberto Ierusalimschy 4c94d8cc2c new function "luaO_str2d" to convert strings to numbers, because 26 years ago
Roberto Ierusalimschy d2de2d5eda format for double is always "%g", do not need #defines 26 years ago
Roberto Ierusalimschy 96a7695275 reorder and rename of most functions, for better documentation. 26 years ago
Roberto Ierusalimschy 63166c0ca0 new implementation of function "read", with predifined options. 26 years ago
Roberto Ierusalimschy a881abfd1e "strtod" is cleaner than "scanf" for this job. 26 years ago
Roberto Ierusalimschy d3ac7075a2 better error message 26 years ago
Roberto Ierusalimschy 0c9080c7a9 "tonumber" goes crazy with negative numbers in other bases (not 10), 26 years ago
Roberto Ierusalimschy b8fcb7b151 details 26 years ago
Roberto Ierusalimschy 5d6de9075d "print" uses fputs instead of printf (easier to reimplement). 26 years ago
Roberto Ierusalimschy 21cff3015a details (for regularity) 26 years ago
Roberto Ierusalimschy 5ca2709ba0 small warnings 26 years ago
Roberto Ierusalimschy bb1cb7b9f1 NUMBER_FMT also may be predefined in makefile 26 years ago
Roberto Ierusalimschy c64f36ab2b better behavior for "strsub" when indices are out-of-range 26 years ago
Roberto Ierusalimschy e4830ddce3 new option "mode" in "readfrom", "writeto" and "appendto" (for 26 years ago
Roberto Ierusalimschy 758e330d6e new functions "getn" and "foreachi" 26 years ago
Roberto Ierusalimschy 8e3bd752bb small optimization in "sort" + new functions "getn" and "foreachi" 26 years ago
Roberto Ierusalimschy a84bca67fc bug: gsub/strfind do not check whether captures are properly finished. 26 years ago
Roberto Ierusalimschy 4ccfb2f9bc "_TRIGMODE" was still being declared. 27 years ago
Roberto Ierusalimschy ce9609296c function "luaL_argerror" prints wrong argument number (from a user's point 27 years ago
Roberto Ierusalimschy b1450721be new function "lua_nups" (number of upvalues). 27 years ago
Roberto Ierusalimschy b04294d3d8 details. 27 years ago
Roberto Ierusalimschy 22c2704842 "lua_state" is already declared in lua.h, which is included here. 27 years ago
Roberto Ierusalimschy ee22af5ced new functions "seek" and "flush". 27 years ago
Roberto Ierusalimschy cc117253c8 new implementation for error handling: on error, function _ERRORMESSAGE 27 years ago
Roberto Ierusalimschy 8e226e6a09 small bug: nuse may change when table is rehashed; 27 years ago
Roberto Ierusalimschy 1d420c2c11 better error message for code too long (old one was misleading when the 27 years ago
Roberto Ierusalimschy 5378331f2d hash tables may shrink if use rate is too small. 27 years ago
Roberto Ierusalimschy 894a264671 new hash function. 27 years ago
Roberto Ierusalimschy e1a127245d details ("luaX_token2str" doesn't need LexState) 27 years ago
Roberto Ierusalimschy afb5ef72e1 new function "sort" + many small changes 27 years ago
Roberto Ierusalimschy 1d8edd347d small changes to use new auxiliar functions 27 years ago
Roberto Ierusalimschy 41d9ea948c auxiliar functions "luaH_setint" & "luaH_getint". 27 years ago
Roberto Ierusalimschy ee912e5a7f auxiliar function "luaD_calln". 27 years ago
Roberto Ierusalimschy ad446a0eb0 "%q" can handle strings with '\0'. 27 years ago
Roberto Ierusalimschy 176cb39feb macro encapsulates de "-". 27 years ago
Roberto Ierusalimschy 64ad009fb2 "fileName" cannot be NULL 27 years ago