137 Commits (fa198197a0202bd3a7b68d228cd1c2fd88166ff7)

Author SHA1 Message Date
Roberto Ierusalimschy fa198197a0 lua_(set)getglobal are ok to use 21 years ago
Roberto Ierusalimschy 275c150b17 `error()' (and `error(nil)') generates errors with no error messages 21 years ago
Roberto Ierusalimschy 533737f26e new functions `lua_getfield' and `lua_setfield' 21 years ago
Roberto Ierusalimschy f04fe526cd new functions `lua_tointeger' and lua_pushinteger' 21 years ago
Roberto Ierusalimschy beb896b082 new function (generic) `load' 22 years ago
Roberto Ierusalimschy 64066359dd bug: IBM AS400 (OS400) has sizeof(void *)==16, and a `%p' may generate 22 years ago
Roberto Ierusalimschy 60aa01d8f7 fully-weak tables are more efficient 22 years ago
Roberto Ierusalimschy 0d88545b82 warnings from several compilers (mainly typecasts when lua_Number is float) 22 years ago
Roberto Ierusalimschy 5a144e891a `__globals' -> `__fenv' 22 years ago
Roberto Ierusalimschy fa4b4c1100 loadstring/loadfile use global environment + setfenv(0) changes 22 years ago
Roberto Ierusalimschy 034de1fe73 new names for functions that open C libraries 22 years ago
Roberto Ierusalimschy 430d6db928 LUA_PATH components may have multiple interrogation marks 22 years ago
Roberto Ierusalimschy 3684f67771 details (text of an error message) 22 years ago
Roberto Ierusalimschy 92f6e0c1bf no-nonsense debug information about tail calls 22 years ago
Roberto Ierusalimschy 5cd99b82b7 `set/getenvtable' -> `set/getfenv' 22 years ago
Roberto Ierusalimschy 07e210e655 `require' returns value returned by package 22 years ago
Roberto Ierusalimschy 9866fb0ef1 `set/getglobals' -> `set/getenvtable' 22 years ago
Roberto Ierusalimschy 07948c3181 restore _REQUIREDNAME after requiring a file 22 years ago
Roberto Ierusalimschy 2866fb2dd0 reset _REQUIREDNAME after loading module 22 years ago
Roberto Ierusalimschy 4b6f436d67 `unpack' uses `getn' to get table size 22 years ago
Roberto Ierusalimschy 7964f7cbbd more complete information for coroutine errors 22 years ago
Roberto Ierusalimschy 75f73172c4 bug: `resume' was checking the wrong value for stack overflow 22 years ago
Roberto Ierusalimschy acf62ddfbe "load*" creates chunk with same global table than caller 22 years ago
Roberto Ierusalimschy 27c6b4d422 each .c file defines its own name 22 years ago
Roberto Ierusalimschy 76de732745 avoid non-raw accesses to globals when variable may not exist 22 years ago
Roberto Ierusalimschy 1f55dbc699 details 22 years ago
Roberto Ierusalimschy 8954bdc706 new `coroutine.status' function 22 years ago
Roberto Ierusalimschy 9b1c586b2f renaming `stringdump' -> `string.dump' 22 years ago
Roberto Ierusalimschy dbc5451bea comments 22 years ago
Roberto Ierusalimschy 18765d900e messages 22 years ago
Roberto Ierusalimschy 097edd3884 better names for auxiliar functions 22 years ago
Roberto Ierusalimschy 5c5d9b2703 back to `__mode' metafield to specify weakness 22 years ago
Roberto Ierusalimschy 63633c5b5f better name for `lua_movethread' 22 years ago
Roberto Ierusalimschy 118347d8c3 new API for coroutines 22 years ago
Roberto Ierusalimschy 7e0f880bc5 C++ demands cast from void to specific types 22 years ago
Roberto Ierusalimschy 118e9cd843 new facility for dumping chunks 22 years ago
Roberto Ierusalimschy 96e15b8501 threads now are real Lua objects, subject to garbage collection 22 years ago
Roberto Ierusalimschy 92a2ef9dca field `__globals' protect global tables 22 years ago
Roberto Ierusalimschy 32a5d96dfc `setmetatable' cannot change protected objects 22 years ago
Roberto Ierusalimschy 1bdde38bd2 no more newlines at the end of error messages 22 years ago
Roberto Ierusalimschy 9998082839 external messages add their own extra information 23 years ago
Roberto Ierusalimschy 4664f2e927 any Lua closure has a table of globals (not only active functions) 23 years ago
Roberto Ierusalimschy 2e38c6ae5a `luadebug.h' content now is included in `lua.h' 23 years ago
Roberto Ierusalimschy 634344d61f new API for weak mode 23 years ago
Roberto Ierusalimschy a2fa48a570 new (old?) error handling scheme 23 years ago
Roberto Ierusalimschy 2dcc31574f new function xpcall 23 years ago
Roberto Ierusalimschy 79c8edb6c4 new names for light userdata operations 23 years ago
Roberto Ierusalimschy 1ede98157d strings are always `strong' in weaktables 23 years ago
Roberto Ierusalimschy aa3da1605c `newproxy' uses its own weaktable 23 years ago
Roberto Ierusalimschy 5fabed21a1 getglobals(0) is the C global table 23 years ago