aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* new macros LUA_MAXINTEGER/LUA_MININTEGERRoberto Ierusalimschy2014-04-031-1/+6
|
* several changes in 'utf8.offset'Roberto Ierusalimschy2014-04-031-22/+27
|
* bug: compiler can optimize away overflow check in 'table.concat'Roberto Ierusalimschy2014-04-031-5/+16
|
* avoid constant overflow when shifting left signed integers untilRoberto Ierusalimschy2014-04-031-5/+5
| | | | their last bit
* new implementation for 'utf8.len'Roberto Ierusalimschy2014-04-021-13/+18
|
* bug (in work version): comparisons should not try to convertRoberto Ierusalimschy2014-04-021-5/+20
| | | | strings to numbers
* LUAI_FUNC is being used only in header filesRoberto Ierusalimschy2014-04-023-6/+6
|
* detail (error message for conversion from float to integer)Roberto Ierusalimschy2014-04-011-2/+2
|
* added an 'api_check' for negative sizes in 'lua_checkstack'Roberto Ierusalimschy2014-04-011-1/+2
|
* bug: compiler could optimize away overflow check (+ changing indicesRoberto Ierusalimschy2014-04-011-9/+12
| | | | from 'int' to 'lua_Integer')
* some details to avoid warningsRoberto Ierusalimschy2014-04-016-15/+15
|
* more precise estimation (GCestimate) for total bytes in use afterRoberto Ierusalimschy2014-04-011-14/+18
| | | | a GC cycle
* detail ('1U' -> '1u', like other unsigned constants in the code)Roberto Ierusalimschy2014-03-311-3/+3
|
* math.abs, math.max, and math.min work for integers, too.Roberto Ierusalimschy2014-03-311-15/+20
|
* fancier way to do sign extensionRoberto Ierusalimschy2014-03-311-4/+3
|
* macro 'tostring' is used only by 'luaV_concat'Roberto Ierusalimschy2014-03-312-4/+4
|
* missplelling in comments/function names (endianess -> endianness)Roberto Ierusalimschy2014-03-273-13/+13
|
* definition of LUA_REAL_* and LUA_INT_* moved to the beginning ofRoberto Ierusalimschy2014-03-211-19/+23
| | | | configurations
* native lua_Number may be neither float nor double (in pack/unpackfloat)Roberto Ierusalimschy2014-03-211-17/+22
|
* details (typos in comments)Roberto Ierusalimschy2014-03-216-18/+18
|
* copyright year -> 2014Roberto Ierusalimschy2014-03-201-3/+3
|
* detail (to avoid warnings with '-O3')Roberto Ierusalimschy2014-03-201-3/+3
|
* does not create library when it is deprecatedRoberto Ierusalimschy2014-03-201-10/+2
|
* configuration for Lua type corresponding to 'time_t'Roberto Ierusalimschy2014-03-201-10/+24
|
* 'posrelat' -> 'u_posrelat' (to avoid name conflict in 'one.c')Roberto Ierusalimschy2014-03-201-6/+6
|
* with 64-bit integers, file offsets do not need to be floatsRoberto Ierusalimschy2014-03-191-4/+4
|
* removed function 'luaS_eqstr' (not used anywhere)Roberto Ierusalimschy2014-03-192-12/+2
|
* detail (removed unused prototype)Roberto Ierusalimschy2014-03-191-2/+1
|
* bitlib has been deprecatedRoberto Ierusalimschy2014-03-182-2/+28
|
* detail (comment)Roberto Ierusalimschy2014-03-151-2/+2
|
* detailsRoberto Ierusalimschy2014-03-141-7/+8
|
* changing prefix of configurable macros from "lua_" to "l_"Roberto Ierusalimschy2014-03-131-26/+26
|
* lua_gettable and similars return type of gotten valueRoberto Ierusalimschy2014-03-127-44/+40
|
* detail in string.rep: allow large repetitions of the empty string (noRoberto Ierusalimschy2014-03-121-4/+5
| | | | possibility of overflows)