286 Commits (e8e39a277f9f81e5cb2638a1d13d4d96e3731b16)

Author SHA1 Message Date
Roberto Ierusalimschy 62f6652d53 no more extra space in 'luaL_checkstack'. (It was already useless 9 years ago
Roberto Ierusalimschy bda090b961 comments + small code changes around stack usage when 'luaL_checkstack' 9 years ago
Roberto Ierusalimschy d103312661 details (typos in comments) 9 years ago
Roberto Ierusalimschy 8949904783 allow NULL string when length is zero in 'lua_pushlstring' and 9 years ago
Roberto Ierusalimschy e290bd6760 in 'luaL_traceback', print correct number of levels even when 9 years ago
Roberto Ierusalimschy e7f34ad395 better implementation for buffers (reallocated memory directly 10 years ago
Roberto Ierusalimschy 90d016980f detail ('luaL_getmetatable' does not return a boolean, but a tag) 10 years ago
Roberto Ierusalimschy 151dc5cc5f traverse loaded modules (instead of globals) for a name for a function + 10 years ago
Roberto Ierusalimschy c8da3fbc35 in traceback names, give preference to 'name' over '_G.name' 10 years ago
Roberto Ierusalimschy 6f54b07663 give preference to global names in tracebacks 10 years ago
Roberto Ierusalimschy ab4a890d04 use 'namewhat' when building a traceback 10 years ago
Roberto Ierusalimschy db5ac2fa0d detail (buffer in 'LoadF' is related to files) 10 years ago
Roberto Ierusalimschy cb59019f58 uses return value from luaL_getmetatable 10 years ago
Roberto Ierusalimschy 28fdbcf393 added include for 'lprefix.h', for stuff that must be added before 10 years ago
Roberto Ierusalimschy 05afee0f50 definitions for 'luai_writestring'/'luai_writeline'/'luai_writestringerror' 10 years ago
Roberto Ierusalimschy bdf566a8a3 `name' in comments changed to 'name' 10 years ago
Roberto Ierusalimschy 6b12b82532 added 'l_' prefix for names that can be redefined externally 10 years ago
Roberto Ierusalimschy f97c64d7bf macros 'LUA_QL'/'LUA_QL' deprecated 10 years ago
Roberto Ierusalimschy 6384475ec4 'luaL_getmetafield' returns type of metafield (instead of a boolean) 10 years ago
Roberto Ierusalimschy 8704fca0c9 in 'luaL_checkversion_' check numeric types first. (Other tests 10 years ago
Roberto Ierusalimschy 8bb272a3e3 new conversion float->integer: conversion is valid only when 10 years ago
Roberto Ierusalimschy c229ed597f 'requiref' checks 'package.loaded' before loading a module 10 years ago
Roberto Ierusalimschy a77d263e86 unsigned-manipulation functions (lua_puhsunsigned, lua_tounsigned, etc.) 11 years ago
Roberto Ierusalimschy 45c430eac0 addition of '.0' to float representation done by the kernel 11 years ago
Roberto Ierusalimschy 4422b97472 keep 'luaL_checkversion_' with its signature in version 5.2, for 11 years ago
Roberto Ierusalimschy 5aeb57f11f detail (error message for conversion from float to integer) 11 years ago
Roberto Ierusalimschy a3addae036 lua_gettable and similars return type of gotten value 11 years ago
Roberto Ierusalimschy a4c6dcf999 detail (better error messages for light userdata) 11 years ago
Roberto Ierusalimschy 4a1ed6e6e5 new field '__name' in metatables to help better error messages 11 years ago
Roberto Ierusalimschy d438e1379d insertion of ".0" in floats with integer values done by "luaL_tolstring", 11 years ago
Roberto Ierusalimschy 438c534ff4 'arg' arguments (previously called 'narg', 'nArg', 'numArg', etc.) 11 years ago
Roberto Ierusalimschy 66d046833d no need to check "bad conversion number->int;" in luaL_checkversion, 12 years ago
Roberto Ierusalimschy 982aa7058f 'luaL_len' returns lua_Integer instead of 'int' 12 years ago
Roberto Ierusalimschy c72fb1cf8e detail (removed 'assert') 12 years ago
Roberto Ierusalimschy 138e69cc55 correct error message for floating-point values out of (integer) range 12 years ago
Roberto Ierusalimschy 0394314c7a avoid using a negative value to test 'lua_tounsigned' 12 years ago
Roberto Ierusalimschy 6fb0b11350 string contatenation handles conversion of integers to strings + 12 years ago
Roberto Ierusalimschy 9c43d6a24e new format "%I" in 'lua_pushfstring' for lua_Integer 12 years ago
Roberto Ierusalimschy af8efcc762 detail (avoid unnecessary "unconst" in cast) 12 years ago
Roberto Ierusalimschy 4082c77ff2 error message for 'bad self' includes original 'extramsg' 12 years ago
Roberto Ierusalimschy 7a3de1aba3 typo in comment 12 years ago
Roberto Ierusalimschy c1a2a646c8 details (no need to use lua_pushfstring for plain strings) 12 years ago
Roberto Ierusalimschy 4dd0622d0c bug in luaL_getsubtable (calling lua_absindex not with original stack) 13 years ago
Roberto Ierusalimschy 4cca1a436d details (using lua_setglobal/lua_getglobal instead of explicit 13 years ago
Roberto Ierusalimschy 3e66d3b4be cleaner code (avoids loop with empty body) 13 years ago
Roberto Ierusalimschy 29a28693e5 'luaL_checkversion' called by 'luaL_setfuncs' 13 years ago
Roberto Ierusalimschy e320b5b672 small bug: format '%d' for lua_Number argument 13 years ago
Roberto Ierusalimschy e2feb886d6 macro 'luaL_getmetatable' seems more appropriate when getting 13 years ago
Roberto Ierusalimschy 7bcb2462e4 comments 13 years ago
Roberto Ierusalimschy 3617e04e97 'lua_load' has an extra argument 'mode' 13 years ago