Commit History

Autor SHA1 Mensaxe Data
  Roberto Ierusalimschy 34b6664dcb better to use 'long' to represent UTF-8 code points %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy 3a15c7ce43 size for array part of a table ('sizearray') changed from 'int' to %!s(int64=11) %!d(string=hai) anos
  Roberto Ierusalimschy 34ac039fb8 new macro 'cvt2str' to better control whether numbers are convertible %!s(int64=11) %!d(string=hai) anos
  Roberto Ierusalimschy 07c7fdb9df simpler definition for 'setobj' (trust the compiler for the assignment) %!s(int64=11) %!d(string=hai) anos
  Roberto Ierusalimschy bb12903120 type 'Udata' refers directly to structure inside the union (union %!s(int64=11) %!d(string=hai) anos
  Roberto Ierusalimschy ca41b43f53 type 'TString' refers directly to the structure inside the union %!s(int64=11) %!d(string=hai) anos
  Roberto Ierusalimschy 56137d58ff added check for conversion 'obj2gco' (and corrections for small %!s(int64=11) %!d(string=hai) anos
  Roberto Ierusalimschy 9aec500a26 no need for field 'gch' anymore %!s(int64=11) %!d(string=hai) anos
  Roberto Ierusalimschy 5a9cc57a5e change in GCObject: instead of being a union, it is now a structure %!s(int64=11) %!d(string=hai) anos
  Roberto Ierusalimschy 0e6229a953 use proper macros to convert 'GCObject' to other objects + better %!s(int64=11) %!d(string=hai) anos
  Roberto Ierusalimschy 5ebdd326b6 detail (to avoid warnings of unused variable) %!s(int64=11) %!d(string=hai) anos
  Roberto Ierusalimschy 0aa32fa0cb small changes in field order in some structs to reduce padding %!s(int64=11) %!d(string=hai) anos
  Roberto Ierusalimschy 8927c14317 removed macro 'luai_checknum' (as NaN trick is not doable now) %!s(int64=11) %!d(string=hai) anos
  Roberto Ierusalimschy 77e7ebca0a better alignments (for 64-bit arquitectures) for structures 'Table' and %!s(int64=11) %!d(string=hai) anos
  Roberto Ierusalimschy c549d4fe64 'lua_strtonum' (and 'luaO_str2num') now return string size, instead of %!s(int64=11) %!d(string=hai) anos
  Roberto Ierusalimschy 5388aa9fc0 'luaO_str2d' + 'luaO_str2int' replaced by 'luaO_str2num' (which converts %!s(int64=11) %!d(string=hai) anos
  Roberto Ierusalimschy ffa43df3cd 'setnvalue' -> 'setfltvalue' (for consitency with 'fltvalue') %!s(int64=11) %!d(string=hai) anos
  Roberto Ierusalimschy c86b9da022 userdata can have any Lua value as uservalue %!s(int64=11) %!d(string=hai) anos
  Roberto Ierusalimschy 4ea60463f5 UTF-8 encoding exported as format '%U' in 'lua_pushfstring' %!s(int64=11) %!d(string=hai) anos
  Roberto Ierusalimschy cac1ebd1e0 detail ('ttisuserdata' renamed to 'ttisfulluserdata') %!s(int64=11) %!d(string=hai) anos
  Roberto Ierusalimschy d3bbb34c24 back to open hashing for the string table (but with a different %!s(int64=12) %!d(string=hai) anos
  Roberto Ierusalimschy af35c7f398 upvalues collected by reference count %!s(int64=12) %!d(string=hai) anos
  Roberto Ierusalimschy caceeab750 'next' field for tables changed from pointer to integer (for better %!s(int64=12) %!d(string=hai) anos
  Roberto Ierusalimschy 623e388bb4 double-linked list of all upvalues elliminated and changed to a %!s(int64=12) %!d(string=hai) anos
  Roberto Ierusalimschy 36e8771076 'luaO_str2int' more generic: accepts white spaces around the numeral %!s(int64=12) %!d(string=hai) anos
  Roberto Ierusalimschy fa6ea831b3 macro 'nvalue' removed (direct conversion from integer to double, %!s(int64=12) %!d(string=hai) anos
  Roberto Ierusalimschy 67532d5a10 constant folding and API arithmetic with integers %!s(int64=12) %!d(string=hai) anos
  Roberto Ierusalimschy 00744a2729 'luaO_arith' -> 'luaO_numarith' %!s(int64=12) %!d(string=hai) anos
  Roberto Ierusalimschy 1294b09d8e first implementation of literal integers (no constant folding yet) %!s(int64=12) %!d(string=hai) anos
  Roberto Ierusalimschy 07f861385e first steps in the support of integers: basic representation + table indexing + basic API ops (tointeger/pushinteger) + equality + a few extra stuff %!s(int64=12) %!d(string=hai) anos