From 95f31eafc0a126385b688edf5e54d49067ea04ac Mon Sep 17 00:00:00 2001 From: alex <38814044+alextwothousand@users.noreply.github.com> Date: Wed, 10 Mar 2021 20:46:07 +0000 Subject: [PATCH] Update to 5.4.2 --- CMakeLists.txt | 4 +- {lua-5.4.0 => lua-5.4.2}/CMakeLists.txt | 2 +- {lua-5.4.0 => lua-5.4.2}/Makefile | 2 +- {lua-5.4.0 => lua-5.4.2}/README | 2 +- {lua-5.4.0 => lua-5.4.2}/doc/contents.html | 7 +- {lua-5.4.0 => lua-5.4.2}/doc/index.css | 0 {lua-5.4.0 => lua-5.4.2}/doc/logo.gif | Bin {lua-5.4.0 => lua-5.4.2}/doc/lua.1 | 0 {lua-5.4.0 => lua-5.4.2}/doc/lua.css | 0 {lua-5.4.0 => lua-5.4.2}/doc/luac.1 | 0 {lua-5.4.0 => lua-5.4.2}/doc/manual.css | 0 {lua-5.4.0 => lua-5.4.2}/doc/manual.html | 220 ++++---- .../doc/osi-certified-72x60.png | Bin {lua-5.4.0 => lua-5.4.2}/doc/readme.html | 6 +- {lua-5.4.0 => lua-5.4.2}/include/lauxlib.h | 0 {lua-5.4.0 => lua-5.4.2}/include/lua.h | 2 +- {lua-5.4.0 => lua-5.4.2}/include/luaconf.h | 15 - {lua-5.4.0 => lua-5.4.2}/include/lualib.h | 0 {lua-5.4.0 => lua-5.4.2}/src/Makefile | 2 +- {lua-5.4.0 => lua-5.4.2}/src/lapi.c | 62 ++- {lua-5.4.0 => lua-5.4.2}/src/lapi.h | 0 {lua-5.4.0 => lua-5.4.2}/src/lauxlib.c | 78 ++- {lua-5.4.0 => lua-5.4.2}/src/lbaselib.c | 0 {lua-5.4.0 => lua-5.4.2}/src/lcode.c | 14 +- {lua-5.4.0 => lua-5.4.2}/src/lcode.h | 0 {lua-5.4.0 => lua-5.4.2}/src/lcorolib.c | 9 +- {lua-5.4.0 => lua-5.4.2}/src/lctype.c | 0 {lua-5.4.0 => lua-5.4.2}/src/lctype.h | 14 +- {lua-5.4.0 => lua-5.4.2}/src/ldblib.c | 29 +- {lua-5.4.0 => lua-5.4.2}/src/ldebug.c | 51 +- {lua-5.4.0 => lua-5.4.2}/src/ldebug.h | 5 + {lua-5.4.0 => lua-5.4.2}/src/ldo.c | 171 ++++--- {lua-5.4.0 => lua-5.4.2}/src/ldo.h | 7 +- {lua-5.4.0 => lua-5.4.2}/src/ldump.c | 0 {lua-5.4.0 => lua-5.4.2}/src/lfunc.c | 9 +- {lua-5.4.0 => lua-5.4.2}/src/lfunc.h | 0 {lua-5.4.0 => lua-5.4.2}/src/lgc.c | 474 +++++++++++------- {lua-5.4.0 => lua-5.4.2}/src/lgc.h | 29 +- {lua-5.4.0 => lua-5.4.2}/src/linit.c | 0 {lua-5.4.0 => lua-5.4.2}/src/liolib.c | 7 + {lua-5.4.0 => lua-5.4.2}/src/ljumptab.h | 0 {lua-5.4.0 => lua-5.4.2}/src/llex.c | 26 +- {lua-5.4.0 => lua-5.4.2}/src/llex.h | 8 +- {lua-5.4.0 => lua-5.4.2}/src/llimits.h | 26 +- {lua-5.4.0 => lua-5.4.2}/src/lmathlib.c | 0 {lua-5.4.0 => lua-5.4.2}/src/lmem.c | 2 +- {lua-5.4.0 => lua-5.4.2}/src/lmem.h | 0 {lua-5.4.0 => lua-5.4.2}/src/loadlib.c | 0 {lua-5.4.0 => lua-5.4.2}/src/lobject.c | 51 +- {lua-5.4.0 => lua-5.4.2}/src/lobject.h | 27 +- {lua-5.4.0 => lua-5.4.2}/src/lopcodes.c | 0 {lua-5.4.0 => lua-5.4.2}/src/lopcodes.h | 4 +- {lua-5.4.0 => lua-5.4.2}/src/lopnames.h | 0 {lua-5.4.0 => lua-5.4.2}/src/loslib.c | 0 {lua-5.4.0 => lua-5.4.2}/src/lparser.c | 66 +-- {lua-5.4.0 => lua-5.4.2}/src/lparser.h | 5 +- {lua-5.4.0 => lua-5.4.2}/src/lprefix.h | 0 {lua-5.4.0 => lua-5.4.2}/src/lstate.c | 109 ++-- {lua-5.4.0 => lua-5.4.2}/src/lstate.h | 143 +++--- {lua-5.4.0 => lua-5.4.2}/src/lstring.c | 20 +- {lua-5.4.0 => lua-5.4.2}/src/lstring.h | 3 +- {lua-5.4.0 => lua-5.4.2}/src/lstrlib.c | 19 +- {lua-5.4.0 => lua-5.4.2}/src/ltable.c | 46 +- {lua-5.4.0 => lua-5.4.2}/src/ltable.h | 7 +- {lua-5.4.0 => lua-5.4.2}/src/ltablib.c | 0 {lua-5.4.0 => lua-5.4.2}/src/ltm.c | 4 +- {lua-5.4.0 => lua-5.4.2}/src/ltm.h | 9 + {lua-5.4.0 => lua-5.4.2}/src/lua.c | 16 +- {lua-5.4.0 => lua-5.4.2}/src/lua.hpp | 0 {lua-5.4.0 => lua-5.4.2}/src/luac.c | 0 {lua-5.4.0 => lua-5.4.2}/src/lundump.c | 12 +- {lua-5.4.0 => lua-5.4.2}/src/lundump.h | 0 {lua-5.4.0 => lua-5.4.2}/src/lutf8lib.c | 0 {lua-5.4.0 => lua-5.4.2}/src/lvm.c | 95 ++-- {lua-5.4.0 => lua-5.4.2}/src/lvm.h | 0 {lua-5.4.0 => lua-5.4.2}/src/lzio.c | 0 {lua-5.4.0 => lua-5.4.2}/src/lzio.h | 0 orig_sources/lua-5.4.0.tar.gz | Bin 349308 -> 0 bytes orig_sources/lua-5.4.2.tar.gz | Bin 0 -> 353472 bytes 79 files changed, 1081 insertions(+), 838 deletions(-) rename {lua-5.4.0 => lua-5.4.2}/CMakeLists.txt (96%) rename {lua-5.4.0 => lua-5.4.2}/Makefile (99%) rename {lua-5.4.0 => lua-5.4.2}/README (70%) rename {lua-5.4.0 => lua-5.4.2}/doc/contents.html (99%) rename {lua-5.4.0 => lua-5.4.2}/doc/index.css (100%) rename {lua-5.4.0 => lua-5.4.2}/doc/logo.gif (100%) rename {lua-5.4.0 => lua-5.4.2}/doc/lua.1 (100%) rename {lua-5.4.0 => lua-5.4.2}/doc/lua.css (100%) rename {lua-5.4.0 => lua-5.4.2}/doc/luac.1 (100%) rename {lua-5.4.0 => lua-5.4.2}/doc/manual.css (100%) rename {lua-5.4.0 => lua-5.4.2}/doc/manual.html (98%) rename {lua-5.4.0 => lua-5.4.2}/doc/osi-certified-72x60.png (100%) rename {lua-5.4.0 => lua-5.4.2}/doc/readme.html (98%) rename {lua-5.4.0 => lua-5.4.2}/include/lauxlib.h (100%) rename {lua-5.4.0 => lua-5.4.2}/include/lua.h (99%) rename {lua-5.4.0 => lua-5.4.2}/include/luaconf.h (97%) rename {lua-5.4.0 => lua-5.4.2}/include/lualib.h (100%) rename {lua-5.4.0 => lua-5.4.2}/src/Makefile (99%) rename {lua-5.4.0 => lua-5.4.2}/src/lapi.c (96%) rename {lua-5.4.0 => lua-5.4.2}/src/lapi.h (100%) rename {lua-5.4.0 => lua-5.4.2}/src/lauxlib.c (93%) rename {lua-5.4.0 => lua-5.4.2}/src/lbaselib.c (100%) rename {lua-5.4.0 => lua-5.4.2}/src/lcode.c (99%) rename {lua-5.4.0 => lua-5.4.2}/src/lcode.h (100%) rename {lua-5.4.0 => lua-5.4.2}/src/lcorolib.c (93%) rename {lua-5.4.0 => lua-5.4.2}/src/lctype.c (100%) rename {lua-5.4.0 => lua-5.4.2}/src/lctype.h (76%) rename {lua-5.4.0 => lua-5.4.2}/src/ldblib.c (96%) rename {lua-5.4.0 => lua-5.4.2}/src/ldebug.c (93%) rename {lua-5.4.0 => lua-5.4.2}/src/ldebug.h (94%) rename {lua-5.4.0 => lua-5.4.2}/src/ldo.c (84%) rename {lua-5.4.0 => lua-5.4.2}/src/ldo.h (91%) rename {lua-5.4.0 => lua-5.4.2}/src/ldump.c (100%) rename {lua-5.4.0 => lua-5.4.2}/src/lfunc.c (97%) rename {lua-5.4.0 => lua-5.4.2}/src/lfunc.h (100%) rename {lua-5.4.0 => lua-5.4.2}/src/lgc.c (75%) rename {lua-5.4.0 => lua-5.4.2}/src/lgc.h (86%) rename {lua-5.4.0 => lua-5.4.2}/src/linit.c (100%) rename {lua-5.4.0 => lua-5.4.2}/src/liolib.c (98%) rename {lua-5.4.0 => lua-5.4.2}/src/ljumptab.h (100%) rename {lua-5.4.0 => lua-5.4.2}/src/llex.c (95%) rename {lua-5.4.0 => lua-5.4.2}/src/llex.h (91%) rename {lua-5.4.0 => lua-5.4.2}/src/llimits.h (92%) rename {lua-5.4.0 => lua-5.4.2}/src/lmathlib.c (100%) rename {lua-5.4.0 => lua-5.4.2}/src/lmem.c (99%) rename {lua-5.4.0 => lua-5.4.2}/src/lmem.h (100%) rename {lua-5.4.0 => lua-5.4.2}/src/loadlib.c (100%) rename {lua-5.4.0 => lua-5.4.2}/src/lobject.c (92%) rename {lua-5.4.0 => lua-5.4.2}/src/lobject.h (96%) rename {lua-5.4.0 => lua-5.4.2}/src/lopcodes.c (100%) rename {lua-5.4.0 => lua-5.4.2}/src/lopcodes.h (99%) rename {lua-5.4.0 => lua-5.4.2}/src/lopnames.h (100%) rename {lua-5.4.0 => lua-5.4.2}/src/loslib.c (100%) rename {lua-5.4.0 => lua-5.4.2}/src/lparser.c (96%) rename {lua-5.4.0 => lua-5.4.2}/src/lparser.h (97%) rename {lua-5.4.0 => lua-5.4.2}/src/lprefix.h (100%) rename {lua-5.4.0 => lua-5.4.2}/src/lstate.c (76%) rename {lua-5.4.0 => lua-5.4.2}/src/lstate.h (72%) rename {lua-5.4.0 => lua-5.4.2}/src/lstring.c (94%) rename {lua-5.4.0 => lua-5.4.2}/src/lstring.h (92%) rename {lua-5.4.0 => lua-5.4.2}/src/lstrlib.c (99%) rename {lua-5.4.0 => lua-5.4.2}/src/ltable.c (94%) rename {lua-5.4.0 => lua-5.4.2}/src/ltable.h (87%) rename {lua-5.4.0 => lua-5.4.2}/src/ltablib.c (100%) rename {lua-5.4.0 => lua-5.4.2}/src/ltm.c (98%) rename {lua-5.4.0 => lua-5.4.2}/src/ltm.h (90%) rename {lua-5.4.0 => lua-5.4.2}/src/lua.c (97%) rename {lua-5.4.0 => lua-5.4.2}/src/lua.hpp (100%) rename {lua-5.4.0 => lua-5.4.2}/src/luac.c (100%) rename {lua-5.4.0 => lua-5.4.2}/src/lundump.c (93%) rename {lua-5.4.0 => lua-5.4.2}/src/lundump.h (100%) rename {lua-5.4.0 => lua-5.4.2}/src/lutf8lib.c (100%) rename {lua-5.4.0 => lua-5.4.2}/src/lvm.c (95%) rename {lua-5.4.0 => lua-5.4.2}/src/lvm.h (100%) rename {lua-5.4.0 => lua-5.4.2}/src/lzio.c (100%) rename {lua-5.4.0 => lua-5.4.2}/src/lzio.h (100%) delete mode 100644 orig_sources/lua-5.4.0.tar.gz create mode 100644 orig_sources/lua-5.4.2.tar.gz diff --git a/CMakeLists.txt b/CMakeLists.txt index 96d9d05..5032f51 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.1) -project(lua LANGUAGES C VERSION 5.4.0) +project(lua LANGUAGES C VERSION 5.4.2) option(LUA_SUPPORT_DL "Support dynamic loading of compiled modules" OFF) @@ -18,4 +18,4 @@ else() endif() -add_subdirectory(lua-5.4.0) +add_subdirectory(lua-5.4.2) diff --git a/lua-5.4.0/CMakeLists.txt b/lua-5.4.2/CMakeLists.txt similarity index 96% rename from lua-5.4.0/CMakeLists.txt rename to lua-5.4.2/CMakeLists.txt index f0ec5d1..f155311 100644 --- a/lua-5.4.0/CMakeLists.txt +++ b/lua-5.4.2/CMakeLists.txt @@ -43,7 +43,7 @@ if(UNIX) find_library(LIBM m) #TODO: Redo this with find_package if(NOT LIBM) - message(FATAL_ERROR "libm not found and requred by lua") + message(FATAL_ERROR "libm not found and is required by lua") endif() target_link_libraries(lua_static INTERFACE ${LIBM}) diff --git a/lua-5.4.0/Makefile b/lua-5.4.2/Makefile similarity index 99% rename from lua-5.4.0/Makefile rename to lua-5.4.2/Makefile index 416f444..36447a0 100644 --- a/lua-5.4.0/Makefile +++ b/lua-5.4.2/Makefile @@ -46,7 +46,7 @@ TO_MAN= lua.1 luac.1 # Lua version and release. V= 5.4 -R= $V.0 +R= $V.2 # Targets start here. all: $(PLAT) diff --git a/lua-5.4.0/README b/lua-5.4.2/README similarity index 70% rename from lua-5.4.0/README rename to lua-5.4.2/README index 57572c0..bc8a9d7 100644 --- a/lua-5.4.0/README +++ b/lua-5.4.2/README @@ -1,5 +1,5 @@ -This is Lua 5.4.0, released on 18 Jun 2020. +This is Lua 5.4.2, released on 13 Nov 2020. For installation instructions, license details, and further information about Lua, see doc/readme.html. diff --git a/lua-5.4.0/doc/contents.html b/lua-5.4.2/doc/contents.html similarity index 99% rename from lua-5.4.0/doc/contents.html rename to lua-5.4.2/doc/contents.html index ffc0323..8ea0616 100644 --- a/lua-5.4.0/doc/contents.html +++ b/lua-5.4.2/doc/contents.html @@ -95,6 +95,7 @@ Freely available under the terms of the