1
0
mirror of https://github.com/lua/lua synced 2026-06-08 15:34:49 +00:00

Commit Graph

  • 075b7918c3 new function "getintmethod" Roberto Ierusalimschy 1997-04-02 20:04:12 -03:00
  • 7c99149a76 "tostring" gives an overview of a userdata. Roberto Ierusalimschy 1997-04-02 19:53:35 -03:00
  • 27d95f1880 "newtag" does not need a type name. Roberto Ierusalimschy 1997-04-02 19:52:42 -03:00
  • f0d523887d lua_getuserdata must return NULL if object is not userdata Roberto Ierusalimschy 1997-04-02 14:44:18 -03:00
  • f29fbf2bf6 lua_getuserdata must return NULL if object is not userdata; small BUG: wrong error message for a=b[1] (b not a table) Roberto Ierusalimschy 1997-04-02 14:44:18 -03:00
  • 4355e1afcd "getbyte" returns userdata size when called without second parameter. Roberto Ierusalimschy 1997-04-02 14:44:18 -03:00
  • cae1eff901 small "bugs" detected by Purify: cannot read "next" after 0. Roberto Ierusalimschy 1997-04-01 18:23:20 -03:00
  • f83bc86e51 small "bugs" detected by Purify: some blocks may be smaller than sizeof(int). Roberto Ierusalimschy 1997-04-01 18:23:20 -03:00
  • 59744f0311 "storeglobal" changed to "setglobal" Roberto Ierusalimschy 1997-04-01 16:02:43 -03:00
  • bb2e2bec18 new lua function "tag" Roberto Ierusalimschy 1997-04-01 14:31:42 -03:00
  • efaaf99c42 first version of "setglobal" and "getglobal" internal methods. Roberto Ierusalimschy 1997-03-31 17:59:09 -03:00
  • f8a571ee35 some new options for warnings and optimizations. Roberto Ierusalimschy 1997-03-31 17:58:42 -03:00
  • 397e32399b update of ".h" dependencies Roberto Ierusalimschy 1997-03-31 11:23:49 -03:00
  • 373363cb69 new name for old "mem.h" (conflicts with some compiler libraries) Roberto Ierusalimschy 1997-03-31 11:19:01 -03:00
  • ad5574c4c9 "Object" renamed to "TObject" (Tagged Object), to avoid conflicts with pre-defined names in some C compilers. Roberto Ierusalimschy 1997-03-31 11:02:58 -03:00
  • 264f8c5e7b new (internal?) functions to manipulate userdata Roberto Ierusalimschy 1997-03-26 19:23:15 -03:00
  • 9e9e2ea287 BUG: must mark userdata in garbage collection. Roberto Ierusalimschy 1997-03-26 19:22:41 -03:00
  • 03d917f229 some corrections, improvements; Roberto Ierusalimschy 1997-03-24 14:13:22 -03:00
  • c3488f5115 must call "gc" i.m. for nil after all others. Roberto Ierusalimschy 1997-03-21 18:39:57 -03:00
  • 6fef372fb8 mathlib now uses i.m. for "pow" operator. Roberto Ierusalimschy 1997-03-21 15:37:28 -03:00
  • 052a1cc46c files now have proper tags. Roberto Ierusalimschy 1997-03-20 17:36:58 -03:00
  • ae067dcddd BUG: lua_newtag can be called before luaI_IMtable is initialized. Roberto Ierusalimschy 1997-03-20 17:36:19 -03:00
  • 5d60470508 i.m. "arith" and "order" splited for different operations Roberto Ierusalimschy 1997-03-20 16:20:43 -03:00
  • 88d7ffb0d0 luaI_type moved to fallback.c Roberto Ierusalimschy 1997-03-20 16:20:23 -03:00
  • 47527d2d3c setmethods should return old methods. Roberto Ierusalimschy 1997-03-19 18:12:34 -03:00
  • 1444d28476 first full implementation of internal methods Roberto Ierusalimschy 1997-03-19 16:41:10 -03:00
  • 2de803c250 new header 'auxlib.h' + new function luaL_verror Roberto Ierusalimschy 1997-03-18 12:30:50 -03:00
  • fa08b42dd8 new header for auxiliar functions. Roberto Ierusalimschy 1997-03-18 12:30:50 -03:00
  • eea734aa88 new module 'auxlib' centralizes functions to get/check parameters. Roberto Ierusalimschy 1997-03-17 14:02:29 -03:00
  • b6d91e24e2 "tag" changed to "ttype" (since now tag has other meaning) Roberto Ierusalimschy 1997-03-11 15:44:28 -03:00
  • a82ab0852e new explanation about communication between Lua and C. Roberto Ierusalimschy 1997-03-06 19:19:08 -03:00
  • b8af9c56c9 new form for constructors: {[exp] = exp, ...} Roberto Ierusalimschy 1997-03-06 14:30:55 -03:00
  • c3c0b52a1f atualization of #include dependencies. Roberto Ierusalimschy 1997-03-05 10:37:04 -03:00
  • ec422ec7d0 skips can be nested (why not?). Roberto Ierusalimschy 1997-03-05 10:32:41 -03:00
  • a8a15ff1bd "mem.c.debug" incorporated (with "#if"). Roberto Ierusalimschy 1997-03-03 16:55:38 -03:00
  • 131d66efd2 first step in implementing internal methods. Roberto Ierusalimschy 1997-02-26 14:38:41 -03:00
  • bbf1b3060a small correction. Roberto Ierusalimschy 1997-02-26 14:07:57 -03:00
  • 8b7f271ea2 new pattern item ".-"; empty patterns may be used in gsub. Roberto Ierusalimschy 1997-02-21 12:21:34 -03:00
  • bc323435ee new facilities for pattern matching (%b and .-); explanations about next-nextvar. Roberto Ierusalimschy 1997-02-21 12:19:37 -03:00
  • 6769f34817 lua_Type is private (preparation for tags) Roberto Ierusalimschy 1997-02-20 12:51:14 -03:00
  • 0b110f7922 small syntax error (yacc does not complain, but bison does). Roberto Ierusalimschy 1997-02-13 14:18:39 -02:00
  • 205ee1ec84 userdata can handle arbitrary binary data; user tag is stored with data; Roberto Ierusalimschy 1997-02-11 09:40:01 -02:00
  • b48847c5fa BUG: "inclinenumber" cannot use public buffer, since it could change the buffer pointer (luaY_lex and read_long_string have local pointers to it). Roberto Ierusalimschy 1997-02-07 11:49:46 -02:00
  • 1143bf9286 better check when converting from float to int, to avoid overflow (on some machines it may result in run-time error) Roberto Ierusalimschy 1997-01-31 12:27:11 -02:00
  • d9ecc13545 lhf revisions/sugestions Roberto Ierusalimschy 1997-01-23 14:17:53 -02:00
  • f00d692445 small correction to avoid "wrong" default action Roberto Ierusalimschy 1997-01-15 14:11:37 -02:00
  • d8b0bbb2ad BUG: pointer arithmetic does not have to work when pointing outside an array. Roberto Ierusalimschy 1996-11-22 11:08:28 -02:00
  • 1f4ee4a4d2 ANSI ctype only works for unsigned chars (or EOF) Roberto Ierusalimschy 1996-11-22 11:08:02 -02:00
  • 6a9efa8b8e useless include. Roberto Ierusalimschy 1996-11-22 11:07:20 -02:00
  • 65459e7938 small BUG: pragma deletes 0 at end of yytext, so a syntax error just after it may have a wrong token in message. Roberto Ierusalimschy 1996-11-21 12:44:04 -02:00
  • 42359b8b13 new version v2.5.1 Roberto Ierusalimschy 1996-11-20 11:49:32 -02:00
  • 169870e37d BUG: ISO chars are negative, ISO ints are not. Roberto Ierusalimschy 1996-11-20 11:47:59 -02:00
  • 78e454d864 BUG: ISO chars are negative, ISO ints are not. new "balanced" pattern. Roberto Ierusalimschy 1996-11-20 11:47:59 -02:00
  • dbfe28e199 correction in inheritance code in C v2.5 Roberto Ierusalimschy 1996-11-18 12:27:42 -02:00
  • d59c52753f undump needs file in binary mode Roberto Ierusalimschy 1996-11-18 11:48:44 -02:00
  • 62e1a4c84d BUG: problems with negative indexes Roberto Ierusalimschy 1996-11-18 11:48:44 -02:00
  • 81411e8913 headers includes sizeof(Word) not sizeof(int) Luiz Henrique de Figueiredo 1996-11-18 09:18:29 -02:00
  • 62aa717f7e stdlib.h for exit blocks are void* Luiz Henrique de Figueiredo 1996-11-16 18:14:23 -02:00
  • a5614eae3c spelling corrections. Roberto Ierusalimschy 1996-11-14 15:45:37 -02:00
  • 536bae5871 corrected version test (0x23 not 23) Luiz Henrique de Figueiredo 1996-11-14 13:00:32 -02:00
  • 679eddf296 Luiz Henrique de Figueiredo 1996-11-14 11:33:15 -02:00
  • d991def36c added 3 new bytes to header (sizeof's) Luiz Henrique de Figueiredo 1996-11-14 09:44:34 -02:00
  • 8b195533d2 new header version Luiz Henrique de Figueiredo 1996-11-14 09:44:34 -02:00
  • 3ccdd57c26 new version Roberto Ierusalimschy 1996-11-12 14:00:16 -02:00
  • a103455dda better format for error messages. Roberto Ierusalimschy 1996-11-08 17:08:30 -02:00
  • 60242e1930 error message for syntax "1..2"; syntax error function is in "lex.c" (it has the token) Roberto Ierusalimschy 1996-11-08 10:49:35 -02:00
  • a0e9bfbb48 syntax error function is in "lex.c" (it has the token) Roberto Ierusalimschy 1996-11-08 10:49:35 -02:00
  • 2f19e0ba16 SunOS is not ANSI about the return value of "sprintf". Roberto Ierusalimschy 1996-11-07 18:26:19 -02:00
  • ab7fdcbbed corrected copyright notice Roberto Ierusalimschy 1996-11-07 18:26:08 -02:00
  • 48cf1de356 replaced unions by memcpy Luiz Henrique de Figueiredo 1996-11-07 12:13:28 -02:00
  • 8d50122af0 replaced unions by memcpy Luiz Henrique de Figueiredo 1996-11-07 11:59:51 -02:00
  • fd379b38f7 new flag for STRERROR; libs now are called lib... v2.5-beta Roberto Ierusalimschy 1996-11-06 18:48:03 -02:00
  • aa4d865077 anna's comments Roberto Ierusalimschy 1996-11-06 18:26:56 -02:00
  • 3e94febfc1 pragmas should not be recognized inside literal strings. Roberto Ierusalimschy 1996-11-06 18:24:29 -02:00
  • 243b3a1a47 i/o functions return an error message Roberto Ierusalimschy 1996-11-01 16:02:53 -02:00
  • 389e808c60 although an ANSI function, some systems do not offer "strerror" Roberto Ierusalimschy 1996-11-01 15:54:41 -02:00
  • 450465c4d4 new parameters for "read" and "write". BIG CHANGE. Roberto Ierusalimschy 1996-11-01 15:03:36 -02:00
  • 2f44cc9f4d new pattern matching facilities; new version of i/o lib; other small corrections. Roberto Ierusalimschy 1996-11-01 15:02:10 -02:00
  • d106f3f43c pre-defined variable _VERSION_ Roberto Ierusalimschy 1996-11-01 10:47:45 -02:00
  • bf3091d94f new version number Roberto Ierusalimschy 1996-11-01 10:46:59 -02:00
  • 4dbf7285a8 small omission corrected ("s_tsvalue") Roberto Ierusalimschy 1996-11-01 10:46:59 -02:00
  • a1e41e3a12 small corrections in error messages Roberto Ierusalimschy 1996-10-31 18:18:05 -02:00
  • 9d0044ce53 "strfind" has an extra parameter to turn off all special characteres. Roberto Ierusalimschy 1996-10-31 15:26:04 -02:00
  • 37bf74efb7 some compilers do not accept "stdin"/"stdout" as constants. Roberto Ierusalimschy 1996-10-16 18:22:34 -02:00
  • 8c37d3b9d6 documentation of opcode meanings (thanks to lhf) Roberto Ierusalimschy 1996-09-26 18:08:41 -03:00
  • 0af581f0bf new way to handle pragmas (at the lexical level, instead of parsing). Roberto Ierusalimschy 1996-09-25 18:52:00 -03:00
  • 2a506ea9d2 lua_linenumber is initialized in lex.c Roberto Ierusalimschy 1996-09-25 09:57:22 -03:00
  • e5ec547eb3 "call" returns separate results, instead of a table. Roberto Ierusalimschy 1996-09-24 18:46:44 -03:00
  • 6d383202dc "dofile" and "dostring" may return values. Roberto Ierusalimschy 1996-09-24 14:30:28 -03:00
  • 7b8166d7b3 a chunk may end with a return. Roberto Ierusalimschy 1996-09-24 14:29:50 -03:00
  • 3636bbad3a new function "strrep" Roberto Ierusalimschy 1996-09-20 15:20:44 -03:00
  • 82f9f3e552 better structure to control stack interface lua-C. beginblock-endblock keeps better control over stack Roberto Ierusalimschy 1996-09-20 09:51:16 -03:00
  • c96ad1c945 "strmap" replaced by "strupper" and "strlower" (that's what people will use, anyway). "gsub" aceppts a function to give the replacement string. Roberto Ierusalimschy 1996-09-16 15:02:40 -03:00
  • 5b9fbfa006 "dostring" now stores the prefix of its string, to improve error messages. Roberto Ierusalimschy 1996-09-11 18:53:02 -03:00
  • f0cc2d5506 BUG: a program ending in a comment without EOL made lex loops forever. Roberto Ierusalimschy 1996-09-09 11:11:11 -03:00
  • d289ac81d3 functions may have tags CMARK and MARK, too. Roberto Ierusalimschy 1996-09-02 18:57:51 -03:00
  • 15791f93fe lhf's corrections. Roberto Ierusalimschy 1996-08-28 17:46:26 -03:00
  • d763b69740 skip first line of a lua file if it starts with a '#' (to allow shell scripts). Roberto Ierusalimschy 1996-08-15 15:40:55 -03:00
  • 36dd1af92d "[^]]" must mean "not ]". Roberto Ierusalimschy 1996-08-09 10:14:11 -03:00
  • 25b6dae7c0 singlematch and item_end are used by "read", in iolib. Roberto Ierusalimschy 1996-08-05 17:55:24 -03:00