Commit Graph

4263 Commits

Author SHA1 Message Date
Roberto Ierusalimschy
88ff582fd8 detail (using 'sizeof' instead of 'strlen' for length of a constant
string)
2014-10-22 14:55:57 -02:00
Roberto Ierusalimschy
6b12b82532 added 'l_' prefix for names that can be redefined externally 2014-10-22 09:44:20 -02:00
Roberto Ierusalimschy
d7a0179cd6 use 'opf' (float) variants only when explicitly allowed (LUA_USE_C99) 2014-10-21 12:38:46 -02:00
Roberto Ierusalimschy
6d613817d4 comments 2014-10-20 20:21:05 -02:00
Roberto Ierusalimschy
b8d412aa07 error in comment 2014-10-20 16:29:55 -02:00
Roberto Ierusalimschy
961760c9b6 message handler always adds a traceback to messages (even if they
are not strings), unless they have a __tostring method.
2014-10-20 16:19:26 -02:00
Roberto Ierusalimschy
57559547a3 in 'pack'/'unpack', endianness and alignment treated like options +
small changes in names and handling of internal options ('KOption')
2014-10-20 14:44:54 -02:00
Roberto Ierusalimschy
cfa84e1232 does not use 'long long' when LUA_ANSI is set 2014-10-20 14:32:05 -02:00
Roberto Ierusalimschy
0d31efb365 'lua_stringtonum' -> 'lua_stringtonumber' 2014-10-17 16:17:55 -03:00
Roberto Ierusalimschy
f97c64d7bf macros 'LUA_QL'/'LUA_QL' deprecated 2014-10-17 13:28:21 -03:00
Roberto Ierusalimschy
ea3155e380 'debug.sizeof' removed 2014-10-17 08:07:26 -03:00
Roberto Ierusalimschy
c172a4f7c2 'dumpint' and related functions replaced by 'string.pack'/'string.unpack' 2014-10-17 07:55:28 -03:00
Roberto Ierusalimschy
f8e0d33b25 added "_CRT_SECURE_NO_WARNINGS" for Windows (to avoid warnings about
several standard C functions) + small changes in '#include's
2014-10-15 11:53:20 -03:00
Roberto Ierusalimschy
745618d941 'charpatt' -> 'charpattern' 2014-10-15 11:31:10 -03:00
Roberto Ierusalimschy
89602bf747 'lua_strtonum' -> 'lua_stringtonum' 2014-10-15 11:27:40 -03:00
Roberto Ierusalimschy
56d4537879 '$c' in 'lua_pushfstring' prints non-printable characters with
their codes
2014-10-10 19:23:04 -03:00
Roberto Ierusalimschy
18014ef2fd better handling of systems that do not support 'long long' 2014-10-08 17:32:50 -03:00
Roberto Ierusalimschy
ffe7401ceb avoid warnings in macro 'luaM_reallocv' + comments 2014-10-08 17:25:51 -03:00
Roberto Ierusalimschy
65ec3379b1 added some casts for the cases when lua_Number != double 2014-10-08 16:57:31 -03:00
Roberto Ierusalimschy
85fc9ecd5f detail ('G(L)' -> 'g') 2014-10-08 09:20:26 -03:00
Roberto Ierusalimschy
2a21f6c894 'lua_Kcontext' -> 'lua_KContext' 2014-10-07 15:29:13 -03:00
Roberto Ierusalimschy
3670db99b6 comments 2014-10-06 18:34:34 -03:00
Roberto Ierusalimschy
e14a02c24f when thread yields, real "func" is in field 'extra', not in 'func' 2014-10-06 14:06:49 -03:00
Roberto Ierusalimschy
15f4150518 alpha -> beta 2014-10-04 19:57:36 -03:00
Roberto Ierusalimschy
c5cae9362c added two casts to avoid warnings in VS 2014-10-04 19:57:10 -03:00
Roberto Ierusalimschy
4f4e0e49bb easier way to compile Lua 32 2014-10-03 09:55:44 -03:00
Roberto Ierusalimschy
2f4d429071 details (comments) 2014-10-03 09:54:57 -03:00
Roberto Ierusalimschy
27f7bd2e83 detail 2014-10-01 13:05:06 -03:00
Roberto Ierusalimschy
798660c9cd deprecated "cast macros" ('luaL_checkint', 'luaL_optint', etc.) 2014-10-01 08:54:56 -03:00
Roberto Ierusalimschy
34b6664dcb better to use 'long' to represent UTF-8 code points 2014-10-01 08:52:33 -03:00
Roberto Ierusalimschy
d35fff16d5 'ipairs' always stops at first nil element 2014-09-30 10:53:26 -03:00
Roberto Ierusalimschy
56699cd603 small change to avoid bug in some versions of the clang compiler 2014-09-26 11:09:21 -03:00
Roberto Ierusalimschy
8ede2c353c detail in 'report' + message handler always is called with an
argument + 'report' already handles non-string error messages
2014-09-25 11:20:37 -03:00
Roberto Ierusalimschy
6384475ec4 'luaL_getmetafield' returns type of metafield (instead of a boolean) 2014-09-22 03:42:15 -03:00
Roberto Ierusalimschy
3a15c7ce43 size for array part of a table ('sizearray') changed from 'int' to
'unsigned int', which allows twice as many elements in the array part
2014-09-04 15:15:29 -03:00
Roberto Ierusalimschy
0a6b58c3aa weak tables that must be retraversed are kept in 'grayagain' list
until atomic phase (instead of going to their special lists) +
more comments
2014-09-03 13:54:41 -03:00
Roberto Ierusalimschy
979a663d2a detail (error message from 'coroutine.status') 2014-09-01 15:00:04 -03:00
Roberto Ierusalimschy
22952d8973 'T.gccolor' classify dead objects too 2014-09-01 14:58:55 -03:00
Roberto Ierusalimschy
df608f842a 'linktable' -> 'linkgclist' (and used for all links with 'gclist') 2014-09-01 14:37:11 -03:00
Roberto Ierusalimschy
001bb46ae1 bug: Ephemeron table can wrongly collect entry with strong key 2014-09-01 13:56:01 -03:00
Roberto Ierusalimschy
9b25347a67 detail 2014-08-27 11:59:33 -03:00
Roberto Ierusalimschy
e401513086 new option 'p' for 'debug.sizeof' (size of a pointer) 2014-08-22 13:22:42 -03:00
Roberto Ierusalimschy
7f1a2ad699 new functions 'lua_geti/lua_seti' (non raw) 2014-08-21 17:07:56 -03:00
Roberto Ierusalimschy
a1ab5ab396 'table.copy' -> 'table.move' + optional parameter moved to the end +
several functions operate on "virtual" tables too
2014-08-21 16:13:55 -03:00
Roberto Ierusalimschy
01549fb1ed 'Csize' -> 'sizeof' + removed its 'b' option 2014-08-21 16:12:40 -03:00
Roberto Ierusalimschy
4fba117433 [un]'dumpint' -> [un]'dumpinteger' 2014-08-20 19:06:41 -03:00
Roberto Ierusalimschy
2be88d5084 'lua_Ctx' -> 'lua_Kcontext' 2014-08-01 14:33:08 -03:00
Roberto Ierusalimschy
f5c690b684 details in comments 2014-08-01 14:24:02 -03:00
Roberto Ierusalimschy
61fa462535 added cast to avoid warning 2014-08-01 14:22:57 -03:00
Roberto Ierusalimschy
fba9050d3d release changed to (5.3) alpha 2014-07-31 10:44:30 -03:00