Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | in 'luaL_checkversion_' check numeric types first. (Other tests | Roberto Ierusalimschy | 2014-07-19 | 1 | -4/+3 |
| | | | | depend on correct numeric type.) | ||||
* | new conversion float->integer: conversion is valid only when | Roberto Ierusalimschy | 2014-07-17 | 1 | -3/+3 |
| | | | | float has an exact representation as an integer | ||||
* | 'requiref' checks 'package.loaded' before loading a module | Roberto Ierusalimschy | 2014-07-16 | 1 | -11/+15 |
| | |||||
* | unsigned-manipulation functions (lua_puhsunsigned, lua_tounsigned, etc.) | Roberto Ierusalimschy | 2014-06-26 | 1 | -16/+1 |
| | | | | deprecated | ||||
* | addition of '.0' to float representation done by the kernel | Roberto Ierusalimschy | 2014-05-12 | 1 | -8/+3 |
| | |||||
* | keep 'luaL_checkversion_' with its signature in version 5.2, for | Roberto Ierusalimschy | 2014-04-15 | 1 | -3/+3 |
| | | | | correct error messages in case of version mixings | ||||
* | detail (error message for conversion from float to integer) | Roberto Ierusalimschy | 2014-04-01 | 1 | -2/+2 |
| | |||||
* | lua_gettable and similars return type of gotten value | Roberto Ierusalimschy | 2014-03-12 | 1 | -11/+7 |
| | |||||
* | detail (better error messages for light userdata) | Roberto Ierusalimschy | 2014-02-19 | 1 | -1/+3 |
| | |||||
* | new field '__name' in metatables to help better error messages | Roberto Ierusalimschy | 2014-02-11 | 1 | -3/+11 |
| | |||||
* | insertion of ".0" in floats with integer values done by "luaL_tolstring", | Roberto Ierusalimschy | 2014-02-05 | 1 | -5/+11 |
| | | | | not by the core | ||||
* | 'arg' arguments (previously called 'narg', 'nArg', 'numArg', etc.) | Roberto Ierusalimschy | 2014-01-05 | 1 | -46/+46 |
| | | | | renamed all to 'arg' | ||||
* | no need to check "bad conversion number->int;" in luaL_checkversion, | Roberto Ierusalimschy | 2013-06-27 | 1 | -12/+6 |
| | | | | | | as now Lua does not use tricks for the conversion, but there is a need to check the sizes of number types, as they can be different in two modules | ||||
* | 'luaL_len' returns lua_Integer instead of 'int' | Roberto Ierusalimschy | 2013-06-25 | 1 | -5/+5 |
| | |||||
* | detail (removed 'assert') | Roberto Ierusalimschy | 2013-06-14 | 1 | -4/+2 |
| | |||||
* | correct error message for floating-point values out of (integer) range | Roberto Ierusalimschy | 2013-06-14 | 1 | -4/+15 |
| | |||||
* | avoid using a negative value to test 'lua_tounsigned' | Roberto Ierusalimschy | 2013-06-14 | 1 | -4/+5 |
| | |||||
* | string contatenation handles conversion of integers to strings + | Roberto Ierusalimschy | 2013-06-04 | 1 | -10/+5 |
| | | | | floats always format as floats (with decimal dot or exponent) | ||||
* | new format "%I" in 'lua_pushfstring' for lua_Integer | Roberto Ierusalimschy | 2013-04-25 | 1 | -2/+12 |
| | |||||
* | detail (avoid unnecessary "unconst" in cast) | Roberto Ierusalimschy | 2013-03-21 | 1 | -2/+2 |
| | |||||
* | error message for 'bad self' includes original 'extramsg' | Roberto Ierusalimschy | 2012-10-19 | 1 | -2/+3 |
| | |||||
* | typo in comment | Roberto Ierusalimschy | 2012-09-24 | 1 | -2/+2 |
| | |||||
* | details (no need to use lua_pushfstring for plain strings) | Roberto Ierusalimschy | 2012-08-16 | 1 | -3/+3 |
| | |||||
* | bug in luaL_getsubtable (calling lua_absindex not with original stack) | Roberto Ierusalimschy | 2012-05-31 | 1 | -3/+3 |
| | |||||
* | details (using lua_setglobal/lua_getglobal instead of explicit | Roberto Ierusalimschy | 2012-04-20 | 1 | -5/+3 |
| | | | | use of the global table) | ||||
* | cleaner code (avoids loop with empty body) | Roberto Ierusalimschy | 2012-03-19 | 1 | -3/+5 |
| | |||||
* | 'luaL_checkversion' called by 'luaL_setfuncs' | Roberto Ierusalimschy | 2012-03-18 | 1 | -1/+2 |
| | |||||
* | small bug: format '%d' for lua_Number argument | Roberto Ierusalimschy | 2011-12-06 | 1 | -2/+2 |
| | |||||
* | macro 'luaL_getmetatable' seems more appropriate when getting | Roberto Ierusalimschy | 2011-12-02 | 1 | -3/+3 |
| | | | | metatables in registry | ||||
* | comments | Roberto Ierusalimschy | 2011-11-30 | 1 | -5/+4 |
| | |||||
* | 'lua_load' has an extra argument 'mode' | Roberto Ierusalimschy | 2011-11-29 | 1 | -28/+9 |
| | |||||
* | new function 'luaL_loadfilex' | Roberto Ierusalimschy | 2011-11-14 | 1 | -7/+27 |
| | |||||
* | in 'luaL_checkstack', include extra stack space in test to allow | Roberto Ierusalimschy | 2011-11-09 | 1 | -2/+4 |
| | | | | correct execution of error routines, if necessary | ||||
* | removed unused variable 'found' (in 'findfield') + removed legacy | Roberto Ierusalimschy | 2011-07-25 | 1 | -4/+3 |
| | | | | test for 'what' being "tail" | ||||
* | 'os.execute' (and similars) should return 'exit' and code in case | Roberto Ierusalimschy | 2011-06-16 | 1 | -7/+6 |
| | | | | of success, too. | ||||
* | more complete (and hopefuly more correct) handling of 'sizeof(char)' | Roberto Ierusalimschy | 2011-05-03 | 1 | -4/+6 |
| | |||||
* | 'luaL_setfuncs' does not need to accept a NULL list. (If there is | Roberto Ierusalimschy | 2011-04-19 | 1 | -3/+6 |
| | | | | no list, there is no reason to call this function.) | ||||
* | 'luaL_findtable' -> 'luaL_getsubtable' | Roberto Ierusalimschy | 2011-04-08 | 1 | -7/+7 |
| | |||||
* | returns for file-related functions and process-related functions | Roberto Ierusalimschy | 2011-03-03 | 1 | -1/+59 |
| | | | | unified in 'auxlib' | ||||
* | 'luaL_findtable' returns boolean about whether it created a new | Roberto Ierusalimschy | 2011-01-10 | 1 | -3/+4 |
| | | | | table (to easy initializing table) | ||||
* | new function 'luaL_setmetatable' | Roberto Ierusalimschy | 2010-11-10 | 1 | -1/+7 |
| | |||||
* | 'luaL_typeerror' deprecated | Roberto Ierusalimschy | 2010-11-10 | 1 | -4/+4 |
| | |||||
* | detail (message) | Roberto Ierusalimschy | 2010-11-09 | 1 | -2/+2 |
| | |||||
* | 'luaL_checkversion' also checks convertions (number to integer types) | Roberto Ierusalimschy | 2010-10-29 | 1 | -1/+8 |
| | |||||
* | new type lua_Unsigned and corresponding projection/injection functions | Roberto Ierusalimschy | 2010-10-25 | 1 | -1/+16 |
| | |||||
* | corrected warnings from different compilers (mostly casts and small | Roberto Ierusalimschy | 2010-10-25 | 1 | -2/+2 |
| | | | | details) | ||||
* | 'luaL_loadlib' accepts Utf8 BOM in the beginning of files | Roberto Ierusalimschy | 2010-10-01 | 1 | -13/+26 |
| | |||||
* | use index 0 for header of list of free references | Roberto Ierusalimschy | 2010-08-03 | 1 | -7/+7 |
| | |||||
* | 'module'/'luaL_register' and associates are deprecated | Roberto Ierusalimschy | 2010-07-28 | 1 | -1/+3 |
| | |||||
* | functions lua_tonumber/lua_tointeger replaced by lua_tonumberx/lua_tointegerx | Roberto Ierusalimschy | 2010-07-02 | 1 | -7/+10 |
| | | | | that have an extra out parameter with conversion status |