[wesnoth-commits] [wesnoth/wesnoth] d4cef6: Revert "Reapply static_cast fix from 561cc33dc41d5...

Pentarctagon noreply at github.com
Wed Mar 9 21:02:00 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: d4cef6d104bf8599d9fa748de490177595b05666
      https://github.com/wesnoth/wesnoth/commit/d4cef6d104bf8599d9fa748de490177595b05666
  Author: Pentarctagon <pentarctagon at tutamail.com>
  Date:   2022-03-09 (Wed, 09 Mar 2022)

  Changed paths:
    M src/lua/luaconf.h

  Log Message:
  -----------
  Revert "Reapply static_cast fix from 561cc33dc41d5b1561934d5c9e184f1da8545195"

This reverts commit 778e916b950f367102fa961da0c0e67b2a3e40dc.


  Commit: dd947db289346b5cdc4c77cc66afed0a7d539d4c
      https://github.com/wesnoth/wesnoth/commit/dd947db289346b5cdc4c77cc66afed0a7d539d4c
  Author: Pentarctagon <pentarctagon at tutamail.com>
  Date:   2022-03-09 (Wed, 09 Mar 2022)

  Changed paths:
    M src/ai/default/aspect_attacks.cpp
    M src/ai/lua/aspect_advancements.cpp
    M src/ai/lua/core.cpp
    M src/ai/lua/lua_object.cpp
    M src/ai/lua/lua_object.hpp
    M src/build_info.cpp
    A src/nowarn/lauxlib.h
    A src/nowarn/llimits.h
    A src/nowarn/lua.h
    A src/nowarn/luaconf.h
    A src/nowarn/lualib.h
    M src/scripting/application_lua_kernel.cpp
    M src/scripting/debug_lua.hpp
    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_cpp_function.cpp
    M src/scripting/lua_fileops.cpp
    M src/scripting/lua_formula_bridge.cpp
    M src/scripting/lua_gui2.cpp
    M src/scripting/lua_kernel_base.cpp
    M src/scripting/lua_map_location_ops.cpp
    M src/scripting/lua_mathx.cpp
    M src/scripting/lua_pathfind_cost_calculator.hpp
    M src/scripting/lua_preferences.cpp
    M src/scripting/lua_race.cpp
    M src/scripting/lua_rng.cpp
    M src/scripting/lua_stringx.cpp
    M src/scripting/lua_team.cpp
    M src/scripting/lua_terrainfilter.cpp
    M src/scripting/lua_terrainmap.cpp
    M src/scripting/lua_unit.cpp
    M src/scripting/lua_unit_attacks.cpp
    M src/scripting/lua_unit_type.cpp
    M src/scripting/lua_widget.cpp
    M src/scripting/lua_widget_attributes.cpp
    M src/scripting/lua_widget_methods.cpp
    M src/scripting/lua_wml.cpp
    M src/scripting/mapgen_lua_kernel.cpp
    M src/scripting/push_check.hpp

  Log Message:
  -----------
  Avoid lua build warning without altering source code.


  Commit: 573901376a43382e4a808a60db07292b1afa4ec7
      https://github.com/wesnoth/wesnoth/commit/573901376a43382e4a808a60db07292b1afa4ec7
  Author: Pentarctagon <pentarctagon at tutamail.com>
  Date:   2022-03-09 (Wed, 09 Mar 2022)

  Changed paths:
    M projectfiles/Xcode/The Battle for Wesnoth.xcodeproj/project.pbxproj
    M source_lists/lua
    M src/CMakeLists.txt
    M src/SConscript
    A src/lua/lapi.c
    R src/lua/lapi.cpp
    A src/lua/lauxlib.c
    R src/lua/lauxlib.cpp
    A src/lua/lbaselib.c
    R src/lua/lbaselib.cpp
    A src/lua/lcode.c
    R src/lua/lcode.cpp
    A src/lua/lcorolib.c
    R src/lua/lcorolib.cpp
    A src/lua/lctype.c
    R src/lua/lctype.cpp
    A src/lua/ldblib.c
    R src/lua/ldblib.cpp
    A src/lua/ldebug.c
    R src/lua/ldebug.cpp
    A src/lua/ldo.c
    R src/lua/ldo.cpp
    A src/lua/ldump.c
    R src/lua/ldump.cpp
    A src/lua/lfunc.c
    R src/lua/lfunc.cpp
    A src/lua/lgc.c
    R src/lua/lgc.cpp
    A src/lua/liolib.c
    R src/lua/liolib.cpp
    A src/lua/llex.c
    R src/lua/llex.cpp
    A src/lua/lmathlib.c
    R src/lua/lmathlib.cpp
    A src/lua/lmem.c
    R src/lua/lmem.cpp
    A src/lua/loadlib.c
    R src/lua/loadlib.cpp
    A src/lua/lobject.c
    R src/lua/lobject.cpp
    A src/lua/lopcodes.c
    R src/lua/lopcodes.cpp
    A src/lua/loslib.c
    R src/lua/loslib.cpp
    A src/lua/lparser.c
    R src/lua/lparser.cpp
    A src/lua/lstate.c
    R src/lua/lstate.cpp
    A src/lua/lstring.c
    R src/lua/lstring.cpp
    A src/lua/lstrlib.c
    R src/lua/lstrlib.cpp
    A src/lua/ltable.c
    R src/lua/ltable.cpp
    A src/lua/ltablib.c
    R src/lua/ltablib.cpp
    A src/lua/ltm.c
    R src/lua/ltm.cpp
    A src/lua/lundump.c
    R src/lua/lundump.cpp
    A src/lua/lutf8lib.c
    R src/lua/lutf8lib.cpp
    A src/lua/lvm.c
    R src/lua/lvm.cpp
    A src/lua/lzio.c
    R src/lua/lzio.cpp

  Log Message:
  -----------
  Un-rename lua source files to .c

