summaryrefslogtreecommitdiff
path: root/lbaselib.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* correct handling of negative numbers in non-10 bases by 'tonumber'Roberto Ierusalimschy2010-10-281-2/+5
| | | | (e.g., tonumber(-34, 8))
* 'loadin' should not check whether upvalue is called '_ENV',Roberto Ierusalimschy2010-09-071-5/+3
| | | | because its name may be unknown when there is no debug information.
* name "_ENV" configurable through 'luaconf.h'Roberto Ierusalimschy2010-09-071-2/+2
|
* new parameter 'majorinc' to control frequency of major collectionsRoberto Ierusalimschy2010-09-031-4/+4
| | | | in generational mode
* 'loadin' should accept any value for the environment (not only tables) +Roberto Ierusalimschy2010-08-231-3/+6
| | | | it should check whether chunk has upvalue named '_ENV'
* new module policy: C modules do not create globals and do not registerRoberto Ierusalimschy2010-07-021-2/+2
| | | | | | themselves with 'require' (let 'require' do its work); new auxiliary functions luaL_newlib/luaL_newlibtable/luaL_setfuncs/luaL_requiref. Old luaL_register will be deprecated.
* 'ipair' is backRoberto Ierusalimschy2010-06-131-12/+2
|
* 'coroutine' library separated from 'baselib'Roberto Ierusalimschy2010-06-101-146/+3
|
* 'gcinfo' was deprecated in version 5.0.Roberto Ierusalimschy2010-04-191-8/+1
|
* with light C functions, 'pairs' does not need to keep 'next' as anRoberto Ierusalimschy2010-04-191-18/+8
| | | | upvalue.
* option to return GC to normal (incremental, non generational) modeRoberto Ierusalimschy2010-04-021-3/+4
|
* no more fenvs!Roberto Ierusalimschy2010-03-261-39/+1
|
* draft version of a generational mode for garbage collection. (Not wellRoberto Ierusalimschy2010-03-221-3/+3
| | | | tested; no major collections; ...)
* 'ipairs' is deprecatedRoberto Ierusalimschy2010-03-191-1/+13
|
* better definitions for lua_[gs]etglobal + less uses of ENVIRONINDEXRoberto Ierusalimschy2010-03-131-5/+6
|
* first version of _ENV; no more global variablesRoberto Ierusalimschy2010-03-121-2/+2
|
* 'unpack' moved to table library (and therefore "renamed" toRoberto Ierusalimschy2009-12-281-18/+1
| | | | 'table.unpack'.
* no more pseudoindex LUA_GLOBALSINDEX; global table now accessibleRoberto Ierusalimschy2009-12-221-7/+7
| | | | through registry
* 'lua_objlen' replaced by 'lua_rawlen', 'lua_len', and 'luaL_len'Roberto Ierusalimschy2009-12-171-3/+3
|
* detail ('lua_tolstring' instead of lua_objlen)Roberto Ierusalimschy2009-12-151-3/+4
|
* avoid using deprecated macros lua_[gs]etglobalRoberto Ierusalimschy2009-12-111-5/+5
|
* detail (lua_resume should empty coroutine stack even if they do notRoberto Ierusalimschy2009-12-101-1/+2
| | | | fit into caller stack)
* coroutines may have C bodiesRoberto Ierusalimschy2009-11-271-3/+2
|
* comment typosRoberto Ierusalimschy2009-11-261-2/+2
|
* new scheme for debug info about tail calls: no more 'fake' stack entries,Roberto Ierusalimschy2009-11-251-3/+1
| | | | but stack entry knows whether it was tail called
* new mark LUAMOD_API for all luaopen_* functionsRoberto Ierusalimschy2009-11-241-2/+2
|
* commentsRoberto Ierusalimschy2009-11-191-4/+4
|
* functions 'getfenv' and 'setfenv' are deprecatedRoberto Ierusalimschy2009-11-161-3/+14
|
* new function 'loadin'Roberto Ierusalimschy2009-11-131-23/+61
|
* new option 'isrunning' for 'lua_gc' (and 'collectgarbage')Roberto Ierusalimschy2009-11-091-7/+8
|
* no more one environment per thread: all threads share a single globalRoberto Ierusalimschy2009-10-231-10/+3
| | | | environment
* 'ipairs' goes until length of array instead of stopping at the first nilRoberto Ierusalimschy2009-10-231-2/+2
|
* new function lua_copyRoberto Ierusalimschy2009-10-051-3/+2
|
* 'collectgarbage"count"' returns a second argument with the count%1024.Roberto Ierusalimschy2009-08-041-2/+3
|
* calls with LUA_MULTRET may leave no free slots in the stackRoberto Ierusalimschy2009-07-151-1/+3
|
* errors in 'resume' should be all protectedRoberto Ierusalimschy2009-07-081-5/+9
|
* first implementation of yieldable 'pcall'Roberto Ierusalimschy2009-04-081-3/+16
|
* 'context' added to suspendable callsRoberto Ierusalimschy2009-03-231-2/+2
|
* missing argument to 'assert' raises "assertion failed" errorRoberto Ierusalimschy2009-03-161-2/+1
|
* new optional argument to 'load', to control allowed modes (binary orRoberto Ierusalimschy2009-03-131-15/+41
| | | | textual chunks)
* yielding across lua_call (first version)Roberto Ierusalimschy2009-03-101-3/+8
|
* 'writestring' changed into a configurable macroRoberto Ierusalimschy2009-02-071-17/+4
|
* avoid using 'fputs' in 'print' to avoid problems with embedded zerosRoberto Ierusalimschy2009-02-061-6/+12
|
* do not use compatibility macros in LuaRoberto Ierusalimschy2008-07-111-2/+2
|
* useless #include removed (pointed by lint)Roberto Ierusalimschy2008-07-031-2/+1
|
* 'coroutine.running' should work for the main thread tooRoberto Ierusalimschy2008-02-251-4/+4
|
* proxies must be created with a __gc field in their metatables to workRoberto Ierusalimschy2008-02-191-2/+4
| | | | properly with new semantics for finalizers
* bug: unpack with maximum indices may crash due to arithmetic overflowRoberto Ierusalimschy2008-02-141-4/+6
|
* bug: auxresume should reserve stack space for boolean resultRoberto Ierusalimschy2008-02-111-2/+2
|
* luaL_tostring -> luaL_tolstring (more generic)Roberto Ierusalimschy2008-01-031-2/+2
|