Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | new function 'math.ult' (unsigned less than) | Roberto Ierusalimschy | 2014-07-28 | 1 | -1/+10 | |
| | ||||||
* | first implementation for 'table.copy' | Roberto Ierusalimschy | 2014-07-25 | 1 | -1/+39 | |
| | ||||||
* | 'ipairs' respects metamethods | Roberto Ierusalimschy | 2014-07-24 | 3 | -7/+49 | |
| | ||||||
* | extra space for new threads is initialized with a copy of the main | Roberto Ierusalimschy | 2014-07-24 | 1 | -3/+4 | |
| | | | | thread, not of the creator thread. | |||||
* | better support for extra user space associated with a Lua state | Roberto Ierusalimschy | 2014-07-24 | 4 | -11/+23 | |
| | ||||||
* | detail (extra byte in LUAI_EXTRASPACE to test proper alignment of | Roberto Ierusalimschy | 2014-07-23 | 1 | -2/+3 | |
| | | | | a lua_State) | |||||
* | better(?) alignment for some structures (pointers first) | Roberto Ierusalimschy | 2014-07-23 | 1 | -13/+13 | |
| | ||||||
* | comments + proper undef of compatibility macros + no need to undef | Roberto Ierusalimschy | 2014-07-23 | 1 | -12/+22 | |
| | | | | internal macros (this is the first definition) | |||||
* | no need for type 'pCallInfo' | Roberto Ierusalimschy | 2014-07-23 | 1 | -2/+2 | |
| | ||||||
* | 'lua_replace' implemented as a macro using 'lua_copy' | Roberto Ierusalimschy | 2014-07-22 | 2 | -23/+13 | |
| | ||||||
* | more precise type for argument to 'aux_upvalue' | Roberto Ierusalimschy | 2014-07-21 | 1 | -4/+4 | |
| | ||||||
* | 'iswhite' and related macros now can work directly on any object | Roberto Ierusalimschy | 2014-07-21 | 3 | -9/+9 | |
| | | | | (no need to convert to 'GCObject') | |||||
* | 'iswhite' and related macros now can work directly on any object | Roberto Ierusalimschy | 2014-07-19 | 3 | -15/+15 | |
| | | | | (no need to convert to 'GCObject') | |||||
* | 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 |