Being .cpp isn't required to have them be compiled as C++.


  Commit: 5155a74f4f68fc729c18bc8419c5704b2f80be29
      https://github.com/wesnoth/wesnoth/commit/5155a74f4f68fc729c18bc8419c5704b2f80be29
  Author: Pentarctagon <pentarctagon at tutamail.com>
  Date:   2022-03-09 (Wed, 09 Mar 2022)

  Changed paths:
    M .gitmodules
    M .luacheckrc
    M Doxyfile
    M projectfiles/Xcode/The Battle for Wesnoth.xcodeproj/project.pbxproj
    M source_lists/lua
    R src/lua/COPYRIGHT
    R src/lua/lapi.c
    R src/lua/lapi.h
    R src/lua/lauxlib.c
    R src/lua/lauxlib.h
    R src/lua/lbaselib.c
    R src/lua/lcode.c
    R src/lua/lcode.h
    R src/lua/lcorolib.c
    R src/lua/lctype.c
    R src/lua/lctype.h
    R src/lua/ldblib.c
    R src/lua/ldebug.c
    R src/lua/ldebug.h
    R src/lua/ldo.c
    R src/lua/ldo.h
    R src/lua/ldump.c
    R src/lua/lfunc.c
    R src/lua/lfunc.h
    R src/lua/lgc.c
    R src/lua/lgc.h
    R src/lua/liolib.c
    R src/lua/ljumptab.h
    R src/lua/llex.c
    R src/lua/llex.h
    R src/lua/llimits.h
    R src/lua/lmathlib.c
    R src/lua/lmem.c
    R src/lua/lmem.h
    R src/lua/loadlib.c
    R src/lua/lobject.c
    R src/lua/lobject.h
    R src/lua/lopcodes.c
    R src/lua/lopcodes.h
    R src/lua/lopnames.h
    R src/lua/loslib.c
    R src/lua/lparser.c
    R src/lua/lparser.h
    R src/lua/lprefix.h
    R src/lua/lstate.c
    R src/lua/lstate.h
    R src/lua/lstring.c
    R src/lua/lstring.h
    R src/lua/lstrlib.c
    R src/lua/ltable.c
    R src/lua/ltable.h
    R src/lua/ltablib.c
    R src/lua/ltm.c
    R src/lua/ltm.h
    R src/lua/lua.h
    R src/lua/luaconf.h
    R src/lua/lualib.h
    R src/lua/lundump.c
    R src/lua/lundump.h
    R src/lua/lutf8lib.c
    R src/lua/lvm.c
    R src/lua/lvm.h
    R src/lua/lzio.c
    R src/lua/lzio.h
    A src/modules/lua
    M src/nowarn/lauxlib.h
    M src/nowarn/llimits.h
    M src/nowarn/lua.h
    M src/nowarn/luaconf.h
    M src/nowarn/lualib.h
    M utils/CI/check_utf8.sh

  Log Message:
  -----------
  Make lua a submodule.

