aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Table library now respects '__index'/'__newindex' metamethodsRoberto Ierusalimschy2014-07-161-43/+96
|
* removed unused parameter Ä'L' in macro 'api_check' and companyRoberto Ierusalimschy2014-07-156-55/+52
|
* added api check in 'lua_typename' (tag is valid)Roberto Ierusalimschy2014-07-151-2/+3
|
* detail (typos in comments)Roberto Ierusalimschy2014-06-309-28/+28
|
* unsigned-manipulation functions (lua_puhsunsigned, lua_tounsigned, etc.)Roberto Ierusalimschy2014-06-266-32/+46
| | | | deprecated
* emergency collection can happen even when collector is stoppedRoberto Ierusalimschy2014-06-261-5/+3
|
* detail (comment)Roberto Ierusalimschy2014-06-261-2/+2
|
* unsigned-manipulation functions (lua_puhsunsigned, lua_tounsigned, etc.)Roberto Ierusalimschy2014-06-261-48/+1
| | | | deprecated
* var-arguments to the script come from 'arg' table (not from originalRoberto Ierusalimschy2014-06-261-10/+16
| | | | 'argv' array)
* 'IntPoint' -> 'point2int' + ensure that casted value fits inRoberto Ierusalimschy2014-06-262-5/+5
| | | | destination type
* LUA_MAXUNSIGNED was only used to define 2.0^intnumbits (and thatRoberto Ierusalimschy2014-06-242-9/+8
| | | | | | definition was not strictly portable), so it was removed and replaced by a more correct and direct definition for 2.0^intnumbits (only where it was needed)
* use proper macros to convert 'GCObject' to other objects + betterRoberto Ierusalimschy2014-06-191-24/+23
| | | | type cheking in 'set*value' macros
* detail (avoid too large macro)Roberto Ierusalimschy2014-06-191-3/+5
|
* more precision between closure types ('LClosure' x 'CClosure')Roberto Ierusalimschy2014-06-199-49/+49
|
* use appropriate macros to convert GCObject to specific typesRoberto Ierusalimschy2014-06-183-9/+17
|
* allows different 'source' for each prototype, but inherits it fromRoberto Ierusalimschy2014-06-182-21/+34
| | | | | parent when they are equal (only possible case for chunks created by the parser)
* added assertion about sources being the same for all protos in a chunkRoberto Ierusalimschy2014-06-181-2/+4
|
* changed macro for compatibility options + detailsRoberto Ierusalimschy2014-06-181-5/+5
|
* source for all prototypes must be equal in a chunk; no need to storeRoberto Ierusalimschy2014-06-182-4/+6
| | | | each one separated
* 'math.ifloor' is backRoberto Ierusalimschy2014-06-181-1/+15
|
* macro 'checkobjref' accepts NULL (as all its uses checked for NULLRoberto Ierusalimschy2014-06-171-21/+15
| | | | before) + user value from a userdata may not be a GC object
* cleaner way to handle bit CIST_OAH (with auxiliar macros)Roberto Ierusalimschy2014-06-123-16/+16
|
* janitor work on 'lua_resume' and related codeRoberto Ierusalimschy2014-06-111-28/+32
|
* new items in default path for WindowsRoberto Ierusalimschy2014-06-101-6/+10
|
* bit-field CIST_YIELDED removed (it was never consulted)Roberto Ierusalimschy2014-06-102-10/+8
|
* must also reset CIST_OAH if necessary (CallInfo is not a fresh one)Roberto Ierusalimschy2014-06-101-5/+6
|
* more relaxed rules for __eq metamethod (more similar to otherRoberto Ierusalimschy2014-06-103-20/+11
| | | | operators)
* no need for field 'status' in structure 'CallInfo' (after removalRoberto Ierusalimschy2014-06-103-29/+29
| | | | | of 'lua_getctx') + field 'old_allowhook' can be packed into a single bit
* new type lua_KFunction + no more 'lua_getctx'Roberto Ierusalimschy2014-06-106-61/+44
|
* added commentsRoberto Ierusalimschy2014-06-091-6/+19
|
* lots of janitor work (including comments) + 'arg' table createdRoberto Ierusalimschy2014-06-051-153/+223
| | | | | before running any script + changes in the parameters and return of 'collectargs'
* 'math.mof' works with integers, tooRoberto Ierusalimschy2014-06-021-12/+24
|
* 'assert' does not assume that the error object is a stringRoberto Ierusalimschy2014-06-021-4/+9
|
* if numeral overflows the reading buffer, signal it as invalid inputRoberto Ierusalimschy2014-06-021-3/+5
| | | | (resulting in nil)
* details (comments)Roberto Ierusalimschy2014-06-011-9/+7
|
* detail (to avoid warnings of unused variable)Roberto Ierusalimschy2014-05-291-2/+2
|
* more "religious" definition for 'lua_numtointeger'Roberto Ierusalimschy2014-05-271-9/+7
|
* no more 'math.ifloor' + new semantics for 'math.floor'/'math.ceil'Roberto Ierusalimschy2014-05-261-14/+18
|
* function 'luaV_numtointeger' changed to a global macroRoberto Ierusalimschy2014-05-264-29/+35
| | | | 'lua_numtointeger' (tricky, small, and useful in several places)
* simpler handling of 'GCScallfin' state + more commentsRoberto Ierusalimschy2014-05-251-57/+47
|
* detail (comment)Roberto Ierusalimschy2014-05-231-3/+3
|
* no more use of 'scanf' for reading numbersRoberto Ierusalimschy2014-05-212-27/+82
|
* small improvements concerning 'check_next'Roberto Ierusalimschy2014-05-211-25/+39
|
* commentsRoberto Ierusalimschy2014-05-201-4/+6
|
* better(?) implementation for 'pcall'/'xpcall' (regarding the insertionRoberto Ierusalimschy2014-05-161-20/+35
| | | | of the boolean first result)
* more direct implementation of 'table.pack'Roberto Ierusalimschy2014-05-161-10/+6
|
* small changes in field order in some structs to reduce paddingRoberto Ierusalimschy2014-05-152-14/+14
|
* removed macro 'luai_checknum' (as NaN trick is not doable now)Roberto Ierusalimschy2014-05-152-8/+2
|
* added a few commentsRoberto Ierusalimschy2014-05-151-1/+14
|
* deprecated library throws an error if called (instead of silentlyRoberto Ierusalimschy2014-05-152-6/+7
| | | | not loading itself)