summaryrefslogtreecommitdiff
path: root/lauxlib.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* in 'luaL_checkversion_' check numeric types first. (Other testsRoberto Ierusalimschy2014-07-191-4/+3
| | | | depend on correct numeric type.)
* new conversion float->integer: conversion is valid only whenRoberto Ierusalimschy2014-07-171-3/+3
| | | | float has an exact representation as an integer
* 'requiref' checks 'package.loaded' before loading a moduleRoberto Ierusalimschy2014-07-161-11/+15
|
* unsigned-manipulation functions (lua_puhsunsigned, lua_tounsigned, etc.)Roberto Ierusalimschy2014-06-261-16/+1
| | | | deprecated
* addition of '.0' to float representation done by the kernelRoberto Ierusalimschy2014-05-121-8/+3
|
* keep 'luaL_checkversion_' with its signature in version 5.2, forRoberto Ierusalimschy2014-04-151-3/+3
| | | | correct error messages in case of version mixings
* detail (error message for conversion from float to integer)Roberto Ierusalimschy2014-04-011-2/+2
|
* lua_gettable and similars return type of gotten valueRoberto Ierusalimschy2014-03-121-11/+7
|
* detail (better error messages for light userdata)Roberto Ierusalimschy2014-02-191-1/+3
|
* new field '__name' in metatables to help better error messagesRoberto Ierusalimschy2014-02-111-3/+11
|
* insertion of ".0" in floats with integer values done by "luaL_tolstring",Roberto Ierusalimschy2014-02-051-5/+11
| | | | not by the core
* 'arg' arguments (previously called 'narg', 'nArg', 'numArg', etc.)Roberto Ierusalimschy2014-01-051-46/+46
| | | | renamed all to 'arg'
* no need to check "bad conversion number->int;" in luaL_checkversion,Roberto Ierusalimschy2013-06-271-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 Ierusalimschy2013-06-251-5/+5
|
* detail (removed 'assert')Roberto Ierusalimschy2013-06-141-4/+2
|
* correct error message for floating-point values out of (integer) rangeRoberto Ierusalimschy2013-06-141-4/+15
|
* avoid using a negative value to test 'lua_tounsigned'Roberto Ierusalimschy2013-06-141-4/+5
|
* string contatenation handles conversion of integers to strings +Roberto Ierusalimschy2013-06-041-10/+5
| | | | floats always format as floats (with decimal dot or exponent)
* new format "%I" in 'lua_pushfstring' for lua_IntegerRoberto Ierusalimschy2013-04-251-2/+12
|
* detail (avoid unnecessary "unconst" in cast)Roberto Ierusalimschy2013-03-211-2/+2
|
* error message for 'bad self' includes original 'extramsg'Roberto Ierusalimschy2012-10-191-2/+3
|
* typo in commentRoberto Ierusalimschy2012-09-241-2/+2
|
* details (no need to use lua_pushfstring for plain strings)Roberto Ierusalimschy2012-08-161-3/+3
|
* bug in luaL_getsubtable (calling lua_absindex not with original stack)Roberto Ierusalimschy2012-05-311-3/+3
|
* details (using lua_setglobal/lua_getglobal instead of explicitRoberto Ierusalimschy2012-04-201-5/+3
| | | | use of the global table)
* cleaner code (avoids loop with empty body)Roberto Ierusalimschy2012-03-191-3/+5
|
* 'luaL_checkversion' called by 'luaL_setfuncs'Roberto Ierusalimschy2012-03-181-1/+2
|
* small bug: format '%d' for lua_Number argumentRoberto Ierusalimschy2011-12-061-2/+2
|
* macro 'luaL_getmetatable' seems more appropriate when gettingRoberto Ierusalimschy2011-12-021-3/+3
| | | | metatables in registry
* commentsRoberto Ierusalimschy2011-11-301-5/+4
|
* 'lua_load' has an extra argument 'mode'Roberto Ierusalimschy2011-11-291-28/+9
|
* new function 'luaL_loadfilex'Roberto Ierusalimschy2011-11-141-7/+27
|
* in 'luaL_checkstack', include extra stack space in test to allowRoberto Ierusalimschy2011-11-091-2/+4
| | | | correct execution of error routines, if necessary
* removed unused variable 'found' (in 'findfield') + removed legacyRoberto Ierusalimschy2011-07-251-4/+3
| | | | test for 'what' being "tail"
* 'os.execute' (and similars) should return 'exit' and code in caseRoberto Ierusalimschy2011-06-161-7/+6
| | | | of success, too.
* more complete (and hopefuly more correct) handling of 'sizeof(char)'Roberto Ierusalimschy2011-05-031-4/+6
|
* 'luaL_setfuncs' does not need to accept a NULL list. (If there isRoberto Ierusalimschy2011-04-191-3/+6
| | | | no list, there is no reason to call this function.)
* 'luaL_findtable' -> 'luaL_getsubtable'Roberto Ierusalimschy2011-04-081-7/+7
|
* returns for file-related functions and process-related functionsRoberto Ierusalimschy2011-03-031-1/+59
| | | | unified in 'auxlib'
* 'luaL_findtable' returns boolean about whether it created a newRoberto Ierusalimschy2011-01-101-3/+4
| | | | table (to easy initializing table)
* new function 'luaL_setmetatable'Roberto Ierusalimschy2010-11-101-1/+7
|
* 'luaL_typeerror' deprecatedRoberto Ierusalimschy2010-11-101-4/+4
|
* detail (message)Roberto Ierusalimschy2010-11-091-2/+2
|
* 'luaL_checkversion' also checks convertions (number to integer types)Roberto Ierusalimschy2010-10-291-1/+8
|
* new type lua_Unsigned and corresponding projection/injection functionsRoberto Ierusalimschy2010-10-251-1/+16
|
* corrected warnings from different compilers (mostly casts and smallRoberto Ierusalimschy2010-10-251-2/+2
| | | | details)
* 'luaL_loadlib' accepts Utf8 BOM in the beginning of filesRoberto Ierusalimschy2010-10-011-13/+26
|
* use index 0 for header of list of free referencesRoberto Ierusalimschy2010-08-031-7/+7
|
* 'module'/'luaL_register' and associates are deprecatedRoberto Ierusalimschy2010-07-281-1/+3
|
* functions lua_tonumber/lua_tointeger replaced by lua_tonumberx/lua_tointegerxRoberto Ierusalimschy2010-07-021-7/+10
| | | | that have an extra out parameter with conversion status