No changes required to the lua source anymore.


  Commit: e7a7e8663445dc35766dbafbdd3ac33d1f0e9ef9
      https://github.com/wesnoth/wesnoth/commit/e7a7e8663445dc35766dbafbdd3ac33d1f0e9ef9
  Author: Pentarctagon <pentarctagon at tutamail.com>
  Date:   2022-03-09 (Wed, 09 Mar 2022)

  Changed paths:
    M src/nowarn/lauxlib.h
    M src/scripting/lua_fileops.cpp

  Log Message:
  -----------
  Rename variable.


  Commit: 1a3498cbf3f7b6c744bafbb1a6de0c57e7ea7d74
      https://github.com/wesnoth/wesnoth/commit/1a3498cbf3f7b6c744bafbb1a6de0c57e7ea7d74
  Author: Pentarctagon <pentarctagon at tutamail.com>
  Date:   2022-03-09 (Wed, 09 Mar 2022)

  Changed paths:
    M src/ai/default/aspect_attacks.cpp
    M src/ai/lua/aspect_advancements.cpp
    M src/ai/lua/core.cpp
    M src/ai/lua/lua_object.cpp
    M src/ai/lua/lua_object.hpp
    M src/build_info.cpp
    A src/lua/lauxlib.h
    A src/lua/lua.h
    A src/lua/lualib.h
    R src/nowarn/lauxlib.h
    R src/nowarn/llimits.h
    R src/nowarn/lua.h
    R src/nowarn/luaconf.h
    R src/nowarn/lualib.h
    M src/scripting/application_lua_kernel.cpp
    M src/scripting/debug_lua.hpp
    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_cpp_function.cpp
    M src/scripting/lua_formula_bridge.cpp
    M src/scripting/lua_gui2.cpp
    M src/scripting/lua_kernel_base.cpp
    M src/scripting/lua_map_location_ops.cpp
    M src/scripting/lua_mathx.cpp
    M src/scripting/lua_pathfind_cost_calculator.hpp
    M src/scripting/lua_preferences.cpp
    M src/scripting/lua_race.cpp
    M src/scripting/lua_rng.cpp
    M src/scripting/lua_stringx.cpp
    M src/scripting/lua_team.cpp
    M src/scripting/lua_terrainfilter.cpp
    M src/scripting/lua_terrainmap.cpp
    M src/scripting/lua_unit.cpp
    M src/scripting/lua_unit_attacks.cpp
    M src/scripting/lua_unit_type.cpp
    M src/scripting/lua_widget.cpp
    M src/scripting/lua_widget_attributes.cpp
    M src/scripting/lua_widget_methods.cpp
    M src/scripting/lua_wml.cpp
    M src/scripting/mapgen_lua_kernel.cpp
    M src/scripting/push_check.hpp

  Log Message:
  -----------
  Rename nowarn/ to lua/

Also cleanup the includes.


  Commit: d32cfb88c4f5f790a5efe6aecb29135481aff244
      https://github.com/wesnoth/wesnoth/commit/d32cfb88c4f5f790a5efe6aecb29135481aff244
  Author: Pentarctagon <pentarctagon at tutamail.com>
  Date:   2022-03-09 (Wed, 09 Mar 2022)

  Changed paths:
    M CMakeLists.txt
    M INSTALL.md
    M SConstruct
    M src/wesnoth_lua_config.md

  Log Message:
  -----------
  Update instructions and add warning to scons/cmake.


Compare: https://github.com/wesnoth/wesnoth/compare/1f41893f18e3...d32cfb88c4f5



More information about the Commits mailing list