summaryrefslogtreecommitdiff
path: root/lua.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 'setCstacklimit' renamed to 'setcstacklimit'Roberto Ierusalimschy2019-09-241-1/+1
| | | | Function names in the API use only lowercase letters.
* New function 'setCstacklimit'Roberto Ierusalimschy2019-06-181-0/+1
| | | | | Added new functions to dynamically set the C-stack limit ('lua_setCstacklimit' in the C-API, 'debug.setCstacklimit' in Lua).
* Added field 'srclen' to structure 'lua_Debug'Roberto Ierusalimschy2019-04-041-0/+1
| | | | | | This new field gets the length of 'source' in the same structure. Unlike the other strings in that structure, 'source' can be relatively large, and Lua already has its length readily available.
* Year in copyright notice updated to 2019Roberto Ierusalimschy2019-03-251-2/+2
|
* Changes in the warning systemRoberto Ierusalimschy2019-03-141-2/+2
| | | | | | | | - The warning functions get an extra parameter that tells whether message is to be continued (instead of using end-of-lines as a signal). - The user data for the warning function is a regular value, instead of a writable slot inside the Lua state.
* No more LUA_ERRGCMM errorsRoberto Ierusalimschy2019-01-011-2/+1
| | | | | Errors in finalizers (__gc metamethods) are never propagated. Instead, they generate a warning.
* Added a warning system to LuaRoberto Ierusalimschy2018-12-281-0/+14
| | | | | The warning system is just a way for Lua to emit warnings, messages to the programmer that do not interfere with the running program.
* New functions 'lua_resetthread' and 'coroutine.kill'Roberto Ierusalimschy2018-12-131-0/+1
| | | | | | New functions to reset/kill a thread/coroutine, mainly (only?) to close any pending to-be-closed variable. ('lua_resetthread' also allows a thread to be reused...)
* 'lua_toclose' gets the index to be closed as an argumentRoberto Ierusalimschy2018-11-121-1/+1
| | | | | | Sometimes it is useful to mark to-be-closed an index that is not at the top of the stack (e.g., if the value to be closed came from a function call returning multiple values).
* New syntax for to-be-closed variablesRoberto Ierusalimschy2018-11-071-1/+1
| | | | | | | The new syntax is <local *toclose x = f()>. The mark '*' allows other attributes to be added later without the need of new keywords; it also allows better error messages. The API function was also renamed ('lua_tobeclosed' -> 'lua_toclose').
* To-be-closed variables in the C APIRoberto Ierusalimschy2018-10-251-0/+2
|
* Removed extra information from RCS keyword stringsRoberto Ierusalimschy2018-08-231-1/+1
| | | | | Version numbers and dates (mostly wrong) from RCS keyword strings removed from all source files; only the file name are kept.
* Added definition for LUA_VERSION_RELEASE_NUMRoberto Ierusalimschy2018-07-111-1/+3
| | | | | LUA_VERSION_RELEASE_NUM is set to the release number of the Lua interpreter (e.g., 5.4.0 becomes the integer 50400).
* no need to check whether libraries and host use the same kernel;Roberto Ierusalimschy2018-06-181-2/+2
| | | | Lua should work correctly with several copies of the kernel
* no more nil-in-tableRoberto Ierusalimschy2018-04-041-4/+1
|
* 'fTransfer' -> 'ftransfer' / 'nTransfer' -> 'ntransfer'Roberto Ierusalimschy2018-03-161-3/+3
| | | | (keep the standard of names in lower case)
* both 'fTransfer' and 'nTransfer' may not fit in a 'char'Roberto Ierusalimschy2018-03-051-3/+3
|
* year in copyright changed to 2018Roberto Ierusalimschy2018-03-021-3/+3
|
* first (parcial) implementation of 'keyin'/'removekey'Roberto Ierusalimschy2018-02-251-1/+3
| | | | (still no metamethods, no raw verssions)
* userdata can have multiple user valuesRoberto Ierusalimschy2018-02-201-5/+10
|
* two new fields 'fTransfer'/'nTransfer' in 'lua_Debug' structureRoberto Ierusalimschy2018-02-171-1/+3
| | | | (for information about values being given and returned in function calls)
* back to 'CallInfo' (no gains with its removal)Roberto Ierusalimschy2017-11-071-3/+2
|
* 'lua_Debug' not using 'CallInfo'Roberto Ierusalimschy2017-11-031-2/+3
|
* new API for 'lua_resume' + cleaning the uses of the 'extra' field inRoberto Ierusalimschy2017-11-021-2/+3
| | | | 'CallInfo'
* new version (5.4)Roberto Ierusalimschy2017-07-271-4/+4
|
* revamping the incremental collectorRoberto Ierusalimschy2017-05-261-2/+2
| | | | | | Some simplifications (not counting bytes, couting only slots visited; no more 'gcfinnum'); more GC parameters; using vararg in 'lua_gc' to set parameters in different GC modes
* 'lua_rawlen' returns 'lua_Unsigned' instead of 'size_t'. (RealRoberto Ierusalimschy2017-05-181-2/+2
| | | | | length of strings and userdata are limited by Lua integers, but table length is hard to compute limiting it to 'size_t'.)
* generational collection: new attempt (still incomplete)Roberto Ierusalimschy2017-02-231-1/+3
|
* release 5.3.4 (year 2017)Roberto Ierusalimschy2016-12-221-4/+4
|
* 'lua_pushglobaltable' returns 'void'v5.3.3Roberto Ierusalimschy2016-05-301-2/+2
|
* new release number + new yearRoberto Ierusalimschy2016-01-131-4/+4
|
* new release number (5.3.2)Roberto Ierusalimschy2015-11-131-2/+2
|
* new release number (5.3.1)Roberto Ierusalimschy2015-06-031-2/+2
|
* 'lua_pushliteral' implemented with 'lua_pushstring' (to takeRoberto Ierusalimschy2015-03-101-3/+2
| | | | advantage of the cache)
* removed macro LUAI_FIRSTPSEUDOIDX (that stuff does not needRoberto Ierusalimschy2015-01-131-3/+5
| | | | to be configurable)
* new year (2015)Roberto Ierusalimschy2014-12-261-3/+3
|
* avoid octal numeralsRoberto Ierusalimschy2014-12-081-2/+2
|
* bug: lua_tounsignedx must cast to lua_Unsigned (of course...)Roberto Ierusalimschy2014-11-291-2/+2
|
* next release won't be betaRoberto Ierusalimschy2014-11-281-2/+2
|
* details (matching parameter names with manual)Roberto Ierusalimschy2014-11-121-10/+11
|
* detail (line break)Roberto Ierusalimschy2014-11-081-3/+2
|
* 'lua_stringtonum' -> 'lua_stringtonumber'Roberto Ierusalimschy2014-10-171-2/+2
|
* 'lua_strtonum' -> 'lua_stringtonum'Roberto Ierusalimschy2014-10-151-2/+2
|
* 'lua_Kcontext' -> 'lua_KContext'Roberto Ierusalimschy2014-10-071-6/+6
|
* alpha -> betaRoberto Ierusalimschy2014-10-041-2/+2
|
* deprecated "cast macros" ('luaL_checkint', 'luaL_optint', etc.)Roberto Ierusalimschy2014-10-011-2/+2
|
* new functions 'lua_geti/lua_seti' (non raw)Roberto Ierusalimschy2014-08-211-1/+3
|
* 'lua_Ctx' -> 'lua_Kcontext'Roberto Ierusalimschy2014-08-011-7/+7
|
* release changed to (5.3) alphav5.3-alphaRoberto Ierusalimschy2014-07-311-2/+2
|
* better support for extra user space associated with a Lua stateRoberto Ierusalimschy2014-07-241-1/+3
|