Roberto Ierusalimschy
b6888a158b
New release number (5.4.1)
4 years ago
Roberto Ierusalimschy
46c3587a6f
Clearer distinction between types and tags
LUA_T* represents only types; tags (types + Variants) are represented
by LUA_V* constants.
5 years ago
Roberto Ierusalimschy
d7bb8df841
Copyright year changed to 2020
5 years ago
Roberto Ierusalimschy
03cde80b58
'setCstacklimit' renamed to 'setcstacklimit'
Function names in the API use only lowercase letters.
5 years ago
Roberto Ierusalimschy
be73f72fcc
New function 'setCstacklimit'
Added new functions to dynamically set the C-stack limit
('lua_setCstacklimit' in the C-API, 'debug.setCstacklimit' in Lua).
5 years ago
Roberto Ierusalimschy
5ca1075b71
Added field 'srclen' to structure 'lua_Debug'
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.
6 years ago
Roberto Ierusalimschy
f9b0cf0e2e
Year in copyright notice updated to 2019
6 years ago
Roberto Ierusalimschy
b56d4e570a
Changes in the warning system
- 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.
6 years ago
Roberto Ierusalimschy
c6f7181e91
No more LUA_ERRGCMM errors
Errors in finalizers (__gc metamethods) are never propagated.
Instead, they generate a warning.
6 years ago
Roberto Ierusalimschy
437a5b07d4
Added a warning system to Lua
The warning system is just a way for Lua to emit warnings, messages
to the programmer that do not interfere with the running program.
6 years ago
Roberto Ierusalimschy
fdc25a1ebf
New functions 'lua_resetthread' and 'coroutine.kill'
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...)
6 years ago
Roberto Ierusalimschy
5fda30b4f9
'lua_toclose' gets the index to be closed as an argument
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).
6 years ago
Roberto Ierusalimschy
b8fed93215
New syntax for to-be-closed variables
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').
6 years ago
Roberto Ierusalimschy
34840301b5
To-be-closed variables in the C API
6 years ago
Roberto Ierusalimschy
f99509581e
Removed extra information from RCS keyword strings
Version numbers and dates (mostly wrong) from RCS keyword strings
removed from all source files; only the file name are kept.
6 years ago
Roberto Ierusalimschy
84058b1506
Added definition for LUA_VERSION_RELEASE_NUM
LUA_VERSION_RELEASE_NUM is set to the release number of the Lua
interpreter (e.g., 5.4.0 becomes the integer 50400).
6 years ago
Roberto Ierusalimschy
af70905246
no need to check whether libraries and host use the same kernel;
Lua should work correctly with several copies of the kernel
6 years ago
Roberto Ierusalimschy
03c6a05ec8
no more nil-in-table
7 years ago
Roberto Ierusalimschy
4907444db9
'fTransfer' -> 'ftransfer' / 'nTransfer' -> 'ntransfer'
(keep the standard of names in lower case)
7 years ago
Roberto Ierusalimschy
8b0434e5e6
both 'fTransfer' and 'nTransfer' may not fit in a 'char'
7 years ago
Roberto Ierusalimschy
df49384516
year in copyright changed to 2018
7 years ago
Roberto Ierusalimschy
d766e2ae17
first (parcial) implementation of 'keyin'/'removekey'
(still no metamethods, no raw verssions)
7 years ago
Roberto Ierusalimschy
ca6fe7449a
userdata can have multiple user values
7 years ago
Roberto Ierusalimschy
422318f677
two new fields 'fTransfer'/'nTransfer' in 'lua_Debug' structure
(for information about values being given and returned in function calls)
7 years ago
Roberto Ierusalimschy
ad0704e40c
back to 'CallInfo' (no gains with its removal)
7 years ago
Roberto Ierusalimschy
6bb3e40a8d
'lua_Debug' not using 'CallInfo'
7 years ago
Roberto Ierusalimschy
ba36180fd7
new API for 'lua_resume' + cleaning the uses of the 'extra' field in
'CallInfo'
7 years ago
Roberto Ierusalimschy
11769b203f
new version (5.4)
7 years ago
Roberto Ierusalimschy
72d82a296c
revamping the incremental collector
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
8 years ago
Roberto Ierusalimschy
49f7aab62a
'lua_rawlen' returns 'lua_Unsigned' instead of 'size_t'. (Real
length of strings and userdata are limited by Lua integers,
but table length is hard to compute limiting it to 'size_t'.)
8 years ago
Roberto Ierusalimschy
f5f3df3bd1
generational collection: new attempt (still incomplete)
8 years ago
Roberto Ierusalimschy
08199ade4a
release 5.3.4 (year 2017)
8 years ago
Roberto Ierusalimschy
aa66ca76ce
'lua_pushglobaltable' returns 'void'
9 years ago
Roberto Ierusalimschy
994374c4df
new release number + new year
9 years ago
Roberto Ierusalimschy
fc085aa627
new release number (5.3.2)
9 years ago
Roberto Ierusalimschy
6628012e9e
new release number (5.3.1)
10 years ago
Roberto Ierusalimschy
b66fedadae
'lua_pushliteral' implemented with 'lua_pushstring' (to take
advantage of the cache)
10 years ago
Roberto Ierusalimschy
965f74525b
removed macro LUAI_FIRSTPSEUDOIDX (that stuff does not need
to be configurable)
10 years ago
Roberto Ierusalimschy
94eb37dc73
new year (2015)
10 years ago
Roberto Ierusalimschy
64e25a6186
avoid octal numerals
10 years ago
Roberto Ierusalimschy
92f02fff11
bug: lua_tounsignedx must cast to lua_Unsigned (of course...)
10 years ago
Roberto Ierusalimschy
125296c83d
next release won't be beta
10 years ago
Roberto Ierusalimschy
4fde357130
details (matching parameter names with manual)
10 years ago
Roberto Ierusalimschy
b044b8c182
detail (line break)
10 years ago
Roberto Ierusalimschy
0d31efb365
'lua_stringtonum' -> 'lua_stringtonumber'
10 years ago
Roberto Ierusalimschy
89602bf747
'lua_strtonum' -> 'lua_stringtonum'
10 years ago
Roberto Ierusalimschy
2a21f6c894
'lua_Kcontext' -> 'lua_KContext'
10 years ago
Roberto Ierusalimschy
15f4150518
alpha -> beta
10 years ago
Roberto Ierusalimschy
798660c9cd
deprecated "cast macros" ('luaL_checkint', 'luaL_optint', etc.)
10 years ago
Roberto Ierusalimschy
7f1a2ad699
new functions 'lua_geti/lua_seti' (non raw)
10 years ago