Roberto Ierusalimschy
ad60b3ead7
avoid the use of "exotic" libc functions
2007-11-09 16:54:25 -02:00
Roberto Ierusalimschy
5e8dd55574
first implementation of ephemerons
2007-10-31 13:41:19 -02:00
Roberto Ierusalimschy
0e961ad47a
some changes toward ephemerons
2007-10-29 14:51:20 -02:00
Roberto Ierusalimschy
c06cc60946
BUG: 'gsub' may go wild when wrongly called without its third
...
> argument and with a large subject.
2007-10-29 13:51:10 -02:00
Roberto Ierusalimschy
2fa476655f
detail
2007-10-25 17:31:05 -02:00
Roberto Ierusalimschy
7a78495f31
avoid problems with 'ptrdiff_t'
2007-10-25 17:30:36 -02:00
Roberto Ierusalimschy
3138afbe2e
parser should not call 'luaX_lexerror'
2007-10-25 14:45:47 -02:00
Roberto Ierusalimschy
4eef0aaad1
detail
2007-10-18 09:01:52 -02:00
Roberto Ierusalimschy
ab09732986
new metamethods for '__pairs' and '__ipairs'
2007-10-17 15:26:39 -02:00
Roberto Ierusalimschy
b7fa64565a
27 is not a prime number :(
2007-09-30 10:09:43 -03:00
Roberto Ierusalimschy
2622ed2528
better way to handle redefinitions of 'localeconv'
2007-09-14 10:27:04 -03:00
Roberto Ierusalimschy
9cb0607f6f
avoid warnings about exit; return
2007-09-14 10:26:28 -03:00
Roberto Ierusalimschy
8998032f66
detail
2007-09-14 10:26:03 -03:00
Roberto Ierusalimschy
80b4753539
better error message for 'concat'
2007-09-12 17:53:24 -03:00
Roberto Ierusalimschy
fe0838cd1c
tables and strings respect __len metamethod
2007-09-10 14:59:32 -03:00
Roberto Ierusalimschy
8acaa2ce07
An error in a module loaded through the '-l' option
...
shows no traceback.
2007-09-05 14:18:27 -03:00
Roberto Ierusalimschy
c676f13e1a
stand-alone error-message details
2007-09-05 14:17:39 -03:00
Roberto Ierusalimschy
9b47cee8b2
better to flush all files before starting new process with popen
2007-08-30 13:13:13 -03:00
Roberto Ierusalimschy
47e666c090
no need for ctype.h
2007-08-10 09:56:02 -03:00
Roberto Ierusalimschy
3059579253
detail
2007-08-09 17:29:15 -03:00
Roberto Ierusalimschy
72c2f75648
detail (LUA_COPYRIGHT includes release number)
2007-08-07 13:53:40 -03:00
Roberto Ierusalimschy
ec68ed66ed
detail
2007-08-01 09:17:29 -03:00
Roberto Ierusalimschy
f6a81dbe97
BUG: too many variables in an assignment may cause a C stack overflow
2007-07-31 16:39:52 -03:00
Roberto Ierusalimschy
3904a66ab0
'debug' library must be required before being used
2007-06-22 13:59:11 -03:00
Roberto Ierusalimschy
ffc5f78229
detail
2007-06-22 12:39:34 -03:00
Roberto Ierusalimschy
3f78748ef3
traceback function moved to auxlib
2007-06-22 12:33:54 -03:00
Roberto Ierusalimschy
d26bfb5ae4
"spacial" reorganization to keep related functions in groups
2007-06-21 11:09:59 -03:00
Roberto Ierusalimschy
8d3dd04137
clearing some old compatibility code
2007-06-21 10:52:27 -03:00
Roberto Ierusalimschy
791d8d8585
detail
2007-06-21 10:50:53 -03:00
Roberto Ierusalimschy
e85515958b
clearing some old compatibility code
2007-06-21 10:48:04 -03:00
Roberto Ierusalimschy
dc59444cd1
strong collision for very small numbers used as table keys
2007-06-19 17:23:29 -03:00
Roberto Ierusalimschy
6c042e17b1
avoid boolean equality (tricky for some compilers)
2007-06-19 16:48:15 -03:00
Roberto Ierusalimschy
18a583306b
patch may be a little simpler
2007-05-29 16:05:25 -03:00
Roberto Ierusalimschy
fc8d077612
bug: wrong error message in some concatenations
2007-05-29 15:59:59 -03:00
Roberto Ierusalimschy
e64fcb9d94
bug: recursive coroutines may overflow C stack
2007-05-25 14:13:47 -03:00
Roberto Ierusalimschy
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
2007-05-16 12:39:08 -03:00
Roberto Ierusalimschy
01fa1bc114
luaL_testudata (a luaL_checkudata that does not raise errors) is
...
very needed.
2007-05-15 15:46:12 -03:00
Roberto Ierusalimschy
aa003eba8e
details
2007-05-11 14:28:56 -03:00
Roberto Ierusalimschy
becf19feef
better names for metamethods in debug information
2007-05-09 12:49:36 -03:00
Roberto Ierusalimschy
81fc3c4f45
bug: code generated for "-nil", "-true", and "-false" is wrong
2007-05-04 15:41:49 -03:00
Roberto Ierusalimschy
e7fb0d8a6f
'os.date' checks arguments before passing them to 'strftime'
2007-05-03 17:49:29 -03:00
Roberto Ierusalimschy
4eb49163c6
error handler in 'lua.c' tries '__tostring' metamethod if error
...
message is not a string
2007-04-26 17:39:38 -03:00
Roberto Ierusalimschy
79cb336d74
does not allow standard files to be closed
2007-04-19 17:22:32 -03:00
Roberto Ierusalimschy
38063345ae
several details
2007-04-19 17:21:53 -03:00
Roberto Ierusalimschy
ae00b3a76f
another way to normalize -0 that avoids problems with very small
...
numbers (adding 1 turns them all into 1)
2007-04-18 16:24:35 -03:00
Roberto Ierusalimschy
619be354c8
lua_pushstring/pushlstring return string
2007-04-17 10:19:53 -03:00
Roberto Ierusalimschy
94d40f3980
luaO_log2 can be private to ltable.c
2007-04-10 09:18:17 -03:00
Roberto Ierusalimschy
585b81f91e
remove of a non-used test function
2007-04-10 09:17:52 -03:00
Roberto Ierusalimschy
5f4f0d4a63
no more optimization to avoid LOADNIL at function start
2007-03-27 11:11:38 -03:00
Roberto Ierusalimschy
8e36e1fe49
details (randomseed calls rand once to dischard first value)
2007-03-27 09:37:00 -03:00