Commit Graph

  • bc82b4d78a new function 'package.searchpath' Roberto Ierusalimschy 2007-12-12 12:36:12 -02:00
  • dae850e0ee details Roberto Ierusalimschy 2007-12-08 09:54:32 -02:00
  • abcc124df0 BUG: lua_setfenv may crash if called over an invalid object Roberto Ierusalimschy 2007-11-28 16:27:38 -02:00
  • b4164a9aa7 details Roberto Ierusalimschy 2007-11-28 16:25:17 -02:00
  • 9f0d62ad9f BUG: table.remove removes last element of a table when given an out-of-bound index Roberto Ierusalimschy 2007-11-26 14:57:33 -02:00
  • 64ecf24210 detail Roberto Ierusalimschy 2007-11-26 14:56:11 -02:00
  • 658e7caf92 use prefix in extern names, even those in test files Roberto Ierusalimschy 2007-11-12 14:28:45 -02:00
  • 788506dd58 detail Roberto Ierusalimschy 2007-11-12 12:10:09 -02:00
  • 62790ab15d detail Roberto Ierusalimschy 2007-11-09 16:55:07 -02:00
  • ad60b3ead7 avoid the use of "exotic" libc functions Roberto Ierusalimschy 2007-11-09 16:54:25 -02:00
  • 5e8dd55574 first implementation of ephemerons Roberto Ierusalimschy 2007-10-31 13:41:19 -02:00
  • 0e961ad47a some changes toward ephemerons Roberto Ierusalimschy 2007-10-29 14:51:20 -02:00
  • c06cc60946 BUG: 'gsub' may go wild when wrongly called without its third > argument and with a large subject. Roberto Ierusalimschy 2007-10-29 13:51:10 -02:00
  • 2fa476655f detail Roberto Ierusalimschy 2007-10-25 17:31:05 -02:00
  • 7a78495f31 avoid problems with 'ptrdiff_t' Roberto Ierusalimschy 2007-10-25 17:30:36 -02:00
  • 3138afbe2e parser should not call 'luaX_lexerror' Roberto Ierusalimschy 2007-10-25 14:45:47 -02:00
  • 4eef0aaad1 detail Roberto Ierusalimschy 2007-10-18 09:01:52 -02:00
  • ab09732986 new metamethods for '__pairs' and '__ipairs' Roberto Ierusalimschy 2007-10-17 15:26:39 -02:00
  • b7fa64565a 27 is not a prime number :( Roberto Ierusalimschy 2007-09-30 10:09:43 -03:00
  • 2622ed2528 better way to handle redefinitions of 'localeconv' Roberto Ierusalimschy 2007-09-14 10:27:04 -03:00
  • 9cb0607f6f avoid warnings about exit; return Roberto Ierusalimschy 2007-09-14 10:26:28 -03:00
  • 8998032f66 detail Roberto Ierusalimschy 2007-09-14 10:26:03 -03:00
  • 80b4753539 better error message for 'concat' Roberto Ierusalimschy 2007-09-12 17:53:24 -03:00
  • fe0838cd1c tables and strings respect __len metamethod Roberto Ierusalimschy 2007-09-10 14:59:32 -03:00
  • 8acaa2ce07 An error in a module loaded through the '-l' option shows no traceback. Roberto Ierusalimschy 2007-09-05 14:18:27 -03:00
  • c676f13e1a stand-alone error-message details Roberto Ierusalimschy 2007-09-05 14:17:39 -03:00
  • 9b47cee8b2 better to flush all files before starting new process with popen Roberto Ierusalimschy 2007-08-30 13:13:13 -03:00
  • 47e666c090 no need for ctype.h Roberto Ierusalimschy 2007-08-10 09:56:02 -03:00
  • 3059579253 detail Roberto Ierusalimschy 2007-08-09 17:29:15 -03:00
  • 72c2f75648 detail (LUA_COPYRIGHT includes release number) Roberto Ierusalimschy 2007-08-07 13:53:40 -03:00
  • ec68ed66ed detail Roberto Ierusalimschy 2007-08-01 09:17:29 -03:00
  • f6a81dbe97 BUG: too many variables in an assignment may cause a C stack overflow Roberto Ierusalimschy 2007-07-31 16:39:52 -03:00
  • 3904a66ab0 'debug' library must be required before being used Roberto Ierusalimschy 2007-06-22 13:59:11 -03:00
  • ffc5f78229 detail Roberto Ierusalimschy 2007-06-22 12:39:34 -03:00
  • 3f78748ef3 traceback function moved to auxlib Roberto Ierusalimschy 2007-06-22 12:33:54 -03:00
  • d26bfb5ae4 "spacial" reorganization to keep related functions in groups Roberto Ierusalimschy 2007-06-21 11:09:59 -03:00
  • 8d3dd04137 clearing some old compatibility code Roberto Ierusalimschy 2007-06-21 10:52:27 -03:00
  • 791d8d8585 detail Roberto Ierusalimschy 2007-06-21 10:50:53 -03:00
  • e85515958b clearing some old compatibility code Roberto Ierusalimschy 2007-06-21 10:48:04 -03:00
  • dc59444cd1 strong collision for very small numbers used as table keys Roberto Ierusalimschy 2007-06-19 17:23:29 -03:00
  • 6c042e17b1 avoid boolean equality (tricky for some compilers) Roberto Ierusalimschy 2007-06-19 16:48:15 -03:00
  • 18a583306b patch may be a little simpler Roberto Ierusalimschy 2007-05-29 16:05:25 -03:00
  • fc8d077612 bug: wrong error message in some concatenations Roberto Ierusalimschy 2007-05-29 15:59:59 -03:00
  • e64fcb9d94 bug: recursive coroutines may overflow C stack Roberto Ierusalimschy 2007-05-25 14:13:47 -03:00
  • 6c0a9a272e assignment of nil to parameter may be optimized away __concat metamethod converts numbers to strings loadlib.c should not access Lua internals code generated for "-nil", "-true", and "-false" is wrong Count hook may be called without being set Roberto Ierusalimschy 2007-05-16 12:39:08 -03:00
  • 01fa1bc114 luaL_testudata (a luaL_checkudata that does not raise errors) is very needed. Roberto Ierusalimschy 2007-05-15 15:46:12 -03:00
  • aa003eba8e details Roberto Ierusalimschy 2007-05-11 14:28:56 -03:00
  • becf19feef better names for metamethods in debug information Roberto Ierusalimschy 2007-05-09 12:49:36 -03:00
  • 81fc3c4f45 bug: code generated for "-nil", "-true", and "-false" is wrong Roberto Ierusalimschy 2007-05-04 15:41:49 -03:00
  • e7fb0d8a6f 'os.date' checks arguments before passing them to 'strftime' Roberto Ierusalimschy 2007-05-03 17:49:29 -03:00
  • 4eb49163c6 error handler in 'lua.c' tries '__tostring' metamethod if error message is not a string Roberto Ierusalimschy 2007-04-26 17:39:38 -03:00
  • 79cb336d74 does not allow standard files to be closed Roberto Ierusalimschy 2007-04-19 17:22:32 -03:00
  • 38063345ae several details Roberto Ierusalimschy 2007-04-19 17:21:53 -03:00
  • ae00b3a76f another way to normalize -0 that avoids problems with very small numbers (adding 1 turns them all into 1) Roberto Ierusalimschy 2007-04-18 16:24:35 -03:00
  • 619be354c8 lua_pushstring/pushlstring return string Roberto Ierusalimschy 2007-04-17 10:19:53 -03:00
  • 94d40f3980 luaO_log2 can be private to ltable.c Roberto Ierusalimschy 2007-04-10 09:18:17 -03:00
  • 585b81f91e remove of a non-used test function Roberto Ierusalimschy 2007-04-10 09:17:52 -03:00
  • 5f4f0d4a63 no more optimization to avoid LOADNIL at function start Roberto Ierusalimschy 2007-03-27 11:11:38 -03:00
  • 8e36e1fe49 details (randomseed calls rand once to dischard first value) Roberto Ierusalimschy 2007-03-27 09:37:00 -03:00
  • 97505caa64 detail Roberto Ierusalimschy 2007-03-26 15:35:34 -03:00
  • df50c84ee0 BUG: loadlib should not use Lua internals (lobject.h) Roberto Ierusalimschy 2007-03-26 12:57:35 -03:00
  • 1a455acc81 two small bugs: some metamethods do not accept callable non-function objects + __concat converts numbers to strings before calling metamethod Roberto Ierusalimschy 2007-03-26 12:56:23 -03:00
  • 60bc151ed7 patch for last bug Roberto Ierusalimschy 2007-03-09 15:51:32 -03:00
  • 3b19bd4d57 bug: wrong code when constant is coded after it should be Roberto Ierusalimschy 2007-03-09 15:50:56 -03:00
  • 08f902cf49 better documentation for auxiliary functions (that should be called only through specific macros). Roberto Ierusalimschy 2007-02-09 11:04:52 -02:00
  • d3c304e92e BUG: setfenv accepts invalid argument Roberto Ierusalimschy 2007-02-09 10:40:21 -02:00
  • 3bf0292cd5 two new bugs + one new patch Roberto Ierusalimschy 2007-02-09 10:39:52 -02:00
  • a7861d9d66 new year... Roberto Ierusalimschy 2007-02-07 15:54:52 -02:00
  • d62a21b9d3 when formatting with '%q', all control characters are coded as \nnn. Roberto Ierusalimschy 2007-02-07 15:53:08 -02:00
  • cf86576a83 new function luaL_tostring Roberto Ierusalimschy 2007-02-07 15:51:21 -02:00
  • 92dc64e121 more regularity in the use of quotes in error messages Roberto Ierusalimschy 2007-02-07 15:49:18 -02:00
  • 593bfc9668 should not manipulate NULL pointers (even without accessing them) Roberto Ierusalimschy 2007-02-07 15:48:52 -02:00
  • 850c60e81b detail for windows Roberto Ierusalimschy 2007-02-07 15:46:20 -02:00
  • 3d480b04a5 more specific ident labels Roberto Ierusalimschy 2007-02-07 12:28:00 -02:00
  • c36e2265d9 detail (tab->space) Roberto Ierusalimschy 2006-11-30 09:25:40 -02:00
  • a68df3898d detail Roberto Ierusalimschy 2006-11-22 09:43:47 -02:00
  • 4d7cfff6df comments Roberto Ierusalimschy 2006-11-22 09:02:03 -02:00
  • be822a5f1c xpcall now may get arguments to function to be called Roberto Ierusalimschy 2006-10-24 16:46:12 -03:00
  • 9f5a052c27 error message Roberto Ierusalimschy 2006-10-24 10:31:48 -03:00
  • fc875334fd detail Roberto Ierusalimschy 2006-10-20 16:30:53 -03:00
  • 80a267b130 avoid $URL for ident; it is reserved in subversion Roberto Ierusalimschy 2006-10-17 17:00:07 -03:00
  • 3182ac69a7 towards 5.2 + detail in authors + avoiding reverse plicks Roberto Ierusalimschy 2006-10-17 16:59:04 -03:00
  • dead3858b8 detail Roberto Ierusalimschy 2006-10-16 11:38:38 -03:00
  • afa0d0ac0d new constant LUA_OK Roberto Ierusalimschy 2006-10-10 14:40:17 -03:00
  • 742b8be0c1 detail Roberto Ierusalimschy 2006-10-10 14:39:00 -03:00
  • 285f926140 avoid using index 0 for free list of references (because it is not as efficient as index 1...) Roberto Ierusalimschy 2006-09-25 12:35:00 -03:00
  • 3c8865cf66 detail Roberto Ierusalimschy 2006-09-22 17:24:38 -03:00
  • 569a326931 small optimization for ""..x Roberto Ierusalimschy 2006-09-19 11:06:45 -03:00
  • d1ef7e0ec6 avoid local "pc" in interpreter loop (tricky optimization with no real gain) Roberto Ierusalimschy 2006-09-19 10:57:50 -03:00
  • d513c3c66b bug: os.date throws error when result is the empty string Roberto Ierusalimschy 2006-09-19 10:57:08 -03:00
  • 93d3c8450c bug: string.format("%") reads past the string Roberto Ierusalimschy 2006-09-18 13:33:14 -03:00
  • 8667f29c3b behavior of 'strchr(x, 0)' is ill defined. Roberto Ierusalimschy 2006-09-18 13:06:41 -03:00
  • d22526ec30 'lua_strlen' is for compatibility only Roberto Ierusalimschy 2006-09-18 11:03:18 -03:00
  • bd869c7b31 details Roberto Ierusalimschy 2006-09-14 15:42:28 -03:00
  • d5a23dde90 little better error messages for internal arrays overflows Roberto Ierusalimschy 2006-09-14 09:59:06 -03:00
  • a7c9e45c64 avoid trailing white spaces Roberto Ierusalimschy 2006-09-11 11:07:24 -03:00
  • cedd2092eb 'coroutine.running' should return nil (instead of nothing) for main thread Roberto Ierusalimschy 2006-09-11 11:07:24 -03:00
  • c473818017 avoid "too complex" conditional expression (some compilers get confused...) Roberto Ierusalimschy 2006-09-11 09:44:56 -03:00
  • 6087e67771 no more compatibility option for long strings Roberto Ierusalimschy 2006-08-30 10:19:58 -03:00
  • 93bf618504 BUG: there is only one C stack, so nCcalls must be global Roberto Ierusalimschy 2006-08-15 16:59:20 -03:00