[wesnoth-commits] [wesnoth/wesnoth] 7db71e: Use new deprecated_message() function wherever pos...

GitHub noreply at github.com
Mon Mar 5 02:21:07 UTC 2018


  Branch: refs/heads/fix_deprecation_spam
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 7db71e9316aa2a89028dea60814b3d82f9e2f771
      https://github.com/wesnoth/wesnoth/commit/7db71e9316aa2a89028dea60814b3d82f9e2f771
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2018-03-04 (Sun, 04 Mar 2018)

  Changed paths:
    M data/lua/wml/message.lua
    M src/actions/unit_creator.cpp
    M src/ai/lua/core.cpp
    M src/config.cpp
    M src/config.hpp
    M src/game_config.cpp
    M src/game_events/menu_item.cpp
    M src/generators/cave_map_generator.cpp
    M src/generators/default_map_generator_job.cpp
    M src/gui/auxiliary/old_markup.cpp
    M src/gui/auxiliary/old_markup.hpp
    M src/gui/dialogs/campaign_difficulty.cpp
    M src/gui/dialogs/multiplayer/faction_select.cpp
    M src/gui/dialogs/multiplayer/mp_options_helper.cpp
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/lua_gui2.cpp
    M src/storyscreen/parser.cpp
    M src/units/abilities.cpp
    M src/units/unit.cpp
    M src/version.hpp
    M src/wml_exception.hpp

  Log Message:
  -----------
  Use new deprecated_message() function wherever possible (C++)

This also covers handling of legacy DescriptionWML for [set_menu_item],
and tweaks its handling in the other cases (mainly [multiplayer_side]).

I added the next_dev_version constant intending to use it, but then
decided not to do so; however I left it in in case someone finds it useful.


  Commit: 7b365e14c8e7c0c22a7c2f21d8e8a0e7d7abb58b
      https://github.com/wesnoth/wesnoth/commit/7b365e14c8e7c0c22a7c2f21d8e8a0e7d7abb58b
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2018-03-04 (Sun, 04 Mar 2018)

  Changed paths:
    M data/lua/wml-tags.lua

  Log Message:
  -----------
  Honour the regular deprecation message settings for WML deprecation messages


  Commit: f5c3eb9d64e815cc837b1cc9b6c7077c0026512e
      https://github.com/wesnoth/wesnoth/commit/f5c3eb9d64e815cc837b1cc9b6c7077c0026512e
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2018-03-04 (Sun, 04 Mar 2018)

  Changed paths:
    M src/actions/unit_creator.cpp
    M src/ai/lua/core.cpp
    M src/config.cpp
    M src/deprecation.cpp
    M src/deprecation.hpp
    M src/game_events/menu_item.cpp
    M src/gui/auxiliary/old_markup.cpp
    M src/gui/dialogs/campaign_difficulty.cpp
    M src/gui/dialogs/multiplayer/mp_options_helper.cpp
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/lua_kernel_base.cpp
    M src/serialization/preprocessor.cpp
    M src/serialization/preprocessor.hpp
    M src/storyscreen/parser.cpp
    M src/units/abilities.cpp
    M src/units/unit.cpp

  Log Message:
  -----------
  Use an enum for deprecation levels (C++ only)

This is not done for Lua and WML due to some complications.
It could still be done for them later, if desired.


  Commit: 697f59d32dc6b1027445f06e6071f44ad7d0757d
      https://github.com/wesnoth/wesnoth/commit/697f59d32dc6b1027445f06e6071f44ad7d0757d
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2018-03-04 (Sun, 04 Mar 2018)

  Changed paths:
    M projectfiles/VC12/wesnoth.vcxproj
    M projectfiles/VC12/wesnoth.vcxproj.filters
    M projectfiles/VC12/wesnothlib.vcxproj
    M projectfiles/VC12/wesnothlib.vcxproj.filters
    M src/campaign_server/campaign_server.cpp
    M src/server/server.cpp
    M src/server/server_base.cpp

  Log Message:
  -----------
  Fix wesnothd and campaignd link errors


Compare: https://github.com/wesnoth/wesnoth/compare/e7c10701bc32...697f59d32dc6


More information about the Commits mailing list