Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | put the restriction that 'luaC_barrierback' works only on tables | Roberto Ierusalimschy | 2014-07-19 | 3 | -29/+33 |
| | | | | in its prototype | ||||
* | removed useless assertion (gcstate != GCSpause already implied by | Roberto Ierusalimschy | 2014-07-19 | 1 | -4/+4 |
| | | | | | other assertions) and wrong assertion (setmetatable uses this barrier for tables too) | ||||
* | in 'luaL_checkversion_' check numeric types first. (Other tests | Roberto Ierusalimschy | 2014-07-19 | 1 | -4/+3 |
| | | | | depend on correct numeric type.) | ||||
* | no more "-2" for limits. (Limits should be precise; safety is in | Roberto Ierusalimschy | 2014-07-18 | 1 | -6/+6 |
| | | | | the code that handles these limits.) | ||||
* | detail (no need to define LUAI_USER_ALIGNMENT_T when it is not | Roberto Ierusalimschy | 2014-07-18 | 1 | -4/+5 |
| | | | | defined; simpler to define 'L_Umaxalign' directly) | ||||
* | type 'Udata' refers directly to structure inside the union (union | Roberto Ierusalimschy | 2014-07-18 | 7 | -35/+48 |
| | | | | used only for aligning purposes now) | ||||
* | type 'TString' refers directly to the structure inside the union | Roberto Ierusalimschy | 2014-07-18 | 13 | -104/+102 |
| | | | | (union used only for size purposes) | ||||
* | ensure size for LUAI_USER_ALIGNMENT_T in tests is larger than the | Roberto Ierusalimschy | 2014-07-18 | 1 | -2/+2 |
| | | | | structures it is aligning (in most architectures) | ||||
* | added check for conversion 'obj2gco' (and corrections for small | Roberto Ierusalimschy | 2014-07-18 | 10 | -39/+51 |
| | | | | problems detected by this check) | ||||
* | no need for field 'gch' anymore | Roberto Ierusalimschy | 2014-07-17 | 5 | -81/+71 |
| | |||||
* | change in GCObject: instead of being a union, it is now a structure | Roberto Ierusalimschy | 2014-07-17 | 2 | -19/+30 |
| | | | | | | | | with the common header of all collectable objects; union is used only for conversions. (Goal is to be able to check that the cast 'obj2gco' can have a check to ensure that object being converted is really a collectable object.). This is the first step in the change. | ||||
* | new type 'lua_Ctx' for continuation-function contexts (to allow type | Roberto Ierusalimschy | 2014-07-17 | 7 | -42/+63 |
| | | | | to be configurable) | ||||
* | new conversion float->integer: conversion is valid only when | Roberto Ierusalimschy | 2014-07-17 | 4 | -35/+46 |
| | | | | float has an exact representation as an integer | ||||
* | 'requiref' checks 'package.loaded' before loading a module | Roberto Ierusalimschy | 2014-07-16 | 2 | -13/+22 |
| | |||||
* | function 'type' keeps type names as upvalues to avoid creating strings | Roberto Ierusalimschy | 2014-07-16 | 1 | -8/+21 |
| | | | | everytime it is called | ||||
* | detail (added placeholders for non-function fields to preallocate | Roberto Ierusalimschy | 2014-07-16 | 3 | -3/+16 |
| | | | | space for them) | ||||
* | Table library now respects '__index'/'__newindex' metamethods | Roberto Ierusalimschy | 2014-07-16 | 1 | -43/+96 |
| | |||||
* | removed unused parameter Ä'L' in macro 'api_check' and company | Roberto Ierusalimschy | 2014-07-15 | 6 | -55/+52 |
| | |||||
* | added api check in 'lua_typename' (tag is valid) | Roberto Ierusalimschy | 2014-07-15 | 1 | -2/+3 |
| | |||||
* | detail (typos in comments) | Roberto Ierusalimschy | 2014-06-30 | 9 | -28/+28 |
| | |||||
* | unsigned-manipulation functions (lua_puhsunsigned, lua_tounsigned, etc.) | Roberto Ierusalimschy | 2014-06-26 | 6 | -32/+46 |
| | | | | deprecated | ||||
* | emergency collection can happen even when collector is stopped | Roberto Ierusalimschy | 2014-06-26 | 1 | -5/+3 |
| | |||||
* | detail (comment) | Roberto Ierusalimschy | 2014-06-26 | 1 | -2/+2 |
| | |||||
* | unsigned-manipulation functions (lua_puhsunsigned, lua_tounsigned, etc.) | Roberto Ierusalimschy | 2014-06-26 | 1 | -48/+1 |
| | | | | deprecated | ||||
* | var-arguments to the script come from 'arg' table (not from original | Roberto Ierusalimschy | 2014-06-26 | 1 | -10/+16 |
| | | | | 'argv' array) | ||||
* | 'IntPoint' -> 'point2int' + ensure that casted value fits in | Roberto Ierusalimschy | 2014-06-26 | 2 | -5/+5 |
| | | | | destination type | ||||
* | LUA_MAXUNSIGNED was only used to define 2.0^intnumbits (and that | Roberto Ierusalimschy | 2014-06-24 | 2 | -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 + better | Roberto Ierusalimschy | 2014-06-19 | 1 | -24/+23 |
| | | | | type cheking in 'set*value' macros | ||||
* | detail (avoid too large macro) | Roberto Ierusalimschy | 2014-06-19 | 1 | -3/+5 |
| | |||||
* | more precision between closure types ('LClosure' x 'CClosure') | Roberto Ierusalimschy | 2014-06-19 | 9 | -49/+49 |
| | |||||
* | use appropriate macros to convert GCObject to specific types | Roberto Ierusalimschy | 2014-06-18 | 3 | -9/+17 |
| | |||||
* | allows different 'source' for each prototype, but inherits it from | Roberto Ierusalimschy | 2014-06-18 | 2 | -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 chunk | Roberto Ierusalimschy | 2014-06-18 | 1 | -2/+4 |
| | |||||
* | changed macro for compatibility options + details | Roberto Ierusalimschy | 2014-06-18 | 1 | -5/+5 |
| | |||||
* | source for all prototypes must be equal in a chunk; no need to store | Roberto Ierusalimschy | 2014-06-18 | 2 | -4/+6 |
| | | | | each one separated | ||||
* | 'math.ifloor' is back | Roberto Ierusalimschy | 2014-06-18 | 1 | -1/+15 |
| | |||||
* | macro 'checkobjref' accepts NULL (as all its uses checked for NULL | Roberto Ierusalimschy | 2014-06-17 | 1 | -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 Ierusalimschy | 2014-06-12 | 3 | -16/+16 |
| | |||||
* | janitor work on 'lua_resume' and related code | Roberto Ierusalimschy | 2014-06-11 | 1 | -28/+32 |
| | |||||
* | new items in default path for Windows | Roberto Ierusalimschy | 2014-06-10 | 1 | -6/+10 |
| | |||||
* | bit-field CIST_YIELDED removed (it was never consulted) | Roberto Ierusalimschy | 2014-06-10 | 2 | -10/+8 |
| | |||||
* | must also reset CIST_OAH if necessary (CallInfo is not a fresh one) | Roberto Ierusalimschy | 2014-06-10 | 1 | -5/+6 |
| | |||||
* | more relaxed rules for __eq metamethod (more similar to other | Roberto Ierusalimschy | 2014-06-10 | 3 | -20/+11 |
| | | | | operators) | ||||
* | no need for field 'status' in structure 'CallInfo' (after removal | Roberto Ierusalimschy | 2014-06-10 | 3 | -29/+29 |
| | | | | | of 'lua_getctx') + field 'old_allowhook' can be packed into a single bit | ||||
* | new type lua_KFunction + no more 'lua_getctx' | Roberto Ierusalimschy | 2014-06-10 | 6 | -61/+44 |
| | |||||
* | added comments | Roberto Ierusalimschy | 2014-06-09 | 1 | -6/+19 |
| | |||||
* | lots of janitor work (including comments) + 'arg' table created | Roberto Ierusalimschy | 2014-06-05 | 1 | -153/+223 |
| | | | | | before running any script + changes in the parameters and return of 'collectargs' | ||||
* | 'math.mof' works with integers, too | Roberto Ierusalimschy | 2014-06-02 | 1 | -12/+24 |
| | |||||
* | 'assert' does not assume that the error object is a string | Roberto Ierusalimschy | 2014-06-02 | 1 | -4/+9 |
| | |||||
* | if numeral overflows the reading buffer, signal it as invalid input | Roberto Ierusalimschy | 2014-06-02 | 1 | -3/+5 |
| | | | | (resulting in nil) |