[Commits] [wesnoth/wesnoth] 609a4a: Updated embedded Lua library to 5.3.1

GitHub noreply at github.com
Sat Nov 28 01:09:00 UTC 2015


  Branch: refs/heads/lua5.3
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 609a4a841731de96665c95aec5b75532ef21c23f
      https://github.com/wesnoth/wesnoth/commit/609a4a841731de96665c95aec5b75532ef21c23f
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2015-10-14 (Wed, 14 Oct 2015)

  Changed paths:
    M projectfiles/CodeBlocks/liblua.cbp
    M src/lua/SConscript
    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
    M 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/linit.cpp
    M src/lua/liolib.cpp
    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
    M src/lua/loslib.cpp
    M src/lua/lparser.cpp
    M src/lua/lparser.h
    A 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.cpp
    M src/lua/lua.h
    M src/lua/luac.cpp
    M src/lua/luaconf.h
    M src/lua/lualib.h
    M src/lua/lundump.cpp
    M src/lua/lundump.h
    A 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_map_location_ops.cpp

  Log Message:
  -----------
  Updated embedded Lua library to 5.3.1

This constitutes a copy of the src directory of the 5.3.1 source, with extension
changes (.c -> .cpp). Applicable function names were changed.

Additionally, luaL_typeerror was manually readded, as this  function is no longer
included in the source as of 5.2.

The changes from the following commits were manually reapplied:
  * 6655b186b1bd5301f7171cd13d3307af3f700bd7
    LUAI_EXTRASPACE

The following patches were applied:
  * http://www.lua.org/bugs.html#5.3.1
    io.lines does not check maximum number of options.


  Commit: b881e824990ba803f1a164c5fd19bf8bde916f4b
      https://github.com/wesnoth/wesnoth/commit/b881e824990ba803f1a164c5fd19bf8bde916f4b
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2015-10-14 (Wed, 14 Oct 2015)

  Changed paths:
    M src/lua/luaconf.h

  Log Message:
  -----------
  Enable 5.2 compatibility mode

This allows the bit32 library to load.

LUA_COMPAT_MODULE is no longer defined as this was a 5.1 macro


  Commit: e1f004192eb9833bdd630cf8867c84fa8b03b71b
      https://github.com/wesnoth/wesnoth/commit/e1f004192eb9833bdd630cf8867c84fa8b03b71b
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2015-10-14 (Wed, 14 Oct 2015)

  Changed paths:
    M src/scripting/lua_kernel_base.cpp

  Log Message:
  -----------
  Remove loading of bit32 library and add utf8 library

Lua 5.3 has proper bit32 operations, so the library is no longer needed


Compare: https://github.com/wesnoth/wesnoth/compare/609a4a841731^...e1f004192eb9


More information about the Commits mailing list