Commit Graph

  • e24f7fd2d2 details Roberto Ierusalimschy 1999-01-11 18:23:54 -02:00
  • 8081f39dab header missing. Roberto Ierusalimschy 1999-01-11 16:57:35 -02:00
  • 3cc4ca821e initialization module (to load libraries) Roberto Ierusalimschy 1999-01-08 14:49:32 -02:00
  • 01772cefa5 new library for debbuging Roberto Ierusalimschy 1999-01-08 14:47:44 -02:00
  • dc90d4bce3 when handling signals (^C), deep old hook values. Roberto Ierusalimschy 1999-01-06 11:12:41 -02:00
  • f5bc671030 "goto" for tail recursion changed to "while" Roberto Ierusalimschy 1999-01-04 15:34:49 -02:00
  • d7294c6de8 double hashing for string tables. Roberto Ierusalimschy 1999-01-04 11:37:29 -02:00
  • 63a752f961 small improvements. Roberto Ierusalimschy 1999-01-04 11:37:07 -02:00
  • 03d38b66fd new sort algorithm. Roberto Ierusalimschy 1999-01-04 10:55:09 -02:00
  • b9c9ccfbb4 function "move" for tables is better implemented with some "inside information". Roberto Ierusalimschy 1999-01-04 10:54:33 -02:00
  • b94110a68f bug: "format" does not check size of format item (such as "%00000...00000d"). Roberto Ierusalimschy 1999-01-04 10:53:24 -02:00
  • 8278468041 comments Roberto Ierusalimschy 1999-01-04 10:41:12 -02:00
  • 4fbb2531b3 don´t need the "+1", the "%" is enough to garantee r<1. Roberto Ierusalimschy 1998-12-30 19:23:26 -02:00
  • 59f8e6fb77 details ("settable") Roberto Ierusalimschy 1998-12-30 15:26:49 -02:00
  • 05d89b5c05 new option for function "random": random(a,b) returns a<=x<=b Roberto Ierusalimschy 1998-12-30 15:22:17 -02:00
  • fe5c41fb8a new functions "tinsert" and "tremove" Roberto Ierusalimschy 1998-12-30 11:16:50 -02:00
  • 9a45543841 tables are better manipulated via "Hash *" instead of "TObject" or "lua_Object". Roberto Ierusalimschy 1998-12-30 11:14:46 -02:00
  • 766e67ef3b to avoid warnings about "typecast" (Visual C++) Roberto Ierusalimschy 1998-12-28 11:44:54 -02:00
  • 4c94d8cc2c new function "luaO_str2d" to convert strings to numbers, because old "lex" algorithm had aproximation errors, but strtod (and atof and scanf) are too slow. Roberto Ierusalimschy 1998-12-27 18:25:20 -02:00
  • d2de2d5eda format for double is always "%g", do not need #defines Roberto Ierusalimschy 1998-12-27 18:23:22 -02:00
  • 96a7695275 reorder and rename of most functions, for better documentation. Roberto Ierusalimschy 1998-12-27 18:22:36 -02:00
  • 63166c0ca0 new implementation of function "read", with predifined options. Roberto Ierusalimschy 1998-12-27 18:21:28 -02:00
  • a881abfd1e "strtod" is cleaner than "scanf" for this job. Roberto Ierusalimschy 1998-12-24 12:57:23 -02:00
  • d3ac7075a2 better error message Roberto Ierusalimschy 1998-12-23 12:06:57 -02:00
  • 0c9080c7a9 "tonumber" goes crazy with negative numbers in other bases (not 10), because "strtol" returns long, not unsigned long. Roberto Ierusalimschy 1998-12-18 11:26:43 -02:00
  • b8fcb7b151 details Roberto Ierusalimschy 1998-12-15 13:21:09 -02:00
  • 5d6de9075d "print" uses fputs instead of printf (easier to reimplement). Roberto Ierusalimschy 1998-12-15 12:59:59 -02:00
  • 21cff3015a details (for regularity) Roberto Ierusalimschy 1998-12-15 12:59:43 -02:00
  • 5ca2709ba0 small warnings Roberto Ierusalimschy 1998-12-03 13:45:15 -02:00
  • bb1cb7b9f1 NUMBER_FMT also may be predefined in makefile Roberto Ierusalimschy 1998-12-01 17:09:47 -02:00
  • c64f36ab2b better behavior for "strsub" when indices are out-of-range Roberto Ierusalimschy 1998-12-01 16:41:25 -02:00
  • e4830ddce3 new option "mode" in "readfrom", "writeto" and "appendto" (for binary files). Roberto Ierusalimschy 1998-11-20 13:41:43 -02:00
  • 758e330d6e new functions "getn" and "foreachi" Roberto Ierusalimschy 1998-11-13 14:48:48 -02:00
  • 8e3bd752bb small optimization in "sort" + new functions "getn" and "foreachi" Roberto Ierusalimschy 1998-11-13 14:39:18 -02:00
  • a84bca67fc bug: gsub/strfind do not check whether captures are properly finished. Roberto Ierusalimschy 1998-11-10 17:38:12 -02:00
  • 4ccfb2f9bc "_TRIGMODE" was still being declared. Roberto Ierusalimschy 1998-09-08 16:25:35 -03:00
  • ce9609296c function "luaL_argerror" prints wrong argument number (from a user's point of view) when functions have upvalues. Roberto Ierusalimschy 1998-09-07 15:59:59 -03:00
  • b1450721be new function "lua_nups" (number of upvalues). Roberto Ierusalimschy 1998-09-07 15:59:59 -03:00
  • b04294d3d8 details. Roberto Ierusalimschy 1998-08-30 17:25:24 -03:00
  • 22c2704842 "lua_state" is already declared in lua.h, which is included here. Roberto Ierusalimschy 1998-08-30 15:28:58 -03:00
  • ee22af5ced new functions "seek" and "flush". Roberto Ierusalimschy 1998-08-24 17:14:56 -03:00
  • cc117253c8 new implementation for error handling: on error, function _ERRORMESSAGE is called, which in turn calls _ALERT to write a message to stderr. Roberto Ierusalimschy 1998-08-21 14:43:44 -03:00
  • 8e226e6a09 small bug: nuse may change when table is rehashed; 3/2 is a good fraction for hash limit (instead of 0.7, using floats) Roberto Ierusalimschy 1998-08-11 13:38:34 -03:00
  • 1d420c2c11 better error message for code too long (old one was misleading when the problem was SETLINE after 64k lines...) Roberto Ierusalimschy 1998-08-11 10:28:05 -03:00
  • 5378331f2d hash tables may shrink if use rate is too small. Roberto Ierusalimschy 1998-08-10 18:36:32 -03:00
  • 894a264671 new hash function. Roberto Ierusalimschy 1998-07-27 14:06:17 -03:00
  • e1a127245d details ("luaX_token2str" doesn't need LexState) Roberto Ierusalimschy 1998-07-24 15:02:38 -03:00
  • afb5ef72e1 new function "sort" + many small changes Roberto Ierusalimschy 1998-07-12 13:16:43 -03:00
  • 1d8edd347d small changes to use new auxiliar functions Roberto Ierusalimschy 1998-07-12 13:16:02 -03:00
  • 41d9ea948c auxiliar functions "luaH_setint" & "luaH_getint". Roberto Ierusalimschy 1998-07-12 13:15:19 -03:00
  • ee912e5a7f auxiliar function "luaD_calln". Roberto Ierusalimschy 1998-07-12 13:14:34 -03:00
  • ad446a0eb0 "%q" can handle strings with '\0'. Roberto Ierusalimschy 1998-07-12 13:13:45 -03:00
  • 176cb39feb macro encapsulates de "-". Roberto Ierusalimschy 1998-07-12 13:11:55 -03:00
  • 64ad009fb2 "fileName" cannot be NULL Roberto Ierusalimschy 1998-07-12 13:10:38 -03:00
  • dcb1a08906 "exp" changed to "exp0" to avoid problems with math.h. Roberto Ierusalimschy 1998-07-06 19:07:51 -03:00
  • 1788501eed double constant used in integer expression Roberto Ierusalimschy 1998-07-06 19:04:58 -03:00
  • bee1a5aeb2 spelling Roberto Ierusalimschy 1998-07-01 11:21:57 -03:00
  • 994aba062b when debuging, blocks must be kept in double allignment. Roberto Ierusalimschy 1998-06-29 19:03:06 -03:00
  • e869d17eb1 functions should return explicit "nil"s. Roberto Ierusalimschy 1998-06-29 15:24:06 -03:00
  • 9a0221ef58 detail Roberto Ierusalimschy 1998-06-29 15:09:28 -03:00
  • 07008b5d45 details (by lhf) Roberto Ierusalimschy 1998-06-25 13:48:44 -03:00
  • 8f31eda649 details in comments Roberto Ierusalimschy 1998-06-25 11:37:00 -03:00
  • da94130160 stupid bug (in syntax print "hello") Roberto Ierusalimschy 1998-06-24 11:48:15 -03:00
  • 468fbdbde7 details Roberto Ierusalimschy 1998-06-24 10:33:00 -03:00
  • eb45f8b631 details (dependencies) Roberto Ierusalimschy 1998-06-19 15:52:27 -03:00
  • df0df08bc5 "dostring" accepts chunk name. Roberto Ierusalimschy 1998-06-19 15:47:06 -03:00
  • 9618aaf07d small corrections in comments Roberto Ierusalimschy 1998-06-19 13:14:09 -03:00
  • bec9bc4154 sugestions by lhf Roberto Ierusalimschy 1998-06-18 14:36:27 -03:00
  • 955a811aa1 category for "setlocale" is given by name Roberto Ierusalimschy 1998-06-18 14:04:28 -03:00
  • c9902be294 "findname" moved from lobject.c to lauxlib.c (so libraries may use it). Roberto Ierusalimschy 1998-06-18 13:57:03 -03:00
  • 112c9d53ab new version by lhf Roberto Ierusalimschy 1998-06-18 13:52:04 -03:00
  • 0789451458 details Roberto Ierusalimschy 1998-06-18 13:51:53 -03:00
  • d97af0de26 "lua_dobuffer" gets an extra argument, with the chunk name Roberto Ierusalimschy 1998-06-15 18:34:14 -03:00
  • 1917149fdd details. Roberto Ierusalimschy 1998-06-11 15:21:37 -03:00
  • 0845e73b6a new copyright notice Roberto Ierusalimschy 1998-06-06 18:05:52 -03:00
  • 7dfa952091 no more error for '\x' (with "invalid" x) Roberto Ierusalimschy 1998-06-06 17:44:05 -03:00
  • 02134b4a87 name: lua_pushCclosure -> lua_pushcclosure. Roberto Ierusalimschy 1998-06-05 19:17:44 -03:00
  • bdb1db4d37 "read" more efficient when reading lines and whole files ('.*') Roberto Ierusalimschy 1998-06-02 18:20:54 -03:00
  • 02a6891939 API for functions to manipulate global state. Roberto Ierusalimschy 1998-06-02 17:37:04 -03:00
  • 741c6f5006 'dobuffer' addpoted. Roberto Ierusalimschy 1998-05-31 19:22:00 -03:00
  • 6152973f9c new names for 'ascii' ('strbyte') and 'int2str' ('strchar') Roberto Ierusalimschy 1998-05-31 19:20:45 -03:00
  • 243a808067 'print' now calls 'tostring' Roberto Ierusalimschy 1998-05-31 19:19:35 -03:00
  • 62c36a6056 better error message when '^' is not defined. Roberto Ierusalimschy 1998-05-31 19:18:24 -03:00
  • 74719afc33 new functions "frexp" and "ldexp" Roberto Ierusalimschy 1998-05-27 16:09:39 -03:00
  • 7e59a8901d NEW LL(1) PARSER Roberto Ierusalimschy 1998-05-27 10:08:34 -03:00
  • abc6eac404 new function "clock" Roberto Ierusalimschy 1998-05-20 19:21:35 -03:00
  • 054e0b888a number type in Lua changed for double (by default). Roberto Ierusalimschy 1998-05-18 19:26:03 -03:00
  • da252eeff7 arguments for "format" 'x', 'X', 'o' and 'u' must be unsigned int. Roberto Ierusalimschy 1998-05-18 19:21:55 -03:00
  • 9890bedaab details (format for html) Roberto Ierusalimschy 1998-04-02 13:09:16 -03:00
  • 0a0c9593b8 many small corrections; strings with '\0' Roberto Ierusalimschy 1998-03-30 15:17:55 -03:00
  • d470792517 words are stored in hi-lo order (easier to print) Roberto Ierusalimschy 1998-03-30 10:57:23 -03:00
  • 439236773b changes by lhf Roberto Ierusalimschy 1998-03-26 11:50:19 -03:00
  • 2a2b64d6ac opcode "CLOSURE" gets the prototipe (instead of a previous pushconstant) Roberto Ierusalimschy 1998-03-25 15:52:29 -03:00
  • daa937c043 pattern-matching support for '\0'. Roberto Ierusalimschy 1998-03-24 17:14:25 -03:00
  • 21455162b5 details (and new escape sequences: \a, \b, ...) Roberto Ierusalimschy 1998-03-20 11:18:18 -03:00
  • 99cc4b20f2 details Roberto Ierusalimschy 1998-03-11 10:59:50 -03:00
  • 0969a971cd better use of "ASSERT". Roberto Ierusalimschy 1998-03-09 18:49:52 -03:00
  • be6d215f67 BUG: gsub('a', '(b?)%1*' ...) loops (because the capture is empty). Roberto Ierusalimschy 1998-03-09 15:28:08 -03:00
  • e74817f8aa correct way to handle string delimiters Roberto Ierusalimschy 1998-03-09 14:22:49 -03:00
  • 043c2ac258 new names for "lua_pushlstr" and "lua_getstrlen" Roberto Ierusalimschy 1998-03-06 15:47:42 -03:00