Roberto Ierusalimschy
|
c874abac98
|
with 'fast tracks', there is no need to do raw accesses in 'ipairs'
|
2015-10-29 13:21:04 -02:00 |
|
Roberto Ierusalimschy
|
2b1fc1b38c
|
with string cache, it is not that important for 'type' to avoid
'lua_pushstring'
|
2015-06-26 16:25:45 -03:00 |
|
Roberto Ierusalimschy
|
e723c75c02
|
details (avoid 'lint' warnings)
|
2015-03-28 16:14:47 -03:00 |
|
Roberto Ierusalimschy
|
27ab59bc16
|
'ipairs' needs an argument
|
2014-12-10 10:26:42 -02:00 |
|
Roberto Ierusalimschy
|
594d7266af
|
'assert' checks that it has (at least) one parameter + 'assert' ensures
it passes only one value to 'error'
|
2014-12-08 13:26:55 -02:00 |
|
Roberto Ierusalimschy
|
b58602d93d
|
removed unneeded test (result of b_str2int is already checked
against length)
|
2014-11-10 12:25:52 -02:00 |
|
Roberto Ierusalimschy
|
28fdbcf393
|
added include for 'lprefix.h', for stuff that must be added before
any other header file
|
2014-11-02 17:19:04 -02:00 |
|
Roberto Ierusalimschy
|
05afee0f50
|
definitions for 'luai_writestring'/'luai_writeline'/'luai_writestringerror'
moved to 'lauxlib.h' (they do not need to be stable or configurable) +
prefixes changed from 'luai_' to 'lua_' (they are not part of the core)
|
2014-10-29 14:12:30 -02:00 |
|
Roberto Ierusalimschy
|
bdf566a8a3
|
`name' in comments changed to 'name'
|
2014-10-25 09:50:46 -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
|
89602bf747
|
'lua_strtonum' -> 'lua_stringtonum'
|
2014-10-15 11:27:40 -03:00 |
|
Roberto Ierusalimschy
|
2a21f6c894
|
'lua_Kcontext' -> 'lua_KContext'
|
2014-10-07 15:29:13 -03:00 |
|
Roberto Ierusalimschy
|
798660c9cd
|
deprecated "cast macros" ('luaL_checkint', 'luaL_optint', etc.)
|
2014-10-01 08:54:56 -03:00 |
|
Roberto Ierusalimschy
|
d35fff16d5
|
'ipairs' always stops at first nil element
|
2014-09-30 10:53:26 -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
|
7f1a2ad699
|
new functions 'lua_geti/lua_seti' (non raw)
|
2014-08-21 17:07:56 -03:00 |
|
Roberto Ierusalimschy
|
2be88d5084
|
'lua_Ctx' -> 'lua_Kcontext'
|
2014-08-01 14:33:08 -03:00 |
|
Roberto Ierusalimschy
|
61fa462535
|
added cast to avoid warning
|
2014-08-01 14:22:57 -03:00 |
|
Roberto Ierusalimschy
|
f9037ae8c1
|
'ipairs' respects metamethods
|
2014-07-24 16:33:29 -03:00 |
|
Roberto Ierusalimschy
|
1aa4f69b51
|
new type 'lua_Ctx' for continuation-function contexts (to allow type
to be configurable)
|
2014-07-17 10:53:37 -03:00 |
|
Roberto Ierusalimschy
|
16b4110521
|
function 'type' keeps type names as upvalues to avoid creating strings
everytime it is called
|
2014-07-16 10:56:59 -03:00 |
|
Roberto Ierusalimschy
|
b9dcf9974d
|
detail (typos in comments)
|
2014-06-30 16:48:08 -03:00 |
|
Roberto Ierusalimschy
|
6f6fd96e3b
|
new type lua_KFunction + no more 'lua_getctx'
|
2014-06-10 14:41:38 -03:00 |
|
Roberto Ierusalimschy
|
9e68c047ae
|
'assert' does not assume that the error object is a string
|
2014-06-02 00:06:26 -03:00 |
|
Roberto Ierusalimschy
|
e2be310a85
|
better(?) implementation for 'pcall'/'xpcall' (regarding the insertion
of the boolean first result)
|
2014-05-16 15:54:01 -03:00 |
|
Roberto Ierusalimschy
|
c549d4fe64
|
'lua_strtonum' (and 'luaO_str2num') now return string size, instead of
receiving it
|
2014-05-01 15:18:06 -03:00 |
|
Roberto Ierusalimschy
|
a3addae036
|
lua_gettable and similars return type of gotten value
|
2014-03-12 17:57:40 -03:00 |
|
Roberto Ierusalimschy
|
6a24bd17a8
|
no more second result from 'collectgarbage"count"' (as Lua seldom
will need lua_Number to be an integer)
|
2014-02-14 14:45:38 -02:00 |
|
Roberto Ierusalimschy
|
733c58595b
|
no more local collection
|
2014-02-13 10:11:34 -02:00 |
|
Roberto Ierusalimschy
|
686e57cf9c
|
GC local pause configurable
|
2013-09-13 13:21:52 -03:00 |
|
Roberto Ierusalimschy
|
677d90165f
|
no more generational collection !!!
|
2013-08-05 13:58:28 -03:00 |
|
Roberto Ierusalimschy
|
2f8c51a552
|
use unsigneds for unary minus, too
|
2013-07-10 14:15:12 -03:00 |
|
Roberto Ierusalimschy
|
2b4bd21585
|
'tonumber': base must be a number
|
2013-07-05 11:39:15 -03:00 |
|
Roberto Ierusalimschy
|
beff5b078a
|
'tonumber': does not accept numbers when given a base + convertion from
strings to numbers with a base moved to a separated function (more
modular)
|
2013-07-05 11:35:49 -03:00 |
|
Roberto Ierusalimschy
|
5ca5086c19
|
'tonumber' now works with integers too
|
2013-05-16 15:35:57 -03:00 |
|
Roberto Ierusalimschy
|
a83ed55f1e
|
added 'return' (when possible) to calls to error functions
|
2013-02-21 10:44:53 -03:00 |
|
Roberto Ierusalimschy
|
65e31fb179
|
Bug: load/loadfile returns wrong result when given an environment
for a binary chunk with no upvalues
|
2012-12-03 18:18:02 -02:00 |
|
Roberto Ierusalimschy
|
fc24a3a6c4
|
small bug: a reader function should not modify the Lua stack
|
2012-04-27 11:13:19 -03:00 |
|
Roberto Ierusalimschy
|
c5da4f4cd0
|
unused variable removed
|
2011-11-30 11:03:24 -02:00 |
|
Roberto Ierusalimschy
|
e21b26a964
|
avoid 'return' "to avoid warnings"
|
2011-11-30 10:42:49 -02:00 |
|
Roberto Ierusalimschy
|
3617e04e97
|
'lua_load' has an extra argument 'mode'
|
2011-11-29 13:55:08 -02:00 |
|
Roberto Ierusalimschy
|
fded7bef19
|
options for 'collectgarbage' renamed: "inc" -> "incremental";
"gen" -> "generational"
|
2011-11-23 15:29:04 -02:00 |
|
Roberto Ierusalimschy
|
6cce5c0601
|
new function 'luaL_loadfilex'
|
2011-11-14 15:10:24 -02:00 |
|
Roberto Ierusalimschy
|
7133e20c94
|
make treatment of 'pcall' and 'xpcall' more similar
|
2011-11-09 17:38:00 -02:00 |
|
Roberto Ierusalimschy
|
888d39ea75
|
refactoring of common parts of 'pcall' and 'xpcall' + avoids
stack errors on these functions (return error code instead)
|
2011-11-09 17:28:27 -02:00 |
|
Roberto Ierusalimschy
|
162ce8256e
|
lint (unused struct field)
|
2011-09-30 09:43:54 -03:00 |
|
Roberto Ierusalimschy
|
43c873895f
|
tonumber: base 10 is not special, no base is
|
2011-07-27 09:14:06 -03:00 |
|
Roberto Ierusalimschy
|
79cbc3468c
|
removed and deprecated functions really removed from the code base
|
2011-07-05 09:49:35 -03:00 |
|
Roberto Ierusalimschy
|
2f125ebc33
|
'deprecated' x 'removed' (they are not the same thing)
|
2011-07-02 12:56:43 -03:00 |
|