Commit History

Autor SHA1 Mensaxe Data
  Roberto Ierusalimschy b94110a68f bug: "format" does not check size of format item (such as "%00000...00000d"). %!s(int64=27) %!d(string=hai) anos
  Roberto Ierusalimschy 8278468041 comments %!s(int64=27) %!d(string=hai) anos
  Roberto Ierusalimschy 4fbb2531b3 don´t need the "+1", the "%" is enough to garantee r<1. %!s(int64=27) %!d(string=hai) anos
  Roberto Ierusalimschy 59f8e6fb77 details ("settable") %!s(int64=27) %!d(string=hai) anos
  Roberto Ierusalimschy 05d89b5c05 new option for function "random": random(a,b) returns a<=x<=b %!s(int64=27) %!d(string=hai) anos
  Roberto Ierusalimschy fe5c41fb8a new functions "tinsert" and "tremove" %!s(int64=27) %!d(string=hai) anos
  Roberto Ierusalimschy 9a45543841 tables are better manipulated via "Hash *" instead of "TObject" or %!s(int64=27) %!d(string=hai) anos
  Roberto Ierusalimschy 766e67ef3b to avoid warnings about "typecast" (Visual C++) %!s(int64=27) %!d(string=hai) anos
  Roberto Ierusalimschy 4c94d8cc2c new function "luaO_str2d" to convert strings to numbers, because %!s(int64=27) %!d(string=hai) anos
  Roberto Ierusalimschy d2de2d5eda format for double is always "%g", do not need #defines %!s(int64=27) %!d(string=hai) anos
  Roberto Ierusalimschy 96a7695275 reorder and rename of most functions, for better documentation. %!s(int64=27) %!d(string=hai) anos
  Roberto Ierusalimschy 63166c0ca0 new implementation of function "read", with predifined options. %!s(int64=27) %!d(string=hai) anos
  Roberto Ierusalimschy a881abfd1e "strtod" is cleaner than "scanf" for this job. %!s(int64=27) %!d(string=hai) anos
  Roberto Ierusalimschy d3ac7075a2 better error message %!s(int64=27) %!d(string=hai) anos
  Roberto Ierusalimschy 0c9080c7a9 "tonumber" goes crazy with negative numbers in other bases (not 10), %!s(int64=27) %!d(string=hai) anos
  Roberto Ierusalimschy b8fcb7b151 details %!s(int64=27) %!d(string=hai) anos
  Roberto Ierusalimschy 5d6de9075d "print" uses fputs instead of printf (easier to reimplement). %!s(int64=27) %!d(string=hai) anos
  Roberto Ierusalimschy 21cff3015a details (for regularity) %!s(int64=27) %!d(string=hai) anos
  Roberto Ierusalimschy 5ca2709ba0 small warnings %!s(int64=27) %!d(string=hai) anos
  Roberto Ierusalimschy bb1cb7b9f1 NUMBER_FMT also may be predefined in makefile %!s(int64=27) %!d(string=hai) anos
  Roberto Ierusalimschy c64f36ab2b better behavior for "strsub" when indices are out-of-range %!s(int64=27) %!d(string=hai) anos
  Roberto Ierusalimschy e4830ddce3 new option "mode" in "readfrom", "writeto" and "appendto" (for %!s(int64=27) %!d(string=hai) anos
  Roberto Ierusalimschy 758e330d6e new functions "getn" and "foreachi" %!s(int64=27) %!d(string=hai) anos
  Roberto Ierusalimschy 8e3bd752bb small optimization in "sort" + new functions "getn" and "foreachi" %!s(int64=27) %!d(string=hai) anos
  Roberto Ierusalimschy a84bca67fc bug: gsub/strfind do not check whether captures are properly finished. %!s(int64=27) %!d(string=hai) anos
  Roberto Ierusalimschy 4ccfb2f9bc "_TRIGMODE" was still being declared. %!s(int64=27) %!d(string=hai) anos
  Roberto Ierusalimschy ce9609296c function "luaL_argerror" prints wrong argument number (from a user's point %!s(int64=27) %!d(string=hai) anos
  Roberto Ierusalimschy b1450721be new function "lua_nups" (number of upvalues). %!s(int64=27) %!d(string=hai) anos
  Roberto Ierusalimschy b04294d3d8 details. %!s(int64=27) %!d(string=hai) anos
  Roberto Ierusalimschy 22c2704842 "lua_state" is already declared in lua.h, which is included here. %!s(int64=27) %!d(string=hai) anos