[wesnoth-commits] [wesnoth/wesnoth] 561cc3: Upgrade to Lua 5.4.2 (#5535)

Charles Dang noreply at github.com
Sat Feb 13 15:07:29 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 561cc33dc41d5b1561934d5c9e184f1da8545195
      https://github.com/wesnoth/wesnoth/commit/561cc33dc41d5b1561934d5c9e184f1da8545195
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2021-02-14 (Sun, 14 Feb 2021)

  Changed paths:
    M changelog.md
    M projectfiles/VC16/liblua.vcxproj
    M projectfiles/VC16/liblua.vcxproj.filters
    M projectfiles/Xcode/The Battle for Wesnoth.xcodeproj/project.pbxproj
    M source_lists/lua
    M src/lua/lapi.cpp
    M src/lua/lapi.h
    M src/lua/lauxlib.cpp
    M src/lua/lauxlib.h
    M src/lua/lbaselib.cpp
    R src/lua/lbitlib.cpp
    M src/lua/lcode.cpp
    M src/lua/lcode.h
    M src/lua/lcorolib.cpp
    M src/lua/lctype.cpp
    M src/lua/lctype.h
    M src/lua/ldblib.cpp
    M src/lua/ldebug.cpp
    M src/lua/ldebug.h
    M src/lua/ldo.cpp
    M src/lua/ldo.h
    M src/lua/ldump.cpp
    M src/lua/lfunc.cpp
    M src/lua/lfunc.h
    M src/lua/lgc.cpp
    M src/lua/lgc.h
    M src/lua/liolib.cpp
    A src/lua/ljumptab.h
    M src/lua/llex.cpp
    M src/lua/llex.h
    M src/lua/llimits.h
    M src/lua/lmathlib.cpp
    M src/lua/lmem.cpp
    M src/lua/lmem.h
    M src/lua/loadlib.cpp
    M src/lua/lobject.cpp
    M src/lua/lobject.h
    M src/lua/lopcodes.cpp
    M src/lua/lopcodes.h
    A src/lua/lopnames.h
    M src/lua/loslib.cpp
    M src/lua/lparser.cpp
    M src/lua/lparser.h
    M src/lua/lprefix.h
    M src/lua/lstate.cpp
    M src/lua/lstate.h
    M src/lua/lstring.cpp
    M src/lua/lstring.h
    M src/lua/lstrlib.cpp
    M src/lua/ltable.cpp
    M src/lua/ltable.h
    M src/lua/ltablib.cpp
    M src/lua/ltm.cpp
    M src/lua/ltm.h
    M src/lua/lua.h
    M src/lua/luaconf.h
    M src/lua/lualib.h
    M src/lua/lundump.cpp
    M src/lua/lundump.h
    M src/lua/lutf8lib.cpp
    M src/lua/lvm.cpp
    M src/lua/lvm.h
    M src/lua/lzio.cpp
    M src/lua/lzio.h
    M src/scripting/application_lua_kernel.cpp
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/lua_audio.cpp
    M src/scripting/lua_color.cpp
    M src/scripting/lua_common.cpp
    M src/scripting/lua_kernel_base.cpp
    M src/scripting/lua_team.cpp
    M src/scripting/lua_unit_type.cpp
    M src/wesnoth_lua_config.md

  Log Message:
  -----------
  Upgrade to Lua 5.4.2 (#5535)

The change to static_cast for the definition of  LUAL_BUFFERSIZE replaces the fix previously used (d0100758f855ec0d8f30dff41e8a8b6ff2d45fda) for Lua 5.3. 5.4 removes the static alternative for LUAL_BUFFERSIZE. A better solution would probably be to disable the old-style-cast warning for luaconf.h, but I can't figure out how to do that so using static_cast is the easiest solution. Do note that change will have to be applied each Lua update like the aforementioned commit.





More information about the Commits mailing list