From a59883b3c1f48957d78e39a20f1ac9fb68f01b57 Mon Sep 17 00:00:00 2001
From: Paul W
Date: Thu, 17 Oct 2024 00:01:52 -0400
Subject: [PATCH] Lua 5.4.7
---
Makefile | 2 +-
README | 2 +-
doc/OSIApproved_100X125.png | Bin 0 -> 12127 bytes
doc/contents.html | 14 +--
doc/lua.1 | 6 +-
doc/lua.css | 1 +
doc/manual.html | 50 ++++++---
doc/osi-certified-72x60.png | Bin 3774 -> 0 bytes
doc/readme.html | 48 ++++----
src/lapi.c | 4 +-
src/lauxlib.c | 28 +++--
src/lcode.c | 35 +++---
src/lcode.h | 3 -
src/ldebug.c | 218 +++++++++++++++++++++---------------
src/ldebug.h | 1 +
src/ldo.c | 10 +-
src/ldo.h | 1 -
src/lgc.c | 20 ++--
src/liolib.c | 27 +++--
src/lmathlib.c | 31 +++--
src/loadlib.c | 9 --
src/lobject.c | 2 +-
src/lobject.h | 18 ++-
src/lopcodes.h | 8 +-
src/loslib.c | 2 +
src/lparser.c | 12 +-
src/lstate.c | 6 +-
src/lstate.h | 3 +-
src/lstring.c | 13 ++-
src/ltable.c | 39 +++++--
src/ltable.h | 2 -
src/ltm.h | 5 +-
src/lua.c | 17 ++-
src/lua.h | 8 +-
src/luaconf.h | 9 ++
src/lundump.c | 4 +-
src/lundump.h | 3 +-
src/lvm.c | 78 +++++++------
38 files changed, 432 insertions(+), 307 deletions(-)
create mode 100644 doc/OSIApproved_100X125.png
delete mode 100644 doc/osi-certified-72x60.png
diff --git a/Makefile b/Makefile
index 8efa2eb..72ca8ff 100644
--- a/Makefile
+++ b/Makefile
@@ -46,7 +46,7 @@ TO_MAN= lua.1 luac.1
# Lua version and release.
V= 5.4
-R= $V.6
+R= $V.7
# Targets start here.
all: $(PLAT)
diff --git a/README b/README
index 1ae9716..fe99b87 100644
--- a/README
+++ b/README
@@ -1,5 +1,5 @@
-This is Lua 5.4.6, released on 02 May 2023.
+This is Lua 5.4.7, released on 13 Jun 2024.
For installation instructions, license details, and
further information about Lua, see doc/readme.html.
diff --git a/doc/OSIApproved_100X125.png b/doc/OSIApproved_100X125.png
new file mode 100644
index 0000000000000000000000000000000000000000..795f7a06ed5b32131e69f245f1e1e0f4fc22c5aa
GIT binary patch
literal 12127
zcmV-lFQCwgP)
zaB^>EX>4U6ba`-PAZ2)IW&i+q+U=QHaxA-%ME|i0Edlee90Ufl-hq~{<5@}G;a!i%le3hucKDazdZ7YlV7_3{F~3u;PdnI`B(G%
zTKM&O*Y^8DGs~aj^2LW!q*1w`}$J`zMX#L)M70)w9L;OeQR~_dyhUh>bAAe
z)Sml)-{|-McVBOftSO!pl7D{2&nnaBdp?i)Ie1@4iQfxf`uVQb(K436@8hlQThxE{
z@1L#S{k;6Q?Z32jtv|Q>`?t5-?yCzmzAvQTx>Ua(|M+|;Ul;nVtxxZM24Mfb^Doc0
z8^X_9c3?cIq^K0g1%3@p~=d
zx$Ssvw?g;Z`5ky`3|tKK{O4cpUwz|!W`Y90#RnFwD++b2!Ux)~2i`_U!hMTco&tY;
z{r*pVO?0q4W$tWndUKykSP4JCm7Yc?-dK42%u;}EJ{O=w+`6!skm!J~A(c>BQH!yK
zKp{H~nk+r09E}cyQsQQjF{e~%4l~TX`AiGXTVsizry;|X9b;Ehqcnw4__KMnF6
zc`}!|lu}D8y^Jzzs+zD`TNSI$mRfG5)z(^fZM4}_&%N~8Tkn1JIpRpLZW+wu=wpmI
zx#{G}lTT0HFsDUJmaSN|X5EIfxq#2gtE{@(>T9gI<4&77-gUR#_t^7<1C&la<{%W`;NIAn!7AHeeMEwhT5ozZOgm0
z82a&fGvYP()x&Cs*BB3GD2!(C9iny0J!KuZYi@^x)HGYR=BI^ivz>#QmNQdlRcBW7
zW497^KXncYxLQqvX;^9BGxsUOHaJ?%+D&1sd#p^zcTnDXQ(VR*TiI=fz4EXw;K~RGDAUj8DMw%ZOaUx@R_Ev_~KY6V7n!25LY+@T%W}HvuQcl
zISMg!-!OL#eb&Bb=+;77<6M>i66-SD$Ta|0T1%A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pf}
z*kpa*iow+Na5-S5W8cAYq0dXybF3tc3C*G2ArEi5^x`h9XHA#r%}G~JMpcY=$Pd)b
z&QwX_R+BzdI!Vq+%Jpnj-&fkdRQA
-
+
Lua 5.4 Reference Manual
@@ -18,7 +18,7 @@ Lua 5.4 Reference Manual
The reference manual is the official definition of the Lua language.
For a complete introduction to Lua programming, see the book
-Programming in Lua.
+Programming in Lua.
-Copyright © 2020–2023 Lua.org, PUC-Rio.
+Copyright © 2020–2024 Lua.org, PUC-Rio.
Freely available under the terms of the
-Lua license.
+Lua license.
@@ -668,10 +668,10 @@ Freely available under the terms of the
-
+
Lua 5.4 Reference Manual
@@ -19,9 +19,9 @@ by Roberto Ierusalimschy, Luiz Henrique de Figueiredo, Waldemar Celes
-Copyright © 2020–2023 Lua.org, PUC-Rio.
+Copyright © 2020–2024 Lua.org, PUC-Rio.
Freely available under the terms of the
-Lua license.
+Lua license.
@@ -391,7 +391,7 @@ Whenever there is an error,
an error object
is propagated with information about the error.
Lua itself only generates errors whose error object is a string,
-but programs may generate errors with
+but programs can generate errors with
any value as the error object.
It is up to the Lua program or its host to handle such error objects.
For historical reasons,
@@ -401,7 +401,7 @@ even though it does not have to be a string.
When you use xpcall
(or lua_pcall
, in C)
-you may give a message handler
+you can give a message handler
to be called in case of errors.
This function is called with the original error object
and returns a new error object.
@@ -453,7 +453,7 @@ which is then called a metamethod.
In the previous example, the key is the string "__add
"
and the metamethod is the function that performs the addition.
Unless stated otherwise,
-a metamethod may in fact be any callable value,
+a metamethod can in fact be any callable value,
which is either a function or a value with a __call
metamethod.
@@ -1725,7 +1725,7 @@ labels in Lua are considered statements too:
A label is visible in the entire block where it is defined,
except inside nested functions.
-A goto may jump to any visible label as long as it does not
+A goto can jump to any visible label as long as it does not
enter into the scope of a local variable.
A label should not be declared
where a label with the same name is visible,
@@ -5571,7 +5571,7 @@ otherwise, returns NULL
.
-[-0, +0, m]
+[-0, +0, v]
void lua_toclose (lua_State *L, int index);
@@ -5591,6 +5591,11 @@ by any other function in the API except lua_settop
unless previously deactivated by lua_closeslot
.
+
+This function raises an error if the value at the given slot
+neither has a __close
metamethod nor is a false value.
+
+
This function should not be called for an index
that is equal to or below an active to-be-closed slot.
@@ -5664,6 +5669,12 @@ after its last character (as in C),
but can contain other zeros in its body.
+
+This function can raise memory errors only
+when converting a number to a string
+(as then it may create a new string).
+
+
@@ -11276,13 +11287,13 @@ The returned table can contain all the fields returned by what
describing which fields to fill in.
The default for what
is to get all information available,
except the table of valid lines.
-If present,
-the option 'f
'
+The option 'f
'
adds a field named func
with the function itself.
-If present,
-the option 'L
'
-adds a field named activelines
with the table of
-valid lines.
+The option 'L
' adds a field named activelines
+with the table of valid lines,
+provided the function is a Lua function.
+If the function has no debug information,
+the table is empty.
@@ -11619,6 +11630,10 @@ Lua does not consult any environment variables.
In particular,
the values of package.path
and package.cpath
are set with the default paths defined in luaconf.h
.
+To signal to the libraries that this option is on,
+the stand-alone interpreter sets the field
+"LUA_NOENV"
in the registry to a true value.
+Other libraries may consult this field for the same purpose.
@@ -12033,13 +12048,12 @@ and LiteralString, see §3.1.)
-