Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2014-07-30 | new macro 'cvt2num' to better control whether strings are convertible | Roberto Ierusalimschy | 2 | -11/+18 | |
to numbers | |||||
2014-07-30 | new macro 'cvt2str' to better control whether numbers are convertible | Roberto Ierusalimschy | 6 | -52/+54 | |
to strings | |||||
2014-07-30 | do not assume numbers are coercible to strings | Roberto Ierusalimschy | 1 | -4/+7 | |
2014-07-29 | simpler definition for 'setobj' (trust the compiler for the assignment) | Roberto Ierusalimschy | 4 | -11/+23 | |
2014-07-29 | added some casts between integral types (to avoid warnings) | Roberto Ierusalimschy | 4 | -15/+15 | |
2014-07-28 | some janitorial work (comments, small refactoring) | Roberto Ierusalimschy | 1 | -45/+96 | |
2014-07-28 | new function 'math.ult' (unsigned less than) | Roberto Ierusalimschy | 1 | -1/+10 | |
2014-07-25 | first implementation for 'table.copy' | Roberto Ierusalimschy | 1 | -1/+39 | |
2014-07-24 | 'ipairs' respects metamethods | Roberto Ierusalimschy | 3 | -7/+49 | |
2014-07-24 | extra space for new threads is initialized with a copy of the main | Roberto Ierusalimschy | 1 | -3/+4 | |
thread, not of the creator thread. | |||||
2014-07-24 | better support for extra user space associated with a Lua state | Roberto Ierusalimschy | 4 | -11/+23 | |
2014-07-23 | detail (extra byte in LUAI_EXTRASPACE to test proper alignment of | Roberto Ierusalimschy | 1 | -2/+3 | |
a lua_State) | |||||
2014-07-23 | better(?) alignment for some structures (pointers first) | Roberto Ierusalimschy | 1 | -13/+13 | |
2014-07-23 | comments + proper undef of compatibility macros + no need to undef | Roberto Ierusalimschy | 1 | -12/+22 | |
internal macros (this is the first definition) | |||||
2014-07-23 | no need for type 'pCallInfo' | Roberto Ierusalimschy | 1 | -2/+2 | |
2014-07-22 | 'lua_replace' implemented as a macro using 'lua_copy' | Roberto Ierusalimschy | 2 | -23/+13 | |
2014-07-21 | more precise type for argument to 'aux_upvalue' | Roberto Ierusalimschy | 1 | -4/+4 | |
2014-07-21 | 'iswhite' and related macros now can work directly on any object | Roberto Ierusalimschy | 3 | -9/+9 | |
(no need to convert to 'GCObject') | |||||
2014-07-19 | 'iswhite' and related macros now can work directly on any object | Roberto Ierusalimschy | 3 | -15/+15 | |
(no need to convert to 'GCObject') | |||||
2014-07-19 | put the restriction that 'luaC_barrierback' works only on tables | Roberto Ierusalimschy | 3 | -29/+33 | |
in its prototype | |||||
2014-07-19 | removed useless assertion (gcstate != GCSpause already implied by | Roberto Ierusalimschy | 1 | -4/+4 | |
other assertions) and wrong assertion (setmetatable uses this barrier for tables too) | |||||
2014-07-19 | in 'luaL_checkversion_' check numeric types first. (Other tests | Roberto Ierusalimschy | 1 | -4/+3 | |
depend on correct numeric type.) | |||||
2014-07-18 | no more "-2" for limits. (Limits should be precise; safety is in | Roberto Ierusalimschy | 1 | -6/+6 | |
the code that handles these limits.) | |||||
2014-07-18 | detail (no need to define LUAI_USER_ALIGNMENT_T when it is not | Roberto Ierusalimschy | 1 | -4/+5 | |
defined; simpler to define 'L_Umaxalign' directly) | |||||
2014-07-18 | type 'Udata' refers directly to structure inside the union (union | Roberto Ierusalimschy | 7 | -35/+48 | |
used only for aligning purposes now) | |||||
2014-07-18 | type 'TString' refers directly to the structure inside the union | Roberto Ierusalimschy | 13 | -104/+102 | |
(union used only for size purposes) | |||||
2014-07-18 | ensure size for LUAI_USER_ALIGNMENT_T in tests is larger than the | Roberto Ierusalimschy | 1 | -2/+2 | |
structures it is aligning (in most architectures) | |||||
2014-07-18 | added check for conversion 'obj2gco' (and corrections for small | Roberto Ierusalimschy | 10 | -39/+51 | |
problems detected by this check) | |||||
2014-07-17 | no need for field 'gch' anymore | Roberto Ierusalimschy | 5 | -81/+71 | |
2014-07-17 | change in GCObject: instead of being a union, it is now a structure | Roberto Ierusalimschy | 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. | |||||
2014-07-17 | new type 'lua_Ctx' for continuation-function contexts (to allow type | Roberto Ierusalimschy | 7 | -42/+63 | |
to be configurable) | |||||
2014-07-17 | new conversion float->integer: conversion is valid only when | Roberto Ierusalimschy | 4 | -35/+46 | |
float has an exact representation as an integer | |||||
2014-07-16 | 'requiref' checks 'package.loaded' before loading a module | Roberto Ierusalimschy | 2 | -13/+22 | |
2014-07-16 | function 'type' keeps type names as upvalues to avoid creating strings | Roberto Ierusalimschy | 1 | -8/+21 | |
everytime it is called | |||||
2014-07-16 | detail (added placeholders for non-function fields to preallocate | Roberto Ierusalimschy | 3 | -3/+16 | |
space for them) | |||||
2014-07-16 | Table library now respects '__index'/'__newindex' metamethods | Roberto Ierusalimschy | 1 | -43/+96 | |
2014-07-15 | removed unused parameter Ä'L' in macro 'api_check' and company | Roberto Ierusalimschy | 6 | -55/+52 | |
2014-07-15 | added api check in 'lua_typename' (tag is valid) | Roberto Ierusalimschy | 1 | -2/+3 | |
2014-06-30 | detail (typos in comments) | Roberto Ierusalimschy | 9 | -28/+28 | |
2014-06-26 | unsigned-manipulation functions (lua_puhsunsigned, lua_tounsigned, etc.) | Roberto Ierusalimschy | 6 | -32/+46 | |
deprecated | |||||
2014-06-26 | emergency collection can happen even when collector is stopped | Roberto Ierusalimschy | 1 | -5/+3 | |
2014-06-26 | detail (comment) | Roberto Ierusalimschy | 1 | -2/+2 | |
2014-06-26 | unsigned-manipulation functions (lua_puhsunsigned, lua_tounsigned, etc.) | Roberto Ierusalimschy | 1 | -48/+1 | |
deprecated | |||||
2014-06-26 | var-arguments to the script come from 'arg' table (not from original | Roberto Ierusalimschy | 1 | -10/+16 | |
'argv' array) | |||||
2014-06-26 | 'IntPoint' -> 'point2int' + ensure that casted value fits in | Roberto Ierusalimschy | 2 | -5/+5 | |
destination type | |||||
2014-06-24 | LUA_MAXUNSIGNED was only used to define 2.0^intnumbits (and that | Roberto Ierusalimschy | 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) | |||||
2014-06-19 | use proper macros to convert 'GCObject' to other objects + better | Roberto Ierusalimschy | 1 | -24/+23 | |
type cheking in 'set*value' macros | |||||
2014-06-19 | detail (avoid too large macro) | Roberto Ierusalimschy | 1 | -3/+5 | |
2014-06-19 | more precision between closure types ('LClosure' x 'CClosure') | Roberto Ierusalimschy | 9 | -49/+49 | |
2014-06-18 | use appropriate macros to convert GCObject to specific types | Roberto Ierusalimschy | 3 | -9/+17 | |