summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* 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
|