[Commits] [wesnoth/wesnoth] 344054: Some fixes to the Lua deprecation API, and extend ...

GitHub noreply at github.com
Mon Feb 12 05:09:49 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 3440546f2de56b426058f709eff3a6625b6d57ca
      https://github.com/wesnoth/wesnoth/commit/3440546f2de56b426058f709eff3a6625b6d57ca
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2018-02-12 (Mon, 12 Feb 2018)

  Changed paths:
    M data/lua/core.lua
    M projectfiles/VC12/wesnoth.vcxproj
    M projectfiles/VC12/wesnoth.vcxproj.filters
    M projectfiles/VC12/wesnothlib.vcxproj
    M projectfiles/VC12/wesnothlib.vcxproj.filters
    M source_lists/libwesnoth
    M source_lists/wesnoth
    A src/deprecation.cpp
    A src/deprecation.hpp
    M src/formula/formula.cpp
    M src/formula/string_utils.cpp
    M src/formula/string_utils.hpp

  Log Message:
  -----------
  Some fixes to the Lua deprecation API, and extend it to C++

* Some improvements to the messages
* Don't clobber existing metatables on deprecated subtables
* Fix Lua deprecation messages not even being logged
* Fix deprecation of Lua subtables
* Don't clobber the metatable when deprecating a subtable


  Commit: ae50be5bbe83be856742bef97a3a52423eb65091
      https://github.com/wesnoth/wesnoth/commit/ae50be5bbe83be856742bef97a3a52423eb65091
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2018-02-12 (Mon, 12 Feb 2018)

  Changed paths:
    M data/core/macros/deprecated-utils.cfg
    M src/serialization/preprocessor.cpp
    M src/serialization/preprocessor.hpp

  Log Message:
  -----------
  Add #deprecated preprocessor directive for marking macros deprecated


  Commit: d9d65e61b47d0dab4bac5e42b3f0bde463822dd4
      https://github.com/wesnoth/wesnoth/commit/d9d65e61b47d0dab4bac5e42b3f0bde463822dd4
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2018-02-12 (Mon, 12 Feb 2018)

  Changed paths:
    M src/scripting/lua_common.cpp
    M src/scripting/lua_common.hpp

  Log Message:
  -----------
  Utility function that I didn't end up using but which could be useful elsewhere


Compare: https://github.com/wesnoth/wesnoth/compare/c50554fef41a...d9d65e61b47d


More information about the Commits mailing list