Commit Graph

  • 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
  • dfe2f1eeff macros luai_num* take a state L (when available) as argument, to allow them to generate errors (and other facilities) Roberto Ierusalimschy 2006-08-07 16:14:30 -03:00
  • ca7e5b5cb6 wrong message error in some cases involving closures Roberto Ierusalimschy 2006-08-07 16:04:06 -03:00
  • 5019b2dd20 math.log now accepts an optional base Roberto Ierusalimschy 2006-08-07 16:01:56 -03:00
  • 33e7bc88f8 comment Roberto Ierusalimschy 2006-08-04 10:34:37 -03:00
  • fa0c03aaa6 details Roberto Ierusalimschy 2006-07-14 13:22:24 -03:00
  • 3fa47c5dc1 bugs now are against 5.1.1 Roberto Ierusalimschy 2006-07-13 11:37:36 -03:00
  • 0782416a74 bug: wrong limit for list constructors Roberto Ierusalimschy 2006-07-12 16:02:50 -03:00
  • 3ca9af51a4 emergency garbage collector (core forces a GC when allocation fails) Roberto Ierusalimschy 2006-07-11 12:53:29 -03:00
  • c7b89dd280 small bug: should not use string after popping it Roberto Ierusalimschy 2006-07-03 17:16:49 -03:00
  • 74832b2a10 detail Roberto Ierusalimschy 2006-06-23 13:09:15 -03:00
  • ee41bc03ab details Roberto Ierusalimschy 2006-06-22 13:12:59 -03:00
  • 98194db429 details v5.1.1 Roberto Ierusalimschy 2006-06-09 14:31:14 -03:00
  • fad7582c9a explicit test for common error (due to compatibility issue) Roberto Ierusalimschy 2006-06-07 09:37:17 -03:00
  • a62fca1ebb BUG: debug hooks may get wrong when mixed with coroutines Roberto Ierusalimschy 2006-06-05 16:36:45 -03:00
  • 2b5c1f99e5 small simplifications Roberto Ierusalimschy 2006-06-05 16:35:57 -03:00
  • e2dc5f5d15 extra assertion Roberto Ierusalimschy 2006-06-05 12:58:59 -03:00
  • ed64346b9d details Roberto Ierusalimschy 2006-06-05 12:57:59 -03:00
  • 475b0ecbf1 new macro LUA_RELEASE Roberto Ierusalimschy 2006-06-02 12:34:00 -03:00
  • 414359b2f1 new version number Roberto Ierusalimschy 2006-05-31 13:50:40 -03:00
  • 0079efc479 bug: collector did not compensate enough for userdata with finalizers Roberto Ierusalimschy 2006-05-24 11:34:06 -03:00
  • ad0765b4f0 subtle problem with the garbage collector Roberto Ierusalimschy 2006-05-24 11:33:49 -03:00
  • 20f4bbdc3a does not accept garbage after options (e.g., -ixxx) Roberto Ierusalimschy 2006-05-24 11:16:39 -03:00
  • c408158047 only destroy state after running all finalizers Roberto Ierusalimschy 2006-05-24 11:15:50 -03:00
  • 55e323190e files should not be operated after fclose, even when fclose fails Roberto Ierusalimschy 2006-05-08 17:14:16 -03:00
  • fe8f4c06f1 detail (better error message for invalid format) Roberto Ierusalimschy 2006-04-26 17:41:19 -03:00
  • c351392940 details Roberto Ierusalimschy 2006-04-26 15:19:49 -03:00
  • 18330b6091 lua_dostring/lua_dofile should return any values returned by the chunk Roberto Ierusalimschy 2006-04-12 17:31:15 -03:00
  • 8487913697 BUG: option '%q' for string.format does not handle '\r' correctly Roberto Ierusalimschy 2006-04-12 17:13:52 -03:00
  • 672bb67ee6 environment variable names should be configurable Roberto Ierusalimschy 2006-04-10 15:27:23 -03:00
  • 90df6b7a54 detail Roberto Ierusalimschy 2006-03-23 15:23:32 -03:00
  • 0238a0b01e BUG: luaL_checkudata may show wrong error message Roberto Ierusalimschy 2006-03-21 16:31:09 -03:00
  • 1ae0b6c0bf BUG: should copy the union, not (some of) its fields Roberto Ierusalimschy 2006-03-21 16:28:49 -03:00
  • e1dda047b2 unused macro Roberto Ierusalimschy 2006-03-21 16:28:03 -03:00
  • 2c8206d448 bug in Lua 4.0.2: weak tables that survive one collection are never collected Roberto Ierusalimschy 2006-03-20 09:49:30 -03:00