summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* commentsRoberto Ierusalimschy2014-05-111-3/+6
|
* in 'for' loops, make the limit an integer whenever initial value andRoberto Ierusalimschy2014-05-091-3/+40
| | | | step are integers
* 'T.totalmem' accepts 0 for unlimited memoryRoberto Ierusalimschy2014-05-081-3/+5
|
* commentsRoberto Ierusalimschy2014-05-081-5/+6
|
* new function 'lua_isyieldable' (and 'coroutine.isyieldable')Roberto Ierusalimschy2014-05-083-7/+26
|
* updated several 'fix' fieldsRoberto Ierusalimschy2014-05-071-15/+13
|
* marks for releases 5.2.2 and 5.2.3 + correction in last bug's descriptionRoberto Ierusalimschy2014-05-071-3/+13
|
* better alignments (for 64-bit arquitectures) for structures 'Table' andRoberto Ierusalimschy2014-05-071-4/+4
| | | | 'TString'
* 'math.fmod' handles integers as integersRoberto Ierusalimschy2014-05-021-4/+14
|
* 'lua_getuservalue' returns type of user valueRoberto Ierusalimschy2014-05-012-4/+5
|
* 'lua_strtonum' (and 'luaO_str2num') now return string size, instead ofRoberto Ierusalimschy2014-05-017-41/+39
| | | | receiving it
* function 'limittointeger' no needed (now that 'tointeger_aux' handlesRoberto Ierusalimschy2014-04-301-16/+2
| | | | integers too)
* debug.numbits replaced by debug.CsizeRoberto Ierusalimschy2014-04-301-11/+25
|
* 'luaO_str2d' + 'luaO_str2int' replaced by 'luaO_str2num' plus properRoberto Ierusalimschy2014-04-301-22/+46
| | | | conversion from strings to integers
* 'luaO_str2d' + 'luaO_str2int' replaced by 'luaO_str2num' (which convertsRoberto Ierusalimschy2014-04-304-44/+50
| | | | to float or integer according to the string syntax)
* merge of common parts from 'limittointeger' and 'luaV_tointeger_'Roberto Ierusalimschy2014-04-291-10/+15
|
* 'setnvalue' -> 'setfltvalue' (for consitency with 'fltvalue')Roberto Ierusalimschy2014-04-296-27/+27
|
* 'for' loop tries to convert limit to integer when initial value andRoberto Ierusalimschy2014-04-291-2/+23
| | | | step are integers
* template for 'mkstemp' is configurable (via LUA_TMPNAMTEMPLATE)Roberto Ierusalimschy2014-04-291-2/+8
|
* using lua_Unsigned (instead of lua_Integer) for bit manipulationRoberto Ierusalimschy2014-04-271-7/+8
|
* n^-m gives float result (instead of error)Roberto Ierusalimschy2014-04-274-17/+15
|
* 'math.random(n,m)' interval restricted in size, to avoid using conversionRoberto Ierusalimschy2014-04-171-8/+12
| | | | between 'double' and 'unsigned' (which can be slow and unreliable)
* commentRoberto Ierusalimschy2014-04-171-3/+3
|
* back to larger sizes for 'dumpint/undumpint' (small Lua shouldRoberto Ierusalimschy2014-04-161-13/+39
| | | | be able to dump/undump long-long integers)
* correct integer limits for Windows + small adjustments for shortRoberto Ierusalimschy2014-04-161-3/+14
| | | | option
* keep 'luaL_checkversion_' with its signature in version 5.2, forRoberto Ierusalimschy2014-04-152-5/+5
| | | | correct error messages in case of version mixings
* initial '*' in 'io.read' formats is deprecatedRoberto Ierusalimschy2014-04-151-4/+4
|
* cast_u2s/cast_s2u renamed l_castS2U/l_castU2S to be configurable fromRoberto Ierusalimschy2014-04-156-19/+23
| | | | outside (mostly for testing)
* macros cast_integer/cast_unsigned replaced by cast_u2s/cast_s2u, thatRoberto Ierusalimschy2014-04-157-25/+33
| | | | should be used only between lua_Integer and lua_Unsigned
* instructions in 'runC' sorted alphabetically + new instructionsRoberto Ierusalimschy2014-04-141-192/+198
| | | | 'tointeger'/'tounsigned'
* size of strings in 'string.rep' should be limited by the size ofRoberto Ierusalimschy2014-04-141-3/+3
| | | | lua_Integer, not of 'int'
* using predefined limits (instead of computing min/max values for eachRoberto Ierusalimschy2014-04-141-16/+28
| | | | type) + some comments
* maximum size of array part of a table now is restricted not only byRoberto Ierusalimschy2014-04-131-8/+8
| | | | the size of an 'int', but also by the size of a 'lua_Integer'
* new macro LUA_MAXUNSIGNED + support for 'short' integers (for tests only)Roberto Ierusalimschy2014-04-121-12/+36
|
* new global macro 'LUA_MAXUNSIGNED'Roberto Ierusalimschy2014-04-123-10/+6
|
* detail (avoid "casting down" in case lua_Integer is smaller than int)Roberto Ierusalimschy2014-04-121-2/+2
|
* errors like 1e100 << "2" were giving wrong messagesRoberto Ierusalimschy2014-04-111-3/+5
|
* correct definition for 'MAX_SIZE' (using singed integers as the limit,Roberto Ierusalimschy2014-04-111-8/+9
| | | | not unsigned ones) + new type 'l_uacInt'
* new type 'LUAI_UACINT' (result of an 'usual argument conversion' ofRoberto Ierusalimschy2014-04-112-3/+7
| | | | a lua_Integer)
* 'MIN/MAX_INTEGER' replaced by 'LUA_MIN/MAXINTEGER'Roberto Ierusalimschy2014-04-112-9/+6
|
* details in commentsRoberto Ierusalimschy2014-04-111-5/+6
|
* maximum size for dump of integers is size of lua_Integer (whichRoberto Ierusalimschy2014-04-101-36/+17
| | | | means that there is no overflows when undumping)
* pack/unpack functions renamed dump/undumpRoberto Ierusalimschy2014-04-101-14/+14
|
* math.random: use 'random' when available + changes to work correctlyRoberto Ierusalimschy2014-04-101-8/+19
| | | | for any integer interval (up to [minint,maxint])
* more precision for PI + no more RADIANS_PER_DEGREE +Roberto Ierusalimschy2014-04-091-7/+6
| | | | 'min/maxint' -> 'min/maxinteger'
* new definition for 'luai_nummod' (using 'fmod')Roberto Ierusalimschy2014-04-093-6/+13
|
* using 'volatile' in 'tofloat' to ensure result has the same precisionRoberto Ierusalimschy2014-04-081-4/+7
| | | | (lua_Number) of other computations
* 'GCmemtrav' does not need to track the entire collection, only eachRoberto Ierusalimschy2014-04-041-8/+8
| | | | single step individually
* 'int' -> 'lua_Integer' in several functionsRoberto Ierusalimschy2014-04-041-11/+11
|
* new constants 'math.maxint'/'math.minint'Roberto Ierusalimschy2014-04-031-1/+5
|