[wesnoth-commits] [wesnoth/wesnoth] 9722e5: Fix deprecation spam

GitHub noreply at github.com
Wed Feb 21 03:59:50 UTC 2018


  Branch: refs/heads/fix_deprecation_spam
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 9722e5f3f5163b5a70ac3e1646f0c3f5a76b286e
      https://github.com/wesnoth/wesnoth/commit/9722e5f3f5163b5a70ac3e1646f0c3f5a76b286e
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2018-02-20 (Tue, 20 Feb 2018)

  Changed paths:
    M data/lua/core.lua
    M src/deprecation.cpp
    M src/deprecation.hpp
    M src/log.cpp
    M src/log.hpp
    M src/scripting/lua_common.cpp
    M src/scripting/lua_common.hpp
    M src/scripting/lua_kernel_base.cpp

  Log Message:
  -----------
  Fix deprecation spam

This removes the Lua deprecation_message function in favour of exposing the C++ variant to Lua instead.
It also moves all deprecation messages to a separate logdomain, making them easily enabled en masse.


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

  Changed paths:
    M src/gui/dialogs/log_settings.cpp

  Log Message:
  -----------
  Fix crash in logging prefs due to deprecation's default -1 severity


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

  Changed paths:
    M doc/man/wesnoth.6
    M src/commandline_options.cpp

  Log Message:
  -----------
  Add --log-none command line option to disable ALL output from a logdomain


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

  Changed paths:
    M src/version.cpp
    M src/version.hpp

  Log Message:
  -----------
  Simplify version comparison functions using std::tie


Compare: https://github.com/wesnoth/wesnoth/compare/9722e5f3f516^...e84160a7d25d


More information about the Commits mailing list