aboutsummaryrefslogtreecommitdiff
path: root/lua.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 'lua.h' back to redundancy in version definitionsv5.4.7Roberto Ierusalimschy2024-06-131-21/+11
| | | | | Several tools inspect 'lua.h' to extract version information, and they assume the file will have some specific format.
* Towards release 5.4.7Roberto Ierusalimschy2024-04-261-3/+3
|
* Removed redundancy in definitions of version/releaseRoberto Ierusalimschy2023-06-211-11/+21
| | | | String rendering now derived from the numeric original definitions.
* "Emergency" new version 5.4.6v5.4.6Roberto Ierusalimschy2023-05-021-3/+4
| | | | | | 'lua_resetthread' is back to its original signature, to avoid incompatibilities in the ABI between releases of the same version. New function 'lua_closethread' added with the "correct" signature.
* New year (2023)Roberto Ierusalimschy2023-03-311-2/+2
| | | | | Also, small tweak in makefile. (-Wsign-compare is already enabled by -Wextra.)
* Details in some header filesRoberto Ierusalimschy2022-12-141-6/+10
| | | | | Identifier LUA_NUMTAGS was deprecated (changed to LUA_NUMTYPES) + better handling of some inclusion loops.
* Bug: stack overflow with nesting of coroutine.closeRoberto Ierusalimschy2022-10-251-1/+1
|
* New release number (5.4.5)Roberto Ierusalimschy2022-04-071-2/+2
|
* New year (2022)Roberto Ierusalimschy2022-01-021-2/+2
|
* Next release number (5.4.4)Roberto Ierusalimschy2021-03-291-2/+2
|
* New release number (5.4.3)Roberto Ierusalimschy2021-03-031-3/+3
|
* New API function 'lua_closeslot'Roberto Ierusalimschy2021-01-111-1/+2
| | | | | | Closing a to-be-closed variable with 'lua_settop' is too restrictive, as it erases all slots above the variable. Moreover, it adds side effects to 'lua_settop', which should be a fairly basic function.
* New release number (5.4.2)Roberto Ierusalimschy2020-10-121-1/+1
|
* New release number (5.4.1)Roberto Ierusalimschy2020-09-151-1/+1
|
* Clearer distinction between types and tagsRoberto Ierusalimschy2020-01-311-1/+3
| | | | | LUA_T* represents only types; tags (types + Variants) are represented by LUA_V* constants.
* Copyright year changed to 2020Roberto Ierusalimschy2019-12-271-2/+2
|
* '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)